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
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 # Check that we are running under the correct shell.
529 SHELL
=${CONFIG_SHELL-/bin/sh}
533 # Remove one level of quotation (which was required for Make).
534 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
539 if test "X$1" = X--no-reexec
; then
540 # Discard the --no-reexec flag, and continue.
542 elif test "X$1" = X--fallback-echo
; then
543 # Avoid inline document here, it may be left over
545 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546 # Yippee, $ECHO works!
549 # Restart under the correct shell.
550 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 if test "X$1" = X--fallback-echo
; then
554 # used as fallback echo
562 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
566 if test -z "$lt_ECHO"; then
567 if test "X${echo_test_string+set}" != Xset
; then
568 # find a string as large as possible, as long as the shell can cope with it
569 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
572 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
579 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581 test "X$echo_testing_string" = "X$echo_test_string"; then
584 # The Solaris, AIX, and Digital Unix default echo programs unquote
585 # backslashes. This makes it impossible to quote backslashes using
586 # echo "$something" | sed 's/\\/\\\\/g'
588 # So, first we look for a working echo in the user's PATH.
590 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
591 for dir
in $PATH /usr
/ucb
; do
593 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
594 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
603 if test "X$ECHO" = Xecho
; then
604 # We didn't find a better echo, so look for alternatives.
605 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
608 # This shell has a builtin print -r that does the trick.
610 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
611 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
612 # If we have ksh, try running configure again with it.
613 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
614 export ORIGINAL_CONFIG_SHELL
615 CONFIG_SHELL
=/bin
/ksh
617 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
621 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
626 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627 test "X$echo_testing_string" = 'X\t' &&
628 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
630 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
632 SHELL
="$CONFIG_SHELL"
634 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
635 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636 test "X$echo_testing_string" = 'X\t' &&
637 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
641 # maybe with a smaller string...
644 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
652 if test "$prev" != 'sed 50q "$0"'; then
653 echo_test_string
=`eval $prev`
654 export echo_test_string
655 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 # Oops. We lost completely, so just stick with echo.
666 # Copy echo and quote the copy suitably for passing to libtool from
667 # the Makefile, instead of quoting the original, which is used later.
669 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 exec 7<&0 </dev
/null
6>&1
679 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680 # so uname gets run too.
681 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
686 ac_default_prefix
=/usr
/local
688 ac_config_libobj_dir
=.
695 # Identity of this package.
696 PACKAGE_NAME
='libjava'
697 PACKAGE_TARNAME
='libjava'
698 PACKAGE_VERSION
='version-unused'
699 PACKAGE_STRING
='libjava version-unused'
703 ac_unique_file
="java/lang/System.java"
704 # Factoring default headers for most tests.
705 ac_includes_default
="\
707 #ifdef HAVE_SYS_TYPES_H
708 # include <sys/types.h>
710 #ifdef HAVE_SYS_STAT_H
711 # include <sys/stat.h>
717 # ifdef HAVE_STDLIB_H
722 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
727 #ifdef HAVE_STRINGS_H
728 # include <strings.h>
730 #ifdef HAVE_INTTYPES_H
731 # include <inttypes.h>
740 enable_option_checking
=no
741 ac_subst_vars
='am__EXEEXT_FALSE
763 CREATE_JAVA_HOME_FALSE
764 CREATE_JAVA_HOME_TRUE
765 INSTALL_AOT_RPM_FALSE
768 python_mod_dir_expanded
771 LD_FINISH_STATIC_SPEC
786 INSTALL_BINARIES_FALSE
787 INSTALL_BINARIES_TRUE
788 NEEDS_DATA_START_FALSE
789 NEEDS_DATA_START_TRUE
820 USING_NO_THREADS_FALSE
821 USING_NO_THREADS_TRUE
822 USING_WIN32_THREADS_FALSE
823 USING_WIN32_THREADS_TRUE
824 USING_POSIX_THREADS_FALSE
825 USING_POSIX_THREADS_TRUE
847 extra_ldflags_libjava
856 USING_DARWIN_CRT_FALSE
857 USING_DARWIN_CRT_TRUE
858 USING_POSIX_PLATFORM_FALSE
859 USING_POSIX_PLATFORM_TRUE
860 USING_WIN32_PLATFORM_FALSE
861 USING_WIN32_PLATFORM_TRUE
868 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE
869 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE
870 SUPPRESS_LIBGCJ_BC_FALSE
871 SUPPRESS_LIBGCJ_BC_TRUE
875 INSTALL_ECJ_JAR_FALSE
920 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
922 LIBGCJ_SUBLIB_LTFLAGS
927 MAINTAINER_MODE_FALSE
956 INSTALL_STRIP_PROGRAM
981 JAVA_MAINTAINER_MODE_FALSE
982 JAVA_MAINTAINER_MODE_TRUE
1033 program_transform_name
1046 enable_option_checking
1047 with_build_libsubdir
1052 enable_version_specific_runtime_libs
1053 enable_browser_plugin
1057 enable_java_maintainer_mode
1058 enable_dependency_tracking
1059 enable_maintainer_mode
1060 enable_libgcj_sublibs
1070 enable_getenv_properties
1071 enable_hash_synchronization
1075 enable_reduced_reflection
1079 enable_sjlj_exceptions
1088 with_libiconv_prefix
1090 with_system_libunwind
1092 enable_aot_compile_rpm
1102 ac_precious_vars
='build_alias
1114 ac_subdirs_all
='classpath libltdl'
1116 # Initialize some variables set by options.
1118 ac_init_version
=false
1119 ac_unrecognized_opts
=
1120 ac_unrecognized_sep
=
1121 # The variables have the same names as the options, with
1122 # dashes changed to underlines.
1123 cache_file
=/dev
/null
1130 program_transform_name
=s
,x
,x
,
1138 # Installation directory options.
1139 # These are left unexpanded so users can "make install exec_prefix=/foo"
1140 # and all the variables that are supposed to be based on exec_prefix
1141 # by default will actually change.
1142 # Use braces instead of parens because sh, perl, etc. also accept them.
1143 # (The list follows the same order as the GNU Coding Standards.)
1144 bindir
='${exec_prefix}/bin'
1145 sbindir
='${exec_prefix}/sbin'
1146 libexecdir
='${exec_prefix}/libexec'
1147 datarootdir
='${prefix}/share'
1148 datadir
='${datarootdir}'
1149 sysconfdir
='${prefix}/etc'
1150 sharedstatedir
='${prefix}/com'
1151 localstatedir
='${prefix}/var'
1152 includedir
='${prefix}/include'
1153 oldincludedir
='/usr/include'
1154 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1155 infodir
='${datarootdir}/info'
1160 libdir
='${exec_prefix}/lib'
1161 localedir
='${datarootdir}/locale'
1162 mandir
='${datarootdir}/man'
1168 # If the previous option needs an argument, assign it.
1169 if test -n "$ac_prev"; then
1170 eval $ac_prev=\
$ac_option
1176 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1180 # Accept the important Cygnus configure options, so we can diagnose typos.
1182 case $ac_dashdash$ac_option in
1186 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1188 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1189 bindir
=$ac_optarg ;;
1191 -build |
--build |
--buil |
--bui |
--bu)
1192 ac_prev
=build_alias
;;
1193 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1194 build_alias
=$ac_optarg ;;
1196 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1197 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1198 ac_prev
=cache_file
;;
1199 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1200 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1201 cache_file
=$ac_optarg ;;
1203 --config-cache |
-C)
1204 cache_file
=config.cache
;;
1206 -datadir |
--datadir |
--datadi |
--datad)
1208 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1209 datadir
=$ac_optarg ;;
1211 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1212 |
--dataroo |
--dataro |
--datar)
1213 ac_prev
=datarootdir
;;
1214 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1215 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1216 datarootdir
=$ac_optarg ;;
1218 -disable-* |
--disable-*)
1219 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1222 as_fn_error
"invalid feature name: $ac_useropt"
1223 ac_useropt_orig
=$ac_useropt
1224 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225 case $ac_user_opts in
1227 "enable_
$ac_useropt"
1229 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1230 ac_unrecognized_sep
=', ';;
1232 eval enable_
$ac_useropt=no
;;
1234 -docdir |
--docdir |
--docdi |
--doc |
--do)
1236 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1237 docdir
=$ac_optarg ;;
1239 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1241 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1242 dvidir
=$ac_optarg ;;
1244 -enable-* |
--enable-*)
1245 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1248 as_fn_error
"invalid feature name: $ac_useropt"
1249 ac_useropt_orig
=$ac_useropt
1250 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1253 "enable_
$ac_useropt"
1255 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1256 ac_unrecognized_sep
=', ';;
1258 eval enable_
$ac_useropt=\
$ac_optarg ;;
1260 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1261 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1262 |
--exec |
--exe |
--ex)
1263 ac_prev
=exec_prefix
;;
1264 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1265 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1266 |
--exec=* |
--exe=* |
--ex=*)
1267 exec_prefix
=$ac_optarg ;;
1269 -gas |
--gas |
--ga |
--g)
1270 # Obsolete; use --with-gas.
1273 -help |
--help |
--hel |
--he |
-h)
1274 ac_init_help
=long
;;
1275 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1276 ac_init_help
=recursive
;;
1277 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1278 ac_init_help
=short
;;
1280 -host |
--host |
--hos |
--ho)
1281 ac_prev
=host_alias
;;
1282 -host=* |
--host=* |
--hos=* |
--ho=*)
1283 host_alias
=$ac_optarg ;;
1285 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1287 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1289 htmldir
=$ac_optarg ;;
1291 -includedir |
--includedir |
--includedi |
--included |
--include \
1292 |
--includ |
--inclu |
--incl |
--inc)
1293 ac_prev
=includedir
;;
1294 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1295 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1296 includedir
=$ac_optarg ;;
1298 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1300 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1301 infodir
=$ac_optarg ;;
1303 -libdir |
--libdir |
--libdi |
--libd)
1305 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1306 libdir
=$ac_optarg ;;
1308 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1309 |
--libexe |
--libex |
--libe)
1310 ac_prev
=libexecdir
;;
1311 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1312 |
--libexe=* |
--libex=* |
--libe=*)
1313 libexecdir
=$ac_optarg ;;
1315 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1316 ac_prev
=localedir
;;
1317 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1318 localedir
=$ac_optarg ;;
1320 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1321 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1322 ac_prev
=localstatedir
;;
1323 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1324 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1325 localstatedir
=$ac_optarg ;;
1327 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1329 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1330 mandir
=$ac_optarg ;;
1332 -nfp |
--nfp |
--nf)
1333 # Obsolete; use --without-fp.
1336 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1337 |
--no-cr |
--no-c |
-n)
1340 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1341 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1344 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1345 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1346 |
--oldin |
--oldi |
--old |
--ol |
--o)
1347 ac_prev
=oldincludedir
;;
1348 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1349 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1350 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1351 oldincludedir
=$ac_optarg ;;
1353 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1355 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1356 prefix
=$ac_optarg ;;
1358 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1359 |
--program-pre |
--program-pr |
--program-p)
1360 ac_prev
=program_prefix
;;
1361 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1362 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1363 program_prefix
=$ac_optarg ;;
1365 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1366 |
--program-suf |
--program-su |
--program-s)
1367 ac_prev
=program_suffix
;;
1368 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1369 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1370 program_suffix
=$ac_optarg ;;
1372 -program-transform-name |
--program-transform-name \
1373 |
--program-transform-nam |
--program-transform-na \
1374 |
--program-transform-n |
--program-transform- \
1375 |
--program-transform |
--program-transfor \
1376 |
--program-transfo |
--program-transf \
1377 |
--program-trans |
--program-tran \
1378 |
--progr-tra |
--program-tr |
--program-t)
1379 ac_prev
=program_transform_name
;;
1380 -program-transform-name=* |
--program-transform-name=* \
1381 |
--program-transform-nam=* |
--program-transform-na=* \
1382 |
--program-transform-n=* |
--program-transform-=* \
1383 |
--program-transform=* |
--program-transfor=* \
1384 |
--program-transfo=* |
--program-transf=* \
1385 |
--program-trans=* |
--program-tran=* \
1386 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1387 program_transform_name
=$ac_optarg ;;
1389 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1391 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1392 pdfdir
=$ac_optarg ;;
1394 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1396 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1399 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1400 |
-silent |
--silent |
--silen |
--sile |
--sil)
1403 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1405 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1407 sbindir
=$ac_optarg ;;
1409 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1410 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1411 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1413 ac_prev
=sharedstatedir
;;
1414 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1415 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1416 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1418 sharedstatedir
=$ac_optarg ;;
1420 -site |
--site |
--sit)
1422 -site=* |
--site=* |
--sit=*)
1425 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1427 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1428 srcdir
=$ac_optarg ;;
1430 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1431 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1432 ac_prev
=sysconfdir
;;
1433 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1434 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1435 sysconfdir
=$ac_optarg ;;
1437 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1438 ac_prev
=target_alias
;;
1439 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1440 target_alias
=$ac_optarg ;;
1442 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1445 -version |
--version |
--versio |
--versi |
--vers |
-V)
1446 ac_init_version
=: ;;
1449 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1450 # Reject names that are not valid shell variable names.
1451 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1452 as_fn_error
"invalid package name: $ac_useropt"
1453 ac_useropt_orig
=$ac_useropt
1454 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1455 case $ac_user_opts in
1459 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1460 ac_unrecognized_sep
=', ';;
1462 eval with_
$ac_useropt=\
$ac_optarg ;;
1464 -without-* |
--without-*)
1465 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1466 # Reject names that are not valid shell variable names.
1467 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1468 as_fn_error
"invalid package name: $ac_useropt"
1469 ac_useropt_orig
=$ac_useropt
1470 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1471 case $ac_user_opts in
1475 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1476 ac_unrecognized_sep
=', ';;
1478 eval with_
$ac_useropt=no
;;
1481 # Obsolete; use --with-x.
1484 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1485 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1486 ac_prev
=x_includes
;;
1487 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1488 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1489 x_includes
=$ac_optarg ;;
1491 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1492 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1493 ac_prev
=x_libraries
;;
1494 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1495 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1496 x_libraries
=$ac_optarg ;;
1498 -*) as_fn_error
"unrecognized option: \`$ac_option'
1499 Try \`$0 --help' for more information."
1503 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1504 # Reject names that are not valid shell variable names.
1505 case $ac_envvar in #(
1506 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1507 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1509 eval $ac_envvar=\
$ac_optarg
1510 export $ac_envvar ;;
1513 # FIXME: should be removed in autoconf 3.0.
1514 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1515 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1516 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1517 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1523 if test -n "$ac_prev"; then
1524 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1525 as_fn_error
"missing argument to $ac_option"
1528 if test -n "$ac_unrecognized_opts"; then
1529 case $enable_option_checking in
1531 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1532 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1536 # Check all directory arguments for consistency.
1537 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1538 datadir sysconfdir sharedstatedir localstatedir includedir \
1539 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1540 libdir localedir mandir
1542 eval ac_val
=\$
$ac_var
1543 # Remove trailing slashes.
1546 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1547 eval $ac_var=\
$ac_val;;
1549 # Be sure to have absolute directory names.
1551 [\\/$
]* | ?
:[\\/]* ) continue;;
1552 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1554 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1557 # There might be people who depend on the old broken behavior: `$host'
1558 # used to hold the argument of --host etc.
1559 # FIXME: To remove some day.
1562 target
=$target_alias
1564 # FIXME: To remove some day.
1565 if test "x$host_alias" != x
; then
1566 if test "x$build_alias" = x
; then
1567 cross_compiling
=maybe
1568 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1569 If a cross compiler is detected then cross compile mode will be used." >&2
1570 elif test "x$build_alias" != "x$host_alias"; then
1576 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1578 test "$silent" = yes && exec 6>/dev
/null
1581 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1582 ac_ls_di
=`ls -di .` &&
1583 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1584 as_fn_error
"working directory cannot be determined"
1585 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1586 as_fn_error
"pwd does not report name of working directory"
1589 # Find the source files, if location was not specified.
1590 if test -z "$srcdir"; then
1591 ac_srcdir_defaulted
=yes
1592 # Try the directory containing this script, then the parent directory.
1593 ac_confdir
=`$as_dirname -- "$as_myself" ||
1594 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1595 X"$as_myself" : 'X\(//\)[^/]' \| \
1596 X"$as_myself" : 'X\(//\)$' \| \
1597 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1598 $as_echo X"$as_myself" |
1599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1617 if test ! -r "$srcdir/$ac_unique_file"; then
1621 ac_srcdir_defaulted
=no
1623 if test ! -r "$srcdir/$ac_unique_file"; then
1624 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1625 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1627 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1629 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1631 # When building in place, set srcdir=.
1632 if test "$ac_abs_confdir" = "$ac_pwd"; then
1635 # Remove unnecessary trailing slashes from srcdir.
1636 # Double slashes in file names in object file debugging info
1637 # mess up M-x gdb in Emacs.
1639 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1641 for ac_var
in $ac_precious_vars; do
1642 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1643 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1644 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1645 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1649 # Report the --help message.
1651 if test "$ac_init_help" = "long"; then
1652 # Omit some internal or obsolete options to make the list less imposing.
1653 # This message is too long to be a string in the A/UX 3.1 sh.
1655 \`configure' configures libjava version-unused to adapt to many kinds of systems.
1657 Usage: $0 [OPTION]... [VAR=VALUE]...
1659 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1660 VAR=VALUE. See below for descriptions of some of the useful variables.
1662 Defaults for the options are specified in brackets.
1665 -h, --help display this help and exit
1666 --help=short display options specific to this package
1667 --help=recursive display the short help of all the included packages
1668 -V, --version display version information and exit
1669 -q, --quiet, --silent do not print \`checking...' messages
1670 --cache-file=FILE cache test results in FILE [disabled]
1671 -C, --config-cache alias for \`--cache-file=config.cache'
1672 -n, --no-create do not create output files
1673 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1675 Installation directories:
1676 --prefix=PREFIX install architecture-independent files in PREFIX
1677 [$ac_default_prefix]
1678 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1681 By default, \`make install' will install all the files in
1682 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1683 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1684 for instance \`--prefix=\$HOME'.
1686 For better control, use the options below.
1688 Fine tuning of the installation directories:
1689 --bindir=DIR user executables [EPREFIX/bin]
1690 --sbindir=DIR system admin executables [EPREFIX/sbin]
1691 --libexecdir=DIR program executables [EPREFIX/libexec]
1692 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1693 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1694 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1695 --libdir=DIR object code libraries [EPREFIX/lib]
1696 --includedir=DIR C header files [PREFIX/include]
1697 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1698 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1699 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1700 --infodir=DIR info documentation [DATAROOTDIR/info]
1701 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1702 --mandir=DIR man documentation [DATAROOTDIR/man]
1703 --docdir=DIR documentation root [DATAROOTDIR/doc/libjava]
1704 --htmldir=DIR html documentation [DOCDIR]
1705 --dvidir=DIR dvi documentation [DOCDIR]
1706 --pdfdir=DIR pdf documentation [DOCDIR]
1707 --psdir=DIR ps documentation [DOCDIR]
1713 --program-prefix=PREFIX prepend PREFIX to installed program names
1714 --program-suffix=SUFFIX append SUFFIX to installed program names
1715 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1718 --x-includes=DIR X include files are
in DIR
1719 --x-libraries=DIR X library files are
in DIR
1722 --build=BUILD configure
for building on BUILD
[guessed
]
1723 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1724 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1728 if test -n "$ac_init_help"; then
1729 case $ac_init_help in
1730 short | recursive
) echo "Configuration of libjava version-unused:";;
1735 --disable-option-checking ignore unrecognized
--enable/--with options
1736 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1737 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1738 --enable-multilib build many library versions
(default
)
1739 --enable-version-specific-runtime-libs
1740 specify that runtime libraries should be installed
1741 in a compiler-specific directory
1742 --enable-browser-plugin build gcjwebplugin web browser plugin
1743 --enable-gconf-peer compile GConf native peers
for util.preferences
1744 --disable-gjdoc compile GJDoc
(disabled by
--disable-gjdoc)
1746 --enable-java-maintainer-mode
1747 allow rebuilding of .class and .h files
1748 --disable-dependency-tracking speeds up one-time build
1749 --enable-dependency-tracking do not reject slow dependency extractors
1750 --enable-maintainer-mode enable make rules and dependencies not useful
1751 (and sometimes confusing
) to the casual installer
1752 --enable-libgcj-sublibs build libgcj as many sub-libraries
1753 --enable-libgcj-debug enable runtime debugging code
1754 --enable-java-awt list of AWT peer implementations to be built
1755 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1756 --enable-static[=PKGS
] build static libraries
[default
=yes]
1757 --enable-fast-install[=PKGS
]
1758 optimize
for fast installation
[default
=yes]
1759 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1760 --disable-getenv-properties
1761 don
't set system properties from GCJ_PROPERTIES
1762 --enable-hash-synchronization
1763 use global hash table for monitor locks
1764 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1766 --enable-reduced-reflection
1767 enable or disable(default) -freduced-reflection when
1768 building portions of libgcj
1769 --enable-gc-debug include full support for pointer backtracing etc.
1770 --enable-interpreter enable interpreter
1771 --enable-sjlj-exceptions
1772 force use of builtin_setjmp for exceptions
1773 --disable-java-net disable java.net
1774 --disable-jvmpi disable JVMPI support
1775 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1776 --disable-rpath do not hardcode runtime library paths
1777 --enable-tls Use thread-local storage [default=yes]
1778 --enable-aot-compile-rpm
1779 enable installation of aot-compile-rpm [default=no]
1780 --enable-java-home create a standard JDK-style directory layout in the
1781 install tree [default=no]
1784 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1785 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1786 --with-build-libsubdir=DIR Directory where to find libraries for build system
1787 --with-target-subdir=SUBDIR
1788 configure in a subdirectory
1789 --with-cross-host=HOST configure with a cross compiler from HOST
1790 --with-newlib configure with newlib
1791 --with-antlr-jar=file Use ANTLR from the specified jar file
1792 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1793 --with-pic try to use only PIC/non-PIC objects [default=use
1795 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1796 --with-ecj-jar=FILE use preinstalled ecj jar
1797 --with-java-home=DIRECTORY
1798 value of java.home system property
1799 --with-win32-nlsapi=ansi or unicows or unicode
1800 native MinGW libgcj Win32 OS API (default is ansi)
1801 --without-libffi don't use libffi
1802 --with-ecos enable runtime eCos target support
1803 --with-system-zlib use installed libz
1804 --with-x use the X Window System
1805 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1806 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1807 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1808 --with-system-libunwind use installed libunwind
1809 --with-python-dir the location to install Python modules. This path
1810 should NOT include the prefix.
1811 --with-gcc-suffix the GCC tool suffix (defaults to empty string)
1812 --with-arch-directory the arch directory under jre/lib (defaults to
1814 --with-os-directory the os directory under include (defaults to
1816 --with-origin-name the JPackage origin name of this package (default is
1818 --with-arch-suffix the arch directory suffix (default is the empty
1820 --with-jvm-root-dir where to install SDK (default is ${prefix}/lib/jvm)
1821 --with-jvm-jar-dir where to install jars (default is
1822 ${prefix}/lib/jvm-exports)
1824 Some influential environment variables:
1825 CC C compiler command
1826 CFLAGS C compiler flags
1827 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1828 nonstandard directory <lib dir>
1829 LIBS libraries to pass to the linker, e.g. -l<library>
1830 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1831 you have headers in a nonstandard directory <include dir>
1832 CXX C++ compiler command
1833 CXXFLAGS C++ compiler flags
1835 CXXCPP C++ preprocessor
1836 XMKMF Path to xmkmf, Makefile generator for X Window System
1838 Use these variables to override the choices made by `configure' or to
help
1839 it to
find libraries and programs with nonstandard names
/locations.
1841 Report bugs to the package provider.
1846 if test "$ac_init_help" = "recursive"; then
1847 # If there are subdirs, report their specific --help.
1848 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1849 test -d "$ac_dir" ||
1850 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1855 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1857 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1858 # A ".." for each directory in $ac_dir_suffix.
1859 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1860 case $ac_top_builddir_sub in
1861 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1862 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1865 ac_abs_top_builddir
=$ac_pwd
1866 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1867 # for backward compatibility:
1868 ac_top_builddir
=$ac_top_build_prefix
1871 .
) # We are building in place.
1873 ac_top_srcdir
=$ac_top_builddir_sub
1874 ac_abs_top_srcdir
=$ac_pwd ;;
1875 [\\/]* | ?
:[\\/]* ) # Absolute name.
1876 ac_srcdir
=$srcdir$ac_dir_suffix;
1877 ac_top_srcdir
=$srcdir
1878 ac_abs_top_srcdir
=$srcdir ;;
1880 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1881 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1882 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1884 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1886 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1887 # Check for guested configure.
1888 if test -f "$ac_srcdir/configure.gnu"; then
1890 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1891 elif test -f "$ac_srcdir/configure"; then
1893 $SHELL "$ac_srcdir/configure" --help=recursive
1895 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1897 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1901 test -n "$ac_init_help" && exit $ac_status
1902 if $ac_init_version; then
1904 libjava configure version-unused
1905 generated by GNU Autoconf
2.64
1907 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1908 This configure
script is free software
; the Free Software Foundation
1909 gives unlimited permission to copy
, distribute and modify it.
1914 ## ------------------------ ##
1915 ## Autoconf initialization. ##
1916 ## ------------------------ ##
1918 # ac_fn_c_try_compile LINENO
1919 # --------------------------
1920 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1921 ac_fn_c_try_compile
()
1923 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1924 rm -f conftest.
$ac_objext
1925 if { { ac_try
="$ac_compile"
1927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1928 *) ac_try_echo=$ac_try;;
1930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931 $as_echo "$ac_try_echo"; } >&5
1932 (eval "$ac_compile") 2>conftest.err
1934 if test -s conftest.err; then
1935 grep -v '^ *+' conftest.err >conftest.er1
1936 cat conftest.er1 >&5
1937 mv -f conftest.er1 conftest.err
1939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940 test $ac_status = 0; } && {
1941 test -z "$ac_c_werror_flag" ||
1942 test ! -s conftest.err
1943 } && test -s conftest.$ac_objext; then :
1946 $as_echo "$as_me: failed program was:" >&5
1947 sed 's/^/| /' conftest.$ac_ext >&5
1951 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1954 } # ac_fn_c_try_compile
1956 # ac_fn_cxx_try_compile LINENO
1957 # ----------------------------
1958 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1959 ac_fn_cxx_try_compile ()
1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962 rm -f conftest.$ac_objext
1963 if { { ac_try="$ac_compile"
1965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1966 *) ac_try_echo
=$ac_try;;
1968 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1969 $as_echo "$ac_try_echo"; } >&5
1970 (eval "$ac_compile") 2>conftest.err
1972 if test -s conftest.err
; then
1973 grep -v '^ *+' conftest.err
>conftest.er1
1974 cat conftest.er1
>&5
1975 mv -f conftest.er1 conftest.err
1977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1978 test $ac_status = 0; } && {
1979 test -z "$ac_cxx_werror_flag" ||
1980 test ! -s conftest.err
1981 } && test -s conftest.
$ac_objext; then :
1984 $as_echo "$as_me: failed program was:" >&5
1985 sed 's/^/| /' conftest.
$ac_ext >&5
1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1992 } # ac_fn_cxx_try_compile
1994 # ac_fn_c_try_link LINENO
1995 # -----------------------
1996 # Try to link conftest.$ac_ext, and return whether this succeeded.
1999 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2000 rm -f conftest.
$ac_objext conftest
$ac_exeext
2001 if { { ac_try
="$ac_link"
2003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2004 *) ac_try_echo=$ac_try;;
2006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2007 $as_echo "$ac_try_echo"; } >&5
2008 (eval "$ac_link") 2>conftest.err
2010 if test -s conftest.err; then
2011 grep -v '^ *+' conftest.err >conftest.er1
2012 cat conftest.er1 >&5
2013 mv -f conftest.er1 conftest.err
2015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2016 test $ac_status = 0; } && {
2017 test -z "$ac_c_werror_flag" ||
2018 test ! -s conftest.err
2019 } && test -s conftest$ac_exeext && {
2020 test "$cross_compiling" = yes ||
2021 $as_test_x conftest$ac_exeext
2025 $as_echo "$as_me: failed program was:" >&5
2026 sed 's/^/| /' conftest.$ac_ext >&5
2030 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2031 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2032 # interfere with the next link command; also delete a directory that is
2033 # left behind by Apple's compiler. We do this before executing the actions.
2034 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2035 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2038 } # ac_fn_c_try_link
2040 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2041 # -------------------------------------------------------
2042 # Tests whether HEADER exists and can be compiled using the include files in
2043 # INCLUDES, setting the cache variable VAR accordingly.
2044 ac_fn_c_check_header_compile ()
2046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048 $as_echo_n "checking for $2... " >&6; }
2049 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2050 $as_echo_n "(cached) " >&6
2052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2053 /* end confdefs.h. */
2057 if ac_fn_c_try_compile "$LINENO"; then :
2062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2066 $as_echo "$ac_res" >&6; }
2067 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2069 } # ac_fn_c_check_header_compile
2071 # ac_fn_c_try_cpp LINENO
2072 # ----------------------
2073 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2077 if { { ac_try="$ac_cpp conftest.$ac_ext"
2079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2080 *) ac_try_echo
=$ac_try;;
2082 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2083 $as_echo "$ac_try_echo"; } >&5
2084 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2086 if test -s conftest.err
; then
2087 grep -v '^ *+' conftest.err
>conftest.er1
2088 cat conftest.er1
>&5
2089 mv -f conftest.er1 conftest.err
2091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2092 test $ac_status = 0; } >/dev
/null
&& {
2093 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2094 test ! -s conftest.err
2098 $as_echo "$as_me: failed program was:" >&5
2099 sed 's/^/| /' conftest.
$ac_ext >&5
2103 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2108 # ac_fn_c_try_run LINENO
2109 # ----------------------
2110 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2111 # that executables *can* be run.
2114 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2115 if { { ac_try
="$ac_link"
2117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2118 *) ac_try_echo=$ac_try;;
2120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2121 $as_echo "$ac_try_echo"; } >&5
2122 (eval "$ac_link") 2>&5
2124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2125 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2126 { { case "(($ac_try" in
2127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2128 *) ac_try_echo
=$ac_try;;
2130 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2131 $as_echo "$ac_try_echo"; } >&5
2132 (eval "$ac_try") 2>&5
2134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2135 test $ac_status = 0; }; }; then :
2138 $as_echo "$as_me: program exited with status $ac_status" >&5
2139 $as_echo "$as_me: failed program was:" >&5
2140 sed 's/^/| /' conftest.
$ac_ext >&5
2142 ac_retval
=$ac_status
2144 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2145 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2150 # ac_fn_c_check_func LINENO FUNC VAR
2151 # ----------------------------------
2152 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2153 ac_fn_c_check_func
()
2155 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2157 $as_echo_n "checking for $2... " >&6; }
2158 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2159 $as_echo_n "(cached) " >&6
2161 if test x
$gcc_no_link = xyes
; then
2162 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2165 /* end confdefs.h. */
2166 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2168 #define $2 innocuous_$2
2170 /* System header to define __stub macros and hopefully few prototypes,
2171 which can conflict with char $2 (); below.
2172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2173 <limits.h> exists even on freestanding compilers. */
2176 # include <limits.h>
2178 # include <assert.h>
2183 /* Override any GCC internal prototype to avoid an error.
2184 Use char because int might match the return type of a GCC
2185 builtin and then its argument prototype would still apply. */
2190 /* The GNU C library defines this for functions which it implements
2191 to always fail with ENOSYS. Some functions are actually named
2192 something starting with __ and the normal name is an alias. */
2193 #if defined __stub_$2 || defined __stub___$2
2205 if ac_fn_c_try_link
"$LINENO"; then :
2210 rm -f core conftest.err conftest.
$ac_objext \
2211 conftest
$ac_exeext conftest.
$ac_ext
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2215 $as_echo "$ac_res" >&6; }
2216 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2218 } # ac_fn_c_check_func
2220 # ac_fn_cxx_try_cpp LINENO
2221 # ------------------------
2222 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2223 ac_fn_cxx_try_cpp
()
2225 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2226 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2229 *) ac_try_echo=$ac_try;;
2231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2232 $as_echo "$ac_try_echo"; } >&5
2233 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2235 if test -s conftest.err; then
2236 grep -v '^ *+' conftest.err >conftest.er1
2237 cat conftest.er1 >&5
2238 mv -f conftest.er1 conftest.err
2240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2241 test $ac_status = 0; } >/dev/null && {
2242 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2243 test ! -s conftest.err
2247 $as_echo "$as_me: failed program was:" >&5
2248 sed 's/^/| /' conftest.$ac_ext >&5
2252 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2255 } # ac_fn_cxx_try_cpp
2257 # ac_fn_cxx_try_link LINENO
2258 # -------------------------
2259 # Try to link conftest.$ac_ext, and return whether this succeeded.
2260 ac_fn_cxx_try_link ()
2262 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2263 rm -f conftest.$ac_objext conftest$ac_exeext
2264 if { { ac_try="$ac_link"
2266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2267 *) ac_try_echo
=$ac_try;;
2269 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2270 $as_echo "$ac_try_echo"; } >&5
2271 (eval "$ac_link") 2>conftest.err
2273 if test -s conftest.err
; then
2274 grep -v '^ *+' conftest.err
>conftest.er1
2275 cat conftest.er1
>&5
2276 mv -f conftest.er1 conftest.err
2278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2279 test $ac_status = 0; } && {
2280 test -z "$ac_cxx_werror_flag" ||
2281 test ! -s conftest.err
2282 } && test -s conftest
$ac_exeext && {
2283 test "$cross_compiling" = yes ||
2284 $as_test_x conftest
$ac_exeext
2288 $as_echo "$as_me: failed program was:" >&5
2289 sed 's/^/| /' conftest.
$ac_ext >&5
2293 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2294 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2295 # interfere with the next link command; also delete a directory that is
2296 # left behind by Apple's compiler. We do this before executing the actions.
2297 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2298 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2301 } # ac_fn_cxx_try_link
2303 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2304 # -------------------------------------------------------
2305 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2306 # the include files in INCLUDES and setting the cache variable VAR
2308 ac_fn_c_check_header_mongrel
()
2310 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2311 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2313 $as_echo_n "checking for $2... " >&6; }
2314 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2315 $as_echo_n "(cached) " >&6
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2319 $as_echo "$ac_res" >&6; }
2321 # Is the header compilable?
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2323 $as_echo_n "checking $2 usability... " >&6; }
2324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2325 /* end confdefs.h. */
2329 if ac_fn_c_try_compile
"$LINENO"; then :
2330 ac_header_compiler
=yes
2332 ac_header_compiler
=no
2334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2336 $as_echo "$ac_header_compiler" >&6; }
2338 # Is the header present?
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2340 $as_echo_n "checking $2 presence... " >&6; }
2341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2342 /* end confdefs.h. */
2345 if ac_fn_c_try_cpp
"$LINENO"; then :
2346 ac_header_preproc
=yes
2348 ac_header_preproc
=no
2350 rm -f conftest.err conftest.
$ac_ext
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2352 $as_echo "$ac_header_preproc" >&6; }
2354 # So? What about this header?
2355 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2358 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2360 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2364 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2366 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2368 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2370 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2372 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2376 $as_echo_n "checking for $2... " >&6; }
2377 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2378 $as_echo_n "(cached) " >&6
2380 eval "$3=\$ac_header_compiler"
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2384 $as_echo "$ac_res" >&6; }
2386 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2388 } # ac_fn_c_check_header_mongrel
2390 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2391 # ----------------------------------------------------
2392 # Tries to find if the field MEMBER exists in type AGGR, after including
2393 # INCLUDES, setting cache variable VAR accordingly.
2394 ac_fn_c_check_member
()
2396 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2398 $as_echo_n "checking for $2.$3... " >&6; }
2399 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2400 $as_echo_n "(cached) " >&6
2402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2403 /* end confdefs.h. */
2415 if ac_fn_c_try_compile
"$LINENO"; then :
2418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2419 /* end confdefs.h. */
2425 if (sizeof ac_aggr.$3)
2431 if ac_fn_c_try_compile
"$LINENO"; then :
2436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2442 $as_echo "$ac_res" >&6; }
2443 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2445 } # ac_fn_c_check_member
2447 # ac_fn_c_check_decl LINENO SYMBOL VAR
2448 # ------------------------------------
2449 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2450 ac_fn_c_check_decl
()
2452 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2454 $as_echo_n "checking whether $2 is declared... " >&6; }
2455 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2456 $as_echo_n "(cached) " >&6
2458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2459 /* end confdefs.h. */
2472 if ac_fn_c_try_compile
"$LINENO"; then :
2477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2481 $as_echo "$ac_res" >&6; }
2482 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2484 } # ac_fn_c_check_decl
2486 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2487 # --------------------------------------------
2488 # Tries to find the compile-time value of EXPR in a program that includes
2489 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2491 ac_fn_c_compute_int
()
2493 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2494 if test "$cross_compiling" = yes; then
2495 # Depending upon the size, compute the lo and hi bounds.
2496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2497 /* end confdefs.h. */
2502 static int test_array [1 - 2 * !(($2) >= 0)];
2509 if ac_fn_c_try_compile
"$LINENO"; then :
2512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2513 /* end confdefs.h. */
2518 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2525 if ac_fn_c_try_compile
"$LINENO"; then :
2526 ac_hi
=$ac_mid; break
2528 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2529 if test $ac_lo -le $ac_mid; then
2533 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2539 /* end confdefs.h. */
2544 static int test_array [1 - 2 * !(($2) < 0)];
2551 if ac_fn_c_try_compile
"$LINENO"; then :
2554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2555 /* end confdefs.h. */
2560 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2567 if ac_fn_c_try_compile
"$LINENO"; then :
2568 ac_lo
=$ac_mid; break
2570 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2571 if test $ac_mid -le $ac_hi; then
2575 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2585 # Binary search between lo and hi bounds.
2586 while test "x$ac_lo" != "x$ac_hi"; do
2587 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2589 /* end confdefs.h. */
2594 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2601 if ac_fn_c_try_compile
"$LINENO"; then :
2604 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2609 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2614 /* end confdefs.h. */
2616 static long int longval () { return $2; }
2617 static unsigned long int ulongval () { return $2; }
2624 FILE *f = fopen ("conftest.val", "w");
2629 long int i = longval ();
2632 fprintf (f, "%ld", i);
2636 unsigned long int i = ulongval ();
2639 fprintf (f, "%lu", i);
2641 /* Do not output a trailing newline, as this causes \r\n confusion
2642 on some platforms. */
2643 return ferror (f) || fclose (f) != 0;
2649 if ac_fn_c_try_run
"$LINENO"; then :
2650 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2654 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2655 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2659 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2662 } # ac_fn_c_compute_int
2664 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2665 # -------------------------------------------
2666 # Tests whether TYPE exists after having included INCLUDES, setting cache
2667 # variable VAR accordingly.
2668 ac_fn_c_check_type
()
2670 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2672 $as_echo_n "checking for $2... " >&6; }
2673 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2674 $as_echo_n "(cached) " >&6
2677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2689 if ac_fn_c_try_compile
"$LINENO"; then :
2690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2702 if ac_fn_c_try_compile
"$LINENO"; then :
2707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2713 $as_echo "$ac_res" >&6; }
2714 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2716 } # ac_fn_c_check_type
2717 cat >config.log
<<_ACEOF
2718 This file contains any messages produced by compilers while
2719 running configure, to aid debugging if configure makes a mistake.
2721 It was created by libjava $as_me version-unused, which was
2722 generated by GNU Autoconf 2.64. Invocation command line was
2734 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2735 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2736 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2737 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2738 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2740 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2741 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2743 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2744 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2745 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2746 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2747 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2748 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2749 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2757 test -z "$as_dir" && as_dir
=.
2758 $as_echo "PATH: $as_dir"
2774 # Keep a trace of the command line.
2775 # Strip out --no-create and --no-recursion so they do not pile up.
2776 # Strip out --silent because we don't want to record it for future runs.
2777 # Also quote any args containing shell meta-characters.
2778 # Make two passes to allow for proper duplicate-argument suppression.
2782 ac_must_keep_next
=false
2788 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2789 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2790 |
-silent |
--silent |
--silen |
--sile |
--sil)
2793 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2796 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2798 as_fn_append ac_configure_args1
" '$ac_arg'"
2799 if test $ac_must_keep_next = true
; then
2800 ac_must_keep_next
=false
# Got value, back to normal.
2803 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2804 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2805 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2806 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2807 case "$ac_configure_args0 " in
2808 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2811 -* ) ac_must_keep_next
=true
;;
2814 as_fn_append ac_configure_args
" '$ac_arg'"
2819 { ac_configure_args0
=; unset ac_configure_args0
;}
2820 { ac_configure_args1
=; unset ac_configure_args1
;}
2822 # When interrupted or exit'd, cleanup temporary files, and complete
2823 # config.log. We remove comments because anyway the quotes in there
2824 # would cause problems or look ugly.
2825 # WARNING: Use '\'' to represent an apostrophe within the trap.
2826 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2827 trap 'exit_status=$?
2828 # Save into config.log some information that might help in debugging.
2833 ## ---------------- ##
2834 ## Cache variables. ##
2835 ## ---------------- ##
2838 # The following way of writing the cache mishandles newlines in values,
2840 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2841 eval ac_val=\$$ac_var
2845 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2846 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2849 _ | IFS | as_nl) ;; #(
2850 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2851 *) { eval $ac_var=; unset $ac_var;} ;;
2856 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2857 *${as_nl}ac_space=\ *)
2859 "s/'\''/'\''\\\\'\'''\''/g;
2860 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2863 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2871 ## ----------------- ##
2872 ## Output variables. ##
2873 ## ----------------- ##
2876 for ac_var in $ac_subst_vars
2878 eval ac_val=\$$ac_var
2880 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2882 $as_echo "$ac_var='\''$ac_val'\''"
2886 if test -n "$ac_subst_files"; then
2888 ## ------------------- ##
2889 ## File substitutions. ##
2890 ## ------------------- ##
2893 for ac_var
in $ac_subst_files
2895 eval ac_val
=\$
$ac_var
2897 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2899 $as_echo "$ac_var='\''$ac_val'\''"
2904 if test -s confdefs.h; then
2914 test "$ac_signal" != 0 &&
2915 $as_echo "$as_me: caught signal $ac_signal"
2916 $as_echo "$as_me: exit $exit_status"
2918 rm -f core *.core core.conftest.* &&
2919 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2922 for ac_signal
in 1 2 13 15; do
2923 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2927 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2928 rm -f -r conftest
* confdefs.h
2930 $as_echo "/* confdefs.h */" > confdefs.h
2932 # Predefined preprocessor variables.
2934 cat >>confdefs.h
<<_ACEOF
2935 #define PACKAGE_NAME "$PACKAGE_NAME"
2938 cat >>confdefs.h
<<_ACEOF
2939 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2942 cat >>confdefs.h
<<_ACEOF
2943 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2946 cat >>confdefs.h
<<_ACEOF
2947 #define PACKAGE_STRING "$PACKAGE_STRING"
2950 cat >>confdefs.h
<<_ACEOF
2951 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2954 cat >>confdefs.h
<<_ACEOF
2955 #define PACKAGE_URL "$PACKAGE_URL"
2959 # Let the site file select an alternate cache file if it wants to.
2960 # Prefer an explicitly selected file to automatically selected ones.
2963 if test -n "$CONFIG_SITE"; then
2964 ac_site_file1
=$CONFIG_SITE
2965 elif test "x$prefix" != xNONE
; then
2966 ac_site_file1
=$prefix/share
/config.site
2967 ac_site_file2
=$prefix/etc
/config.site
2969 ac_site_file1
=$ac_default_prefix/share
/config.site
2970 ac_site_file2
=$ac_default_prefix/etc
/config.site
2972 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2974 test "x$ac_site_file" = xNONE
&& continue
2975 if test -r "$ac_site_file"; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2977 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2978 sed 's/^/| /' "$ac_site_file" >&5
2983 if test -r "$cache_file"; then
2984 # Some versions of bash will fail to source /dev/null (special
2985 # files actually), so we avoid doing that.
2986 if test -f "$cache_file"; then
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2988 $as_echo "$as_me: loading cache $cache_file" >&6;}
2990 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2991 *) .
"./$cache_file";;
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2996 $as_echo "$as_me: creating cache $cache_file" >&6;}
3000 # Check that the precious variables saved in the cache have kept the same
3002 ac_cache_corrupted
=false
3003 for ac_var
in $ac_precious_vars; do
3004 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3005 eval ac_new_set
=\
$ac_env_${ac_var}_set
3006 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3007 eval ac_new_val
=\
$ac_env_${ac_var}_value
3008 case $ac_old_set,$ac_new_set in
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3011 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3012 ac_cache_corrupted
=: ;;
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3015 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3016 ac_cache_corrupted
=: ;;
3019 if test "x$ac_old_val" != "x$ac_new_val"; then
3020 # differences in whitespace do not lead to failure.
3021 ac_old_val_w
=`echo x $ac_old_val`
3022 ac_new_val_w
=`echo x $ac_new_val`
3023 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3025 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3026 ac_cache_corrupted
=:
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3029 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3030 eval $ac_var=\
$ac_old_val
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3033 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3035 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3038 # Pass precious variables to config.status.
3039 if test "$ac_new_set" = set; then
3041 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3042 *) ac_arg
=$ac_var=$ac_new_val ;;
3044 case " $ac_configure_args " in
3045 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3046 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3050 if $ac_cache_corrupted; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3054 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3055 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3057 ## -------------------- ##
3058 ## Main body of script. ##
3059 ## -------------------- ##
3062 ac_cpp
='$CPP $CPPFLAGS'
3063 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3064 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3075 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3076 for ac_t
in install-sh
install.sh shtool
; do
3077 if test -f "$ac_dir/$ac_t"; then
3079 ac_install_sh
="$ac_aux_dir/$ac_t -c"
3084 if test -z "$ac_aux_dir"; then
3085 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3088 # These three variables are undocumented and unsupported,
3089 # and are intended to be withdrawn in a future Autoconf release.
3090 # They can cause serious problems if a builder's source tree is in a directory
3091 # whose full name contains unusual characters.
3092 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3093 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3094 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3097 # Make sure we can run config.sub.
3098 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3099 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3102 $as_echo_n "checking build system type... " >&6; }
3103 if test "${ac_cv_build+set}" = set; then :
3104 $as_echo_n "(cached) " >&6
3106 ac_build_alias
=$build_alias
3107 test "x$ac_build_alias" = x
&&
3108 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3109 test "x$ac_build_alias" = x
&&
3110 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3111 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3112 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3116 $as_echo "$ac_cv_build" >&6; }
3117 case $ac_cv_build in
3119 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3122 ac_save_IFS
=$IFS; IFS
='-'
3128 # Remember, the first character of IFS is used to create $*,
3129 # except with old shells:
3132 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3135 case ${build_alias} in
3136 "") build_noncanonical
=${build} ;;
3137 *) build_noncanonical
=${build_alias} ;;
3140 case ${host_alias} in
3141 "") host_noncanonical
=${build_noncanonical} ;;
3142 *) host_noncanonical
=${host_alias} ;;
3145 case ${target_alias} in
3146 "") target_noncanonical
=${host_noncanonical} ;;
3147 *) target_noncanonical
=${target_alias} ;;
3151 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3152 # have matching libraries, they should use host libraries: Makefile.tpl
3153 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3154 # However, they still use the build modules, because the corresponding
3155 # host modules (e.g. bison) are only built for the host when bootstrap
3157 # - build_subdir is where we find build modules, and never changes.
3158 # - build_libsubdir is where we find build libraries, and can be overridden.
3160 # Prefix 'build-' so this never conflicts with target_subdir.
3161 build_subdir
="build-${build_noncanonical}"
3163 # Check whether --with-build-libsubdir was given.
3164 if test "${with_build_libsubdir+set}" = set; then :
3165 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
3167 build_libsubdir
="$build_subdir"
3170 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3171 if ( test $srcdir = .
&& test -d gcc
) \
3172 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
3173 host_subdir
="host-${host_noncanonical}"
3178 target_subdir
=${target_noncanonical}
3181 # We use these options to decide which functions to include.
3183 # Check whether --with-target-subdir was given.
3184 if test "${with_target_subdir+set}" = set; then :
3185 withval
=$with_target_subdir;
3189 # We may get other options which we don't document:
3190 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3192 # Find the rest of the source tree framework.
3193 # Default to --enable-multilib
3194 # Check whether --enable-multilib was given.
3195 if test "${enable_multilib+set}" = set; then :
3196 enableval
=$enable_multilib; case "$enableval" in
3197 yes) multilib
=yes ;;
3199 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3206 # We may get other options which we leave undocumented:
3207 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3208 # See config-ml.in if you want the gory details.
3210 if test "$srcdir" = "."; then
3211 if test "$with_target_subdir" != "."; then
3212 multi_basedir
="$srcdir/$with_multisrctop../.."
3214 multi_basedir
="$srcdir/$with_multisrctop.."
3217 multi_basedir
="$srcdir/.."
3221 # Even if the default multilib is not a cross compilation,
3222 # it may be that some of the other multilibs are.
3223 if test $cross_compiling = no
&& test $multilib = yes \
3224 && test "x${with_multisubdir}" != x
; then
3225 cross_compiling
=maybe
3228 ac_config_commands
="$ac_config_commands default-1"
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3232 $as_echo_n "checking host system type... " >&6; }
3233 if test "${ac_cv_host+set}" = set; then :
3234 $as_echo_n "(cached) " >&6
3236 if test "x$host_alias" = x
; then
3237 ac_cv_host
=$ac_cv_build
3239 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3240 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3245 $as_echo "$ac_cv_host" >&6; }
3248 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3251 ac_save_IFS
=$IFS; IFS
='-'
3257 # Remember, the first character of IFS is used to create $*,
3258 # except with old shells:
3261 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3265 $as_echo_n "checking target system type... " >&6; }
3266 if test "${ac_cv_target+set}" = set; then :
3267 $as_echo_n "(cached) " >&6
3269 if test "x$target_alias" = x
; then
3270 ac_cv_target
=$ac_cv_host
3272 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3273 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3278 $as_echo "$ac_cv_target" >&6; }
3279 case $ac_cv_target in
3281 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
3283 target
=$ac_cv_target
3284 ac_save_IFS
=$IFS; IFS
='-'
3290 # Remember, the first character of IFS is used to create $*,
3291 # except with old shells:
3294 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3297 # The aliases save the names the user supplied, while $host etc.
3298 # will get canonicalized.
3299 test -n "$target_alias" &&
3300 test "$program_prefix$program_suffix$program_transform_name" = \
3302 program_prefix
=${target_alias}-
3304 case ${build_alias} in
3305 "") build_noncanonical
=${build} ;;
3306 *) build_noncanonical
=${build_alias} ;;
3309 case ${target_alias} in
3310 "") target_noncanonical
=${host_noncanonical} ;;
3311 *) target_noncanonical
=${target_alias} ;;
3317 # This works around the fact that libtool configuration may change LD
3318 # for this particular configuration, but some shells, instead of
3319 # keeping the changes in LD private, export them just because LD is
3321 ORIGINAL_LD_FOR_MULTILIBS
=$LD
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3324 $as_echo_n "checking whether ln -s works... " >&6; }
3326 if test "$LN_S" = "ln -s"; then
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3328 $as_echo "yes" >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3331 $as_echo "no, using $LN_S" >&6; }
3335 # This works around an automake problem.
3336 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
3340 # Check whether --with-cross-host was given.
3341 if test "${with_cross_host+set}" = set; then :
3342 withval
=$with_cross_host;
3347 # Check whether --with-newlib was given.
3348 if test "${with_newlib+set}" = set; then :
3349 withval
=$with_newlib;
3353 # Check whether --enable-version-specific-runtime-libs was given.
3354 if test "${enable_version_specific_runtime_libs+set}" = set; then :
3355 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
3356 yes) version_specific_libs
=yes ;;
3357 no
) version_specific_libs
=no
;;
3358 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3361 version_specific_libs
=no
3366 # Check whether --enable-browser-plugin was given.
3367 if test "${enable_browser_plugin+set}" = set; then :
3368 enableval
=$enable_browser_plugin; case "$enableval" in
3369 yes) browser_plugin_enabled
=yes ;;
3370 no
) browser_plugin_enabled
=no
;;
3371 *) as_fn_error
"Unknown argument to enable/disable browser plugin" "$LINENO" 5;;
3374 browser_plugin_enabled
=no
3379 # Check whether --enable-gconf-peer was given.
3380 if test "${enable_gconf_peer+set}" = set; then :
3381 enableval
=$enable_gconf_peer; case "$enableval" in
3382 yes) gconf_enabled
=yes ;;
3383 no
) gconf_enabled
=no
;;
3384 *) as_fn_error
"Unknown argument to enable/disable gconf-peer" "$LINENO" 5;;
3393 # Check whether --with-antlr-jar was given.
3394 if test "${with_antlr_jar+set}" = set; then :
3395 withval
=$with_antlr_jar;
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr.jar" >&5
3406 $as_echo_n "checking for antlr.jar... " >&6; }
3407 if test "x$ANTLR_JAR" = x
; then
3408 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
3409 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
3411 if test -f "$antlr_lib_home/antlr.jar"; then
3412 # FIXME: version check for antlr needed without using a VM
3413 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
3417 if test "x$ANTLR_JAR" = x
; then
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3419 $as_echo "not found" >&6; }
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3422 $as_echo "$ANTLR_JAR" >&6; }
3425 if test -f "${ANTLR_JAR}"; then
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3427 $as_echo "$ANTLR_JAR" >&6; }
3429 as_fn_error
"antlr jar file not found: $ANTLR_JAR" "$LINENO" 5
3434 # Check whether --enable-gjdoc was given.
3435 if test "${enable_gjdoc+set}" = set; then :
3436 enableval
=$enable_gjdoc; case "${enableval}" in
3437 yes) BUILD_GJDOC
=yes ;;
3438 no
) BUILD_GJDOC
=no
;;
3439 *) BUILD_GJDOC
=yes ;;
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gjdoc" >&5
3447 $as_echo_n "checking whether to build gjdoc... " >&6; }
3448 if test "x$BUILD_GJDOC" = xmaybe
; then
3449 if test -f "${ANTLR_JAR}"; then
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3452 $as_echo "yes" >&6; }
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, antlr.jar not found" >&5
3456 $as_echo "no, antlr.jar not found" >&6; }
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_GJDOC" >&5
3460 $as_echo "$BUILD_GJDOC" >&6; }
3462 if test "x${BUILD_GJDOC}" = xyes
; then
3464 CREATE_GJDOC_FALSE
='#'
3466 CREATE_GJDOC_TRUE
='#'
3471 # Check whether --enable-java-maintainer-mode was given.
3472 if test "${enable_java_maintainer_mode+set}" = set; then :
3473 enableval
=$enable_java_maintainer_mode;
3476 if test "$enable_java_maintainer_mode" = yes; then
3477 JAVA_MAINTAINER_MODE_TRUE
=
3478 JAVA_MAINTAINER_MODE_FALSE
='#'
3480 JAVA_MAINTAINER_MODE_TRUE
='#'
3481 JAVA_MAINTAINER_MODE_FALSE
=
3485 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
3488 # (1) We use an abnormal CXX (without library references), so we
3489 # must cache it under a different name.
3490 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
3491 # the non-multilib-adjusted value will be used in multilibs.
3492 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
3493 # (4) As another side effect, automake doesn't automatically include them
3495 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
3496 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
3497 # used in later tests. This may not be necessary in libjava; I don't know.
3500 save_CXXFLAGS
="$CXXFLAGS"
3501 CXXFLAGS
="$CXXFLAGS -fno-builtin"
3503 ac_cpp
='$CPP $CPPFLAGS'
3504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3507 if test -n "$ac_tool_prefix"; then
3508 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3509 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3511 $as_echo_n "checking for $ac_word... " >&6; }
3512 if test "${ac_cv_prog_CC+set}" = set; then :
3513 $as_echo_n "(cached) " >&6
3515 if test -n "$CC"; then
3516 ac_cv_prog_CC
="$CC" # Let the user override the test.
3518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3522 test -z "$as_dir" && as_dir
=.
3523 for ac_exec_ext
in '' $ac_executable_extensions; do
3524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3525 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3536 if test -n "$CC"; then
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3538 $as_echo "$CC" >&6; }
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3541 $as_echo "no" >&6; }
3546 if test -z "$ac_cv_prog_CC"; then
3548 # Extract the first word of "gcc", so it can be a program name with args.
3549 set dummy gcc
; ac_word
=$2
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551 $as_echo_n "checking for $ac_word... " >&6; }
3552 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3553 $as_echo_n "(cached) " >&6
3555 if test -n "$ac_ct_CC"; then
3556 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3562 test -z "$as_dir" && as_dir
=.
3563 for ac_exec_ext
in '' $ac_executable_extensions; do
3564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3565 ac_cv_prog_ac_ct_CC
="gcc"
3566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3576 if test -n "$ac_ct_CC"; then
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3578 $as_echo "$ac_ct_CC" >&6; }
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3584 if test "x$ac_ct_CC" = x
; then
3587 case $cross_compiling:$ac_tool_warned in
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3591 ac_tool_warned
=yes ;;
3599 if test -z "$CC"; then
3600 if test -n "$ac_tool_prefix"; then
3601 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3602 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if test "${ac_cv_prog_CC+set}" = set; then :
3606 $as_echo_n "(cached) " >&6
3608 if test -n "$CC"; then
3609 ac_cv_prog_CC
="$CC" # Let the user override the test.
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_exec_ext
in '' $ac_executable_extensions; do
3617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3618 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 if test -n "$CC"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3631 $as_echo "$CC" >&6; }
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3640 if test -z "$CC"; then
3641 # Extract the first word of "cc", so it can be a program name with args.
3642 set dummy cc
; ac_word
=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if test "${ac_cv_prog_CC+set}" = set; then :
3646 $as_echo_n "(cached) " >&6
3648 if test -n "$CC"; then
3649 ac_cv_prog_CC
="$CC" # Let the user override the test.
3652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3656 test -z "$as_dir" && as_dir
=.
3657 for ac_exec_ext
in '' $ac_executable_extensions; do
3658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3659 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3660 ac_prog_rejected
=yes
3664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3671 if test $ac_prog_rejected = yes; then
3672 # We found a bogon in the path, so make sure we never use it.
3673 set dummy
$ac_cv_prog_CC
3675 if test $# != 0; then
3676 # We chose a different compiler from the bogus one.
3677 # However, it has the same basename, so the bogon will be chosen
3678 # first if we set CC to just the basename; use the full file name.
3680 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3686 if test -n "$CC"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3688 $as_echo "$CC" >&6; }
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691 $as_echo "no" >&6; }
3696 if test -z "$CC"; then
3697 if test -n "$ac_tool_prefix"; then
3698 for ac_prog
in cl.exe
3700 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3701 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3703 $as_echo_n "checking for $ac_word... " >&6; }
3704 if test "${ac_cv_prog_CC+set}" = set; then :
3705 $as_echo_n "(cached) " >&6
3707 if test -n "$CC"; then
3708 ac_cv_prog_CC
="$CC" # Let the user override the test.
3710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3714 test -z "$as_dir" && as_dir
=.
3715 for ac_exec_ext
in '' $ac_executable_extensions; do
3716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3717 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 if test -n "$CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3737 test -n "$CC" && break
3740 if test -z "$CC"; then
3742 for ac_prog
in cl.exe
3744 # Extract the first word of "$ac_prog", so it can be a program name with args.
3745 set dummy
$ac_prog; ac_word
=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3749 $as_echo_n "(cached) " >&6
3751 if test -n "$ac_ct_CC"; then
3752 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3758 test -z "$as_dir" && as_dir
=.
3759 for ac_exec_ext
in '' $ac_executable_extensions; do
3760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3761 ac_cv_prog_ac_ct_CC
="$ac_prog"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3772 if test -n "$ac_ct_CC"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3774 $as_echo "$ac_ct_CC" >&6; }
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3781 test -n "$ac_ct_CC" && break
3784 if test "x$ac_ct_CC" = x
; then
3787 case $cross_compiling:$ac_tool_warned in
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3791 ac_tool_warned
=yes ;;
3800 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3802 as_fn_error
"no acceptable C compiler found in \$PATH
3803 See \`config.log' for more details." "$LINENO" 5; }
3805 # Provide some information about the compiler.
3806 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3809 for ac_option
in --version -v -V -qversion; do
3810 { { ac_try
="$ac_compiler $ac_option >&5"
3812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3816 $as_echo "$ac_try_echo"; } >&5
3817 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3819 if test -s conftest.err; then
3821 ... rest of stderr output deleted ...
3822 10q' conftest.err >conftest.er1
3823 cat conftest.er1 >&5
3824 rm -f conftest.er1 conftest.err
3826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3827 test $ac_status = 0; }
3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h. */
3842 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3843 (eval $ac_link) 2>&5
3845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3846 test $ac_status = 0; }; then :
3851 if test x$gcc_no_link = xyes; then
3852 # Setting cross_compile will disable run tests; it will
3853 # also disable AC_CHECK_FILE but that's generally
3854 # correct if we can't link.
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3869 ac_clean_files_save=$ac_clean_files
3870 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3871 # Try to create an executable without -o first, disregard a.out.
3872 # It will help us diagnose broken compilers, and finding out an intuition
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3875 $as_echo_n "checking for C compiler default output file name... " >&6; }
3876 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3878 # The possible output files:
3879 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3882 for ac_file in $ac_files
3885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3886 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3891 if { { ac_try="$ac_link_default"
3893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3894 *) ac_try_echo
=$ac_try;;
3896 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3897 $as_echo "$ac_try_echo"; } >&5
3898 (eval "$ac_link_default") 2>&5
3900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3901 test $ac_status = 0; }; then :
3902 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3903 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3904 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3905 # so that the user can short-circuit this test for compilers unknown to
3907 for ac_file
in $ac_files ''
3909 test -f "$ac_file" ||
continue
3911 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3914 # We found the default executable, but exeext='' is most
3918 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3920 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3922 # We set ac_cv_exeext here because the later test for it is not
3923 # safe: cross compilers may not add the suffix if given an `-o'
3924 # argument, so we may need to know it at that point already.
3925 # Even if this section looks crufty: it has the advantage of
3932 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3938 $as_echo "$ac_file" >&6; }
3939 if test -z "$ac_file"; then :
3940 $as_echo "$as_me: failed program was:" >&5
3941 sed 's/^/| /' conftest.
$ac_ext >&5
3943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3945 { as_fn_set_status
77
3946 as_fn_error
"C compiler cannot create executables
3947 See \`config.log' for more details." "$LINENO" 5; }; }
3949 ac_exeext
=$ac_cv_exeext
3951 # Check that the compiler produces executables we can run. If not, either
3952 # the compiler is broken, or we cross compile.
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3954 $as_echo_n "checking whether the C compiler works... " >&6; }
3955 # If not cross compiling, check that we can run a simple program.
3956 if test "$cross_compiling" != yes; then
3957 if { ac_try
='./$ac_file'
3958 { { case "(($ac_try" in
3959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3963 $as_echo "$ac_try_echo"; } >&5
3964 (eval "$ac_try") 2>&5
3966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3967 test $ac_status = 0; }; }; then
3970 if test "$cross_compiling" = maybe; then
3973 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3975 as_fn_error "cannot run C compiled programs.
3976 If you meant to cross compile
, use \
`--host'.
3977 See \`config.log
' for more details." "$LINENO" 5; }
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3982 $as_echo "yes" >&6; }
3984 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3985 ac_clean_files=$ac_clean_files_save
3986 # Check that the compiler produces executables we can run. If not, either
3987 # the compiler is broken, or we cross compile.
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3989 $as_echo_n "checking whether we are cross compiling... " >&6; }
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3991 $as_echo "$cross_compiling" >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3994 $as_echo_n "checking for suffix of executables... " >&6; }
3995 if { { ac_try="$ac_link"
3997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998 *) ac_try_echo=$ac_try;;
4000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4001 $as_echo "$ac_try_echo"; } >&5
4002 (eval "$ac_link") 2>&5
4004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4005 test $ac_status = 0; }; then :
4006 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4007 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4008 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4010 for ac_file
in conftest.exe conftest conftest.
*; do
4011 test -f "$ac_file" ||
continue
4013 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4014 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4020 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4022 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4023 See \`config.log' for more details." "$LINENO" 5; }
4025 rm -f conftest
$ac_cv_exeext
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4027 $as_echo "$ac_cv_exeext" >&6; }
4029 rm -f conftest.
$ac_ext
4030 EXEEXT
=$ac_cv_exeext
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4034 $as_echo_n "checking for suffix of object files... " >&6; }
4035 if test "${ac_cv_objext+set}" = set; then :
4036 $as_echo_n "(cached) " >&6
4038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4049 rm -f conftest.o conftest.obj
4050 if { { ac_try
="$ac_compile"
4052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4053 *) ac_try_echo=$ac_try;;
4055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4056 $as_echo "$ac_try_echo"; } >&5
4057 (eval "$ac_compile") 2>&5
4059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4060 test $ac_status = 0; }; then :
4061 for ac_file in conftest.o conftest.obj conftest.*; do
4062 test -f "$ac_file" || continue;
4064 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4065 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4070 $as_echo "$as_me: failed program was:" >&5
4071 sed 's/^/| /' conftest.$ac_ext >&5
4073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4075 as_fn_error "cannot compute suffix of object files
: cannot compile
4076 See \
`config.log' for more details." "$LINENO" 5; }
4078 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4081 $as_echo "$ac_cv_objext" >&6; }
4082 OBJEXT=$ac_cv_objext
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4085 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4086 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4087 $as_echo_n "(cached) " >&6
4089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4103 if ac_fn_c_try_compile "$LINENO"; then :
4108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4109 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4113 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4114 if test $ac_compiler_gnu = yes; then
4119 ac_test_CFLAGS=${CFLAGS+set}
4120 ac_save_CFLAGS=$CFLAGS
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4122 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4123 if test "${ac_cv_prog_cc_g+set}" = set; then :
4124 $as_echo_n "(cached) " >&6
4126 ac_save_c_werror_flag=$ac_c_werror_flag
4127 ac_c_werror_flag=yes
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4141 if ac_fn_c_try_compile "$LINENO"; then :
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4156 if ac_fn_c_try_compile "$LINENO"; then :
4159 ac_c_werror_flag=$ac_save_c_werror_flag
4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h. */
4172 if ac_fn_c_try_compile "$LINENO"; then :
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 ac_c_werror_flag=$ac_save_c_werror_flag
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4183 $as_echo "$ac_cv_prog_cc_g" >&6; }
4184 if test "$ac_test_CFLAGS" = set; then
4185 CFLAGS=$ac_save_CFLAGS
4186 elif test $ac_cv_prog_cc_g = yes; then
4187 if test "$GCC" = yes; then
4193 if test "$GCC" = yes; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4200 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4201 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4202 $as_echo_n "(cached) " >&6
4204 ac_cv_prog_cc_c89=no
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4210 #include <sys/types.h>
4211 #include <sys/stat.h>
4212 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4213 struct buf { int x; };
4214 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4215 static char *e (p, i)
4221 static char *f (char * (*g) (char **, int), char **p, ...)
4226 s = g (p, va_arg (v,int));
4231 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4232 function prototypes and stuff, but not '\xHH' hex character constants.
4233 These don't provoke an error unfortunately, instead are silently treated
4234 as 'x'. The following induces an error, until -std is added to get
4235 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4236 array size at least. It's necessary to write '\x00'==0 to get something
4237 that's true only with -std. */
4238 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4240 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4241 inside strings and character constants. */
4243 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4245 int test (int i, double x);
4246 struct s1 {int (*f) (int a);};
4247 struct s2 {int (*f) (double a);};
4248 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4254 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4259 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4260 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4262 CC="$ac_save_CC $ac_arg"
4263 if ac_fn_c_try_compile "$LINENO"; then :
4264 ac_cv_prog_cc_c89=$ac_arg
4266 rm -f core conftest.err conftest.$ac_objext
4267 test "x$ac_cv_prog_cc_c89" != "xno" && break
4269 rm -f conftest.$ac_ext
4274 case "x$ac_cv_prog_cc_c89" in
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4277 $as_echo "none needed" >&6; } ;;
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4280 $as_echo "unsupported" >&6; } ;;
4282 CC="$CC $ac_cv_prog_cc_c89"
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4284 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4286 if test "x$ac_cv_prog_cc_c89" != xno; then :
4291 ac_cpp='$CPP $CPPFLAGS'
4292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4297 ac_cpp='$CXXCPP $CPPFLAGS'
4298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4301 if test -z "$CXX"; then
4302 if test -n "$CCC"; then
4305 if test -n "$ac_tool_prefix"; then
4306 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4309 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4311 $as_echo_n "checking for $ac_word... " >&6; }
4312 if test "${ac_cv_prog_CXX+set}" = set; then :
4313 $as_echo_n "(cached) " >&6
4315 if test -n "$CXX"; then
4316 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322 test -z "$as_dir" && as_dir=.
4323 for ac_exec_ext in '' $ac_executable_extensions; do
4324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4325 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 if test -n "$CXX"; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4338 $as_echo "$CXX" >&6; }
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4345 test -n "$CXX" && break
4348 if test -z "$CXX"; then
4350 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4352 # Extract the first word of "$ac_prog", so it can be a program name with args.
4353 set dummy $ac_prog; ac_word=$2
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4355 $as_echo_n "checking for $ac_word... " >&6; }
4356 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4357 $as_echo_n "(cached) " >&6
4359 if test -n "$ac_ct_CXX"; then
4360 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 test -z "$as_dir" && as_dir=.
4367 for ac_exec_ext in '' $ac_executable_extensions; do
4368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4369 ac_cv_prog_ac_ct_CXX="$ac_prog"
4370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4380 if test -n "$ac_ct_CXX"; then
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4382 $as_echo "$ac_ct_CXX" >&6; }
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385 $as_echo "no" >&6; }
4389 test -n "$ac_ct_CXX" && break
4392 if test "x$ac_ct_CXX" = x; then
4395 case $cross_compiling:$ac_tool_warned in
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4399 ac_tool_warned=yes ;;
4407 # Provide some information about the compiler.
4408 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4411 for ac_option in --version -v -V -qversion; do
4412 { { ac_try="$ac_compiler $ac_option >&5"
4414 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4415 *) ac_try_echo
=$ac_try;;
4417 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4418 $as_echo "$ac_try_echo"; } >&5
4419 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4421 if test -s conftest.err
; then
4423 ... rest of stderr output deleted ...
4424 10q' conftest.err
>conftest.er1
4425 cat conftest.er1
>&5
4426 rm -f conftest.er1 conftest.err
4428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4429 test $ac_status = 0; }
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4433 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4434 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4435 $as_echo_n "(cached) " >&6
4437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4451 if ac_fn_cxx_try_compile
"$LINENO"; then :
4456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4457 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4461 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4462 if test $ac_compiler_gnu = yes; then
4467 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4468 ac_save_CXXFLAGS
=$CXXFLAGS
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4470 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4471 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4472 $as_echo_n "(cached) " >&6
4474 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4475 ac_cxx_werror_flag
=yes
4478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4479 /* end confdefs.h. */
4489 if ac_fn_cxx_try_compile
"$LINENO"; then :
4490 ac_cv_prog_cxx_g
=yes
4493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4504 if ac_fn_cxx_try_compile
"$LINENO"; then :
4507 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4520 if ac_fn_cxx_try_compile
"$LINENO"; then :
4521 ac_cv_prog_cxx_g
=yes
4523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4528 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4531 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4532 if test "$ac_test_CXXFLAGS" = set; then
4533 CXXFLAGS
=$ac_save_CXXFLAGS
4534 elif test $ac_cv_prog_cxx_g = yes; then
4535 if test "$GXX" = yes; then
4541 if test "$GXX" = yes; then
4548 ac_cpp
='$CPP $CPPFLAGS'
4549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4553 CXXFLAGS
="$save_CXXFLAGS"
4559 am__api_version
='1.11'
4561 # Find a good install program. We prefer a C program (faster),
4562 # so one script is as good as another. But avoid the broken or
4563 # incompatible versions:
4564 # SysV /etc/install, /usr/sbin/install
4565 # SunOS /usr/etc/install
4566 # IRIX /sbin/install
4568 # AmigaOS /C/install, which installs bootblocks on floppy discs
4569 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4570 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4571 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4572 # OS/2's system install, which has a completely different semantic
4573 # ./install, which can be erroneously created by make from ./install.sh.
4574 # Reject install programs that cannot install multiple files.
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4576 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4577 if test -z "$INSTALL"; then
4578 if test "${ac_cv_path_install+set}" = set; then :
4579 $as_echo_n "(cached) " >&6
4581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4585 test -z "$as_dir" && as_dir
=.
4586 # Account for people who put trailing slashes in PATH elements.
4587 case $as_dir/ in #((
4588 .
/ | .
// |
/[cC
]/* | \
4589 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4590 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4593 # OSF1 and SCO ODT 3.0 have their own names for install.
4594 # Don't use installbsd from OSF since it installs stuff as root
4596 for ac_prog
in ginstall scoinst
install; do
4597 for ac_exec_ext
in '' $ac_executable_extensions; do
4598 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4599 if test $ac_prog = install &&
4600 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4601 # AIX install. It has an incompatible calling convention.
4603 elif test $ac_prog = install &&
4604 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4605 # program-specific install script used by HP pwplus--don't use.
4608 rm -rf conftest.one conftest.two conftest.dir
4609 echo one
> conftest.one
4610 echo two
> conftest.two
4612 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4613 test -s conftest.one
&& test -s conftest.two
&&
4614 test -s conftest.dir
/conftest.one
&&
4615 test -s conftest.dir
/conftest.two
4617 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4630 rm -rf conftest.one conftest.two conftest.dir
4633 if test "${ac_cv_path_install+set}" = set; then
4634 INSTALL
=$ac_cv_path_install
4636 # As a last resort, use the slow shell script. Don't cache a
4637 # value for INSTALL within a source directory, because that will
4638 # break other packages using the cache if that directory is
4639 # removed, or if the value is a relative name.
4640 INSTALL
=$ac_install_sh
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4644 $as_echo "$INSTALL" >&6; }
4646 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4647 # It thinks the first close brace ends the variable substitution.
4648 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4650 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4652 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4655 $as_echo_n "checking whether build environment is sane... " >&6; }
4658 echo timestamp
> conftest.
file
4659 # Reject unsafe characters in $srcdir or the absolute working directory
4660 # name. Accept space and tab only in the latter.
4664 *[\\\"\
#\$\&\'\`$am_lf]*)
4665 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
4668 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4669 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4672 # Do `set' in a subshell so we don't clobber the current shell's
4673 # arguments. Must try -L first in case configure is actually a
4674 # symlink; some systems play weird games with the mod time of symlinks
4675 # (eg FreeBSD returns the mod time of the symlink's containing
4678 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4679 if test "$*" = "X"; then
4681 set X
`ls -t "$srcdir/configure" conftest.file`
4684 if test "$*" != "X $srcdir/configure conftest.file" \
4685 && test "$*" != "X conftest.file $srcdir/configure"; then
4687 # If neither matched, then we have a broken ls. This can happen
4688 # if, for instance, CONFIG_SHELL is bash and it inherits a
4689 # broken ls alias from the environment. This has actually
4690 # happened. Such a system could not be considered "sane".
4691 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4692 alias in your environment" "$LINENO" 5
4695 test "$2" = conftest.
file
4701 as_fn_error
"newly created file is older than distributed files!
4702 Check your system clock" "$LINENO" 5
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4705 $as_echo "yes" >&6; }
4706 test "$program_prefix" != NONE
&&
4707 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4708 # Use a double $ so make ignores it.
4709 test "$program_suffix" != NONE
&&
4710 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4711 # Double any \ or $.
4712 # By default was `s,x,x', remove it if useless.
4713 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4714 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4716 # expand $ac_aux_dir to an absolute path
4717 am_aux_dir
=`cd $ac_aux_dir && pwd`
4719 if test x
"${MISSING+set}" != xset
; then
4722 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4724 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4727 # Use eval to expand $SHELL
4728 if eval "$MISSING --run true"; then
4729 am_missing_run
="$MISSING --run "
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4733 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4736 if test x
"${install_sh}" != xset
; then
4739 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4741 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4745 # Installed binaries are usually stripped using `strip' when the user
4746 # run `make install-strip'. However `strip' might not be the right
4747 # tool to use in cross-compilation environments, therefore Automake
4748 # will honor the `STRIP' environment variable to overrule this program.
4749 if test "$cross_compiling" != no
; then
4750 if test -n "$ac_tool_prefix"; then
4751 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4752 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 $as_echo_n "checking for $ac_word... " >&6; }
4755 if test "${ac_cv_prog_STRIP+set}" = set; then :
4756 $as_echo_n "(cached) " >&6
4758 if test -n "$STRIP"; then
4759 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4765 test -z "$as_dir" && as_dir
=.
4766 for ac_exec_ext
in '' $ac_executable_extensions; do
4767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4768 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4778 STRIP
=$ac_cv_prog_STRIP
4779 if test -n "$STRIP"; then
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4781 $as_echo "$STRIP" >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4789 if test -z "$ac_cv_prog_STRIP"; then
4791 # Extract the first word of "strip", so it can be a program name with args.
4792 set dummy strip
; ac_word
=$2
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4794 $as_echo_n "checking for $ac_word... " >&6; }
4795 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4796 $as_echo_n "(cached) " >&6
4798 if test -n "$ac_ct_STRIP"; then
4799 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4805 test -z "$as_dir" && as_dir
=.
4806 for ac_exec_ext
in '' $ac_executable_extensions; do
4807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4808 ac_cv_prog_ac_ct_STRIP
="strip"
4809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4818 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4819 if test -n "$ac_ct_STRIP"; then
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4821 $as_echo "$ac_ct_STRIP" >&6; }
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 $as_echo "no" >&6; }
4827 if test "x$ac_ct_STRIP" = x
; then
4830 case $cross_compiling:$ac_tool_warned in
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4834 ac_tool_warned
=yes ;;
4839 STRIP
="$ac_cv_prog_STRIP"
4843 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4846 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4847 if test -z "$MKDIR_P"; then
4848 if test "${ac_cv_path_mkdir+set}" = set; then :
4849 $as_echo_n "(cached) " >&6
4851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4852 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4855 test -z "$as_dir" && as_dir
=.
4856 for ac_prog
in mkdir gmkdir
; do
4857 for ac_exec_ext
in '' $ac_executable_extensions; do
4858 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4859 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4860 'mkdir (GNU coreutils) '* | \
4861 'mkdir (coreutils) '* | \
4862 'mkdir (fileutils) '4.1*)
4863 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4873 if test "${ac_cv_path_mkdir+set}" = set; then
4874 MKDIR_P
="$ac_cv_path_mkdir -p"
4876 # As a last resort, use the slow shell script. Don't cache a
4877 # value for MKDIR_P within a source directory, because that will
4878 # break other packages using the cache if that directory is
4879 # removed, or if the value is a relative name.
4880 test -d .
/--version && rmdir .
/--version
4881 MKDIR_P
="$ac_install_sh -d"
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4885 $as_echo "$MKDIR_P" >&6; }
4889 [\\/$
]* | ?
:[\\/]*) ;;
4890 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4893 for ac_prog
in gawk mawk nawk
awk
4895 # Extract the first word of "$ac_prog", so it can be a program name with args.
4896 set dummy
$ac_prog; ac_word
=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if test "${ac_cv_prog_AWK+set}" = set; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$AWK"; then
4903 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4912 ac_cv_prog_AWK
="$ac_prog"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4923 if test -n "$AWK"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4925 $as_echo "$AWK" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4932 test -n "$AWK" && break
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4936 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4938 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4939 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4940 $as_echo_n "(cached) " >&6
4942 cat >conftest.
make <<\_ACEOF
4945 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4947 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4948 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4950 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4952 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4956 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4958 $as_echo "yes" >&6; }
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4963 SET_MAKE
="MAKE=${MAKE-make}"
4966 rm -rf .tst
2>/dev
/null
4967 mkdir .tst
2>/dev
/null
4968 if test -d .tst
; then
4973 rmdir .tst
2>/dev
/null
4975 DEPDIR
="${am__leading_dot}deps"
4977 ac_config_commands
="$ac_config_commands depfiles"
4980 am_make
=${MAKE-make}
4981 cat > confinc
<< 'END'
4983 @
echo this is the am__doit target
4986 # If we don't find an include directive, just comment out the code.
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4988 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4992 # First try GNU make style include.
4993 echo "include confinc" > confmf
4994 # Ignore all kinds of additional output from `make'.
4995 case `$am_make -s -f confmf 2> /dev/null` in #(
4996 *the\ am__doit\ target
*)
5002 # Now try BSD make style include.
5003 if test "$am__include" = "#"; then
5004 echo '.include "confinc"' > confmf
5005 case `$am_make -s -f confmf 2> /dev/null` in #(
5006 *the\ am__doit\ target
*)
5007 am__include
=.include
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5016 $as_echo "$_am_result" >&6; }
5017 rm -f confinc confmf
5019 # Check whether --enable-dependency-tracking was given.
5020 if test "${enable_dependency_tracking+set}" = set; then :
5021 enableval
=$enable_dependency_tracking;
5024 if test "x$enable_dependency_tracking" != xno
; then
5025 am_depcomp
="$ac_aux_dir/depcomp"
5028 if test "x$enable_dependency_tracking" != xno; then
5037 if test "`cd $srcdir && pwd`" != "`pwd`"; then
5038 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5039 # is not polluted with repeated "-I."
5040 am__isrc
=' -I$(srcdir)'
5041 # test to see if srcdir already configured
5042 if test -f $srcdir/config.status
; then
5043 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
5047 # test whether we have cygpath
5048 if test -z "$CYGPATH_W"; then
5049 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
5050 CYGPATH_W
='cygpath -w'
5057 # Define the identity of the package.
5059 VERSION
='version-unused'
5062 cat >>confdefs.h
<<_ACEOF
5063 #define PACKAGE "$PACKAGE"
5067 cat >>confdefs.h
<<_ACEOF
5068 #define VERSION "$VERSION"
5071 # Some tools Automake needs.
5073 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5076 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
5079 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5082 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
5085 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
5087 # We need awk for the "check" target. The system "awk" is bad on
5089 # Always define AMTAR for backward compatibility.
5091 AMTAR
=${AMTAR-"${am_missing_run}tar"}
5093 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
5098 depcc
="$CC" am_compiler_list
=
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5101 $as_echo_n "checking dependency style of $depcc... " >&6; }
5102 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5103 $as_echo_n "(cached) " >&6
5105 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5106 # We make a subdir and do the tests there. Otherwise we can end up
5107 # making bogus files that we don't know about and never remove. For
5108 # instance it was reported that on HP-UX the gcc test will end up
5109 # making a dummy file named `D' -- because `-MD' means `put the output
5112 # Copy depcomp to subdir because otherwise we won't find it if we're
5113 # using a relative directory.
5114 cp "$am_depcomp" conftest.dir
5116 # We will build objects and dependencies in a subdirectory because
5117 # it helps to detect inapplicable dependency modes. For instance
5118 # both Tru64's cc and ICC support -MD to output dependencies as a
5119 # side effect of compilation, but ICC will put the dependencies in
5120 # the current directory while Tru64 will put them in the object
5124 am_cv_CC_dependencies_compiler_type
=none
5125 if test "$am_compiler_list" = ""; then
5126 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5129 case " $depcc " in #(
5130 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5133 for depmode
in $am_compiler_list; do
5134 # Setup a source with many dependencies, because some compilers
5135 # like to wrap large dependency lists on column 80 (with \), and
5136 # we should not choose a depcomp mode which is confused by this.
5138 # We need to recreate these files for each test, as the compiler may
5139 # overwrite some of them when testing with obscure command lines.
5140 # This happens at least with the AIX C compiler.
5142 for i
in 1 2 3 4 5 6; do
5143 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5144 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5145 # Solaris 8's {/usr,}/bin/sh.
5146 touch sub
/conftst
$i.h
5148 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5150 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5151 # mode. It turns out that the SunPro C++ compiler does not properly
5152 # handle `-M -o', and we need to detect this. Also, some Intel
5153 # versions had trouble with output in subdirs
5154 am__obj
=sub
/conftest.
${OBJEXT-o}
5155 am__minus_obj
="-o $am__obj"
5158 # This depmode causes a compiler race in universal mode.
5159 test "$am__universal" = false ||
continue
5162 # after this tag, mechanisms are not by side-effect, so they'll
5163 # only be used when explicitly requested
5164 if test "x$enable_dependency_tracking" = xyes
; then
5170 msvisualcpp | msvcmsys
)
5171 # This compiler won't grok `-c -o', but also, the minuso test has
5172 # not run yet. These depmodes are late enough in the game, and
5173 # so weak that their functioning should not be impacted.
5174 am__obj
=conftest.
${OBJEXT-o}
5179 if depmode
=$depmode \
5180 source=sub
/conftest.c object
=$am__obj \
5181 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5182 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5183 >/dev
/null
2>conftest.err
&&
5184 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5185 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5186 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5187 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5188 # icc doesn't choke on unknown options, it will just issue warnings
5189 # or remarks (even with -Werror). So we grep stderr for any message
5190 # that says an option was ignored or not supported.
5191 # When given -MP, icc 7.0 and 7.1 complain thusly:
5192 # icc: Command line warning: ignoring option '-M'; no argument required
5193 # The diagnosis changed in icc 8.0:
5194 # icc: Command line remark: option '-MP' not supported
5195 if (grep 'ignoring option' conftest.err ||
5196 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5197 am_cv_CC_dependencies_compiler_type
=$depmode
5206 am_cv_CC_dependencies_compiler_type
=none
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5211 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5212 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5215 test "x$enable_dependency_tracking" != xno \
5216 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5218 am__fastdepCC_FALSE
='#'
5220 am__fastdepCC_TRUE
='#'
5221 am__fastdepCC_FALSE
=
5225 depcc
="$CXX" am_compiler_list
=
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5228 $as_echo_n "checking dependency style of $depcc... " >&6; }
5229 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5230 $as_echo_n "(cached) " >&6
5232 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5233 # We make a subdir and do the tests there. Otherwise we can end up
5234 # making bogus files that we don't know about and never remove. For
5235 # instance it was reported that on HP-UX the gcc test will end up
5236 # making a dummy file named `D' -- because `-MD' means `put the output
5239 # Copy depcomp to subdir because otherwise we won't find it if we're
5240 # using a relative directory.
5241 cp "$am_depcomp" conftest.dir
5243 # We will build objects and dependencies in a subdirectory because
5244 # it helps to detect inapplicable dependency modes. For instance
5245 # both Tru64's cc and ICC support -MD to output dependencies as a
5246 # side effect of compilation, but ICC will put the dependencies in
5247 # the current directory while Tru64 will put them in the object
5251 am_cv_CXX_dependencies_compiler_type
=none
5252 if test "$am_compiler_list" = ""; then
5253 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5256 case " $depcc " in #(
5257 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5260 for depmode
in $am_compiler_list; do
5261 # Setup a source with many dependencies, because some compilers
5262 # like to wrap large dependency lists on column 80 (with \), and
5263 # we should not choose a depcomp mode which is confused by this.
5265 # We need to recreate these files for each test, as the compiler may
5266 # overwrite some of them when testing with obscure command lines.
5267 # This happens at least with the AIX C compiler.
5269 for i
in 1 2 3 4 5 6; do
5270 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5271 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5272 # Solaris 8's {/usr,}/bin/sh.
5273 touch sub
/conftst
$i.h
5275 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5277 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5278 # mode. It turns out that the SunPro C++ compiler does not properly
5279 # handle `-M -o', and we need to detect this. Also, some Intel
5280 # versions had trouble with output in subdirs
5281 am__obj
=sub
/conftest.
${OBJEXT-o}
5282 am__minus_obj
="-o $am__obj"
5285 # This depmode causes a compiler race in universal mode.
5286 test "$am__universal" = false ||
continue
5289 # after this tag, mechanisms are not by side-effect, so they'll
5290 # only be used when explicitly requested
5291 if test "x$enable_dependency_tracking" = xyes
; then
5297 msvisualcpp | msvcmsys
)
5298 # This compiler won't grok `-c -o', but also, the minuso test has
5299 # not run yet. These depmodes are late enough in the game, and
5300 # so weak that their functioning should not be impacted.
5301 am__obj
=conftest.
${OBJEXT-o}
5306 if depmode
=$depmode \
5307 source=sub
/conftest.c object
=$am__obj \
5308 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5309 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5310 >/dev
/null
2>conftest.err
&&
5311 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5312 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5313 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5314 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5315 # icc doesn't choke on unknown options, it will just issue warnings
5316 # or remarks (even with -Werror). So we grep stderr for any message
5317 # that says an option was ignored or not supported.
5318 # When given -MP, icc 7.0 and 7.1 complain thusly:
5319 # icc: Command line warning: ignoring option '-M'; no argument required
5320 # The diagnosis changed in icc 8.0:
5321 # icc: Command line remark: option '-MP' not supported
5322 if (grep 'ignoring option' conftest.err ||
5323 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5324 am_cv_CXX_dependencies_compiler_type
=$depmode
5333 am_cv_CXX_dependencies_compiler_type
=none
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5338 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5339 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5342 test "x$enable_dependency_tracking" != xno \
5343 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5344 am__fastdepCXX_TRUE
=
5345 am__fastdepCXX_FALSE
='#'
5347 am__fastdepCXX_TRUE
='#'
5348 am__fastdepCXX_FALSE
=
5354 if test -n "$ac_tool_prefix"; then
5355 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5356 set dummy
${ac_tool_prefix}as
; 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_AS+set}" = set; then :
5360 $as_echo_n "(cached) " >&6
5362 if test -n "$AS"; then
5363 ac_cv_prog_AS
="$AS" # 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_AS
="${ac_tool_prefix}as"
5373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 if test -n "$AS"; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5385 $as_echo "$AS" >&6; }
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388 $as_echo "no" >&6; }
5393 if test -z "$ac_cv_prog_AS"; then
5395 # Extract the first word of "as", so it can be a program name with args.
5396 set dummy as
; ac_word
=$2
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5398 $as_echo_n "checking for $ac_word... " >&6; }
5399 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5400 $as_echo_n "(cached) " >&6
5402 if test -n "$ac_ct_AS"; then
5403 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5409 test -z "$as_dir" && as_dir
=.
5410 for ac_exec_ext
in '' $ac_executable_extensions; do
5411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5412 ac_cv_prog_ac_ct_AS
="as"
5413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5422 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5423 if test -n "$ac_ct_AS"; then
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5425 $as_echo "$ac_ct_AS" >&6; }
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5428 $as_echo "no" >&6; }
5431 if test "x$ac_ct_AS" = x
; then
5434 case $cross_compiling:$ac_tool_warned in
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5438 ac_tool_warned
=yes ;;
5446 if test -n "$ac_tool_prefix"; then
5447 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5448 set dummy
${ac_tool_prefix}ld
; 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_LD+set}" = set; then :
5452 $as_echo_n "(cached) " >&6
5454 if test -n "$LD"; then
5455 ac_cv_prog_LD
="$LD" # 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_LD
="${ac_tool_prefix}ld"
5465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5475 if test -n "$LD"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5477 $as_echo "$LD" >&6; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5485 if test -z "$ac_cv_prog_LD"; then
5487 # Extract the first word of "ld", so it can be a program name with args.
5488 set dummy ld
; ac_word
=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
5492 $as_echo_n "(cached) " >&6
5494 if test -n "$ac_ct_LD"; then
5495 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir
=.
5502 for ac_exec_ext
in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_ac_ct_LD
="ld"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5515 if test -n "$ac_ct_LD"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5517 $as_echo "$ac_ct_LD" >&6; }
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5523 if test "x$ac_ct_LD" = x
; then
5526 case $cross_compiling:$ac_tool_warned in
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5530 ac_tool_warned
=yes ;;
5538 if test -n "$ac_tool_prefix"; then
5539 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5540 set dummy
${ac_tool_prefix}ar; 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_AR+set}" = set; then :
5544 $as_echo_n "(cached) " >&6
5546 if test -n "$AR"; then
5547 ac_cv_prog_AR
="$AR" # 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_AR
="${ac_tool_prefix}ar"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 if test -n "$AR"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5569 $as_echo "$AR" >&6; }
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
5577 if test -z "$ac_cv_prog_AR"; then
5579 # Extract the first word of "ar", so it can be a program name with args.
5580 set dummy
ar; ac_word
=$2
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5582 $as_echo_n "checking for $ac_word... " >&6; }
5583 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5584 $as_echo_n "(cached) " >&6
5586 if test -n "$ac_ct_AR"; then
5587 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5593 test -z "$as_dir" && as_dir
=.
5594 for ac_exec_ext
in '' $ac_executable_extensions; do
5595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5596 ac_cv_prog_ac_ct_AR
="ar"
5597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5607 if test -n "$ac_ct_AR"; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5609 $as_echo "$ac_ct_AR" >&6; }
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5615 if test "x$ac_ct_AR" = x
; then
5618 case $cross_compiling:$ac_tool_warned in
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5622 ac_tool_warned
=yes ;;
5630 if test -n "$ac_tool_prefix"; then
5631 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5632 set dummy
${ac_tool_prefix}ranlib
; 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_RANLIB+set}" = set; then :
5636 $as_echo_n "(cached) " >&6
5638 if test -n "$RANLIB"; then
5639 ac_cv_prog_RANLIB
="$RANLIB" # 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_RANLIB
="${ac_tool_prefix}ranlib"
5649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658 RANLIB
=$ac_cv_prog_RANLIB
5659 if test -n "$RANLIB"; then
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5661 $as_echo "$RANLIB" >&6; }
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5664 $as_echo "no" >&6; }
5669 if test -z "$ac_cv_prog_RANLIB"; then
5670 ac_ct_RANLIB
=$RANLIB
5671 # Extract the first word of "ranlib", so it can be a program name with args.
5672 set dummy ranlib
; ac_word
=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5676 $as_echo_n "(cached) " >&6
5678 if test -n "$ac_ct_RANLIB"; then
5679 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5685 test -z "$as_dir" && as_dir
=.
5686 for ac_exec_ext
in '' $ac_executable_extensions; do
5687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5688 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5699 if test -n "$ac_ct_RANLIB"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5701 $as_echo "$ac_ct_RANLIB" >&6; }
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5707 if test "x$ac_ct_RANLIB" = x
; then
5710 case $cross_compiling:$ac_tool_warned in
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5714 ac_tool_warned
=yes ;;
5716 RANLIB
=$ac_ct_RANLIB
5719 RANLIB
="$ac_cv_prog_RANLIB"
5722 for ac_prog
in gawk mawk nawk
awk
5724 # Extract the first word of "$ac_prog", so it can be a program name with args.
5725 set dummy
$ac_prog; ac_word
=$2
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 $as_echo_n "checking for $ac_word... " >&6; }
5728 if test "${ac_cv_prog_AWK+set}" = set; then :
5729 $as_echo_n "(cached) " >&6
5731 if test -n "$AWK"; then
5732 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5738 test -z "$as_dir" && as_dir
=.
5739 for ac_exec_ext
in '' $ac_executable_extensions; do
5740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5741 ac_cv_prog_AWK
="$ac_prog"
5742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 if test -n "$AWK"; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5754 $as_echo "$AWK" >&6; }
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5761 test -n "$AWK" && break
5764 for ac_prog
in jar fastjar gjar
5766 # Extract the first word of "$ac_prog", so it can be a program name with args.
5767 set dummy
$ac_prog; ac_word
=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if test "${ac_cv_prog_JAR+set}" = set; then :
5771 $as_echo_n "(cached) " >&6
5773 if test -n "$JAR"; then
5774 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
5776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5780 test -z "$as_dir" && as_dir
=.
5781 for ac_exec_ext
in '' $ac_executable_extensions; do
5782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5783 ac_cv_prog_JAR
="$ac_prog"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 if test -n "$JAR"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
5796 $as_echo "$JAR" >&6; }
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5803 test -n "$JAR" && break
5805 test -n "$JAR" || JAR
="no"
5807 # Extract the first word of "zip", so it can be a program name with args.
5808 set dummy
zip; ac_word
=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if test "${ac_cv_path_ZIP+set}" = set; then :
5812 $as_echo_n "(cached) " >&6
5816 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
5819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5823 test -z "$as_dir" && as_dir
=.
5824 for ac_exec_ext
in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
5839 if test -n "$ZIP"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
5841 $as_echo "$ZIP" >&6; }
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5848 # Extract the first word of "unzip", so it can be a program name with args.
5849 set dummy
unzip; ac_word
=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5851 $as_echo_n "checking for $ac_word... " >&6; }
5852 if test "${ac_cv_path_UNZIP+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5857 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
5860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5864 test -z "$as_dir" && as_dir
=.
5865 for ac_exec_ext
in '' $ac_executable_extensions; do
5866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
5879 UNZIP
=$ac_cv_path_UNZIP
5880 if test -n "$UNZIP"; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNZIP" >&5
5882 $as_echo "$UNZIP" >&6; }
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5890 # We need a jar that supports -@. This is a GNU extension.
5891 if test "$JAR" != no
; then
5892 rm -f config-test.jar
5893 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
5894 if test -f config-test.jar
; then
5895 rm -f config-test.jar
5901 # Prefer the jar we found, but fall back to our jar script.
5902 if test "$JAR" = no
; then
5903 if test "$ZIP" = no
; then
5904 as_fn_error
"cannot find neither zip nor jar, cannot continue" "$LINENO" 5
5906 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
5907 JAR
=`pwd`/scripts
/jar
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5915 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5916 # Check whether --enable-maintainer-mode was given.
5917 if test "${enable_maintainer_mode+set}" = set; then :
5918 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5920 USE_MAINTAINER_MODE
=no
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5924 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5925 if test $USE_MAINTAINER_MODE = yes; then
5926 MAINTAINER_MODE_TRUE
=
5927 MAINTAINER_MODE_FALSE
='#'
5929 MAINTAINER_MODE_TRUE
='#'
5930 MAINTAINER_MODE_FALSE
=
5933 MAINT
=$MAINTAINER_MODE_TRUE
5939 # configure.host sets the following important variables
5940 # libgcj_cflags - host specific C compiler flags
5941 # libgcj_cxxflags - host specific C++ compiler flags
5942 # libgcj_javaflags - host specific Java compiler flags
5943 # libgcj_sublib_ltflags - host specific Libtool flags
5944 # (only used when building sublibs)
5945 # and a number of others; see the list at the start of the file.
5950 libgcj_sublib_ltflags
=
5952 .
${srcdir}/configure.
host
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5955 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5956 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
5957 $as_echo_n "(cached) " >&6
5959 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5960 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5961 acl_cv_prog_gnu_ld
=yes
5963 acl_cv_prog_gnu_ld
=no
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5967 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5968 with_gnu_ld
=$acl_cv_prog_gnu_ld
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
5971 $as_echo_n "checking if the GNU linker ($LD) supports -Bsymbolic-functions... " >&6; }
5972 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then :
5973 $as_echo_n "(cached) " >&6
5976 acl_cv_prog_gnu_ld_symbolic
=no
5978 if test x
"$with_gnu_ld" = x
"yes"; then
5979 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
5980 acl_cv_prog_gnu_ld_symbolic
=yes
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld_symbolic" >&5
5985 $as_echo "$acl_cv_prog_gnu_ld_symbolic" >&6; }
5986 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
5987 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
5992 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
5993 if test -z "$libgcj_ld_symbolic"; then
5994 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
5997 LIBGCJ_CFLAGS
="${libgcj_cflags}"
5998 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
5999 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
6000 LIBGCJ_SUBLIB_LTFLAGS
="${libgcj_sublib_ltflags}"
6001 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
6002 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
6010 # Only use libltdl for non-newlib builds.
6011 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
6013 $as_echo_n "checking dynamic linker characteristics... " >&6; }
6015 libname_spec
='lib$name'
6023 shlibpath_overrides_runpath
=unknown
6025 dynamic_linker
="$host_os ld.so"
6026 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
6027 if test "$GCC" = yes; then
6028 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
6029 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
6030 # if the path contains ";" then we assume it to be the separator
6031 # otherwise default to the standard path separator (i.e. ":") - it is
6032 # assumed that no part of a normal pathname contains ";" but that should
6033 # okay in the real world where ";" in dirpaths is itself problematic.
6034 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
6036 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
6039 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
6041 need_lib_prefix
=unknown
6042 hardcode_into_libs
=no
6044 # when you set need_version to no, make sure it does not cause -set_version
6045 # flags to be left without arguments
6046 need_version
=unknown
6051 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
6052 shlibpath_var
=LIBPATH
6054 # AIX 3 has no versioning support, so we append a major version to the name.
6055 soname_spec
='${libname}${release}${shared_ext}$major'
6062 hardcode_into_libs
=yes
6063 if test "$host_cpu" = ia64
; then
6064 # AIX 5 supports IA64
6065 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6066 shlibpath_var
=LD_LIBRARY_PATH
6068 # With GCC up to 2.95.x, collect2 would create an import file
6069 # for dependence libraries. The import file would start with
6070 # the line `#! .'. This would cause the generated library to
6071 # depend on `.', always an invalid library. This was fixed in
6072 # development snapshots of GCC prior to 3.0.
6074 aix4 | aix4.
[01] | aix4.
[01].
*)
6075 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6077 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
6084 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6085 # soname into executable. Probably we can add versioning support to
6086 # collect2, so additional links can be useful in future.
6087 if test "$aix_use_runtimelinking" = yes; then
6088 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6089 # instead of lib<name>.a to let people know that these are not
6090 # typical AIX shared libraries.
6091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6093 # We preserve .a as extension for shared libraries through AIX4.2
6094 # and later when we are not doing run time linking.
6095 library_names_spec
='${libname}${release}.a $libname.a'
6096 soname_spec
='${libname}${release}${shared_ext}$major'
6098 shlibpath_var
=LIBPATH
6103 library_names_spec
='$libname.ixlibrary $libname.a'
6104 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6105 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'
6109 library_names_spec
='${libname}${shared_ext}'
6110 dynamic_linker
="$host_os ld.so"
6111 shlibpath_var
=LIBRARY_PATH
6117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6118 soname_spec
='${libname}${release}${shared_ext}$major'
6119 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
6120 shlibpath_var
=LD_LIBRARY_PATH
6121 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6122 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
6123 # the default ld.so.conf also contains /usr/contrib/lib and
6124 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6125 # libtool to hard-code these into programs
6128 cygwin
* | mingw
* | pw32
*)
6129 version_type
=windows
6134 case $GCC,$host_os in
6135 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
6136 library_names_spec
='$libname.dll.a'
6137 # DLL is installed to $(libdir)/../bin by postinstall_cmds
6138 postinstall_cmds
='base_file=`basename \${file}`~
6139 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6140 dldir=$destdir/`dirname \$dlpath`~
6141 test -d \$dldir || mkdir -p \$dldir~
6142 $install_prog $dir/$dlname \$dldir/$dlname'
6143 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6144 dlpath=$dir/\$dldll~
6146 shlibpath_overrides_runpath
=yes
6150 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6151 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6152 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
6155 # MinGW DLLs use traditional 'lib' prefix
6156 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6157 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
6158 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
6159 # It is most probably a Windows format PATH printed by
6160 # mingw gcc, but we are running on Cygwin. Gcc prints its search
6161 # path with ; separators, and with drive letters. We can handle the
6162 # drive letters (cygwin fileutils understands them), so leave them,
6163 # especially as we might pass files found there to a mingw objdump,
6164 # which wouldn't understand a cygwinified path. Ahh.
6165 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
6167 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
6171 # pw32 DLLs use 'pw' prefix rather than 'lib'
6172 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
6178 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6181 dynamic_linker
='Win32 ld.exe'
6182 # FIXME: first we should search . and the directory the executable is in
6186 darwin
* | rhapsody
*)
6187 dynamic_linker
="$host_os dyld"
6191 # FIXME: Relying on posixy $() will cause problems for
6192 # cross-compilation, but unfortunately the echo tests do not
6193 # yet detect zsh echo's removal of \ escapes.
6194 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6195 soname_spec
='${libname}${release}${major}$shared_ext'
6196 shlibpath_overrides_runpath
=yes
6197 shlibpath_var
=DYLD_LIBRARY_PATH
6198 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
6199 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6200 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
6201 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"`
6203 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
6210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6211 soname_spec
='${libname}${release}${shared_ext}$major'
6212 shlibpath_var
=LD_LIBRARY_PATH
6220 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6221 version_type
=freebsd-
$objformat
6222 case $version_type in
6224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6229 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6233 shlibpath_var
=LD_LIBRARY_PATH
6236 shlibpath_overrides_runpath
=yes
6238 freebsd3.01
* | freebsdelf3.01
*)
6239 shlibpath_overrides_runpath
=yes
6240 hardcode_into_libs
=yes
6243 shlibpath_overrides_runpath
=no
6244 hardcode_into_libs
=yes
6253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6254 soname_spec
='${libname}${release}${shared_ext}$major'
6255 shlibpath_var
=LD_LIBRARY_PATH
6256 hardcode_into_libs
=yes
6259 hpux9
* | hpux10
* | hpux11
*)
6260 # Give a soname corresponding to the major version so that dld.sl refuses to
6261 # link against other versions.
6268 hardcode_into_libs
=yes
6269 dynamic_linker
="$host_os dld.so"
6270 shlibpath_var
=LD_LIBRARY_PATH
6271 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6273 soname_spec
='${libname}${release}${shared_ext}$major'
6274 if test "X$HPUX_IA64_MODE" = X32
; then
6275 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6277 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
6279 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6283 hardcode_into_libs
=yes
6284 dynamic_linker
="$host_os dld.sl"
6285 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
6286 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6288 soname_spec
='${libname}${release}${shared_ext}$major'
6289 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6290 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6294 dynamic_linker
="$host_os dld.sl"
6295 shlibpath_var
=SHLIB_PATH
6296 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
6297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6298 soname_spec
='${libname}${release}${shared_ext}$major'
6301 # HP-UX runs *really* slowly unless shared libraries are mode 555.
6302 postinstall_cmds
='chmod 555 $lib'
6305 irix5
* | irix6
* | nonstopux
*)
6307 nonstopux
*) version_type
=nonstopux
;;
6309 if test "$lt_cv_prog_gnu_ld" = yes; then
6317 soname_spec
='${libname}${release}${shared_ext}$major'
6318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6320 irix5
* | nonstopux
*)
6324 case $LD in # libtool.m4 will add one of these switches to LD
6325 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
6326 libsuff
= shlibsuff
= libmagic
=32-bit;;
6327 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
6328 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
6329 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
6330 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
6331 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
6335 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
6336 shlibpath_overrides_runpath
=no
6337 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6338 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
6339 hardcode_into_libs
=yes
6342 # No shared lib support for Linux oldld, aout, or coff.
6343 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
6347 # This must be Linux ELF.
6352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6353 soname_spec
='${libname}${release}${shared_ext}$major'
6354 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6355 shlibpath_var
=LD_LIBRARY_PATH
6356 shlibpath_overrides_runpath
=no
6357 # This implies no fast_install, which is unacceptable.
6358 # Some rework will be needed to allow for fast_install
6359 # before this can be enabled.
6360 hardcode_into_libs
=yes
6362 # We used to test for /lib/ld.so.1 and disable shared libraries on
6363 # powerpc, because MkLinux only supported shared libraries with the
6364 # GNU dynamic linker. Since this was broken with cross compilers,
6365 # most powerpc-linux boxes support dynamic linking these days and
6366 # people can always --disable-shared, the test was removed, and we
6367 # assume the GNU/Linux dynamic linker is in use.
6368 dynamic_linker
='GNU/Linux ld.so'
6375 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6377 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6378 dynamic_linker
='NetBSD (a.out) ld.so'
6380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
6381 soname_spec
='${libname}${release}${shared_ext}$major'
6382 dynamic_linker
='NetBSD ld.elf_so'
6384 shlibpath_var
=LD_LIBRARY_PATH
6385 shlibpath_overrides_runpath
=yes
6386 hardcode_into_libs
=yes
6391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6392 shlibpath_var
=LD_LIBRARY_PATH
6393 shlibpath_overrides_runpath
=yes
6400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6401 soname_spec
='${libname}${release}${shared_ext}$major'
6402 shlibpath_var
=LD_LIBRARY_PATH
6403 shlibpath_overrides_runpath
=yes
6410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6411 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6412 shlibpath_var
=LD_LIBRARY_PATH
6413 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6415 openbsd2.
[89] | openbsd2.
[89].
*)
6416 shlibpath_overrides_runpath
=no
6419 shlibpath_overrides_runpath
=yes
6423 shlibpath_overrides_runpath
=yes
6428 libname_spec
='$name'
6431 library_names_spec
='$libname${shared_ext} $libname.a'
6432 dynamic_linker
='OS/2 ld.exe'
6433 shlibpath_var
=LIBPATH
6436 osf3
* | osf4
* | osf5
*)
6440 soname_spec
='${libname}${release}${shared_ext}$major'
6441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6442 shlibpath_var
=LD_LIBRARY_PATH
6443 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6444 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
6449 soname_spec
='${libname}${release}${shared_ext}$major'
6450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6451 shlibpath_var
=LD_LIBRARY_PATH
6458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6459 soname_spec
='${libname}${release}${shared_ext}$major'
6460 shlibpath_var
=LD_LIBRARY_PATH
6461 shlibpath_overrides_runpath
=yes
6462 hardcode_into_libs
=yes
6463 # ldd complains unless libraries are executable
6464 postinstall_cmds
='chmod +x $lib'
6469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6470 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6471 shlibpath_var
=LD_LIBRARY_PATH
6472 shlibpath_overrides_runpath
=yes
6473 if test "$with_gnu_ld" = yes; then
6479 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6482 soname_spec
='${libname}${release}${shared_ext}$major'
6483 shlibpath_var
=LD_LIBRARY_PATH
6484 case $host_vendor in
6486 shlibpath_overrides_runpath
=no
6488 export_dynamic_flag_spec
='${wl}-Blargedynsym'
6489 runpath_var
=LD_RUN_PATH
6497 shlibpath_overrides_runpath
=no
6498 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
6504 if test -d /usr
/nec
;then
6506 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6507 soname_spec
='$libname${shared_ext}.$major'
6508 shlibpath_var
=LD_LIBRARY_PATH
6514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6515 soname_spec
='${libname}${release}${shared_ext}$major'
6516 shlibpath_var
=LD_LIBRARY_PATH
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
6524 $as_echo "$dynamic_linker" >&6; }
6525 test "$dynamic_linker" = no
&& can_build_shared
=no
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time library path" >&5
6529 $as_echo_n "checking which variable specifies run-time library path... " >&6; }
6530 if test "${libltdl_cv_shlibpath_var+set}" = set; then :
6531 $as_echo_n "(cached) " >&6
6533 libltdl_cv_shlibpath_var
="$shlibpath_var"
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibpath_var" >&5
6536 $as_echo "$libltdl_cv_shlibpath_var" >&6; }
6537 if test -n "$libltdl_cv_shlibpath_var"; then
6539 cat >>confdefs.h
<<_ACEOF
6540 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
6547 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
6550 # Possibly build libgcj as many sub-libraries.
6551 # Check whether --enable-libgcj-sublibs was given.
6552 if test "${enable_libgcj_sublibs+set}" = set; then :
6553 enableval
=$enable_libgcj_sublibs;
6557 if test -z "$enable_libgcj_sublibs"; then
6558 enable_libgcj_sublibs
=$enable_libgcj_sublibs_default
6560 if test "$enable_libgcj_sublibs" = yes; then
6562 BUILD_SUBLIBS_FALSE
='#'
6564 BUILD_SUBLIBS_TRUE
='#'
6565 BUILD_SUBLIBS_FALSE
=
6568 if test "$enable_libgcj_sublibs" = yes ; then
6569 # In theory we could make do with only one override and simply
6570 # tag "_bc" onto the end of it when we use it to generate the
6571 # spec, but that's an ugly thing to do when there are multiple
6572 # words in the string and you're relying on the ordering to
6573 # append the correct one.
6574 libgcj_spec_lgcj_override
="-lgcj-noncore -lgcj"
6575 libgcj_spec_lgcj_bc_override
="-lgcj-noncore -lgcj_bc"
6579 # See if the user has requested runtime debugging.
6580 LIBGCJDEBUG
="disable"
6582 # Check whether --enable-libgcj-debug was given.
6583 if test "${enable_libgcj_debug+set}" = set; then :
6584 enableval
=$enable_libgcj_debug; if test "$enable_libgcj_debug" = yes; then
6586 $as_echo "#define __GCJ_DEBUG 1" >>confdefs.h
6588 LIBGCJDEBUG
="enable"
6594 # Check whether --with-escher was given.
6595 if test "${with_escher+set}" = set; then :
6596 withval
=$with_escher;
6599 case "$with_escher" in
6607 as_fn_error
"Please supply an absolute path to Escher library" "$LINENO" 5
6614 # Determine which AWT peer libraries to build
6615 # Check whether --enable-java-awt was given.
6616 if test "${enable_java_awt+set}" = set; then :
6617 enableval
=$enable_java_awt;
6621 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
6626 # The default toolkit to use is the first one specified.
6630 for peer
in $peerlibs ; do
6633 if test "$no_x" = yes; then
6634 echo "*** xlib peers requested but no X library available" 1>&2
6638 if test -z "$TOOLKIT"; then
6639 TOOLKIT
=gnu.awt.xlib.XToolkit
6644 if test "$no_x" = yes; then
6645 echo "*** gtk peers requested but no X library available" 1>&2
6649 if test -z "$TOOLKIT"; then
6650 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
6655 if test "$no_x" = yes; then
6656 # Perhaps we should admit the possibility of embedded Qt.
6657 echo "*** Qt peers requested but no X library available" 1>&2
6661 if test -z "$TOOLKIT"; then
6662 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
6668 if test -z "$TOOLKIT"; then
6669 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
6680 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
6685 if test "$use_xlib_awt" = yes; then
6693 if test "$use_x_awt" = yes; then
6703 cat >>confdefs.h
<<_ACEOF
6704 #define AWT_TOOLKIT "$TOOLKIT"
6709 cat >>confdefs.h
<<_ACEOF
6710 #define LIBGCJ_PREFIX "$prefix"
6714 # Create standard.omit based on decisions we just made.
6715 cp $srcdir/standard.omit.
in standard.omit
6716 if test "$use_xlib_awt" != yes; then
6717 echo gnu
/awt
/xlib
>> standard.omit
6718 echo gnu
/gcj
/xlib
>> standard.omit
6720 if test "$use_x_awt" != yes; then
6721 echo gnu
/java
/awt
/peer
/x
>> standard.omit
6724 # Tools that need to be compiled against classpath's tools classes
6725 : > vm-tools-packages
6726 for package
in gnu
/gcj
/tools
/gc_analyze
; do
6727 echo $package >> standard.omit
6728 echo $package >> vm-tools-packages
6731 if test -z "${with_multisubdir}"; then
6734 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
6739 # Which gcj and host gcj (for ecjx) do we use?
6741 host_exeext
=${ac_exeext}
6743 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
6744 if test -n "${with_cross_host}"; then
6745 # We are being configured with a cross compiler. We can't
6746 # use ac_exeext, because that is for the target platform.
6749 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
6750 case "${with_cross_host}" in
6752 cross_host_exeext
=.exe
6755 host_exeext
=${cross_host_exeext}
6756 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
6757 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
6758 # Ordinary cross (host!=target and host=build)
6761 # Canadian cross (host!=target and host!=build)
6768 # We are being configured with a native or crossed-native compiler
6769 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
6770 if test x
"$build" = x
"$host"; then
6771 # True native build (host=target and host=build)
6774 # Crossed-native build (host=target and host!=build)
6781 libgcjdir
=`${PWDCMD-pwd}`
6784 # Just in case there is a comma in the build dir, quote it for the
6785 # sed command below.
6787 *[,\\]*) qlibgcjdir
=`echo "$libgcjdir" | sed 's:[,\\]:\\&:g'`;;
6788 *) qlibgcjdir
=$libgcjdir;;
6790 GCJ
=`echo "$GCJ" | sed "s, -B, -B$qlibgcjdir/&,"`
6793 GCJ
=$GCJ" -B$libgcjdir/"
6796 case "${which_gcj}" in
6798 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
6801 if test "x${with_newlib}" = "xyes"; then
6802 # FIXME (comment): Why is this needed?
6805 GCJH
='$(target_noncanonical)-gcjh'
6818 # Create it, so that compile/link tests don't fail
6819 test -f libgcj.spec ||
touch libgcj.spec
6823 # Set up to configure Classpath.
6824 # FIXME: no supported way to pass args in autoconf.
6825 # Disable tool wrappers to avoid ltdl.h configure check.
6826 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
6827 ac_configure_args
="$ac_configure_args --disable-load-library"
6828 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
6829 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
6830 dir1
=`cd $srcdir && pwd`
6832 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
6833 ac_configure_args
="$ac_configure_args --disable-core-jni"
6834 ac_configure_args
="$ac_configure_args --disable-examples"
6835 ac_configure_args
="$ac_configure_args --with-glibj=build"
6836 if test "$browser_plugin_enabled" != yes; then
6837 ac_configure_args
="$ac_configure_args --disable-plugin"
6839 ac_configure_args
="$ac_configure_args --enable-plugin"
6841 if test "$gconf_enabled" != yes; then
6842 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
6843 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
6845 if test "$use_gtk_awt" != yes; then
6846 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
6848 if test "$use_qt_awt" != yes; then
6849 ac_configure_args
="$ac_configure_args --disable-qt-peer"
6851 # We need this as qt is disabled by default in classpath.
6852 ac_configure_args
="$ac_configure_args --enable-qt-peer"
6854 if test "$use_x_awt" != yes; then
6855 ac_configure_args
="$ac_configure_args --without-escher"
6857 # We need this as escher is disabled by default in classpath.
6858 if test "$use_escher" != true
; then
6859 as_fn_error
"Please supply an absolute path to the Escher library" "$LINENO" 5
6861 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
6864 if test "x$BUILD_GJDOC" = xno
; then
6865 ac_configure_args
="$ac_configure_args --disable-gjdoc"
6867 # -Werror causes unavoidable problems in code using alsa.
6868 ac_configure_args
="$ac_configure_args --disable-regen-headers"
6869 ac_configure_args
="$ac_configure_args --disable-Werror"
6871 # Only use libltdl for non-newlib builds.
6872 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
6873 case $enable_ltdl_convenience in
6874 no
) as_fn_error
"this package needs a convenience libltdl" "$LINENO" 5 ;;
6875 "") enable_ltdl_convenience
=yes
6876 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
6878 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
6879 LTDLINCL
='-I${top_srcdir}/''libltdl'
6880 # For backwards non-gettext consistent compatibility...
6889 $as_echo "#define USE_LTDL 1" >>confdefs.h
6891 # Sigh. Libtool's macro doesn't do the right thing.
6892 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
6893 # FIXME: this is a hack.
6894 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
6895 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6903 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6908 macro_version
='2.2.6'
6909 macro_revision
='1.3012'
6923 ltmain
="$ac_aux_dir/ltmain.sh"
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6926 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6927 if test "${ac_cv_path_SED+set}" = set; then :
6928 $as_echo_n "(cached) " >&6
6930 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
6931 for ac_i
in 1 2 3 4 5 6 7; do
6932 ac_script
="$ac_script$as_nl$ac_script"
6934 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
6935 { ac_script
=; unset ac_script
;}
6936 if test -z "$SED"; then
6937 ac_path_SED_found
=false
6938 # Loop through the user's path and test for each of PROGNAME-LIST
6939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6943 test -z "$as_dir" && as_dir
=.
6944 for ac_prog
in sed gsed
; do
6945 for ac_exec_ext
in '' $ac_executable_extensions; do
6946 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6947 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6948 # Check for GNU ac_path_SED and select it if it is found.
6949 # Check for GNU $ac_path_SED
6950 case `"$ac_path_SED" --version 2>&1` in
6952 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6955 $as_echo_n 0123456789 >"conftest.in"
6958 cat "conftest.in" "conftest.in" >"conftest.tmp"
6959 mv "conftest.tmp" "conftest.in"
6960 cp "conftest.in" "conftest.nl"
6961 $as_echo '' >> "conftest.nl"
6962 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6963 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6964 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6965 if test $ac_count -gt ${ac_path_SED_max-0}; then
6966 # Best one so far, save it but keep looking for a better one
6967 ac_cv_path_SED
="$ac_path_SED"
6968 ac_path_SED_max
=$ac_count
6970 # 10*(2^10) chars as input seems more than enough
6971 test $ac_count -gt 10 && break
6973 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6976 $ac_path_SED_found && break 3
6981 if test -z "$ac_cv_path_SED"; then
6982 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6990 $as_echo "$ac_cv_path_SED" >&6; }
6991 SED
="$ac_cv_path_SED"
6994 test -z "$SED" && SED
=sed
6995 Xsed
="$SED -e 1s/^X//"
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7008 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7009 if test "${ac_cv_path_GREP+set}" = set; then :
7010 $as_echo_n "(cached) " >&6
7012 if test -z "$GREP"; then
7013 ac_path_GREP_found
=false
7014 # Loop through the user's path and test for each of PROGNAME-LIST
7015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7016 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7019 test -z "$as_dir" && as_dir
=.
7020 for ac_prog
in grep ggrep
; do
7021 for ac_exec_ext
in '' $ac_executable_extensions; do
7022 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7023 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7024 # Check for GNU ac_path_GREP and select it if it is found.
7025 # Check for GNU $ac_path_GREP
7026 case `"$ac_path_GREP" --version 2>&1` in
7028 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7031 $as_echo_n 0123456789 >"conftest.in"
7034 cat "conftest.in" "conftest.in" >"conftest.tmp"
7035 mv "conftest.tmp" "conftest.in"
7036 cp "conftest.in" "conftest.nl"
7037 $as_echo 'GREP' >> "conftest.nl"
7038 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7039 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7040 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7041 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7042 # Best one so far, save it but keep looking for a better one
7043 ac_cv_path_GREP
="$ac_path_GREP"
7044 ac_path_GREP_max
=$ac_count
7046 # 10*(2^10) chars as input seems more than enough
7047 test $ac_count -gt 10 && break
7049 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7052 $ac_path_GREP_found && break 3
7057 if test -z "$ac_cv_path_GREP"; then
7058 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7061 ac_cv_path_GREP
=$GREP
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7066 $as_echo "$ac_cv_path_GREP" >&6; }
7067 GREP
="$ac_cv_path_GREP"
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7071 $as_echo_n "checking for egrep... " >&6; }
7072 if test "${ac_cv_path_EGREP+set}" = set; then :
7073 $as_echo_n "(cached) " >&6
7075 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7076 then ac_cv_path_EGREP
="$GREP -E"
7078 if test -z "$EGREP"; then
7079 ac_path_EGREP_found
=false
7080 # Loop through the user's path and test for each of PROGNAME-LIST
7081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7082 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7085 test -z "$as_dir" && as_dir
=.
7086 for ac_prog
in egrep; do
7087 for ac_exec_ext
in '' $ac_executable_extensions; do
7088 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7089 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7090 # Check for GNU ac_path_EGREP and select it if it is found.
7091 # Check for GNU $ac_path_EGREP
7092 case `"$ac_path_EGREP" --version 2>&1` in
7094 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7097 $as_echo_n 0123456789 >"conftest.in"
7100 cat "conftest.in" "conftest.in" >"conftest.tmp"
7101 mv "conftest.tmp" "conftest.in"
7102 cp "conftest.in" "conftest.nl"
7103 $as_echo 'EGREP' >> "conftest.nl"
7104 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7105 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7106 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7107 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7108 # Best one so far, save it but keep looking for a better one
7109 ac_cv_path_EGREP
="$ac_path_EGREP"
7110 ac_path_EGREP_max
=$ac_count
7112 # 10*(2^10) chars as input seems more than enough
7113 test $ac_count -gt 10 && break
7115 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7118 $ac_path_EGREP_found && break 3
7123 if test -z "$ac_cv_path_EGREP"; then
7124 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7127 ac_cv_path_EGREP
=$EGREP
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7133 $as_echo "$ac_cv_path_EGREP" >&6; }
7134 EGREP
="$ac_cv_path_EGREP"
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7138 $as_echo_n "checking for fgrep... " >&6; }
7139 if test "${ac_cv_path_FGREP+set}" = set; then :
7140 $as_echo_n "(cached) " >&6
7142 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
7143 then ac_cv_path_FGREP
="$GREP -F"
7145 if test -z "$FGREP"; then
7146 ac_path_FGREP_found
=false
7147 # Loop through the user's path and test for each of PROGNAME-LIST
7148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7149 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7152 test -z "$as_dir" && as_dir
=.
7153 for ac_prog
in fgrep
; do
7154 for ac_exec_ext
in '' $ac_executable_extensions; do
7155 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7156 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
7157 # Check for GNU ac_path_FGREP and select it if it is found.
7158 # Check for GNU $ac_path_FGREP
7159 case `"$ac_path_FGREP" --version 2>&1` in
7161 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7164 $as_echo_n 0123456789 >"conftest.in"
7167 cat "conftest.in" "conftest.in" >"conftest.tmp"
7168 mv "conftest.tmp" "conftest.in"
7169 cp "conftest.in" "conftest.nl"
7170 $as_echo 'FGREP' >> "conftest.nl"
7171 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7172 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7173 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7174 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7175 # Best one so far, save it but keep looking for a better one
7176 ac_cv_path_FGREP
="$ac_path_FGREP"
7177 ac_path_FGREP_max
=$ac_count
7179 # 10*(2^10) chars as input seems more than enough
7180 test $ac_count -gt 10 && break
7182 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7185 $ac_path_FGREP_found && break 3
7190 if test -z "$ac_cv_path_FGREP"; then
7191 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7194 ac_cv_path_FGREP
=$FGREP
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7200 $as_echo "$ac_cv_path_FGREP" >&6; }
7201 FGREP
="$ac_cv_path_FGREP"
7204 test -z "$GREP" && GREP
=grep
7224 # Check whether --with-gnu-ld was given.
7225 if test "${with_gnu_ld+set}" = set; then :
7226 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
7232 if test "$GCC" = yes; then
7233 # Check if gcc -print-prog-name=ld gives a path.
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7235 $as_echo_n "checking for ld used by $CC... " >&6; }
7238 # gcc leaves a trailing carriage return which upsets mingw
7239 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7241 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7244 # Accept absolute paths.
7246 re_direlt
='/[^/][^/]*/\.\./'
7247 # Canonicalize the pathname of ld
7248 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7249 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
7250 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7252 test -z "$LD" && LD
="$ac_prog"
7255 # If it fails, then pretend we aren't using GCC.
7259 # If it is relative, then search for the first ld in PATH.
7263 elif test "$with_gnu_ld" = yes; then
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7265 $as_echo_n "checking for GNU ld... " >&6; }
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7268 $as_echo_n "checking for non-GNU ld... " >&6; }
7270 if test "${lt_cv_path_LD+set}" = set; then :
7271 $as_echo_n "(cached) " >&6
7273 if test -z "$LD"; then
7274 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7275 for ac_dir
in $PATH; do
7277 test -z "$ac_dir" && ac_dir
=.
7278 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7279 lt_cv_path_LD
="$ac_dir/$ac_prog"
7280 # Check to see if the program is GNU ld. I'd rather use --version,
7281 # but apparently some variants of GNU ld only accept -v.
7282 # Break only if it was the GNU/non-GNU ld that we prefer.
7283 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7284 *GNU
* |
*'with BFD'*)
7285 test "$with_gnu_ld" != no
&& break
7288 test "$with_gnu_ld" != yes && break
7295 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
7300 if test -n "$LD"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7302 $as_echo "$LD" >&6; }
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7307 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7309 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7310 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
7311 $as_echo_n "(cached) " >&6
7313 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7314 case `$LD -v 2>&1 </dev/null` in
7315 *GNU
* |
*'with BFD'*)
7316 lt_cv_prog_gnu_ld
=yes
7319 lt_cv_prog_gnu_ld
=no
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7324 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7325 with_gnu_ld
=$lt_cv_prog_gnu_ld
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7336 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7337 if test "${lt_cv_path_NM+set}" = set; then :
7338 $as_echo_n "(cached) " >&6
7340 if test -n "$NM"; then
7341 # Let the user override the test.
7344 lt_nm_to_check
="${ac_tool_prefix}nm"
7345 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7346 lt_nm_to_check
="$lt_nm_to_check nm"
7348 for lt_tmp_nm
in $lt_nm_to_check; do
7349 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7350 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7352 test -z "$ac_dir" && ac_dir
=.
7353 tmp_nm
="$ac_dir/$lt_tmp_nm"
7354 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
7355 # Check to see if the nm accepts a BSD-compat flag.
7356 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7357 # nm: unknown option "B" ignored
7358 # Tru64's nm complains that /dev/null is an invalid object file
7359 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7360 */dev
/null
* |
*'Invalid file or object type'*)
7361 lt_cv_path_NM
="$tmp_nm -B"
7365 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7367 lt_cv_path_NM
="$tmp_nm -p"
7371 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7372 continue # so that we can try to find one that supports BSD flags
7381 : ${lt_cv_path_NM=no}
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7385 $as_echo "$lt_cv_path_NM" >&6; }
7386 if test "$lt_cv_path_NM" != "no"; then
7389 # Didn't find any BSD compatible name lister, look for dumpbin.
7390 if test -n "$ac_tool_prefix"; then
7391 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
7393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7394 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7398 $as_echo_n "(cached) " >&6
7400 if test -n "$DUMPBIN"; then
7401 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7407 test -z "$as_dir" && as_dir
=.
7408 for ac_exec_ext
in '' $ac_executable_extensions; do
7409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7410 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420 DUMPBIN
=$ac_cv_prog_DUMPBIN
7421 if test -n "$DUMPBIN"; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7423 $as_echo "$DUMPBIN" >&6; }
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7430 test -n "$DUMPBIN" && break
7433 if test -z "$DUMPBIN"; then
7434 ac_ct_DUMPBIN
=$DUMPBIN
7435 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
7437 # Extract the first word of "$ac_prog", so it can be a program name with args.
7438 set dummy
$ac_prog; ac_word
=$2
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7440 $as_echo_n "checking for $ac_word... " >&6; }
7441 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7442 $as_echo_n "(cached) " >&6
7444 if test -n "$ac_ct_DUMPBIN"; then
7445 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7451 test -z "$as_dir" && as_dir
=.
7452 for ac_exec_ext
in '' $ac_executable_extensions; do
7453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7454 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7464 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7465 if test -n "$ac_ct_DUMPBIN"; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7467 $as_echo "$ac_ct_DUMPBIN" >&6; }
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 $as_echo "no" >&6; }
7474 test -n "$ac_ct_DUMPBIN" && break
7477 if test "x$ac_ct_DUMPBIN" = x
; then
7480 case $cross_compiling:$ac_tool_warned in
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7484 ac_tool_warned
=yes ;;
7486 DUMPBIN
=$ac_ct_DUMPBIN
7491 if test "$DUMPBIN" != ":"; then
7495 test -z "$NM" && NM
=nm
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7503 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7504 if test "${lt_cv_nm_interface+set}" = set; then :
7505 $as_echo_n "(cached) " >&6
7507 lt_cv_nm_interface
="BSD nm"
7508 echo "int some_variable = 0;" > conftest.
$ac_ext
7509 (eval echo "\"\$as_me:7509: $ac_compile\"" >&5)
7510 (eval "$ac_compile" 2>conftest.err
)
7511 cat conftest.err
>&5
7512 (eval echo "\"\$as_me:7512: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7513 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7514 cat conftest.err
>&5
7515 (eval echo "\"\$as_me:7515: output\"" >&5)
7516 cat conftest.out
>&5
7517 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7518 lt_cv_nm_interface
="MS dumpbin"
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7523 $as_echo "$lt_cv_nm_interface" >&6; }
7525 # find the maximum length of command line arguments
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7527 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7528 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7529 $as_echo_n "(cached) " >&6
7536 # On DJGPP, this test can blow up pretty badly due to problems in libc
7537 # (any single argument exceeding 2000 bytes causes a buffer overrun
7538 # during glob expansion). Even if it were fixed, the result of this
7539 # check would be larger than it should be.
7540 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7544 # Under GNU Hurd, this test is not required because there is
7545 # no limit to the length of command line arguments.
7546 # Libtool will interpret -1 as no limit whatsoever
7547 lt_cv_sys_max_cmd_len
=-1;
7550 cygwin
* | mingw
* | cegcc
*)
7551 # On Win9x/ME, this test blows up -- it succeeds, but takes
7552 # about 5 minutes as the teststring grows exponentially.
7553 # Worse, since 9x/ME are not pre-emptively multitasking,
7554 # you end up with a "frozen" computer, even though with patience
7555 # the test eventually succeeds (with a max line length of 256k).
7556 # Instead, let's just punt: use the minimum linelength reported by
7557 # all of the supported platforms: 8192 (on NT/2K/XP).
7558 lt_cv_sys_max_cmd_len
=8192;
7562 # On AmigaOS with pdksh, this test takes hours, literally.
7563 # So we just punt and use a minimum line length of 8192.
7564 lt_cv_sys_max_cmd_len
=8192;
7567 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7568 # This has been around since 386BSD, at least. Likely further.
7569 if test -x /sbin
/sysctl
; then
7570 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7571 elif test -x /usr
/sbin
/sysctl
; then
7572 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7574 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7576 # And add a safety zone
7577 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7578 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7582 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7583 lt_cv_sys_max_cmd_len
=196608
7587 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7588 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7589 # nice to cause kernel panics so lets avoid the loop below.
7590 # First set a reasonable default.
7591 lt_cv_sys_max_cmd_len
=16384
7593 if test -x /sbin
/sysconfig
; then
7594 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7595 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7600 lt_cv_sys_max_cmd_len
=102400
7602 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7603 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7604 if test -n "$kargmax"; then
7605 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7607 lt_cv_sys_max_cmd_len
=32768
7611 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7612 if test -n "$lt_cv_sys_max_cmd_len"; then
7613 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7614 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7616 # Make teststring a little bigger before we do anything with it.
7617 # a 1K string should be a reasonable start.
7618 for i
in 1 2 3 4 5 6 7 8 ; do
7619 teststring
=$teststring$teststring
7621 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7622 # If test is not a shell built-in, we'll probably end up computing a
7623 # maximum length that is only half of the actual maximum length, but
7625 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
7626 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
7627 test $i != 17 # 1/2 MB should be enough
7630 teststring
=$teststring$teststring
7632 # Only check the string length outside the loop.
7633 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7635 # Add a significant safety factor because C++ compilers can tack on
7636 # massive amounts of additional arguments before passing them to the
7637 # linker. It appears as though 1/2 is a usable value.
7638 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7645 if test -n $lt_cv_sys_max_cmd_len ; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7647 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7650 $as_echo "none" >&6; }
7652 max_cmd_len
=$lt_cv_sys_max_cmd_len
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7664 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7665 # Try some XSI features
7668 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7670 && eval 'test $(( 1 + 1 )) -eq 2 \
7671 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7674 $as_echo "$xsi_shell" >&6; }
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7678 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7680 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7682 && lt_shell_append=yes
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7684 $as_echo "$lt_shell_append" >&6; }
7687 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7697 # test EBCDIC or ASCII
7698 case `echo X|tr X '\101'` in
7699 A) # ASCII based system
7700 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7701 lt_SP2NL='tr \040 \012'
7702 lt_NL2SP='tr \015\012 \040\040'
7704 *) # EBCDIC based system
7705 lt_SP2NL='tr \100 \n'
7706 lt_NL2SP='tr \r\n \100\100'
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7719 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7720 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7721 $as_echo_n "(cached
) " >&6
7723 lt_cv_ld_reload_flag='-r'
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7726 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7727 reload_flag=$lt_cv_ld_reload_flag
7728 case $reload_flag in
7730 *) reload_flag=" $reload_flag" ;;
7732 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7735 if test "$GCC" = yes; then
7736 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7738 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7751 if test -n "$ac_tool_prefix"; then
7752 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7753 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7755 $as_echo_n "checking
for $ac_word...
" >&6; }
7756 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7757 $as_echo_n "(cached
) " >&6
7759 if test -n "$OBJDUMP"; then
7760 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766 test -z "$as_dir" && as_dir=.
7767 for ac_exec_ext in '' $ac_executable_extensions; do
7768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7769 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7779 OBJDUMP=$ac_cv_prog_OBJDUMP
7780 if test -n "$OBJDUMP"; then
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7782 $as_echo "$OBJDUMP" >&6; }
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7785 $as_echo "no
" >&6; }
7790 if test -z "$ac_cv_prog_OBJDUMP"; then
7791 ac_ct_OBJDUMP=$OBJDUMP
7792 # Extract the first word of "objdump
", so it can be a program name with args.
7793 set dummy objdump; ac_word=$2
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7795 $as_echo_n "checking
for $ac_word...
" >&6; }
7796 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7797 $as_echo_n "(cached
) " >&6
7799 if test -n "$ac_ct_OBJDUMP"; then
7800 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7806 test -z "$as_dir" && as_dir=.
7807 for ac_exec_ext in '' $ac_executable_extensions; do
7808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7809 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7810 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7819 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7820 if test -n "$ac_ct_OBJDUMP"; then
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7822 $as_echo "$ac_ct_OBJDUMP" >&6; }
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7825 $as_echo "no
" >&6; }
7828 if test "x
$ac_ct_OBJDUMP" = x; then
7831 case $cross_compiling:$ac_tool_warned in
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7834 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7835 ac_tool_warned=yes ;;
7837 OBJDUMP=$ac_ct_OBJDUMP
7840 OBJDUMP="$ac_cv_prog_OBJDUMP"
7843 test -z "$OBJDUMP" && OBJDUMP=objdump
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7854 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7855 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7856 $as_echo_n "(cached
) " >&6
7858 lt_cv_file_magic_cmd='$MAGIC_CMD'
7859 lt_cv_file_magic_test_file=
7860 lt_cv_deplibs_check_method='unknown'
7861 # Need to set the preceding variable on all platforms that support
7862 # interlibrary dependencies.
7863 # 'none' -- dependencies not supported.
7864 # `unknown' -- same as none, but documents that we really don't know.
7865 # 'pass_all' -- all dependencies passed with no checks.
7866 # 'test_compile' -- check by making test program.
7867 # 'file_magic [[regex]]' -- check by looking for files in library path
7868 # which responds to the $file_magic_cmd with a given extended regex.
7869 # If you have `file' or equivalent on your system and you're not sure
7870 # whether `pass_all' will *always* work, you probably want this one.
7874 lt_cv_deplibs_check_method=pass_all
7878 lt_cv_deplibs_check_method=pass_all
7882 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7883 lt_cv_file_magic_cmd='/usr/bin/file -L'
7884 lt_cv_file_magic_test_file=/shlib/libc.so
7888 # func_win32_libid is a shell function defined in ltmain.sh
7889 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7890 lt_cv_file_magic_cmd='func_win32_libid'
7894 # Base MSYS/MinGW do not provide the 'file' command needed by
7895 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7896 # unless we find 'file', for example because we are cross-compiling.
7897 if ( file / ) >/dev/null 2>&1; then
7898 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7899 lt_cv_file_magic_cmd='func_win32_libid'
7901 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7902 lt_cv_file_magic_cmd='$OBJDUMP -f'
7907 # use the weaker test based on 'objdump'. See mingw*.
7908 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7909 lt_cv_file_magic_cmd='$OBJDUMP -f'
7912 darwin* | rhapsody*)
7913 lt_cv_deplibs_check_method=pass_all
7916 freebsd* | dragonfly*)
7917 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7920 # Not sure whether the presence of OpenBSD here was a mistake.
7921 # Let's accept both of them until this is cleared up.
7922 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7923 lt_cv_file_magic_cmd=/usr/bin/file
7924 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7928 lt_cv_deplibs_check_method=pass_all
7933 lt_cv_deplibs_check_method=pass_all
7936 hpux10.20* | hpux11*)
7937 lt_cv_file_magic_cmd=/usr/bin/file
7940 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7941 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7944 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
7945 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7948 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7949 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7955 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7956 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7959 irix5* | irix6* | nonstopux*)
7961 *-32|*"-32 ") libmagic=32-bit;;
7962 *-n32|*"-n32 ") libmagic=N32;;
7963 *-64|*"-64 ") libmagic=64-bit;;
7964 *) libmagic=never-match;;
7966 lt_cv_deplibs_check_method=pass_all
7969 # This must be Linux ELF.
7970 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7971 lt_cv_deplibs_check_method=pass_all
7975 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7976 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7978 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7983 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7984 lt_cv_file_magic_cmd=/usr/bin/file
7985 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7989 lt_cv_deplibs_check_method=pass_all
7993 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7994 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7996 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8000 osf3* | osf4* | osf5*)
8001 lt_cv_deplibs_check_method=pass_all
8005 lt_cv_deplibs_check_method=pass_all
8009 lt_cv_deplibs_check_method=pass_all
8012 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8013 lt_cv_deplibs_check_method=pass_all
8017 case $host_vendor in
8019 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]'
8020 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8023 lt_cv_deplibs_check_method=pass_all
8026 lt_cv_file_magic_cmd='/bin/file'
8027 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8030 lt_cv_file_magic_cmd='/bin/file'
8031 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
8032 lt_cv_file_magic_test_file=/lib/libc.so
8035 lt_cv_deplibs_check_method=pass_all
8038 lt_cv_deplibs_check_method=pass_all
8044 lt_cv_deplibs_check_method=pass_all
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
8050 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8051 file_magic_cmd=$lt_cv_file_magic_cmd
8052 deplibs_check_method=$lt_cv_deplibs_check_method
8053 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8066 if test -n "$ac_tool_prefix"; then
8067 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8068 set dummy ${ac_tool_prefix}ar; ac_word=$2
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8070 $as_echo_n "checking
for $ac_word...
" >&6; }
8071 if test "${ac_cv_prog_AR+set}" = set; then :
8072 $as_echo_n "(cached
) " >&6
8074 if test -n "$AR"; then
8075 ac_cv_prog_AR="$AR" # Let the user override the test.
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081 test -z "$as_dir" && as_dir=.
8082 for ac_exec_ext in '' $ac_executable_extensions; do
8083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8084 ac_cv_prog_AR="${ac_tool_prefix}ar"
8085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8095 if test -n "$AR"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8097 $as_echo "$AR" >&6; }
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8100 $as_echo "no
" >&6; }
8105 if test -z "$ac_cv_prog_AR"; then
8107 # Extract the first word of "ar", so it can be a program name with args.
8108 set dummy ar; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8110 $as_echo_n "checking
for $ac_word...
" >&6; }
8111 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
8112 $as_echo_n "(cached
) " >&6
8114 if test -n "$ac_ct_AR"; then
8115 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8121 test -z "$as_dir" && as_dir=.
8122 for ac_exec_ext in '' $ac_executable_extensions; do
8123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8124 ac_cv_prog_ac_ct_AR="ar"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8134 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8135 if test -n "$ac_ct_AR"; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
8137 $as_echo "$ac_ct_AR" >&6; }
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8140 $as_echo "no
" >&6; }
8143 if test "x
$ac_ct_AR" = x; then
8146 case $cross_compiling:$ac_tool_warned in
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8149 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8150 ac_tool_warned=yes ;;
8158 test -z "$AR" && AR=ar
8159 test -z "$AR_FLAGS" && AR_FLAGS=cru
8171 if test -n "$ac_tool_prefix"; then
8172 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
8173 set dummy ${ac_tool_prefix}strip; ac_word=$2
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8175 $as_echo_n "checking
for $ac_word...
" >&6; }
8176 if test "${ac_cv_prog_STRIP+set}" = set; then :
8177 $as_echo_n "(cached
) " >&6
8179 if test -n "$STRIP"; then
8180 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8186 test -z "$as_dir" && as_dir=.
8187 for ac_exec_ext in '' $ac_executable_extensions; do
8188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8189 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
8190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8199 STRIP=$ac_cv_prog_STRIP
8200 if test -n "$STRIP"; then
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8202 $as_echo "$STRIP" >&6; }
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8205 $as_echo "no
" >&6; }
8210 if test -z "$ac_cv_prog_STRIP"; then
8212 # Extract the first word of "strip
", so it can be a program name with args.
8213 set dummy strip; ac_word=$2
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8215 $as_echo_n "checking
for $ac_word...
" >&6; }
8216 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8217 $as_echo_n "(cached
) " >&6
8219 if test -n "$ac_ct_STRIP"; then
8220 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8226 test -z "$as_dir" && as_dir=.
8227 for ac_exec_ext in '' $ac_executable_extensions; do
8228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8229 ac_cv_prog_ac_ct_STRIP="strip
"
8230 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8239 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8240 if test -n "$ac_ct_STRIP"; then
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
8242 $as_echo "$ac_ct_STRIP" >&6; }
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8245 $as_echo "no
" >&6; }
8248 if test "x
$ac_ct_STRIP" = x; then
8251 case $cross_compiling:$ac_tool_warned in
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8254 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8255 ac_tool_warned=yes ;;
8260 STRIP="$ac_cv_prog_STRIP"
8263 test -z "$STRIP" && STRIP=:
8270 if test -n "$ac_tool_prefix"; then
8271 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
8272 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8274 $as_echo_n "checking
for $ac_word...
" >&6; }
8275 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8276 $as_echo_n "(cached
) " >&6
8278 if test -n "$RANLIB"; then
8279 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8285 test -z "$as_dir" && as_dir=.
8286 for ac_exec_ext in '' $ac_executable_extensions; do
8287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8288 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
8289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8298 RANLIB=$ac_cv_prog_RANLIB
8299 if test -n "$RANLIB"; then
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8301 $as_echo "$RANLIB" >&6; }
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8304 $as_echo "no
" >&6; }
8309 if test -z "$ac_cv_prog_RANLIB"; then
8310 ac_ct_RANLIB=$RANLIB
8311 # Extract the first word of "ranlib
", so it can be a program name with args.
8312 set dummy ranlib; ac_word=$2
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8314 $as_echo_n "checking
for $ac_word...
" >&6; }
8315 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8316 $as_echo_n "(cached
) " >&6
8318 if test -n "$ac_ct_RANLIB"; then
8319 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8325 test -z "$as_dir" && as_dir=.
8326 for ac_exec_ext in '' $ac_executable_extensions; do
8327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8328 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8338 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8339 if test -n "$ac_ct_RANLIB"; then
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8341 $as_echo "$ac_ct_RANLIB" >&6; }
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8344 $as_echo "no
" >&6; }
8347 if test "x
$ac_ct_RANLIB" = x; then
8350 case $cross_compiling:$ac_tool_warned in
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8353 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8354 ac_tool_warned=yes ;;
8356 RANLIB=$ac_ct_RANLIB
8359 RANLIB="$ac_cv_prog_RANLIB"
8362 test -z "$RANLIB" && RANLIB=:
8369 # Determine commands to create old-style static archives.
8370 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8371 old_postinstall_cmds='chmod 644 $oldlib'
8372 old_postuninstall_cmds=
8374 if test -n "$RANLIB"; then
8377 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8380 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8383 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8419 # If no C compiler was specified, use CC.
8422 # If no C compiler flags were specified, use CFLAGS.
8423 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8425 # Allow CC to be a program name with arguments.
8429 # Check for command to grab the raw symbol name followed by C symbol from nm.
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8431 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8432 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8433 $as_echo_n "(cached
) " >&6
8436 # These are sane defaults that work on at least a few old systems.
8437 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8439 # Character class describing NM global symbol codes.
8440 symcode='[BCDEGRST]'
8442 # Regexp to match symbols that can be accessed directly from C.
8443 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8445 # Define system-specific variables.
8450 cygwin* | mingw* | pw32* | cegcc*)
8451 symcode='[ABCDGISTW]'
8454 if test "$host_cpu" = ia64; then
8455 symcode='[ABCDEGRST]'
8459 symcode='[BCDEGRST]'
8462 symcode='[BCDEGQRST]'
8473 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8481 # If we're using GNU nm, then use its standard symbol codes.
8482 case `$NM -V 2>&1` in
8483 *GNU* | *'with BFD'*)
8484 symcode='[ABCDGIRSTW]' ;;
8487 # Transform an extracted symbol line into a proper C declaration.
8488 # Some systems (esp. on ia64) link data and code symbols differently,
8489 # so use this general approach.
8490 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8492 # Transform an extracted symbol line into symbol name and symbol address
8493 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8494 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'"
8496 # Handle CRLF in mingw tool chain
8500 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8504 # Try without a prefix underscore, then with it.
8505 for ac_symprfx in "" "_
"; do
8507 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8508 symxfrm="\\1 $ac_symprfx\\2 \\2"
8510 # Write the raw and C identifiers.
8511 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8512 # Fake it for dumpbin and say T for any non-static function
8513 # and D for any global variable.
8514 # Also find C++ and __fastcall symbols from MSVC++,
8515 # which start with @ or ?.
8516 lt_cv_sys_global_symbol_pipe="$AWK '"\
8517 " {last_section=section; section=\$ 3};"\
8518 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8519 " \$ 0!~/External *\|/{next};"\
8520 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8521 " {if(hide[section]) next};"\
8522 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8523 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8524 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8525 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8526 " ' prfx
=^
$ac_symprfx"
8528 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8531 # Check to see that the pipe works correctly.
8535 cat > conftest.$ac_ext <<_LT_EOF
8540 void nm_test_func(void);
8541 void nm_test_func(void){}
8545 int main(){nm_test_var='a';nm_test_func();return(0);}
8548 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8549 (eval $ac_compile) 2>&5
8551 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8552 test $ac_status = 0; }; then
8553 # Now try to grab the symbols.
8555 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
8556 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8558 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8559 test $ac_status = 0; } && test -s "$nlist"; then
8560 # Try sorting and uniquifying the output.
8561 if sort "$nlist" | uniq > "$nlist"T; then
8562 mv -f "$nlist"T "$nlist"
8567 # Make sure that we snagged all the symbols we need.
8568 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8569 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8570 cat <<_LT_EOF > conftest.$ac_ext
8576 # Now generate the symbol file.
8577 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8579 cat <<_LT_EOF >> conftest.$ac_ext
8581 /* The mapping between symbol names and symbols. */
8586 lt__PROGRAM__LTX_preloaded_symbols[] =
8588 { "@PROGRAM@
", (void *) 0 },
8590 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8591 cat <<\_LT_EOF >> conftest.$ac_ext
8595 /* This works around a problem in FreeBSD linker */
8596 #ifdef FREEBSD_WORKAROUND
8597 static const void *lt_preloaded_setup() {
8598 return lt__PROGRAM__LTX_preloaded_symbols;
8606 # Now try linking the two files.
8607 mv conftest.$ac_objext conftstm.$ac_objext
8608 lt_save_LIBS="$LIBS"
8609 lt_save_CFLAGS="$CFLAGS"
8610 LIBS="conftstm.
$ac_objext"
8611 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8612 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8613 (eval $ac_link) 2>&5
8615 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8616 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8619 LIBS="$lt_save_LIBS"
8620 CFLAGS="$lt_save_CFLAGS"
8622 echo "cannot
find nm_test_func
in $nlist" >&5
8625 echo "cannot
find nm_test_var
in $nlist" >&5
8628 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8631 echo "$progname: failed program was
:" >&5
8632 cat conftest.$ac_ext >&5
8634 rm -rf conftest* conftst*
8636 # Do not use the global_symbol_pipe unless it works.
8637 if test "$pipe_works" = yes; then
8640 lt_cv_sys_global_symbol_pipe=
8646 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8647 lt_cv_sys_global_symbol_to_cdecl=
8649 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8651 $as_echo "failed
" >&6; }
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8654 $as_echo "ok
" >&6; }
8679 # Check whether --enable-libtool-lock was given.
8680 if test "${enable_libtool_lock+set}" = set; then :
8681 enableval=$enable_libtool_lock;
8684 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8686 # Some flags need to be propagated to the compiler or linker for good
8690 # Find out which ABI we are using.
8691 echo 'int i;' > conftest.$ac_ext
8692 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8693 (eval $ac_compile) 2>&5
8695 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8696 test $ac_status = 0; }; then
8697 case `/usr/bin/file conftest.$ac_objext` in
8709 # Find out which ABI we are using.
8710 echo '#line 8710 "configure
"' > conftest.$ac_ext
8711 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8712 (eval $ac_compile) 2>&5
8714 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8715 test $ac_status = 0; }; then
8716 if test "$lt_cv_prog_gnu_ld" = yes; then
8717 case `/usr/bin/file conftest.$ac_objext` in
8719 LD="${LD-ld} -melf32bsmip"
8722 LD="${LD-ld} -melf32bmipn32"
8725 LD="${LD-ld} -melf64bmip"
8729 case `/usr/bin/file conftest.$ac_objext` in
8745 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8746 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8747 # Find out which ABI we are using.
8748 echo 'int i;' > conftest.$ac_ext
8749 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8750 (eval $ac_compile) 2>&5
8752 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8753 test $ac_status = 0; }; then
8754 case `/usr/bin/file conftest.o` in
8757 x86_64-*kfreebsd*-gnu)
8758 LD="${LD-ld} -m elf_i386_fbsd
"
8761 LD="${LD-ld} -m elf_i386
"
8763 ppc64-*linux*|powerpc64-*linux*)
8764 LD="${LD-ld} -m elf32ppclinux
"
8767 LD="${LD-ld} -m elf_s390
"
8770 LD="${LD-ld} -m elf32_sparc
"
8776 x86_64-*kfreebsd*-gnu)
8777 LD="${LD-ld} -m elf_x86_64_fbsd
"
8780 LD="${LD-ld} -m elf_x86_64
"
8782 ppc*-*linux*|powerpc*-*linux*)
8783 LD="${LD-ld} -m elf64ppc
"
8785 s390*-*linux*|s390*-*tpf*)
8786 LD="${LD-ld} -m elf64_s390
"
8789 LD="${LD-ld} -m elf64_sparc
"
8799 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8800 SAVE_CFLAGS="$CFLAGS"
8801 CFLAGS="$CFLAGS -belf"
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8803 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8804 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8805 $as_echo_n "(cached
) " >&6
8808 ac_cpp='$CPP $CPPFLAGS'
8809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8813 if test x$gcc_no_link = xyes; then
8814 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8827 if ac_fn_c_try_link "$LINENO"; then :
8828 lt_cv_cc_needs_belf=yes
8830 lt_cv_cc_needs_belf=no
8832 rm -f core conftest.err conftest.$ac_objext \
8833 conftest$ac_exeext conftest.$ac_ext
8835 ac_cpp='$CPP $CPPFLAGS'
8836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8842 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8843 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8844 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8845 CFLAGS="$SAVE_CFLAGS"
8849 # Find out which ABI we are using.
8850 echo 'int i;' > conftest.$ac_ext
8851 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8852 (eval $ac_compile) 2>&5
8854 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8855 test $ac_status = 0; }; then
8856 case `/usr/bin/file conftest.o` in
8858 case $lt_cv_prog_gnu_ld in
8859 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8861 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8873 need_locks="$enable_libtool_lock"
8877 rhapsody* | darwin*)
8878 if test -n "$ac_tool_prefix"; then
8879 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8880 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8882 $as_echo_n "checking
for $ac_word...
" >&6; }
8883 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8884 $as_echo_n "(cached
) " >&6
8886 if test -n "$DSYMUTIL"; then
8887 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8893 test -z "$as_dir" && as_dir=.
8894 for ac_exec_ext in '' $ac_executable_extensions; do
8895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8896 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8897 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8906 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8907 if test -n "$DSYMUTIL"; then
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8909 $as_echo "$DSYMUTIL" >&6; }
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8912 $as_echo "no
" >&6; }
8917 if test -z "$ac_cv_prog_DSYMUTIL"; then
8918 ac_ct_DSYMUTIL=$DSYMUTIL
8919 # Extract the first word of "dsymutil
", so it can be a program name with args.
8920 set dummy dsymutil; ac_word=$2
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8922 $as_echo_n "checking
for $ac_word...
" >&6; }
8923 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8924 $as_echo_n "(cached
) " >&6
8926 if test -n "$ac_ct_DSYMUTIL"; then
8927 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8933 test -z "$as_dir" && as_dir=.
8934 for ac_exec_ext in '' $ac_executable_extensions; do
8935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8936 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8946 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8947 if test -n "$ac_ct_DSYMUTIL"; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8949 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8952 $as_echo "no
" >&6; }
8955 if test "x
$ac_ct_DSYMUTIL" = x; then
8958 case $cross_compiling:$ac_tool_warned in
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8961 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8962 ac_tool_warned=yes ;;
8964 DSYMUTIL=$ac_ct_DSYMUTIL
8967 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8970 if test -n "$ac_tool_prefix"; then
8971 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8972 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8974 $as_echo_n "checking
for $ac_word...
" >&6; }
8975 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8976 $as_echo_n "(cached
) " >&6
8978 if test -n "$NMEDIT"; then
8979 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8985 test -z "$as_dir" && as_dir=.
8986 for ac_exec_ext in '' $ac_executable_extensions; do
8987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8988 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8989 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8998 NMEDIT=$ac_cv_prog_NMEDIT
8999 if test -n "$NMEDIT"; then
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
9001 $as_echo "$NMEDIT" >&6; }
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9004 $as_echo "no
" >&6; }
9009 if test -z "$ac_cv_prog_NMEDIT"; then
9010 ac_ct_NMEDIT=$NMEDIT
9011 # Extract the first word of "nmedit
", so it can be a program name with args.
9012 set dummy nmedit; ac_word=$2
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9014 $as_echo_n "checking
for $ac_word...
" >&6; }
9015 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
9016 $as_echo_n "(cached
) " >&6
9018 if test -n "$ac_ct_NMEDIT"; then
9019 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9025 test -z "$as_dir" && as_dir=.
9026 for ac_exec_ext in '' $ac_executable_extensions; do
9027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9028 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
9029 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9038 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9039 if test -n "$ac_ct_NMEDIT"; then
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
9041 $as_echo "$ac_ct_NMEDIT" >&6; }
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9044 $as_echo "no
" >&6; }
9047 if test "x
$ac_ct_NMEDIT" = x; then
9050 case $cross_compiling:$ac_tool_warned in
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9053 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9054 ac_tool_warned=yes ;;
9056 NMEDIT=$ac_ct_NMEDIT
9059 NMEDIT="$ac_cv_prog_NMEDIT"
9062 if test -n "$ac_tool_prefix"; then
9063 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
9064 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9066 $as_echo_n "checking
for $ac_word...
" >&6; }
9067 if test "${ac_cv_prog_LIPO+set}" = set; then :
9068 $as_echo_n "(cached
) " >&6
9070 if test -n "$LIPO"; then
9071 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9077 test -z "$as_dir" && as_dir=.
9078 for ac_exec_ext in '' $ac_executable_extensions; do
9079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9080 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
9081 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9090 LIPO=$ac_cv_prog_LIPO
9091 if test -n "$LIPO"; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9093 $as_echo "$LIPO" >&6; }
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9096 $as_echo "no
" >&6; }
9101 if test -z "$ac_cv_prog_LIPO"; then
9103 # Extract the first word of "lipo
", so it can be a program name with args.
9104 set dummy lipo; ac_word=$2
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9106 $as_echo_n "checking
for $ac_word...
" >&6; }
9107 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
9108 $as_echo_n "(cached
) " >&6
9110 if test -n "$ac_ct_LIPO"; then
9111 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9117 test -z "$as_dir" && as_dir=.
9118 for ac_exec_ext in '' $ac_executable_extensions; do
9119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9120 ac_cv_prog_ac_ct_LIPO="lipo
"
9121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9130 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9131 if test -n "$ac_ct_LIPO"; then
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
9133 $as_echo "$ac_ct_LIPO" >&6; }
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9136 $as_echo "no
" >&6; }
9139 if test "x
$ac_ct_LIPO" = x; then
9142 case $cross_compiling:$ac_tool_warned in
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9145 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9146 ac_tool_warned=yes ;;
9151 LIPO="$ac_cv_prog_LIPO"
9154 if test -n "$ac_tool_prefix"; then
9155 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
9156 set dummy ${ac_tool_prefix}otool; ac_word=$2
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9158 $as_echo_n "checking
for $ac_word...
" >&6; }
9159 if test "${ac_cv_prog_OTOOL+set}" = set; then :
9160 $as_echo_n "(cached
) " >&6
9162 if test -n "$OTOOL"; then
9163 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9169 test -z "$as_dir" && as_dir=.
9170 for ac_exec_ext in '' $ac_executable_extensions; do
9171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9172 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
9173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9182 OTOOL=$ac_cv_prog_OTOOL
9183 if test -n "$OTOOL"; then
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9185 $as_echo "$OTOOL" >&6; }
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9188 $as_echo "no
" >&6; }
9193 if test -z "$ac_cv_prog_OTOOL"; then
9195 # Extract the first word of "otool
", so it can be a program name with args.
9196 set dummy otool; ac_word=$2
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9198 $as_echo_n "checking
for $ac_word...
" >&6; }
9199 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
9200 $as_echo_n "(cached
) " >&6
9202 if test -n "$ac_ct_OTOOL"; then
9203 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9209 test -z "$as_dir" && as_dir=.
9210 for ac_exec_ext in '' $ac_executable_extensions; do
9211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9212 ac_cv_prog_ac_ct_OTOOL="otool
"
9213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9222 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9223 if test -n "$ac_ct_OTOOL"; then
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
9225 $as_echo "$ac_ct_OTOOL" >&6; }
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9228 $as_echo "no
" >&6; }
9231 if test "x
$ac_ct_OTOOL" = x; then
9234 case $cross_compiling:$ac_tool_warned in
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9237 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9238 ac_tool_warned=yes ;;
9243 OTOOL="$ac_cv_prog_OTOOL"
9246 if test -n "$ac_tool_prefix"; then
9247 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
9248 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9250 $as_echo_n "checking
for $ac_word...
" >&6; }
9251 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
9252 $as_echo_n "(cached
) " >&6
9254 if test -n "$OTOOL64"; then
9255 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9261 test -z "$as_dir" && as_dir=.
9262 for ac_exec_ext in '' $ac_executable_extensions; do
9263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9264 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
9265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9274 OTOOL64=$ac_cv_prog_OTOOL64
9275 if test -n "$OTOOL64"; then
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
9277 $as_echo "$OTOOL64" >&6; }
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9280 $as_echo "no
" >&6; }
9285 if test -z "$ac_cv_prog_OTOOL64"; then
9286 ac_ct_OTOOL64=$OTOOL64
9287 # Extract the first word of "otool64
", so it can be a program name with args.
9288 set dummy otool64; ac_word=$2
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9290 $as_echo_n "checking
for $ac_word...
" >&6; }
9291 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
9292 $as_echo_n "(cached
) " >&6
9294 if test -n "$ac_ct_OTOOL64"; then
9295 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9301 test -z "$as_dir" && as_dir=.
9302 for ac_exec_ext in '' $ac_executable_extensions; do
9303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9304 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9314 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9315 if test -n "$ac_ct_OTOOL64"; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9317 $as_echo "$ac_ct_OTOOL64" >&6; }
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9320 $as_echo "no
" >&6; }
9323 if test "x
$ac_ct_OTOOL64" = x; then
9326 case $cross_compiling:$ac_tool_warned in
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9329 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9330 ac_tool_warned=yes ;;
9332 OTOOL64=$ac_ct_OTOOL64
9335 OTOOL64="$ac_cv_prog_OTOOL64"
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9365 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9366 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
9367 $as_echo_n "(cached
) " >&6
9369 lt_cv_apple_cc_single_mod=no
9370 if test -z "${LT_MULTI_MODULE}"; then
9371 # By default we will add the -single_module flag. You can override
9372 # by either setting the environment variable LT_MULTI_MODULE
9373 # non-empty at configure time, or by adding -multi_module to the
9375 rm -rf libconftest.dylib*
9376 echo "int foo
(void
){return 1;}" > conftest.c
9377 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9378 -dynamiclib -Wl,-single_module conftest.c
" >&5
9379 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9380 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9382 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9383 lt_cv_apple_cc_single_mod=yes
9385 cat conftest.err >&5
9387 rm -rf libconftest.dylib*
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9392 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9394 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9395 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9396 $as_echo_n "(cached
) " >&6
9398 lt_cv_ld_exported_symbols_list=no
9399 save_LDFLAGS=$LDFLAGS
9400 echo "_main
" > conftest.sym
9401 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9402 if test x$gcc_no_link = xyes; then
9403 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
9405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9406 /* end confdefs.h. */
9416 if ac_fn_c_try_link "$LINENO"; then :
9417 lt_cv_ld_exported_symbols_list=yes
9419 lt_cv_ld_exported_symbols_list=no
9421 rm -f core conftest.err conftest.$ac_objext \
9422 conftest$ac_exeext conftest.$ac_ext
9423 LDFLAGS="$save_LDFLAGS"
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9427 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9429 rhapsody* | darwin1.[012])
9430 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9432 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9433 darwin*) # darwin 5.x on
9434 # if running on 10.5 or later, the deployment target defaults
9435 # to the OS version, if on x86, and 10.4, the deployment
9436 # target defaults to 10.4. Don't you love it?
9437 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9438 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9439 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9441 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9443 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9447 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9448 _lt_dar_single_mod='$single_module'
9450 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9451 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9453 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9455 if test "$DSYMUTIL" != ":"; then
9456 _lt_dsymutil='~$DSYMUTIL $lib || :'
9464 ac_cpp='$CPP $CPPFLAGS'
9465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
9469 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
9470 # On Suns, sometimes $CPP names a directory.
9471 if test -n "$CPP" && test -d "$CPP"; then
9474 if test -z "$CPP"; then
9475 if test "${ac_cv_prog_CPP+set}" = set; then :
9476 $as_echo_n "(cached
) " >&6
9478 # Double quotes because CPP needs to be expanded
9479 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
9482 for ac_c_preproc_warn_flag in '' yes
9484 # Use a header file that comes with gcc, so configuring glibc
9485 # with a fresh cross-compiler works.
9486 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9487 # <limits.h> exists even on freestanding compilers.
9488 # On the NeXT, cc -E runs the code through the compiler's parser,
9489 # not just through cpp. "Syntax error
" is here to catch this case.
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9493 # include <limits.h>
9495 # include <assert.h>
9499 if ac_fn_c_try_cpp "$LINENO"; then :
9502 # Broken: fails on valid input.
9505 rm -f conftest.err conftest.$ac_ext
9507 # OK, works on sane cases. Now check whether nonexistent headers
9508 # can be detected and how.
9509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9510 /* end confdefs.h. */
9511 #include <ac_nonexistent.h>
9513 if ac_fn_c_try_cpp "$LINENO"; then :
9514 # Broken: success on invalid input.
9517 # Passes both tests.
9521 rm -f conftest.err conftest.$ac_ext
9524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9525 rm -f conftest.err conftest.$ac_ext
9526 if $ac_preproc_ok; then :
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
9539 $as_echo "$CPP" >&6; }
9541 for ac_c_preproc_warn_flag in '' yes
9543 # Use a header file that comes with gcc, so configuring glibc
9544 # with a fresh cross-compiler works.
9545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9546 # <limits.h> exists even on freestanding compilers.
9547 # On the NeXT, cc -E runs the code through the compiler's parser,
9548 # not just through cpp. "Syntax error
" is here to catch this case.
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9552 # include <limits.h>
9554 # include <assert.h>
9558 if ac_fn_c_try_cpp "$LINENO"; then :
9561 # Broken: fails on valid input.
9564 rm -f conftest.err conftest.$ac_ext
9566 # OK, works on sane cases. Now check whether nonexistent headers
9567 # can be detected and how.
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9570 #include <ac_nonexistent.h>
9572 if ac_fn_c_try_cpp "$LINENO"; then :
9573 # Broken: success on invalid input.
9576 # Passes both tests.
9580 rm -f conftest.err conftest.$ac_ext
9583 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9584 rm -f conftest.err conftest.$ac_ext
9585 if $ac_preproc_ok; then :
9588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
9589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9590 as_fn_error "C preprocessor \"$CPP\" fails sanity check
9591 See \`config.log' for more details.
" "$LINENO" 5; }
9595 ac_cpp='$CPP $CPPFLAGS'
9596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
9602 $as_echo_n "checking
for ANSI C header files...
" >&6; }
9603 if test "${ac_cv_header_stdc+set}" = set; then :
9604 $as_echo_n "(cached
) " >&6
9606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9607 /* end confdefs.h. */
9621 if ac_fn_c_try_compile "$LINENO"; then :
9622 ac_cv_header_stdc=yes
9624 ac_cv_header_stdc=no
9626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9628 if test $ac_cv_header_stdc = yes; then
9629 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9635 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9636 $EGREP "memchr
" >/dev/null 2>&1; then :
9639 ac_cv_header_stdc=no
9645 if test $ac_cv_header_stdc = yes; then
9646 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9648 /* end confdefs.h. */
9652 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9653 $EGREP "free
" >/dev/null 2>&1; then :
9656 ac_cv_header_stdc=no
9662 if test $ac_cv_header_stdc = yes; then
9663 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9664 if test "$cross_compiling" = yes; then :
9667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9671 #if ((' ' & 0x0FF) == 0x020)
9672 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9673 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9675 # define ISLOWER(c) \
9676 (('a' <= (c) && (c) <= 'i') \
9677 || ('j' <= (c) && (c) <= 'r') \
9678 || ('s' <= (c) && (c) <= 'z'))
9679 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9682 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9687 for (i = 0; i < 256; i++)
9688 if (XOR (islower (i), ISLOWER (i))
9689 || toupper (i) != TOUPPER (i))
9694 if ac_fn_c_try_run "$LINENO"; then :
9697 ac_cv_header_stdc=no
9699 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9700 conftest.$ac_objext conftest.beam conftest.$ac_ext
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
9706 $as_echo "$ac_cv_header_stdc" >&6; }
9707 if test $ac_cv_header_stdc = yes; then
9709 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9713 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9714 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9715 inttypes.h stdint.h unistd.h
9717 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9718 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9720 eval as_val
=\$
$as_ac_Header
9721 if test "x$as_val" = x
""yes; then :
9722 cat >>confdefs.h
<<_ACEOF
9723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9731 for ac_header
in dlfcn.h
9733 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9735 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
9736 cat >>confdefs.h
<<_ACEOF
9737 #define HAVE_DLFCN_H 1
9747 ac_cpp
='$CXXCPP $CPPFLAGS'
9748 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9749 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9750 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9751 if test -z "$CXX"; then
9752 if test -n "$CCC"; then
9755 if test -n "$ac_tool_prefix"; then
9756 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
9758 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9759 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9761 $as_echo_n "checking for $ac_word... " >&6; }
9762 if test "${ac_cv_prog_CXX+set}" = set; then :
9763 $as_echo_n "(cached) " >&6
9765 if test -n "$CXX"; then
9766 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9772 test -z "$as_dir" && as_dir
=.
9773 for ac_exec_ext
in '' $ac_executable_extensions; do
9774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9775 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
9776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9786 if test -n "$CXX"; then
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
9788 $as_echo "$CXX" >&6; }
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9791 $as_echo "no" >&6; }
9795 test -n "$CXX" && break
9798 if test -z "$CXX"; then
9800 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
9802 # Extract the first word of "$ac_prog", so it can be a program name with args.
9803 set dummy
$ac_prog; ac_word
=$2
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9805 $as_echo_n "checking for $ac_word... " >&6; }
9806 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
9807 $as_echo_n "(cached) " >&6
9809 if test -n "$ac_ct_CXX"; then
9810 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
9812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9816 test -z "$as_dir" && as_dir
=.
9817 for ac_exec_ext
in '' $ac_executable_extensions; do
9818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9819 ac_cv_prog_ac_ct_CXX
="$ac_prog"
9820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9829 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
9830 if test -n "$ac_ct_CXX"; then
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
9832 $as_echo "$ac_ct_CXX" >&6; }
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9835 $as_echo "no" >&6; }
9839 test -n "$ac_ct_CXX" && break
9842 if test "x$ac_ct_CXX" = x
; then
9845 case $cross_compiling:$ac_tool_warned in
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9849 ac_tool_warned
=yes ;;
9857 # Provide some information about the compiler.
9858 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
9861 for ac_option
in --version -v -V -qversion; do
9862 { { ac_try
="$ac_compiler $ac_option >&5"
9864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9865 *) ac_try_echo=$ac_try;;
9867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9868 $as_echo "$ac_try_echo"; } >&5
9869 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9871 if test -s conftest.err; then
9873 ... rest of stderr output deleted ...
9874 10q' conftest.err >conftest.er1
9875 cat conftest.er1 >&5
9876 rm -f conftest.er1 conftest.err
9878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9879 test $ac_status = 0; }
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
9883 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
9884 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
9885 $as_echo_n "(cached) " >&6
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9901 if ac_fn_cxx_try_compile "$LINENO"; then :
9906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9907 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
9911 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
9912 if test $ac_compiler_gnu = yes; then
9917 ac_test_CXXFLAGS=${CXXFLAGS+set}
9918 ac_save_CXXFLAGS=$CXXFLAGS
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
9920 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
9921 if test "${ac_cv_prog_cxx_g+set}" = set; then :
9922 $as_echo_n "(cached) " >&6
9924 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
9925 ac_cxx_werror_flag=yes
9928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9939 if ac_fn_cxx_try_compile "$LINENO"; then :
9940 ac_cv_prog_cxx_g=yes
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9954 if ac_fn_cxx_try_compile "$LINENO"; then :
9957 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9970 if ac_fn_cxx_try_compile "$LINENO"; then :
9971 ac_cv_prog_cxx_g=yes
9973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9978 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
9981 $as_echo "$ac_cv_prog_cxx_g" >&6; }
9982 if test "$ac_test_CXXFLAGS" = set; then
9983 CXXFLAGS=$ac_save_CXXFLAGS
9984 elif test $ac_cv_prog_cxx_g = yes; then
9985 if test "$GXX" = yes; then
9991 if test "$GXX" = yes; then
9998 ac_cpp='$CPP $CPPFLAGS'
9999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10003 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10004 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10005 (test "X$CXX" != "Xg++"))) ; then
10007 ac_cpp='$CXXCPP $CPPFLAGS'
10008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10012 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10013 if test -z "$CXXCPP"; then
10014 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
10015 $as_echo_n "(cached) " >&6
10017 # Double quotes because CXXCPP needs to be expanded
10018 for CXXCPP in "$CXX -E" "/lib/cpp"
10020 ac_preproc_ok=false
10021 for ac_cxx_preproc_warn_flag in '' yes
10023 # Use a header file that comes with gcc, so configuring glibc
10024 # with a fresh cross-compiler works.
10025 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10026 # <limits.h> exists even on freestanding compilers.
10027 # On the NeXT, cc -E runs the code through the compiler's parser,
10028 # not just through cpp. "Syntax error" is here to catch this case.
10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10032 # include <limits.h>
10034 # include <assert.h>
10038 if ac_fn_cxx_try_cpp "$LINENO"; then :
10041 # Broken: fails on valid input.
10044 rm -f conftest.err conftest.$ac_ext
10046 # OK, works on sane cases. Now check whether nonexistent headers
10047 # can be detected and how.
10048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10049 /* end confdefs.h. */
10050 #include <ac_nonexistent.h>
10052 if ac_fn_cxx_try_cpp "$LINENO"; then :
10053 # Broken: success on invalid input.
10056 # Passes both tests.
10060 rm -f conftest.err conftest.$ac_ext
10063 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10064 rm -f conftest.err conftest.
$ac_ext
10065 if $ac_preproc_ok; then :
10070 ac_cv_prog_CXXCPP
=$CXXCPP
10073 CXXCPP
=$ac_cv_prog_CXXCPP
10075 ac_cv_prog_CXXCPP
=$CXXCPP
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
10078 $as_echo "$CXXCPP" >&6; }
10079 ac_preproc_ok
=false
10080 for ac_cxx_preproc_warn_flag
in '' yes
10082 # Use a header file that comes with gcc, so configuring glibc
10083 # with a fresh cross-compiler works.
10084 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10085 # <limits.h> exists even on freestanding compilers.
10086 # On the NeXT, cc -E runs the code through the compiler's parser,
10087 # not just through cpp. "Syntax error" is here to catch this case.
10088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10091 # include <limits.h>
10093 # include <assert.h>
10097 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10100 # Broken: fails on valid input.
10103 rm -f conftest.err conftest.
$ac_ext
10105 # OK, works on sane cases. Now check whether nonexistent headers
10106 # can be detected and how.
10107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10108 /* end confdefs.h. */
10109 #include <ac_nonexistent.h>
10111 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10112 # Broken: success on invalid input.
10115 # Passes both tests.
10119 rm -f conftest.err conftest.
$ac_ext
10122 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10123 rm -f conftest.err conftest.
$ac_ext
10124 if $ac_preproc_ok; then :
10127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10129 _lt_caught_CXX_error
=yes; }
10133 ac_cpp
='$CPP $CPPFLAGS'
10134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10139 _lt_caught_CXX_error
=yes
10151 enable_win32_dll
=no
10154 # Check whether --enable-shared was given.
10155 if test "${enable_shared+set}" = set; then :
10156 enableval
=$enable_shared; p
=${PACKAGE-default}
10158 yes) enable_shared
=yes ;;
10159 no
) enable_shared
=no
;;
10162 # Look at the argument we got. We use all the common list separators.
10163 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10164 for pkg
in $enableval; do
10166 if test "X$pkg" = "X$p"; then
10185 # Check whether --enable-static was given.
10186 if test "${enable_static+set}" = set; then :
10187 enableval
=$enable_static; p
=${PACKAGE-default}
10189 yes) enable_static
=yes ;;
10190 no
) enable_static
=no
;;
10193 # Look at the argument we got. We use all the common list separators.
10194 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10195 for pkg
in $enableval; do
10197 if test "X$pkg" = "X$p"; then
10217 # Check whether --with-pic was given.
10218 if test "${with_pic+set}" = set; then :
10219 withval
=$with_pic; pic_mode
="$withval"
10225 test -z "$pic_mode" && pic_mode
=default
10233 # Check whether --enable-fast-install was given.
10234 if test "${enable_fast_install+set}" = set; then :
10235 enableval
=$enable_fast_install; p
=${PACKAGE-default}
10237 yes) enable_fast_install
=yes ;;
10238 no
) enable_fast_install
=no
;;
10240 enable_fast_install
=no
10241 # Look at the argument we got. We use all the common list separators.
10242 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10243 for pkg
in $enableval; do
10245 if test "X$pkg" = "X$p"; then
10246 enable_fast_install
=yes
10253 enable_fast_install
=yes
10266 # This can be used to rebuild libtool when needed
10267 LIBTOOL_DEPS
="$ltmain"
10269 # Always use our own libtool.
10270 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
10296 test -z "$LN_S" && LN_S
="ln -s"
10311 if test -n "${ZSH_VERSION+set}" ; then
10312 setopt NO_GLOB_SUBST
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10316 $as_echo_n "checking for objdir... " >&6; }
10317 if test "${lt_cv_objdir+set}" = set; then :
10318 $as_echo_n "(cached) " >&6
10320 rm -f .libs
2>/dev
/null
10321 mkdir .libs
2>/dev
/null
10322 if test -d .libs
; then
10325 # MS-DOS does not allow filenames that begin with a dot.
10328 rmdir .libs
2>/dev
/null
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10331 $as_echo "$lt_cv_objdir" >&6; }
10332 objdir
=$lt_cv_objdir
10338 cat >>confdefs.h
<<_ACEOF
10339 #define LT_OBJDIR "$lt_cv_objdir/"
10360 # AIX sometimes has problems with the GCC collect2 program. For some
10361 # reason, if we set the COLLECT_NAMES environment variable, the problems
10362 # vanish in a puff of smoke.
10363 if test "X${COLLECT_NAMES+set}" != Xset
; then
10365 export COLLECT_NAMES
10370 # Sed substitution that helps us do robust quoting. It backslashifies
10371 # metacharacters that are still active within double-quoted strings.
10372 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
10374 # Same as above, but do not quote variable references.
10375 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
10377 # Sed substitution to delay expansion of an escaped shell variable in a
10378 # double_quote_subst'ed string.
10379 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
10381 # Sed substitution to delay expansion of an escaped single quote.
10382 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
10384 # Sed substitution to avoid accidental globbing in evaled expressions
10385 no_glob_subst
='s/\*/\\\*/g'
10387 # Global variables:
10389 can_build_shared
=yes
10391 # All known linkers require a `.a' archive for static linking (except MSVC,
10392 # which needs '.lib').
10395 with_gnu_ld
="$lt_cv_prog_gnu_ld"
10398 old_CFLAGS
="$CFLAGS"
10400 # Set sane defaults for various variables
10401 test -z "$CC" && CC
=cc
10402 test -z "$LTCC" && LTCC
=$CC
10403 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10404 test -z "$LD" && LD
=ld
10405 test -z "$ac_objext" && ac_objext
=o
10407 for cc_temp
in $compiler""; do
10409 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10410 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10415 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10418 # Only perform the check for file, if the check method requires it
10419 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10420 case $deplibs_check_method in
10422 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10424 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10425 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10426 $as_echo_n "(cached) " >&6
10430 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10433 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10434 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10435 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10436 for ac_dir
in $ac_dummy; do
10438 test -z "$ac_dir" && ac_dir
=.
10439 if test -f $ac_dir/${ac_tool_prefix}file; then
10440 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
10441 if test -n "$file_magic_test_file"; then
10442 case $deplibs_check_method in
10444 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10445 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10446 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10447 $EGREP "$file_magic_regex" > /dev
/null
; then
10452 *** Warning: the command libtool uses to detect shared libraries,
10453 *** $file_magic_cmd, produces output that libtool cannot recognize.
10454 *** The result is that libtool may fail to recognize shared libraries
10455 *** as such. This will affect the creation of libtool libraries that
10456 *** depend on shared libraries, but programs linked with such libtool
10457 *** libraries will work regardless of this problem. Nevertheless, you
10458 *** may want to report the problem to your system manager and/or to
10459 *** bug-libtool@gnu.org
10469 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10474 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10475 if test -n "$MAGIC_CMD"; then
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10477 $as_echo "$MAGIC_CMD" >&6; }
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10480 $as_echo "no" >&6; }
10487 if test -z "$lt_cv_path_MAGIC_CMD"; then
10488 if test -n "$ac_tool_prefix"; then
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10490 $as_echo_n "checking for file... " >&6; }
10491 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10492 $as_echo_n "(cached) " >&6
10496 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10499 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10500 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10501 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10502 for ac_dir
in $ac_dummy; do
10504 test -z "$ac_dir" && ac_dir
=.
10505 if test -f $ac_dir/file; then
10506 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
10507 if test -n "$file_magic_test_file"; then
10508 case $deplibs_check_method in
10510 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10511 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10512 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10513 $EGREP "$file_magic_regex" > /dev
/null
; then
10518 *** Warning: the command libtool uses to detect shared libraries,
10519 *** $file_magic_cmd, produces output that libtool cannot recognize.
10520 *** The result is that libtool may fail to recognize shared libraries
10521 *** as such. This will affect the creation of libtool libraries that
10522 *** depend on shared libraries, but programs linked with such libtool
10523 *** libraries will work regardless of this problem. Nevertheless, you
10524 *** may want to report the problem to your system manager and/or to
10525 *** bug-libtool@gnu.org
10535 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10540 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10541 if test -n "$MAGIC_CMD"; then
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10543 $as_echo "$MAGIC_CMD" >&6; }
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10546 $as_echo "no" >&6; }
10559 # Use C for the default configuration in the libtool script
10563 ac_cpp
='$CPP $CPPFLAGS'
10564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10569 # Source file extension for C test sources.
10572 # Object file extension for compiled C test sources.
10576 # Code to be used in simple compile tests
10577 lt_simple_compile_test_code
="int some_variable = 0;"
10579 # Code to be used in simple link tests
10580 lt_simple_link_test_code
='int main(){return(0);}'
10588 # If no C compiler was specified, use CC.
10591 # If no C compiler flags were specified, use CFLAGS.
10592 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10594 # Allow CC to be a program name with arguments.
10597 # Save the default compiler, since it gets overwritten when the other
10598 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10599 compiler_DEFAULT
=$CC
10601 # save warnings/boilerplate of simple test code
10602 ac_outfile
=conftest.
$ac_objext
10603 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10604 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10605 _lt_compiler_boilerplate
=`cat conftest.err`
10608 ac_outfile
=conftest.
$ac_objext
10609 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10610 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10611 _lt_linker_boilerplate
=`cat conftest.err`
10616 ## There is no encapsulation within the following macros, do not change
10617 ## the running order or otherwise move them around unless you know exactly
10618 ## what you are doing...
10619 if test -n "$compiler"; then
10621 lt_prog_compiler_no_builtin_flag
=
10623 if test "$GCC" = yes; then
10624 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10627 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10628 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
10629 $as_echo_n "(cached) " >&6
10631 lt_cv_prog_compiler_rtti_exceptions
=no
10632 ac_outfile
=conftest.
$ac_objext
10633 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10634 lt_compiler_flag
="-fno-rtti -fno-exceptions"
10635 # Insert the option either (1) after the last *FLAGS variable, or
10636 # (2) before a word containing "conftest.", or (3) at the end.
10637 # Note that $ac_compile itself does not contain backslashes and begins
10638 # with a dollar sign (not a hyphen), so the echo should work correctly.
10639 # The option is referenced via a variable to avoid confusing sed.
10640 lt_compile
=`echo "$ac_compile" | $SED \
10641 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10643 -e 's:$: $lt_compiler_flag:'`
10644 (eval echo "\"\$as_me:10644: $lt_compile\"" >&5)
10645 (eval "$lt_compile" 2>conftest.err
)
10647 cat conftest.err
>&5
10648 echo "$as_me:10648: \$? = $ac_status" >&5
10649 if (exit $ac_status) && test -s "$ac_outfile"; then
10650 # The compiler can only warn and ignore the option if not recognized
10651 # So say no if there are warnings other than the usual output.
10652 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
10653 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10654 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10655 lt_cv_prog_compiler_rtti_exceptions
=yes
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10662 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10664 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
10665 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10677 lt_prog_compiler_wl
=
10678 lt_prog_compiler_pic
=
10679 lt_prog_compiler_static
=
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10682 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10684 if test "$GCC" = yes; then
10685 lt_prog_compiler_wl
='-Wl,'
10686 lt_prog_compiler_static
='-static'
10690 # All AIX code is PIC.
10691 if test "$host_cpu" = ia64
; then
10692 # AIX 5 now supports IA64 processor
10693 lt_prog_compiler_static
='-Bstatic'
10700 # see comment about AmigaOS4 .so support
10701 lt_prog_compiler_pic
='-fPIC'
10704 # FIXME: we need at least 68020 code to build shared libraries, but
10705 # adding the `-m68020' flag to GCC prevents building anything better,
10707 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10712 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10713 # PIC is the default for these OSes.
10716 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10717 # This hack is so that the source file can tell whether it is being
10718 # built for inclusion in a dll (and should export symbols for example).
10719 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10720 # (--disable-auto-import) libraries
10721 lt_prog_compiler_pic
='-DDLL_EXPORT'
10724 darwin
* | rhapsody
*)
10725 # PIC is the default on this platform
10726 # Common symbols not allowed in MH_DYLIB files
10727 lt_prog_compiler_pic
='-fno-common'
10731 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10732 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10733 # sets the default TLS model and affects inlining.
10739 lt_prog_compiler_pic
='-fPIC'
10745 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10746 # Instead, we relocate shared libraries at runtime.
10750 # Just because we use GCC doesn't mean we suddenly get shared libraries
10751 # on systems that don't support them.
10752 lt_prog_compiler_can_build_shared
=no
10757 # QNX uses GNU C++, but need to define -shared option too, otherwise
10758 # it will coredump.
10759 lt_prog_compiler_pic
='-fPIC -shared'
10763 if test -d /usr
/nec
; then
10764 lt_prog_compiler_pic
=-Kconform_pic
10769 lt_prog_compiler_pic
='-fPIC'
10773 # PORTME Check for flag to pass linker flags through the system compiler.
10776 lt_prog_compiler_wl
='-Wl,'
10777 if test "$host_cpu" = ia64
; then
10778 # AIX 5 now supports IA64 processor
10779 lt_prog_compiler_static
='-Bstatic'
10781 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10785 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10786 # This hack is so that the source file can tell whether it is being
10787 # built for inclusion in a dll (and should export symbols for example).
10788 lt_prog_compiler_pic
='-DDLL_EXPORT'
10791 hpux9
* | hpux10
* | hpux11
*)
10792 lt_prog_compiler_wl
='-Wl,'
10793 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10794 # not for PA HP-UX.
10800 lt_prog_compiler_pic
='+Z'
10803 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10804 lt_prog_compiler_static
='${wl}-a ${wl}archive'
10807 irix5
* | irix6
* | nonstopux
*)
10808 lt_prog_compiler_wl
='-Wl,'
10809 # PIC (with -KPIC) is the default.
10810 lt_prog_compiler_static
='-non_shared'
10813 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10814 case $cc_basename in
10815 # old Intel for x86_64 which still supported -KPIC.
10817 lt_prog_compiler_wl
='-Wl,'
10818 lt_prog_compiler_pic
='-KPIC'
10819 lt_prog_compiler_static
='-static'
10821 # icc used to be incompatible with GCC.
10822 # ICC 10 doesn't accept -KPIC any more.
10824 lt_prog_compiler_wl
='-Wl,'
10825 lt_prog_compiler_pic
='-fPIC'
10826 lt_prog_compiler_static
='-static'
10828 # Lahey Fortran 8.1.
10830 lt_prog_compiler_wl
='-Wl,'
10831 lt_prog_compiler_pic
='--shared'
10832 lt_prog_compiler_static
='--static'
10834 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
10835 # Portland Group compilers (*not* the Pentium gcc compiler,
10836 # which looks to be a dead project)
10837 lt_prog_compiler_wl
='-Wl,'
10838 lt_prog_compiler_pic
='-fpic'
10839 lt_prog_compiler_static
='-Bstatic'
10842 lt_prog_compiler_wl
='-Wl,'
10843 # All Alpha code is PIC.
10844 lt_prog_compiler_static
='-non_shared'
10847 # IBM XL C 8.0/Fortran 10.1 on PPC
10848 lt_prog_compiler_wl
='-Wl,'
10849 lt_prog_compiler_pic
='-qpic'
10850 lt_prog_compiler_static
='-qstaticlink'
10853 case `$CC -V 2>&1 | sed 5q` in
10856 lt_prog_compiler_pic
='-KPIC'
10857 lt_prog_compiler_static
='-Bstatic'
10858 lt_prog_compiler_wl
='-Wl,'
10861 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10862 lt_prog_compiler_pic
='-KPIC'
10863 lt_prog_compiler_static
='-Bstatic'
10864 lt_prog_compiler_wl
=''
10872 lt_prog_compiler_pic
='-KPIC'
10873 lt_prog_compiler_static
='-Bstatic'
10877 # QNX uses GNU C++, but need to define -shared option too, otherwise
10878 # it will coredump.
10879 lt_prog_compiler_pic
='-fPIC -shared'
10882 osf3
* | osf4
* | osf5
*)
10883 lt_prog_compiler_wl
='-Wl,'
10884 # All OSF/1 code is PIC.
10885 lt_prog_compiler_static
='-non_shared'
10889 lt_prog_compiler_static
='-non_shared'
10893 lt_prog_compiler_pic
='-KPIC'
10894 lt_prog_compiler_static
='-Bstatic'
10895 case $cc_basename in
10896 f77
* | f90
* | f95
*)
10897 lt_prog_compiler_wl
='-Qoption ld ';;
10899 lt_prog_compiler_wl
='-Wl,';;
10904 lt_prog_compiler_wl
='-Qoption ld '
10905 lt_prog_compiler_pic
='-PIC'
10906 lt_prog_compiler_static
='-Bstatic'
10909 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10910 lt_prog_compiler_wl
='-Wl,'
10911 lt_prog_compiler_pic
='-KPIC'
10912 lt_prog_compiler_static
='-Bstatic'
10916 if test -d /usr
/nec
;then
10917 lt_prog_compiler_pic
='-Kconform_pic'
10918 lt_prog_compiler_static
='-Bstatic'
10922 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10923 lt_prog_compiler_wl
='-Wl,'
10924 lt_prog_compiler_pic
='-KPIC'
10925 lt_prog_compiler_static
='-Bstatic'
10929 lt_prog_compiler_wl
='-Wl,'
10930 lt_prog_compiler_can_build_shared
=no
10934 lt_prog_compiler_pic
='-pic'
10935 lt_prog_compiler_static
='-Bstatic'
10939 lt_prog_compiler_can_build_shared
=no
10945 # For platforms which do not support PIC, -DPIC is meaningless:
10947 lt_prog_compiler_pic
=
10950 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10954 $as_echo "$lt_prog_compiler_pic" >&6; }
10962 # Check to make sure the PIC flag actually works.
10964 if test -n "$lt_prog_compiler_pic"; then
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10966 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10967 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
10968 $as_echo_n "(cached) " >&6
10970 lt_cv_prog_compiler_pic_works
=no
10971 ac_outfile
=conftest.
$ac_objext
10972 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10973 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10974 # Insert the option either (1) after the last *FLAGS variable, or
10975 # (2) before a word containing "conftest.", or (3) at the end.
10976 # Note that $ac_compile itself does not contain backslashes and begins
10977 # with a dollar sign (not a hyphen), so the echo should work correctly.
10978 # The option is referenced via a variable to avoid confusing sed.
10979 lt_compile
=`echo "$ac_compile" | $SED \
10980 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10982 -e 's:$: $lt_compiler_flag:'`
10983 (eval echo "\"\$as_me:10983: $lt_compile\"" >&5)
10984 (eval "$lt_compile" 2>conftest.err
)
10986 cat conftest.err
>&5
10987 echo "$as_me:10987: \$? = $ac_status" >&5
10988 if (exit $ac_status) && test -s "$ac_outfile"; then
10989 # The compiler can only warn and ignore the option if not recognized
10990 # So say no if there are warnings other than the usual output.
10991 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
10992 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10993 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10994 lt_cv_prog_compiler_pic_works
=yes
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11001 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11003 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
11004 case $lt_prog_compiler_pic in
11006 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
11009 lt_prog_compiler_pic
=
11010 lt_prog_compiler_can_build_shared
=no
11021 # Check to make sure the static flag actually works.
11023 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11025 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11026 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
11027 $as_echo_n "(cached) " >&6
11029 lt_cv_prog_compiler_static_works
=no
11030 save_LDFLAGS
="$LDFLAGS"
11031 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11032 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11033 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11034 # The linker can only warn and ignore the option if not recognized
11035 # So say no if there are warnings
11036 if test -s conftest.err
; then
11037 # Append any errors to the config.log.
11038 cat conftest.err
1>&5
11039 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11040 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11041 if diff conftest.exp conftest.er2
>/dev
/null
; then
11042 lt_cv_prog_compiler_static_works
=yes
11045 lt_cv_prog_compiler_static_works
=yes
11049 LDFLAGS
="$save_LDFLAGS"
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11053 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11055 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
11058 lt_prog_compiler_static
=
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11068 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11069 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
11070 $as_echo_n "(cached) " >&6
11072 lt_cv_prog_compiler_c_o
=no
11073 $RM -r conftest
2>/dev
/null
11077 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11079 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11080 # Insert the option either (1) after the last *FLAGS variable, or
11081 # (2) before a word containing "conftest.", or (3) at the end.
11082 # Note that $ac_compile itself does not contain backslashes and begins
11083 # with a dollar sign (not a hyphen), so the echo should work correctly.
11084 lt_compile
=`echo "$ac_compile" | $SED \
11085 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11087 -e 's:$: $lt_compiler_flag:'`
11088 (eval echo "\"\$as_me:11088: $lt_compile\"" >&5)
11089 (eval "$lt_compile" 2>out
/conftest.err
)
11091 cat out
/conftest.err
>&5
11092 echo "$as_me:11092: \$? = $ac_status" >&5
11093 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11095 # The compiler can only warn and ignore the option if not recognized
11096 # So say no if there are warnings
11097 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11098 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11099 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11100 lt_cv_prog_compiler_c_o
=yes
11105 # SGI C++ compiler will create directory out/ii_files/ for
11106 # template instantiation
11107 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11108 $RM out
/* && rmdir out
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11115 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11123 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11124 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
11125 $as_echo_n "(cached) " >&6
11127 lt_cv_prog_compiler_c_o
=no
11128 $RM -r conftest
2>/dev
/null
11132 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11134 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11135 # Insert the option either (1) after the last *FLAGS variable, or
11136 # (2) before a word containing "conftest.", or (3) at the end.
11137 # Note that $ac_compile itself does not contain backslashes and begins
11138 # with a dollar sign (not a hyphen), so the echo should work correctly.
11139 lt_compile
=`echo "$ac_compile" | $SED \
11140 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11141 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11142 -e 's:$: $lt_compiler_flag:'`
11143 (eval echo "\"\$as_me:11143: $lt_compile\"" >&5)
11144 (eval "$lt_compile" 2>out
/conftest.err
)
11146 cat out
/conftest.err
>&5
11147 echo "$as_me:11147: \$? = $ac_status" >&5
11148 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11150 # The compiler can only warn and ignore the option if not recognized
11151 # So say no if there are warnings
11152 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11153 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11154 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11155 lt_cv_prog_compiler_c_o
=yes
11160 # SGI C++ compiler will create directory out/ii_files/ for
11161 # template instantiation
11162 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11163 $RM out
/* && rmdir out
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11170 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11175 hard_links
="nottested"
11176 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
11177 # do not overwrite the value of need_locks provided by the user
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11179 $as_echo_n "checking if we can lock with hard links... " >&6; }
11182 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11184 ln conftest.a conftest.b
2>&5 || hard_links
=no
11185 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11187 $as_echo "$hard_links" >&6; }
11188 if test "$hard_links" = no
; then
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11190 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11203 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11206 allow_undefined_flag
=
11207 always_export_symbols
=no
11209 archive_expsym_cmds
=
11210 compiler_needs_object
=no
11211 enable_shared_with_static_runtimes
=no
11212 export_dynamic_flag_spec
=
11213 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11214 hardcode_automatic
=no
11216 hardcode_direct_absolute
=no
11217 hardcode_libdir_flag_spec
=
11218 hardcode_libdir_flag_spec_ld
=
11219 hardcode_libdir_separator
=
11220 hardcode_minus_L
=no
11221 hardcode_shlibpath_var
=unsupported
11223 link_all_deplibs
=unknown
11225 module_expsym_cmds
=
11226 old_archive_from_new_cmds
=
11227 old_archive_from_expsyms_cmds
=
11228 thread_safe_flag_spec
=
11229 whole_archive_flag_spec
=
11230 # include_expsyms should be a list of space-separated symbols to be *always*
11231 # included in the symbol list
11233 # exclude_expsyms can be an extended regexp of symbols to exclude
11234 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11235 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11236 # as well as any symbol that contains `d'.
11237 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11238 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11239 # platforms (ab)use it in PIC code, but their linkers get confused if
11240 # the symbol is explicitly referenced. Since portable code cannot
11241 # rely on this symbol name, it's probably fine to never include it in
11242 # preloaded symbol tables.
11243 # Exclude shared library initialization/finalization symbols.
11244 extract_expsyms_cmds
=
11247 cygwin
* | mingw
* | pw32
* | cegcc
*)
11248 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11249 # When not using gcc, we currently assume that we are using
11250 # Microsoft Visual C++.
11251 if test "$GCC" != yes; then
11256 # we just hope/assume this is gcc and not c89 (= MSVC++)
11265 if test "$with_gnu_ld" = yes; then
11266 # If archive_cmds runs LD, not CC, wlarc should be empty
11269 # Set some defaults for GNU ld with shared library support. These
11270 # are reset later if shared libraries are not supported. Putting them
11271 # here allows them to be overridden if necessary.
11272 runpath_var
=LD_RUN_PATH
11273 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11274 export_dynamic_flag_spec
='${wl}--export-dynamic'
11275 # ancient GNU ld didn't support --whole-archive et. al.
11276 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
11277 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11279 whole_archive_flag_spec
=
11281 supports_anon_versioning
=no
11282 case `$LD -v 2>&1` in
11283 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
11284 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11285 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11286 *\
2.11.
*) ;; # other 2.11 versions
11287 *) supports_anon_versioning
=yes ;;
11290 # See if GNU ld supports shared libraries.
11293 # On AIX/PPC, the GNU linker is very broken
11294 if test "$host_cpu" != ia64
; then
11298 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11299 *** to be unable to reliably create shared libraries on AIX.
11300 *** Therefore, libtool is disabling shared libraries support. If you
11301 *** really care for shared libraries, you may want to modify your PATH
11302 *** so that a non-GNU linker is found, and then restart.
11311 # see comment about AmigaOS4 .so support
11312 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11313 archive_expsym_cmds
=''
11316 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)'
11317 hardcode_libdir_flag_spec
='-L$libdir'
11318 hardcode_minus_L
=yes
11324 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11325 allow_undefined_flag
=unsupported
11326 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11327 # support --undefined. This deserves some investigation. FIXME
11328 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11334 cygwin
* | mingw
* | pw32
* | cegcc
*)
11335 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11336 # as there is no search path for DLLs.
11337 hardcode_libdir_flag_spec
='-L$libdir'
11338 allow_undefined_flag
=unsupported
11339 always_export_symbols
=no
11340 enable_shared_with_static_runtimes
=yes
11341 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11343 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11344 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11345 # If the export-symbols file already is a .def file (1st line
11346 # is EXPORTS), use it as is; otherwise, prepend...
11347 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11348 cp $export_symbols $output_objdir/$soname.def;
11350 echo EXPORTS > $output_objdir/$soname.def;
11351 cat $export_symbols >> $output_objdir/$soname.def;
11353 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11361 hardcode_shlibpath_var
=no
11362 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11363 export_dynamic_flag_spec
='${wl}-E'
11364 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11365 # Instead, shared libraries are loaded at an image base (0x10000000 by
11366 # default) and relocated if they conflict, which is a slow very memory
11367 # consuming and fragmenting process. To avoid this, we pick a random,
11368 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11369 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11370 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11371 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'
11374 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11376 if test "$host_os" = linux-dietlibc
; then
11377 case $cc_basename in
11378 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11381 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11382 && test "$tmp_diet" = no
11385 tmp_sharedflag
='-shared'
11386 case $cc_basename,$host_cpu in
11387 pgcc
*) # Portland Group C compiler
11388 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11389 tmp_addflag
=' $pic_flag'
11391 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
11392 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11393 tmp_addflag
=' $pic_flag -Mnomain' ;;
11394 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11395 tmp_addflag
=' -i_dynamic' ;;
11396 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11397 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11398 ifc
* | ifort
*) # Intel Fortran compiler
11399 tmp_addflag
=' -nofor_main' ;;
11400 lf95
*) # Lahey Fortran 8.1
11401 whole_archive_flag_spec
=
11402 tmp_sharedflag
='--shared' ;;
11403 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11404 tmp_sharedflag
='-qmkshrobj'
11407 case `$CC -V 2>&1 | sed 5q` in
11408 *Sun\ C
*) # Sun C 5.9
11409 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11410 compiler_needs_object
=yes
11411 tmp_sharedflag
='-G' ;;
11412 *Sun\ F
*) # Sun Fortran 8.3
11413 tmp_sharedflag
='-G' ;;
11415 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11417 if test "x$supports_anon_versioning" = xyes
; then
11418 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11419 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11420 echo "local: *; };" >> $output_objdir/$libname.ver~
11421 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11424 case $cc_basename in
11426 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11427 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11428 hardcode_libdir_flag_spec
=
11429 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
11430 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11431 if test "x$supports_anon_versioning" = xyes
; then
11432 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11433 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11434 echo "local: *; };" >> $output_objdir/$libname.ver~
11435 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11445 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11446 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11449 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11450 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11455 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11459 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11460 *** create shared libraries on Solaris systems. Therefore, libtool
11461 *** is disabling shared libraries support. We urge you to upgrade GNU
11462 *** binutils to release 2.9.1 or newer. Another option is to modify
11463 *** your PATH or compiler configuration so that the native linker is
11464 *** used, and then restart.
11467 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11468 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11469 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11475 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11476 case `$LD -v 2>&1` in
11477 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11481 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11482 *** reliably create shared libraries on SCO systems. Therefore, libtool
11483 *** is disabling shared libraries support. We urge you to upgrade GNU
11484 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11485 *** your PATH or compiler configuration so that the native linker is
11486 *** used, and then restart.
11491 # For security reasons, it is highly recommended that you always
11492 # use absolute paths for naming shared libraries, and exclude the
11493 # DT_RUNPATH tag from executables and libraries. But doing so
11494 # requires that you compile everything twice, which is a pain.
11495 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11496 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11497 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11498 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11507 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11509 hardcode_direct
=yes
11510 hardcode_shlibpath_var
=no
11514 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11515 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11516 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11523 if test "$ld_shlibs" = no
; then
11525 hardcode_libdir_flag_spec
=
11526 export_dynamic_flag_spec
=
11527 whole_archive_flag_spec
=
11530 # PORTME fill in a description of your system's linker (not GNU ld)
11533 allow_undefined_flag
=unsupported
11534 always_export_symbols
=yes
11535 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'
11536 # Note: this linker hardcodes the directories in LIBPATH if there
11537 # are no directories specified by -L.
11538 hardcode_minus_L
=yes
11539 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11540 # Neither direct hardcoding nor static linking is supported with a
11542 hardcode_direct
=unsupported
11547 if test "$host_cpu" = ia64
; then
11548 # On IA64, the linker does run time linking by default, so we don't
11549 # have to do anything special.
11550 aix_use_runtimelinking
=no
11551 exp_sym_flag
='-Bexport'
11554 # If we're using GNU nm, then we don't want the "-C" option.
11555 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11556 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11557 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11559 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'
11561 aix_use_runtimelinking
=no
11563 # Test if we are trying to use run time linking or normal
11564 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11565 # need to do runtime linking.
11566 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11567 for ld_flag
in $LDFLAGS; do
11568 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11569 aix_use_runtimelinking
=yes
11576 exp_sym_flag
='-bexport'
11577 no_entry_flag
='-bnoentry'
11580 # When large executables or shared objects are built, AIX ld can
11581 # have problems creating the table of contents. If linking a library
11582 # or program results in "error TOC overflow" add -mminimal-toc to
11583 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11584 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11587 hardcode_direct
=yes
11588 hardcode_direct_absolute
=yes
11589 hardcode_libdir_separator
=':'
11590 link_all_deplibs
=yes
11591 file_list_spec
='${wl}-f,'
11593 if test "$GCC" = yes; then
11594 case $host_os in aix4.
[012]|aix4.
[012].
*)
11595 # We only want to do this on AIX 4.2 and lower, the check
11596 # below for broken collect2 doesn't work under 4.3+
11597 collect2name
=`${CC} -print-prog-name=collect2`
11598 if test -f "$collect2name" &&
11599 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11601 # We have reworked collect2
11604 # We have old collect2
11605 hardcode_direct
=unsupported
11606 # It fails to find uninstalled libraries when the uninstalled
11607 # path is not listed in the libpath. Setting hardcode_minus_L
11608 # to unsupported forces relinking
11609 hardcode_minus_L
=yes
11610 hardcode_libdir_flag_spec
='-L$libdir'
11611 hardcode_libdir_separator
=
11615 shared_flag
='-shared'
11616 if test "$aix_use_runtimelinking" = yes; then
11617 shared_flag
="$shared_flag "'${wl}-G'
11621 if test "$host_cpu" = ia64
; then
11622 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11623 # chokes on -Wl,-G. The following line is correct:
11626 if test "$aix_use_runtimelinking" = yes; then
11627 shared_flag
='${wl}-G'
11629 shared_flag
='${wl}-bM:SRE'
11634 export_dynamic_flag_spec
='${wl}-bexpall'
11635 # It seems that -bexpall does not export symbols beginning with
11636 # underscore (_), so it is better to generate a list of symbols to export.
11637 always_export_symbols
=yes
11638 if test "$aix_use_runtimelinking" = yes; then
11639 # Warning - without using the other runtime loading flags (-brtl),
11640 # -berok will link without error, but may produce a broken library.
11641 allow_undefined_flag
='-berok'
11642 # Determine the default libpath from the value encoded in an
11643 # empty executable.
11644 if test x
$gcc_no_link = xyes
; then
11645 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11658 if ac_fn_c_try_link
"$LINENO"; then :
11660 lt_aix_libpath_sed
='
11661 /Import File Strings/,/^$/ {
11667 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11668 # Check for a 64-bit object if we didn't find anything.
11669 if test -z "$aix_libpath"; then
11670 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11673 rm -f core conftest.err conftest.
$ac_objext \
11674 conftest
$ac_exeext conftest.
$ac_ext
11675 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11677 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11678 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11680 if test "$host_cpu" = ia64
; then
11681 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
11682 allow_undefined_flag
="-z nodefs"
11683 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"
11685 # Determine the default libpath from the value encoded in an
11686 # empty executable.
11687 if test x
$gcc_no_link = xyes
; then
11688 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h. */
11701 if ac_fn_c_try_link
"$LINENO"; then :
11703 lt_aix_libpath_sed
='
11704 /Import File Strings/,/^$/ {
11710 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11711 # Check for a 64-bit object if we didn't find anything.
11712 if test -z "$aix_libpath"; then
11713 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11716 rm -f core conftest.err conftest.
$ac_objext \
11717 conftest
$ac_exeext conftest.
$ac_ext
11718 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11720 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11721 # Warning - without using the other run time loading flags,
11722 # -berok will link without error, but may produce a broken library.
11723 no_undefined_flag
=' ${wl}-bernotok'
11724 allow_undefined_flag
=' ${wl}-berok'
11725 # Exported symbols can be pulled into shared objects from archives
11726 whole_archive_flag_spec
='$convenience'
11727 archive_cmds_need_lc
=yes
11728 # This is similar to how AIX traditionally builds its shared libraries.
11729 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'
11737 # see comment about AmigaOS4 .so support
11738 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11739 archive_expsym_cmds
=''
11742 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)'
11743 hardcode_libdir_flag_spec
='-L$libdir'
11744 hardcode_minus_L
=yes
11750 export_dynamic_flag_spec
=-rdynamic
11753 cygwin
* | mingw
* | pw32
* | cegcc
*)
11754 # When not using gcc, we currently assume that we are using
11755 # Microsoft Visual C++.
11756 # hardcode_libdir_flag_spec is actually meaningless, as there is
11757 # no search path for DLLs.
11758 hardcode_libdir_flag_spec
=' '
11759 allow_undefined_flag
=unsupported
11760 # Tell ltmain to make .lib files, not .a files.
11762 # Tell ltmain to make .dll files, not .so files.
11764 # FIXME: Setting linknames here is a bad hack.
11765 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11766 # The linker will automatically build a .lib file if we build a DLL.
11767 old_archive_from_new_cmds
='true'
11768 # FIXME: Should let the user specify the lib program.
11769 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11770 fix_srcfile_path
='`cygpath -w "$srcfile"`'
11771 enable_shared_with_static_runtimes
=yes
11774 darwin
* | rhapsody
*)
11777 archive_cmds_need_lc
=no
11779 hardcode_automatic
=yes
11780 hardcode_shlibpath_var
=unsupported
11781 whole_archive_flag_spec
=''
11782 link_all_deplibs
=yes
11783 allow_undefined_flag
="$_lt_dar_allow_undefined"
11784 case $cc_basename in
11785 ifort
*) _lt_dar_can_shared
=yes ;;
11786 *) _lt_dar_can_shared
=$GCC ;;
11788 if test "$_lt_dar_can_shared" = "yes"; then
11789 output_verbose_link_cmd
=echo
11790 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11791 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11792 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}"
11793 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}"
11802 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11803 hardcode_libdir_flag_spec
='-L$libdir'
11804 hardcode_shlibpath_var
=no
11811 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11812 # support. Future versions do this automatically, but an explicit c++rt0.o
11813 # does not break anything, and helps significantly (at the cost of a little
11816 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11817 hardcode_libdir_flag_spec
='-R$libdir'
11818 hardcode_direct
=yes
11819 hardcode_shlibpath_var
=no
11822 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11824 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11825 hardcode_direct
=yes
11826 hardcode_minus_L
=yes
11827 hardcode_shlibpath_var
=no
11830 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11831 freebsd
* | dragonfly
*)
11832 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11833 hardcode_libdir_flag_spec
='-R$libdir'
11834 hardcode_direct
=yes
11835 hardcode_shlibpath_var
=no
11839 if test "$GCC" = yes; then
11840 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'
11842 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'
11844 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11845 hardcode_libdir_separator
=:
11846 hardcode_direct
=yes
11848 # hardcode_minus_L: Not really in the search PATH,
11849 # but as the default location of the library.
11850 hardcode_minus_L
=yes
11851 export_dynamic_flag_spec
='${wl}-E'
11855 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11856 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11858 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11860 if test "$with_gnu_ld" = no
; then
11861 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11862 hardcode_libdir_flag_spec_ld
='+b $libdir'
11863 hardcode_libdir_separator
=:
11864 hardcode_direct
=yes
11865 hardcode_direct_absolute
=yes
11866 export_dynamic_flag_spec
='${wl}-E'
11867 # hardcode_minus_L: Not really in the search PATH,
11868 # but as the default location of the library.
11869 hardcode_minus_L
=yes
11874 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11877 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11880 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11883 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11889 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11892 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11895 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11899 if test "$with_gnu_ld" = no
; then
11900 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11901 hardcode_libdir_separator
=:
11906 hardcode_shlibpath_var
=no
11909 hardcode_direct
=yes
11910 hardcode_direct_absolute
=yes
11911 export_dynamic_flag_spec
='${wl}-E'
11913 # hardcode_minus_L: Not really in the search PATH,
11914 # but as the default location of the library.
11915 hardcode_minus_L
=yes
11921 irix5
* | irix6
* | nonstopux
*)
11922 if test "$GCC" = yes; then
11923 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11924 # Try to use the -exported_symbol ld option, if it does not
11925 # work, assume that -exports_file does not work either and
11926 # implicitly export all symbols.
11927 save_LDFLAGS
="$LDFLAGS"
11928 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11929 if test x
$gcc_no_link = xyes
; then
11930 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11936 if ac_fn_c_try_link
"$LINENO"; then :
11937 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11940 rm -f core conftest.err conftest.
$ac_objext \
11941 conftest
$ac_exeext conftest.
$ac_ext
11942 LDFLAGS
="$save_LDFLAGS"
11944 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11945 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11947 archive_cmds_need_lc
='no'
11948 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11949 hardcode_libdir_separator
=:
11951 link_all_deplibs
=yes
11955 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11956 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11958 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11960 hardcode_libdir_flag_spec
='-R$libdir'
11961 hardcode_direct
=yes
11962 hardcode_shlibpath_var
=no
11966 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11967 hardcode_direct
=yes
11968 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11969 hardcode_libdir_separator
=:
11970 hardcode_shlibpath_var
=no
11977 if test -f /usr
/libexec
/ld.so
; then
11978 hardcode_direct
=yes
11979 hardcode_shlibpath_var
=no
11980 hardcode_direct_absolute
=yes
11981 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11982 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11983 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11984 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11985 export_dynamic_flag_spec
='${wl}-E'
11988 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11989 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11990 hardcode_libdir_flag_spec
='-R$libdir'
11993 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11994 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12004 hardcode_libdir_flag_spec
='-L$libdir'
12005 hardcode_minus_L
=yes
12006 allow_undefined_flag
=unsupported
12007 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'
12008 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12012 if test "$GCC" = yes; then
12013 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
12014 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12016 allow_undefined_flag
=' -expect_unresolved \*'
12017 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12019 archive_cmds_need_lc
='no'
12020 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12021 hardcode_libdir_separator
=:
12024 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12025 if test "$GCC" = yes; then
12026 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
12027 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12028 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12030 allow_undefined_flag
=' -expect_unresolved \*'
12031 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12032 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~
12033 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
12035 # Both c and cxx compiler support -rpath directly
12036 hardcode_libdir_flag_spec
='-rpath $libdir'
12038 archive_cmds_need_lc
='no'
12039 hardcode_libdir_separator
=:
12043 no_undefined_flag
=' -z defs'
12044 if test "$GCC" = yes; then
12046 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12047 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12048 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12050 case `$CC -V 2>&1` in
12053 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12054 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12055 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12059 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12060 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12061 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12065 hardcode_libdir_flag_spec
='-R$libdir'
12066 hardcode_shlibpath_var
=no
12068 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12070 # The compiler driver will combine and reorder linker options,
12071 # but understands `-z linker_flag'. GCC discards it without `$wl',
12072 # but is careful enough not to reorder.
12073 # Supported since Solaris 2.6 (maybe 2.5.1?)
12074 if test "$GCC" = yes; then
12075 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12077 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12081 link_all_deplibs
=yes
12085 if test "x$host_vendor" = xsequent
; then
12086 # Use $CC to link under sequent, because it throws in some extra .o
12087 # files that make .init and .fini sections work.
12088 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12090 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12092 hardcode_libdir_flag_spec
='-L$libdir'
12093 hardcode_direct
=yes
12094 hardcode_minus_L
=yes
12095 hardcode_shlibpath_var
=no
12099 case $host_vendor in
12101 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12102 hardcode_direct
=yes # is this really true???
12105 ## LD is ld it makes a PLAMLIB
12106 ## CC just makes a GrossModule.
12107 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12108 reload_cmds
='$CC -r -o $output$reload_objs'
12112 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12113 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12116 runpath_var
='LD_RUN_PATH'
12117 hardcode_shlibpath_var
=no
12121 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12122 hardcode_shlibpath_var
=no
12123 export_dynamic_flag_spec
='-Bexport'
12127 if test -d /usr
/nec
; then
12128 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12129 hardcode_shlibpath_var
=no
12130 runpath_var
=LD_RUN_PATH
12131 hardcode_runpath_var
=yes
12136 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12137 no_undefined_flag
='${wl}-z,text'
12138 archive_cmds_need_lc
=no
12139 hardcode_shlibpath_var
=no
12140 runpath_var
='LD_RUN_PATH'
12142 if test "$GCC" = yes; then
12143 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12144 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12146 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12147 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12151 sysv5
* | sco3.2v5
* | sco5v6
*)
12152 # Note: We can NOT use -z defs as we might desire, because we do not
12153 # link with -lc, and that would cause any symbols used from libc to
12154 # always be unresolved, which means just about no library would
12155 # ever link correctly. If we're not using GNU ld we use -z text
12156 # though, which does catch some bad symbols but isn't as heavy-handed
12158 no_undefined_flag
='${wl}-z,text'
12159 allow_undefined_flag
='${wl}-z,nodefs'
12160 archive_cmds_need_lc
=no
12161 hardcode_shlibpath_var
=no
12162 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
12163 hardcode_libdir_separator
=':'
12164 link_all_deplibs
=yes
12165 export_dynamic_flag_spec
='${wl}-Bexport'
12166 runpath_var
='LD_RUN_PATH'
12168 if test "$GCC" = yes; then
12169 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12170 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12172 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12173 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12178 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12179 hardcode_libdir_flag_spec
='-L$libdir'
12180 hardcode_shlibpath_var
=no
12188 if test x
$host_vendor = xsni
; then
12190 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12191 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12198 $as_echo "$ld_shlibs" >&6; }
12199 test "$ld_shlibs" = no
&& can_build_shared
=no
12201 with_gnu_ld
=$with_gnu_ld
12218 # Do we need to explicitly link libc?
12220 case "x$archive_cmds_need_lc" in
12222 # Assume -lc should be added
12223 archive_cmds_need_lc
=yes
12225 if test "$enable_shared" = yes && test "$GCC" = yes; then
12226 case $archive_cmds in
12228 # FIXME: we may have to deal with multi-command sequences.
12231 # Test whether the compiler implicitly links with -lc since on some
12232 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12233 # to ld, don't add -lc before -lgcc.
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12235 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12236 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
12237 $as_echo_n "(cached) " >&6
12240 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12242 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12243 (eval $ac_compile) 2>&5
12245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12246 test $ac_status = 0; } 2>conftest.err
; then
12249 libobjs
=conftest.
$ac_objext
12251 wl
=$lt_prog_compiler_wl
12252 pic_flag
=$lt_prog_compiler_pic
12258 lt_save_allow_undefined_flag
=$allow_undefined_flag
12259 allow_undefined_flag
=
12260 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12261 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12264 test $ac_status = 0; }
12266 lt_cv_archive_cmds_need_lc
=no
12268 lt_cv_archive_cmds_need_lc
=yes
12270 allow_undefined_flag
=$lt_save_allow_undefined_flag
12272 cat conftest.err
1>&5
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12278 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12279 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12443 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12445 if test "$GCC" = yes; then
12447 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
12448 *) lt_awk_arg
="/^libraries:/" ;;
12450 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12451 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
12452 # if the path contains ";" then we assume it to be the separator
12453 # otherwise default to the standard path separator (i.e. ":") - it is
12454 # assumed that no part of a normal pathname contains ";" but that should
12455 # okay in the real world where ";" in dirpaths is itself problematic.
12456 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
12458 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12460 # Ok, now we have the path, separated by spaces, we can step through it
12461 # and add multilib dir if necessary.
12462 lt_tmp_lt_search_path_spec
=
12463 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12464 for lt_sys_path
in $lt_search_path_spec; do
12465 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12466 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12468 test -d "$lt_sys_path" && \
12469 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12472 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
12473 BEGIN {RS=" "; FS="/|\n";} {
12476 for (lt_i = NF; lt_i > 0; lt_i--) {
12477 if ($lt_i != "" && $lt_i != ".") {
12478 if ($lt_i == "..") {
12481 if (lt_count == 0) {
12482 lt_foo="/" $lt_i lt_foo;
12489 if (lt_foo != "") { lt_freq[lt_foo]++; }
12490 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12492 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
12494 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12496 library_names_spec
=
12497 libname_spec
='lib$name'
12501 postuninstall_cmds
=
12505 shlibpath_overrides_runpath
=unknown
12507 dynamic_linker
="$host_os ld.so"
12508 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12509 need_lib_prefix
=unknown
12510 hardcode_into_libs
=no
12512 # when you set need_version to no, make sure it does not cause -set_version
12513 # flags to be left without arguments
12514 need_version
=unknown
12519 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12520 shlibpath_var
=LIBPATH
12522 # AIX 3 has no versioning support, so we append a major version to the name.
12523 soname_spec
='${libname}${release}${shared_ext}$major'
12530 hardcode_into_libs
=yes
12531 if test "$host_cpu" = ia64
; then
12532 # AIX 5 supports IA64
12533 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12534 shlibpath_var
=LD_LIBRARY_PATH
12536 # With GCC up to 2.95.x, collect2 would create an import file
12537 # for dependence libraries. The import file would start with
12538 # the line `#! .'. This would cause the generated library to
12539 # depend on `.', always an invalid library. This was fixed in
12540 # development snapshots of GCC prior to 3.0.
12542 aix4 | aix4.
[01] | aix4.
[01].
*)
12543 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12545 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12548 can_build_shared
=no
12552 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12553 # soname into executable. Probably we can add versioning support to
12554 # collect2, so additional links can be useful in future.
12555 if test "$aix_use_runtimelinking" = yes; then
12556 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12557 # instead of lib<name>.a to let people know that these are not
12558 # typical AIX shared libraries.
12559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12561 # We preserve .a as extension for shared libraries through AIX4.2
12562 # and later when we are not doing run time linking.
12563 library_names_spec
='${libname}${release}.a $libname.a'
12564 soname_spec
='${libname}${release}${shared_ext}$major'
12566 shlibpath_var
=LIBPATH
12573 # Since July 2007 AmigaOS4 officially supports .so libraries.
12574 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12578 library_names_spec
='$libname.ixlibrary $libname.a'
12579 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12580 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'
12586 library_names_spec
='${libname}${shared_ext}'
12587 dynamic_linker
="$host_os ld.so"
12588 shlibpath_var
=LIBRARY_PATH
12594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12595 soname_spec
='${libname}${release}${shared_ext}$major'
12596 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12597 shlibpath_var
=LD_LIBRARY_PATH
12598 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12599 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12600 # the default ld.so.conf also contains /usr/contrib/lib and
12601 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12602 # libtool to hard-code these into programs
12605 cygwin
* | mingw
* | pw32
* | cegcc
*)
12606 version_type
=windows
12611 case $GCC,$host_os in
12612 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
12613 library_names_spec
='$libname.dll.a'
12614 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12615 postinstall_cmds
='base_file=`basename \${file}`~
12616 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12617 dldir=$destdir/`dirname \$dlpath`~
12618 test -d \$dldir || mkdir -p \$dldir~
12619 $install_prog $dir/$dlname \$dldir/$dlname~
12620 chmod a+x \$dldir/$dlname~
12621 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12622 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12624 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12625 dlpath=$dir/\$dldll~
12627 shlibpath_overrides_runpath
=yes
12631 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12632 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12633 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12636 # MinGW DLLs use traditional 'lib' prefix
12637 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12638 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12639 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12640 # It is most probably a Windows format PATH printed by
12641 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12642 # path with ; separators, and with drive letters. We can handle the
12643 # drive letters (cygwin fileutils understands them), so leave them,
12644 # especially as we might pass files found there to a mingw objdump,
12645 # which wouldn't understand a cygwinified path. Ahh.
12646 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12648 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12652 # pw32 DLLs use 'pw' prefix rather than 'lib'
12653 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12659 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12662 dynamic_linker
='Win32 ld.exe'
12663 # FIXME: first we should search . and the directory the executable is in
12667 darwin
* | rhapsody
*)
12668 dynamic_linker
="$host_os dyld"
12669 version_type
=darwin
12672 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12673 soname_spec
='${libname}${release}${major}$shared_ext'
12674 shlibpath_overrides_runpath
=yes
12675 shlibpath_var
=DYLD_LIBRARY_PATH
12676 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12678 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12679 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12687 soname_spec
='${libname}${release}${shared_ext}$major'
12688 shlibpath_var
=LD_LIBRARY_PATH
12695 freebsd
* | dragonfly
*)
12696 # DragonFly does not have aout. When/if they implement a new
12697 # versioning mechanism, adjust this.
12698 if test -x /usr
/bin
/objformat
; then
12699 objformat
=`/usr/bin/objformat`
12702 freebsd
[123]*) objformat
=aout
;;
12703 *) objformat
=elf
;;
12706 version_type
=freebsd-
$objformat
12707 case $version_type in
12709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12714 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12718 shlibpath_var
=LD_LIBRARY_PATH
12721 shlibpath_overrides_runpath
=yes
12723 freebsd3.
[01]* | freebsdelf3.
[01]*)
12724 shlibpath_overrides_runpath
=yes
12725 hardcode_into_libs
=yes
12727 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12728 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12729 shlibpath_overrides_runpath
=no
12730 hardcode_into_libs
=yes
12732 *) # from 4.6 on, and DragonFly
12733 shlibpath_overrides_runpath
=yes
12734 hardcode_into_libs
=yes
12743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12744 soname_spec
='${libname}${release}${shared_ext}$major'
12745 shlibpath_var
=LD_LIBRARY_PATH
12746 hardcode_into_libs
=yes
12749 hpux9
* | hpux10
* | hpux11
*)
12750 # Give a soname corresponding to the major version so that dld.sl refuses to
12751 # link against other versions.
12758 hardcode_into_libs
=yes
12759 dynamic_linker
="$host_os dld.so"
12760 shlibpath_var
=LD_LIBRARY_PATH
12761 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12763 soname_spec
='${libname}${release}${shared_ext}$major'
12764 if test "X$HPUX_IA64_MODE" = X32
; then
12765 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12767 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12769 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12773 hardcode_into_libs
=yes
12774 dynamic_linker
="$host_os dld.sl"
12775 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12776 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12778 soname_spec
='${libname}${release}${shared_ext}$major'
12779 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12780 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12784 dynamic_linker
="$host_os dld.sl"
12785 shlibpath_var
=SHLIB_PATH
12786 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12788 soname_spec
='${libname}${release}${shared_ext}$major'
12791 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12792 postinstall_cmds
='chmod 555 $lib'
12799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12800 soname_spec
='${libname}${release}${shared_ext}$major'
12801 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12802 shlibpath_var
=LD_LIBRARY_PATH
12803 shlibpath_overrides_runpath
=no
12804 hardcode_into_libs
=yes
12807 irix5
* | irix6
* | nonstopux
*)
12809 nonstopux
*) version_type
=nonstopux
;;
12811 if test "$lt_cv_prog_gnu_ld" = yes; then
12819 soname_spec
='${libname}${release}${shared_ext}$major'
12820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12822 irix5
* | nonstopux
*)
12823 libsuff
= shlibsuff
=
12826 case $LD in # libtool.m4 will add one of these switches to LD
12827 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12828 libsuff
= shlibsuff
= libmagic
=32-bit;;
12829 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12830 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12831 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12832 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12833 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12837 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12838 shlibpath_overrides_runpath
=no
12839 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12840 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12841 hardcode_into_libs
=yes
12844 # No shared lib support for Linux oldld, aout, or coff.
12845 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12849 # This must be Linux ELF.
12850 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12855 soname_spec
='${libname}${release}${shared_ext}$major'
12856 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12857 shlibpath_var
=LD_LIBRARY_PATH
12858 shlibpath_overrides_runpath
=no
12860 # Some binutils ld are patched to set DT_RUNPATH
12861 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
12862 $as_echo_n "(cached) " >&6
12864 lt_cv_shlibpath_overrides_runpath
=no
12865 save_LDFLAGS
=$LDFLAGS
12866 save_libdir
=$libdir
12867 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12868 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12869 if test x
$gcc_no_link = xyes
; then
12870 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12883 if ac_fn_c_try_link
"$LINENO"; then :
12884 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12885 lt_cv_shlibpath_overrides_runpath
=yes
12888 rm -f core conftest.err conftest.
$ac_objext \
12889 conftest
$ac_exeext conftest.
$ac_ext
12890 LDFLAGS
=$save_LDFLAGS
12891 libdir
=$save_libdir
12895 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12897 # This implies no fast_install, which is unacceptable.
12898 # Some rework will be needed to allow for fast_install
12899 # before this can be enabled.
12900 hardcode_into_libs
=yes
12902 # Append ld.so.conf contents to the search path
12903 if test -f /etc
/ld.so.conf
; then
12904 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;/^$/d' | tr '\n' ' '`
12905 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12908 # We used to test for /lib/ld.so.1 and disable shared libraries on
12909 # powerpc, because MkLinux only supported shared libraries with the
12910 # GNU dynamic linker. Since this was broken with cross compilers,
12911 # most powerpc-linux boxes support dynamic linking these days and
12912 # people can always --disable-shared, the test was removed, and we
12913 # assume the GNU/Linux dynamic linker is in use.
12914 dynamic_linker
='GNU/Linux ld.so'
12921 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12923 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12924 dynamic_linker
='NetBSD (a.out) ld.so'
12926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12927 soname_spec
='${libname}${release}${shared_ext}$major'
12928 dynamic_linker
='NetBSD ld.elf_so'
12930 shlibpath_var
=LD_LIBRARY_PATH
12931 shlibpath_overrides_runpath
=yes
12932 hardcode_into_libs
=yes
12937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12938 shlibpath_var
=LD_LIBRARY_PATH
12939 shlibpath_overrides_runpath
=yes
12946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12947 soname_spec
='${libname}${release}${shared_ext}$major'
12948 shlibpath_var
=LD_LIBRARY_PATH
12949 shlibpath_overrides_runpath
=no
12950 hardcode_into_libs
=yes
12951 dynamic_linker
='ldqnx.so'
12956 sys_lib_dlsearch_path_spec
="/usr/lib"
12958 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12960 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12961 *) need_version
=no
;;
12963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12964 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12965 shlibpath_var
=LD_LIBRARY_PATH
12966 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12968 openbsd2.
[89] | openbsd2.
[89].
*)
12969 shlibpath_overrides_runpath
=no
12972 shlibpath_overrides_runpath
=yes
12976 shlibpath_overrides_runpath
=yes
12981 libname_spec
='$name'
12984 library_names_spec
='$libname${shared_ext} $libname.a'
12985 dynamic_linker
='OS/2 ld.exe'
12986 shlibpath_var
=LIBPATH
12989 osf3
* | osf4
* | osf5
*)
12993 soname_spec
='${libname}${release}${shared_ext}$major'
12994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12995 shlibpath_var
=LD_LIBRARY_PATH
12996 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12997 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13009 soname_spec
='${libname}${release}${shared_ext}$major'
13010 shlibpath_var
=LD_LIBRARY_PATH
13011 shlibpath_overrides_runpath
=yes
13012 hardcode_into_libs
=yes
13013 # ldd complains unless libraries are executable
13014 postinstall_cmds
='chmod +x $lib'
13019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13020 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13021 shlibpath_var
=LD_LIBRARY_PATH
13022 shlibpath_overrides_runpath
=yes
13023 if test "$with_gnu_ld" = yes; then
13031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13032 soname_spec
='${libname}${release}${shared_ext}$major'
13033 shlibpath_var
=LD_LIBRARY_PATH
13034 case $host_vendor in
13036 shlibpath_overrides_runpath
=no
13038 runpath_var
=LD_RUN_PATH
13046 shlibpath_overrides_runpath
=no
13047 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13053 if test -d /usr
/nec
;then
13055 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13056 soname_spec
='$libname${shared_ext}.$major'
13057 shlibpath_var
=LD_LIBRARY_PATH
13061 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13062 version_type
=freebsd-elf
13065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13066 soname_spec
='${libname}${release}${shared_ext}$major'
13067 shlibpath_var
=LD_LIBRARY_PATH
13068 shlibpath_overrides_runpath
=yes
13069 hardcode_into_libs
=yes
13070 if test "$with_gnu_ld" = yes; then
13071 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13073 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13076 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13080 sys_lib_dlsearch_path_spec
='/usr/lib'
13084 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13089 shlibpath_var
=LD_LIBRARY_PATH
13090 shlibpath_overrides_runpath
=no
13091 hardcode_into_libs
=yes
13096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13097 soname_spec
='${libname}${release}${shared_ext}$major'
13098 shlibpath_var
=LD_LIBRARY_PATH
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13106 $as_echo "$dynamic_linker" >&6; }
13107 test "$dynamic_linker" = no
&& can_build_shared
=no
13109 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13110 if test "$GCC" = yes; then
13111 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13114 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13115 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13117 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13118 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13208 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13210 if test -n "$hardcode_libdir_flag_spec" ||
13211 test -n "$runpath_var" ||
13212 test "X$hardcode_automatic" = "Xyes" ; then
13214 # We can hardcode non-existent directories.
13215 if test "$hardcode_direct" != no
&&
13216 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13217 # have to relink, otherwise we might link with an installed library
13218 # when we should be linking with a yet-to-be-installed one
13219 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13220 test "$hardcode_minus_L" != no
; then
13221 # Linking always hardcodes the temporary library directory.
13222 hardcode_action
=relink
13224 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13225 hardcode_action
=immediate
13228 # We cannot hardcode anything, or else we can only hardcode existing
13230 hardcode_action
=unsupported
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13233 $as_echo "$hardcode_action" >&6; }
13235 if test "$hardcode_action" = relink ||
13236 test "$inherit_rpath" = yes; then
13237 # Fast installation is not supported
13238 enable_fast_install
=no
13239 elif test "$shlibpath_overrides_runpath" = yes ||
13240 test "$enable_shared" = no
; then
13241 # Fast installation is not necessary
13242 enable_fast_install
=needless
13250 if test "x$enable_dlopen" != xyes
; then
13251 enable_dlopen
=unknown
13252 enable_dlopen_self
=unknown
13253 enable_dlopen_self_static
=unknown
13260 lt_cv_dlopen
="load_add_on"
13262 lt_cv_dlopen_self
=yes
13265 mingw
* | pw32
* | cegcc
*)
13266 lt_cv_dlopen
="LoadLibrary"
13271 lt_cv_dlopen
="dlopen"
13276 # if libdl is installed we need to link against it
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13278 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13279 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13280 $as_echo_n "(cached) " >&6
13282 ac_check_lib_save_LIBS
=$LIBS
13284 if test x
$gcc_no_link = xyes
; then
13285 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13288 /* end confdefs.h. */
13290 /* Override any GCC internal prototype to avoid an error.
13291 Use char because int might match the return type of a GCC
13292 builtin and then its argument prototype would still apply. */
13305 if ac_fn_c_try_link
"$LINENO"; then :
13306 ac_cv_lib_dl_dlopen
=yes
13308 ac_cv_lib_dl_dlopen
=no
13310 rm -f core conftest.err conftest.
$ac_objext \
13311 conftest
$ac_exeext conftest.
$ac_ext
13312 LIBS
=$ac_check_lib_save_LIBS
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13315 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13316 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13317 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13320 lt_cv_dlopen
="dyld"
13322 lt_cv_dlopen_self
=yes
13329 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13330 if test "x$ac_cv_func_shl_load" = x
""yes; then :
13331 lt_cv_dlopen
="shl_load"
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13334 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13335 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
13336 $as_echo_n "(cached) " >&6
13338 ac_check_lib_save_LIBS
=$LIBS
13340 if test x
$gcc_no_link = xyes
; then
13341 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13346 /* Override any GCC internal prototype to avoid an error.
13347 Use char because int might match the return type of a GCC
13348 builtin and then its argument prototype would still apply. */
13356 return shl_load ();
13361 if ac_fn_c_try_link
"$LINENO"; then :
13362 ac_cv_lib_dld_shl_load
=yes
13364 ac_cv_lib_dld_shl_load
=no
13366 rm -f core conftest.err conftest.
$ac_objext \
13367 conftest
$ac_exeext conftest.
$ac_ext
13368 LIBS
=$ac_check_lib_save_LIBS
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13371 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13372 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
13373 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
13375 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13376 if test "x$ac_cv_func_dlopen" = x
""yes; then :
13377 lt_cv_dlopen
="dlopen"
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13380 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13381 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13382 $as_echo_n "(cached) " >&6
13384 ac_check_lib_save_LIBS
=$LIBS
13386 if test x
$gcc_no_link = xyes
; then
13387 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13390 /* end confdefs.h. */
13392 /* Override any GCC internal prototype to avoid an error.
13393 Use char because int might match the return type of a GCC
13394 builtin and then its argument prototype would still apply. */
13407 if ac_fn_c_try_link
"$LINENO"; then :
13408 ac_cv_lib_dl_dlopen
=yes
13410 ac_cv_lib_dl_dlopen
=no
13412 rm -f core conftest.err conftest.
$ac_objext \
13413 conftest
$ac_exeext conftest.
$ac_ext
13414 LIBS
=$ac_check_lib_save_LIBS
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13417 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13418 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13419 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13422 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13423 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
13424 $as_echo_n "(cached) " >&6
13426 ac_check_lib_save_LIBS
=$LIBS
13427 LIBS
="-lsvld $LIBS"
13428 if test x
$gcc_no_link = xyes
; then
13429 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13432 /* end confdefs.h. */
13434 /* Override any GCC internal prototype to avoid an error.
13435 Use char because int might match the return type of a GCC
13436 builtin and then its argument prototype would still apply. */
13449 if ac_fn_c_try_link
"$LINENO"; then :
13450 ac_cv_lib_svld_dlopen
=yes
13452 ac_cv_lib_svld_dlopen
=no
13454 rm -f core conftest.err conftest.
$ac_objext \
13455 conftest
$ac_exeext conftest.
$ac_ext
13456 LIBS
=$ac_check_lib_save_LIBS
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13459 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13460 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
13461 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13464 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13465 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
13466 $as_echo_n "(cached) " >&6
13468 ac_check_lib_save_LIBS
=$LIBS
13470 if test x
$gcc_no_link = xyes
; then
13471 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13474 /* end confdefs.h. */
13476 /* Override any GCC internal prototype to avoid an error.
13477 Use char because int might match the return type of a GCC
13478 builtin and then its argument prototype would still apply. */
13486 return dld_link ();
13491 if ac_fn_c_try_link
"$LINENO"; then :
13492 ac_cv_lib_dld_dld_link
=yes
13494 ac_cv_lib_dld_dld_link
=no
13496 rm -f core conftest.err conftest.
$ac_objext \
13497 conftest
$ac_exeext conftest.
$ac_ext
13498 LIBS
=$ac_check_lib_save_LIBS
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13501 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13502 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
13503 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13524 if test "x$lt_cv_dlopen" != xno
; then
13530 case $lt_cv_dlopen in
13532 save_CPPFLAGS
="$CPPFLAGS"
13533 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13535 save_LDFLAGS
="$LDFLAGS"
13536 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13539 LIBS
="$lt_cv_dlopen_libs $LIBS"
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13542 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13543 if test "${lt_cv_dlopen_self+set}" = set; then :
13544 $as_echo_n "(cached) " >&6
13546 if test "$cross_compiling" = yes; then :
13547 lt_cv_dlopen_self
=cross
13549 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13550 lt_status
=$lt_dlunknown
13551 cat > conftest.
$ac_ext <<_LT_EOF
13552 #line 13552 "configure"
13553 #include "confdefs.h"
13562 # define LT_DLGLOBAL RTLD_GLOBAL
13565 # define LT_DLGLOBAL DL_GLOBAL
13567 # define LT_DLGLOBAL 0
13571 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13572 find out it does not work in some platform. */
13573 #ifndef LT_DLLAZY_OR_NOW
13575 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13578 # define LT_DLLAZY_OR_NOW DL_LAZY
13581 # define LT_DLLAZY_OR_NOW RTLD_NOW
13584 # define LT_DLLAZY_OR_NOW DL_NOW
13586 # define LT_DLLAZY_OR_NOW 0
13593 void fnord() { int i=42;}
13596 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13597 int status = $lt_dlunknown;
13601 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13602 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13603 /* dlclose (self); */
13611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13612 (eval $ac_link) 2>&5
13614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13615 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13616 (.
/conftest
; exit; ) >&5 2>/dev
/null
13618 case x
$lt_status in
13619 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13620 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13621 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13624 # compilation failed
13625 lt_cv_dlopen_self
=no
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13633 $as_echo "$lt_cv_dlopen_self" >&6; }
13635 if test "x$lt_cv_dlopen_self" = xyes
; then
13636 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13638 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13639 if test "${lt_cv_dlopen_self_static+set}" = set; then :
13640 $as_echo_n "(cached) " >&6
13642 if test "$cross_compiling" = yes; then :
13643 lt_cv_dlopen_self_static
=cross
13645 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13646 lt_status
=$lt_dlunknown
13647 cat > conftest.
$ac_ext <<_LT_EOF
13648 #line 13648 "configure"
13649 #include "confdefs.h"
13658 # define LT_DLGLOBAL RTLD_GLOBAL
13661 # define LT_DLGLOBAL DL_GLOBAL
13663 # define LT_DLGLOBAL 0
13667 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13668 find out it does not work in some platform. */
13669 #ifndef LT_DLLAZY_OR_NOW
13671 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13674 # define LT_DLLAZY_OR_NOW DL_LAZY
13677 # define LT_DLLAZY_OR_NOW RTLD_NOW
13680 # define LT_DLLAZY_OR_NOW DL_NOW
13682 # define LT_DLLAZY_OR_NOW 0
13689 void fnord() { int i=42;}
13692 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13693 int status = $lt_dlunknown;
13697 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13698 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13699 /* dlclose (self); */
13707 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13708 (eval $ac_link) 2>&5
13710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13711 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13712 (.
/conftest
; exit; ) >&5 2>/dev
/null
13714 case x
$lt_status in
13715 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13716 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13717 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13720 # compilation failed
13721 lt_cv_dlopen_self_static
=no
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13729 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13732 CPPFLAGS
="$save_CPPFLAGS"
13733 LDFLAGS
="$save_LDFLAGS"
13738 case $lt_cv_dlopen_self in
13739 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13740 *) enable_dlopen_self
=unknown
;;
13743 case $lt_cv_dlopen_self_static in
13744 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13745 *) enable_dlopen_self_static
=unknown
;;
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13768 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13769 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13770 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13771 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13773 $as_echo "yes" >&6; }
13775 # FIXME - insert some real tests, host_os isn't really good enough
13778 if test -n "$STRIP" ; then
13779 striplib
="$STRIP -x"
13780 old_striplib
="$STRIP -S"
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13782 $as_echo "yes" >&6; }
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13785 $as_echo "no" >&6; }
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13790 $as_echo "no" >&6; }
13806 # Report which library types will actually be built
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13808 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13810 $as_echo "$can_build_shared" >&6; }
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13813 $as_echo_n "checking whether to build shared libraries... " >&6; }
13814 test "$can_build_shared" = "no" && enable_shared
=no
13816 # On AIX, shared libraries and static libraries use the same namespace, and
13817 # are all built from PIC.
13820 test "$enable_shared" = yes && enable_static
=no
13821 if test -n "$RANLIB"; then
13822 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13823 postinstall_cmds
='$RANLIB $lib'
13828 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13829 test "$enable_shared" = yes && enable_static
=no
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13834 $as_echo "$enable_shared" >&6; }
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13837 $as_echo_n "checking whether to build static libraries... " >&6; }
13838 # Make sure either enable_shared or enable_static is yes.
13839 test "$enable_shared" = yes || enable_static
=yes
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13841 $as_echo "$enable_static" >&6; }
13848 ac_cpp
='$CPP $CPPFLAGS'
13849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13857 ac_cpp
='$CXXCPP $CPPFLAGS'
13858 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13859 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13860 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13862 archive_cmds_need_lc_CXX
=no
13863 allow_undefined_flag_CXX
=
13864 always_export_symbols_CXX
=no
13865 archive_expsym_cmds_CXX
=
13866 compiler_needs_object_CXX
=no
13867 export_dynamic_flag_spec_CXX
=
13868 hardcode_direct_CXX
=no
13869 hardcode_direct_absolute_CXX
=no
13870 hardcode_libdir_flag_spec_CXX
=
13871 hardcode_libdir_flag_spec_ld_CXX
=
13872 hardcode_libdir_separator_CXX
=
13873 hardcode_minus_L_CXX
=no
13874 hardcode_shlibpath_var_CXX
=unsupported
13875 hardcode_automatic_CXX
=no
13876 inherit_rpath_CXX
=no
13878 module_expsym_cmds_CXX
=
13879 link_all_deplibs_CXX
=unknown
13880 old_archive_cmds_CXX
=$old_archive_cmds
13881 no_undefined_flag_CXX
=
13882 whole_archive_flag_spec_CXX
=
13883 enable_shared_with_static_runtimes_CXX
=no
13885 # Source file extension for C++ test sources.
13888 # Object file extension for compiled C++ test sources.
13892 # No sense in running all these tests if we already determined that
13893 # the CXX compiler isn't working. Some variables (like enable_shared)
13894 # are currently assumed to apply to all compilers on this platform,
13895 # and will be corrupted by setting them based on a non-working compiler.
13896 if test "$_lt_caught_CXX_error" != yes; then
13897 # Code to be used in simple compile tests
13898 lt_simple_compile_test_code
="int some_variable = 0;"
13900 # Code to be used in simple link tests
13901 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13903 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13910 # If no C compiler was specified, use CC.
13913 # If no C compiler flags were specified, use CFLAGS.
13914 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13916 # Allow CC to be a program name with arguments.
13920 # save warnings/boilerplate of simple test code
13921 ac_outfile
=conftest.
$ac_objext
13922 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13923 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13924 _lt_compiler_boilerplate
=`cat conftest.err`
13927 ac_outfile
=conftest.
$ac_objext
13928 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13929 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13930 _lt_linker_boilerplate
=`cat conftest.err`
13934 # Allow CC to be a program name with arguments.
13939 lt_save_with_gnu_ld
=$with_gnu_ld
13940 lt_save_path_LD
=$lt_cv_path_LD
13941 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13942 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13944 $as_unset lt_cv_prog_gnu_ld
13946 if test -n "${lt_cv_path_LDCXX+set}"; then
13947 lt_cv_path_LD
=$lt_cv_path_LDCXX
13949 $as_unset lt_cv_path_LD
13951 test -z "${LDCXX+set}" || LD
=$LDCXX
13955 for cc_temp
in $compiler""; do
13957 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13958 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13963 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13966 if test -n "$compiler"; then
13967 # We don't want -fno-exception when compiling C++ code, so set the
13968 # no_builtin_flag separately
13969 if test "$GXX" = yes; then
13970 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13972 lt_prog_compiler_no_builtin_flag_CXX
=
13975 if test "$GXX" = yes; then
13976 # Set up default GNU C++ configuration
13980 # Check whether --with-gnu-ld was given.
13981 if test "${with_gnu_ld+set}" = set; then :
13982 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13988 if test "$GCC" = yes; then
13989 # Check if gcc -print-prog-name=ld gives a path.
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13991 $as_echo_n "checking for ld used by $CC... " >&6; }
13994 # gcc leaves a trailing carriage return which upsets mingw
13995 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13997 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14000 # Accept absolute paths.
14002 re_direlt
='/[^/][^/]*/\.\./'
14003 # Canonicalize the pathname of ld
14004 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14005 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
14006 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14008 test -z "$LD" && LD
="$ac_prog"
14011 # If it fails, then pretend we aren't using GCC.
14015 # If it is relative, then search for the first ld in PATH.
14016 with_gnu_ld
=unknown
14019 elif test "$with_gnu_ld" = yes; then
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14021 $as_echo_n "checking for GNU ld... " >&6; }
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14024 $as_echo_n "checking for non-GNU ld... " >&6; }
14026 if test "${lt_cv_path_LD+set}" = set; then :
14027 $as_echo_n "(cached) " >&6
14029 if test -z "$LD"; then
14030 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
14031 for ac_dir
in $PATH; do
14033 test -z "$ac_dir" && ac_dir
=.
14034 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
14035 lt_cv_path_LD
="$ac_dir/$ac_prog"
14036 # Check to see if the program is GNU ld. I'd rather use --version,
14037 # but apparently some variants of GNU ld only accept -v.
14038 # Break only if it was the GNU/non-GNU ld that we prefer.
14039 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14040 *GNU
* |
*'with BFD'*)
14041 test "$with_gnu_ld" != no
&& break
14044 test "$with_gnu_ld" != yes && break
14051 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
14055 LD
="$lt_cv_path_LD"
14056 if test -n "$LD"; then
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14058 $as_echo "$LD" >&6; }
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14061 $as_echo "no" >&6; }
14063 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14065 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14066 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14067 $as_echo_n "(cached) " >&6
14069 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14070 case `$LD -v 2>&1 </dev/null` in
14071 *GNU
* |
*'with BFD'*)
14072 lt_cv_prog_gnu_ld
=yes
14075 lt_cv_prog_gnu_ld
=no
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14080 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14081 with_gnu_ld
=$lt_cv_prog_gnu_ld
14089 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14090 # archiving commands below assume that GNU ld is being used.
14091 if test "$with_gnu_ld" = yes; then
14092 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14093 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'
14095 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14096 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14098 # If archive_cmds runs LD, not CC, wlarc should be empty
14099 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14100 # investigate it a little bit more. (MM)
14103 # ancient GNU ld didn't support --whole-archive et. al.
14104 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14105 $GREP 'no-whole-archive' > /dev
/null
; then
14106 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14108 whole_archive_flag_spec_CXX
=
14114 # A generic and very simple default shared library creation
14115 # command for GNU C++ for the case where it uses the native
14116 # linker, instead of GNU ld. If possible, this setting should
14117 # overridden to take advantage of the native linker features on
14118 # the platform it is being used on.
14119 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14122 # Commands to make compiler produce verbose output that lists
14123 # what "hidden" libraries, object files and flags are used when
14124 # linking a shared library.
14125 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
14133 # PORTME: fill in a description of your system's C++ link characteristics
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14135 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14139 # FIXME: insert proper C++ library support
14143 if test "$host_cpu" = ia64
; then
14144 # On IA64, the linker does run time linking by default, so we don't
14145 # have to do anything special.
14146 aix_use_runtimelinking
=no
14147 exp_sym_flag
='-Bexport'
14150 aix_use_runtimelinking
=no
14152 # Test if we are trying to use run time linking or normal
14153 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14154 # need to do runtime linking.
14155 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14156 for ld_flag
in $LDFLAGS; do
14159 aix_use_runtimelinking
=yes
14167 exp_sym_flag
='-bexport'
14168 no_entry_flag
='-bnoentry'
14171 # When large executables or shared objects are built, AIX ld can
14172 # have problems creating the table of contents. If linking a library
14173 # or program results in "error TOC overflow" add -mminimal-toc to
14174 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14175 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14177 archive_cmds_CXX
=''
14178 hardcode_direct_CXX
=yes
14179 hardcode_direct_absolute_CXX
=yes
14180 hardcode_libdir_separator_CXX
=':'
14181 link_all_deplibs_CXX
=yes
14182 file_list_spec_CXX
='${wl}-f,'
14184 if test "$GXX" = yes; then
14185 case $host_os in aix4.
[012]|aix4.
[012].
*)
14186 # We only want to do this on AIX 4.2 and lower, the check
14187 # below for broken collect2 doesn't work under 4.3+
14188 collect2name
=`${CC} -print-prog-name=collect2`
14189 if test -f "$collect2name" &&
14190 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14192 # We have reworked collect2
14195 # We have old collect2
14196 hardcode_direct_CXX
=unsupported
14197 # It fails to find uninstalled libraries when the uninstalled
14198 # path is not listed in the libpath. Setting hardcode_minus_L
14199 # to unsupported forces relinking
14200 hardcode_minus_L_CXX
=yes
14201 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14202 hardcode_libdir_separator_CXX
=
14205 shared_flag
='-shared'
14206 if test "$aix_use_runtimelinking" = yes; then
14207 shared_flag
="$shared_flag "'${wl}-G'
14211 if test "$host_cpu" = ia64
; then
14212 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14213 # chokes on -Wl,-G. The following line is correct:
14216 if test "$aix_use_runtimelinking" = yes; then
14217 shared_flag
='${wl}-G'
14219 shared_flag
='${wl}-bM:SRE'
14224 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14225 # It seems that -bexpall does not export symbols beginning with
14226 # underscore (_), so it is better to generate a list of symbols to
14228 always_export_symbols_CXX
=yes
14229 if test "$aix_use_runtimelinking" = yes; then
14230 # Warning - without using the other runtime loading flags (-brtl),
14231 # -berok will link without error, but may produce a broken library.
14232 allow_undefined_flag_CXX
='-berok'
14233 # Determine the default libpath from the value encoded in an empty
14235 if test x
$gcc_no_link = xyes
; then
14236 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14249 if ac_fn_cxx_try_link
"$LINENO"; then :
14251 lt_aix_libpath_sed
='
14252 /Import File Strings/,/^$/ {
14258 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14259 # Check for a 64-bit object if we didn't find anything.
14260 if test -z "$aix_libpath"; then
14261 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14264 rm -f core conftest.err conftest.
$ac_objext \
14265 conftest
$ac_exeext conftest.
$ac_ext
14266 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14268 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14270 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14272 if test "$host_cpu" = ia64
; then
14273 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14274 allow_undefined_flag_CXX
="-z nodefs"
14275 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"
14277 # Determine the default libpath from the value encoded in an
14278 # empty executable.
14279 if test x
$gcc_no_link = xyes
; then
14280 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14293 if ac_fn_cxx_try_link
"$LINENO"; then :
14295 lt_aix_libpath_sed
='
14296 /Import File Strings/,/^$/ {
14302 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14303 # Check for a 64-bit object if we didn't find anything.
14304 if test -z "$aix_libpath"; then
14305 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14308 rm -f core conftest.err conftest.
$ac_objext \
14309 conftest
$ac_exeext conftest.
$ac_ext
14310 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14312 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14313 # Warning - without using the other run time loading flags,
14314 # -berok will link without error, but may produce a broken library.
14315 no_undefined_flag_CXX
=' ${wl}-bernotok'
14316 allow_undefined_flag_CXX
=' ${wl}-berok'
14317 # Exported symbols can be pulled into shared objects from archives
14318 whole_archive_flag_spec_CXX
='$convenience'
14319 archive_cmds_need_lc_CXX
=yes
14320 # This is similar to how AIX traditionally builds its shared
14322 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'
14328 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14329 allow_undefined_flag_CXX
=unsupported
14330 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14331 # support --undefined. This deserves some investigation. FIXME
14332 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14339 case $cc_basename in
14341 # FIXME: insert proper C++ library support
14347 cygwin
* | mingw
* | pw32
* | cegcc
*)
14348 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14349 # as there is no search path for DLLs.
14350 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14351 allow_undefined_flag_CXX
=unsupported
14352 always_export_symbols_CXX
=no
14353 enable_shared_with_static_runtimes_CXX
=yes
14355 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14356 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'
14357 # If the export-symbols file already is a .def file (1st line
14358 # is EXPORTS), use it as is; otherwise, prepend...
14359 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14360 cp $export_symbols $output_objdir/$soname.def;
14362 echo EXPORTS > $output_objdir/$soname.def;
14363 cat $export_symbols >> $output_objdir/$soname.def;
14365 $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'
14370 darwin
* | rhapsody
*)
14373 archive_cmds_need_lc_CXX
=no
14374 hardcode_direct_CXX
=no
14375 hardcode_automatic_CXX
=yes
14376 hardcode_shlibpath_var_CXX
=unsupported
14377 whole_archive_flag_spec_CXX
=''
14378 link_all_deplibs_CXX
=yes
14379 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14380 case $cc_basename in
14381 ifort
*) _lt_dar_can_shared
=yes ;;
14382 *) _lt_dar_can_shared
=$GCC ;;
14384 if test "$_lt_dar_can_shared" = "yes"; then
14385 output_verbose_link_cmd
=echo
14386 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}"
14387 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14388 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}"
14389 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}"
14390 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14391 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}"
14392 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}"
14402 case $cc_basename in
14404 # FIXME: insert proper C++ library support
14408 # Green Hills C++ Compiler
14409 # FIXME: insert proper C++ library support
14413 # FIXME: insert proper C++ library support
14420 # C++ shared libraries reported to be fairly broken before
14426 archive_cmds_need_lc_CXX
=no
14429 freebsd
* | dragonfly
*)
14430 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14439 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14440 hardcode_libdir_separator_CXX
=:
14441 export_dynamic_flag_spec_CXX
='${wl}-E'
14442 hardcode_direct_CXX
=yes
14443 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14444 # but as the default
14445 # location of the library.
14447 case $cc_basename in
14449 # FIXME: insert proper C++ library support
14453 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'
14454 # Commands to make compiler produce verbose output that lists
14455 # what "hidden" libraries, object files and flags are used when
14456 # linking a shared library.
14458 # There doesn't appear to be a way to prevent this compiler from
14459 # explicitly linking system object files so we need to strip them
14460 # from the output so that they don't get included in the library
14462 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; $ECHO "X$list" | $Xsed'
14465 if test "$GXX" = yes; then
14466 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'
14468 # FIXME: insert proper C++ library support
14476 if test $with_gnu_ld = no
; then
14477 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14478 hardcode_libdir_separator_CXX
=:
14484 export_dynamic_flag_spec_CXX
='${wl}-E'
14490 hardcode_direct_CXX
=no
14491 hardcode_shlibpath_var_CXX
=no
14494 hardcode_direct_CXX
=yes
14495 hardcode_direct_absolute_CXX
=yes
14496 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14497 # but as the default
14498 # location of the library.
14502 case $cc_basename in
14504 # FIXME: insert proper C++ library support
14510 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14513 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14516 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14519 # Commands to make compiler produce verbose output that lists
14520 # what "hidden" libraries, object files and flags are used when
14521 # linking a shared library.
14523 # There doesn't appear to be a way to prevent this compiler from
14524 # explicitly linking system object files so we need to strip them
14525 # from the output so that they don't get included in the library
14527 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; $ECHO "X$list" | $Xsed'
14530 if test "$GXX" = yes; then
14531 if test $with_gnu_ld = no
; then
14534 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14537 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14540 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'
14545 # FIXME: insert proper C++ library support
14553 hardcode_direct_CXX
=no
14554 hardcode_shlibpath_var_CXX
=no
14555 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14556 export_dynamic_flag_spec_CXX
='${wl}-E'
14557 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14558 # Instead, shared libraries are loaded at an image base (0x10000000 by
14559 # default) and relocated if they conflict, which is a slow very memory
14560 # consuming and fragmenting process. To avoid this, we pick a random,
14561 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14562 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14563 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'
14564 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'
14567 case $cc_basename in
14570 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14572 # Archives containing C++ object files must be created using
14573 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14574 # necessary to make sure instantiated templates are included
14576 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14579 if test "$GXX" = yes; then
14580 if test "$with_gnu_ld" = no
; then
14581 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14583 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
14586 link_all_deplibs_CXX
=yes
14589 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14590 hardcode_libdir_separator_CXX
=:
14591 inherit_rpath_CXX
=yes
14594 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14595 case $cc_basename in
14597 # Kuck and Associates, Inc. (KAI) C++ Compiler
14599 # KCC will only create a shared library if the output file
14600 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14601 # to its proper name (with version) after linking.
14602 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'
14603 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'
14604 # Commands to make compiler produce verbose output that lists
14605 # what "hidden" libraries, object files and flags are used when
14606 # linking a shared library.
14608 # There doesn't appear to be a way to prevent this compiler from
14609 # explicitly linking system object files so we need to strip them
14610 # from the output so that they don't get included in the library
14612 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; $ECHO "X$list" | $Xsed'
14614 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14615 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14617 # Archives containing C++ object files must be created using
14618 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14619 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14624 # version 8.0 and above of icpc choke on multiply defined symbols
14625 # if we add $predep_objects and $postdep_objects, however 7.1 and
14626 # earlier do not add the objects themselves.
14627 case `$CC -V 2>&1` in
14629 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14630 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'
14632 *) # Version 8.0 or newer
14635 ia64
*) tmp_idyn
=' -i_dynamic';;
14637 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14638 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'
14641 archive_cmds_need_lc_CXX
=no
14642 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14643 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14644 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14647 # Portland Group C++ compiler
14649 *pgCC\
[1-5]* |
*pgcpp\
[1-5]*)
14650 prelink_cmds_CXX
='tpldir=Template.dir~
14652 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14653 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14654 old_archive_cmds_CXX
='tpldir=Template.dir~
14656 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14657 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14659 archive_cmds_CXX
='tpldir=Template.dir~
14661 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14662 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14663 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14665 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14666 $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'
14668 *) # Version 6 will use weak symbols
14669 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14670 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'
14674 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14675 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14676 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14680 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14681 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'
14683 runpath_var
=LD_RUN_PATH
14684 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14685 hardcode_libdir_separator_CXX
=:
14687 # Commands to make compiler produce verbose output that lists
14688 # what "hidden" libraries, object files and flags are used when
14689 # linking a shared library.
14691 # There doesn't appear to be a way to prevent this compiler from
14692 # explicitly linking system object files so we need to strip them
14693 # from the output so that they don't get included in the library
14695 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14698 # IBM XL 8.0 on PPC, with GNU ld
14699 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14700 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14701 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14702 if test "x$supports_anon_versioning" = xyes
; then
14703 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14704 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14705 echo "local: *; };" >> $output_objdir/$libname.ver~
14706 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14710 case `$CC -V 2>&1 | sed 5q` in
14713 no_undefined_flag_CXX
=' -zdefs'
14714 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14715 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'
14716 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14717 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14718 compiler_needs_object_CXX
=yes
14720 # Not sure whether something based on
14721 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14723 output_verbose_link_cmd
='echo'
14725 # Archives containing C++ object files must be created using
14726 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14727 # necessary to make sure instantiated templates are included
14729 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14737 # FIXME: insert proper C++ library support
14742 # FIXME: insert proper C++ library support
14747 case $cc_basename in
14749 # FIXME: insert proper C++ library support
14753 # FIXME: insert proper C++ library support
14760 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14761 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14763 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14764 hardcode_direct_CXX
=yes
14765 hardcode_shlibpath_var_CXX
=no
14767 # Workaround some broken pre-1.5 toolchains
14768 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14776 # C++ shared libraries are fairly broken
14781 if test -f /usr
/libexec
/ld.so
; then
14782 hardcode_direct_CXX
=yes
14783 hardcode_shlibpath_var_CXX
=no
14784 hardcode_direct_absolute_CXX
=yes
14785 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14786 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14787 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14788 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14789 export_dynamic_flag_spec_CXX
='${wl}-E'
14790 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14792 output_verbose_link_cmd
=echo
14798 osf3
* | osf4
* | osf5
*)
14799 case $cc_basename in
14801 # Kuck and Associates, Inc. (KAI) C++ Compiler
14803 # KCC will only create a shared library if the output file
14804 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14805 # to its proper name (with version) after linking.
14806 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'
14808 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14809 hardcode_libdir_separator_CXX
=:
14811 # Archives containing C++ object files must be created using
14812 # the KAI C++ compiler.
14814 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14815 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14819 # Rational C++ 2.4.1
14820 # FIXME: insert proper C++ library support
14826 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14827 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14828 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14831 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14832 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14833 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14834 echo "-hidden">> $lib.exp~
14835 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
14837 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14841 hardcode_libdir_separator_CXX
=:
14843 # Commands to make compiler produce verbose output that lists
14844 # what "hidden" libraries, object files and flags are used when
14845 # linking a shared library.
14847 # There doesn't appear to be a way to prevent this compiler from
14848 # explicitly linking system object files so we need to strip them
14849 # from the output so that they don't get included in the library
14851 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14854 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14855 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14858 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14861 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" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14865 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14866 hardcode_libdir_separator_CXX
=:
14868 # Commands to make compiler produce verbose output that lists
14869 # what "hidden" libraries, object files and flags are used when
14870 # linking a shared library.
14871 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
14874 # FIXME: insert proper C++ library support
14882 # FIXME: insert proper C++ library support
14887 case $cc_basename in
14890 # FIXME: insert proper C++ library support
14895 # FIXME: insert proper C++ library support
14899 # FIXME: insert proper C++ library support
14906 case $cc_basename in
14908 # Sun C++ 4.2, 5.x and Centerline C++
14909 archive_cmds_need_lc_CXX
=yes
14910 no_undefined_flag_CXX
=' -zdefs'
14911 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14912 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14913 $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'
14915 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14916 hardcode_shlibpath_var_CXX
=no
14918 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14920 # The compiler driver will combine and reorder linker options,
14921 # but understands `-z linker_flag'.
14922 # Supported since Solaris 2.6 (maybe 2.5.1?)
14923 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14926 link_all_deplibs_CXX
=yes
14928 output_verbose_link_cmd
='echo'
14930 # Archives containing C++ object files must be created using
14931 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14932 # necessary to make sure instantiated templates are included
14934 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14937 # Green Hills C++ Compiler
14938 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14940 # The C++ compiler must be used to create the archive.
14941 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14944 # GNU C++ compiler with Solaris linker
14945 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14946 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14947 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14948 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14949 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14950 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14952 # Commands to make compiler produce verbose output that lists
14953 # what "hidden" libraries, object files and flags are used when
14954 # linking a shared library.
14955 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
14957 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14959 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14960 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14961 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14963 # Commands to make compiler produce verbose output that lists
14964 # what "hidden" libraries, object files and flags are used when
14965 # linking a shared library.
14966 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
14969 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14971 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14973 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14981 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14982 no_undefined_flag_CXX
='${wl}-z,text'
14983 archive_cmds_need_lc_CXX
=no
14984 hardcode_shlibpath_var_CXX
=no
14985 runpath_var
='LD_RUN_PATH'
14987 case $cc_basename in
14989 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14990 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14993 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14994 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14999 sysv5
* | sco3.2v5
* | sco5v6
*)
15000 # Note: We can NOT use -z defs as we might desire, because we do not
15001 # link with -lc, and that would cause any symbols used from libc to
15002 # always be unresolved, which means just about no library would
15003 # ever link correctly. If we're not using GNU ld we use -z text
15004 # though, which does catch some bad symbols but isn't as heavy-handed
15006 no_undefined_flag_CXX
='${wl}-z,text'
15007 allow_undefined_flag_CXX
='${wl}-z,nodefs'
15008 archive_cmds_need_lc_CXX
=no
15009 hardcode_shlibpath_var_CXX
=no
15010 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
15011 hardcode_libdir_separator_CXX
=':'
15012 link_all_deplibs_CXX
=yes
15013 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
15014 runpath_var
='LD_RUN_PATH'
15016 case $cc_basename in
15018 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15019 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15022 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15023 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15029 case $cc_basename in
15031 # NonStop-UX NCC 3.20
15032 # FIXME: insert proper C++ library support
15036 # FIXME: insert proper C++ library support
15043 # FIXME: insert proper C++ library support
15048 # FIXME: insert proper C++ library support
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15054 $as_echo "$ld_shlibs_CXX" >&6; }
15055 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15061 ## There is no encapsulation within the following macros, do not change
15062 ## the running order or otherwise move them around unless you know exactly
15063 ## what you are doing...
15064 # Dependencies to place before and after the object being linked:
15065 predep_objects_CXX
=
15066 postdep_objects_CXX
=
15069 compiler_lib_search_path_CXX
=
15071 cat > conftest.
$ac_ext <<_LT_EOF
15075 Foo (void) { a = 0; }
15081 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15082 (eval $ac_compile) 2>&5
15084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15085 test $ac_status = 0; }; then
15086 # Parse the compiler output and extract the necessary
15087 # objects, libraries and library flags.
15089 # Sentinel used to keep track of whether or not we are before
15090 # the conftest object file.
15091 pre_test_object_deps_done
=no
15093 for p
in `eval "$output_verbose_link_cmd"`; do
15097 # Some compilers place space between "-{L,R}" and the path.
15098 # Remove the space.
15099 if test $p = "-L" ||
15100 test $p = "-R"; then
15107 if test "$pre_test_object_deps_done" = no
; then
15110 # Internal compiler library paths should come after those
15111 # provided the user. The postdeps already come after the
15112 # user supplied libs so there is no need to process them.
15113 if test -z "$compiler_lib_search_path_CXX"; then
15114 compiler_lib_search_path_CXX
="${prev}${p}"
15116 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
15119 # The "-l" case would never come before the object being
15120 # linked, so don't bother handling this case.
15123 if test -z "$postdeps_CXX"; then
15124 postdeps_CXX
="${prev}${p}"
15126 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
15132 # This assumes that the test object file only shows up
15133 # once in the compiler output.
15134 if test "$p" = "conftest.$objext"; then
15135 pre_test_object_deps_done
=yes
15139 if test "$pre_test_object_deps_done" = no
; then
15140 if test -z "$predep_objects_CXX"; then
15141 predep_objects_CXX
="$p"
15143 predep_objects_CXX
="$predep_objects_CXX $p"
15146 if test -z "$postdep_objects_CXX"; then
15147 postdep_objects_CXX
="$p"
15149 postdep_objects_CXX
="$postdep_objects_CXX $p"
15154 *) ;; # Ignore the rest.
15162 echo "libtool.m4: error: problem compiling CXX test program"
15165 $RM -f confest.
$objext
15167 # PORTME: override above test on systems where it is broken
15170 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15171 # hack all around it, let's just trust "g++" to DTRT.
15172 predep_objects_CXX
=
15173 postdep_objects_CXX
=
15178 case `$CC -V 2>&1 | sed 5q` in
15182 # The more standards-conforming stlport4 library is
15183 # incompatible with the Cstd library. Avoid specifying
15184 # it if it's in CXXFLAGS. Ignore libCrun as
15185 # -library=stlport4 depends on it.
15186 case " $CXX $CXXFLAGS " in
15187 *" -library=stlport4 "*)
15188 solaris_use_stlport4
=yes
15192 if test "$solaris_use_stlport4" != yes; then
15193 postdeps_CXX
='-library=Cstd -library=Crun'
15200 case $cc_basename in
15202 # The more standards-conforming stlport4 library is
15203 # incompatible with the Cstd library. Avoid specifying
15204 # it if it's in CXXFLAGS. Ignore libCrun as
15205 # -library=stlport4 depends on it.
15206 case " $CXX $CXXFLAGS " in
15207 *" -library=stlport4 "*)
15208 solaris_use_stlport4
=yes
15212 # Adding this requires a known-good setup of shared libraries for
15213 # Sun compiler versions before 5.6, else PIC objects from an old
15214 # archive will be linked into the output, leading to subtle bugs.
15215 if test "$solaris_use_stlport4" != yes; then
15216 postdeps_CXX
='-library=Cstd -library=Crun'
15224 case " $postdeps_CXX " in
15225 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15227 compiler_lib_search_dirs_CXX
=
15228 if test -n "${compiler_lib_search_path_CXX}"; then
15229 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15262 lt_prog_compiler_wl_CXX
=
15263 lt_prog_compiler_pic_CXX
=
15264 lt_prog_compiler_static_CXX
=
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15267 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15269 # C++ specific cases for pic, static, wl, etc.
15270 if test "$GXX" = yes; then
15271 lt_prog_compiler_wl_CXX
='-Wl,'
15272 lt_prog_compiler_static_CXX
='-static'
15276 # All AIX code is PIC.
15277 if test "$host_cpu" = ia64
; then
15278 # AIX 5 now supports IA64 processor
15279 lt_prog_compiler_static_CXX
='-Bstatic'
15286 # see comment about AmigaOS4 .so support
15287 lt_prog_compiler_pic_CXX
='-fPIC'
15290 # FIXME: we need at least 68020 code to build shared libraries, but
15291 # adding the `-m68020' flag to GCC prevents building anything better,
15293 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15298 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15299 # PIC is the default for these OSes.
15301 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15302 # This hack is so that the source file can tell whether it is being
15303 # built for inclusion in a dll (and should export symbols for example).
15304 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15305 # (--disable-auto-import) libraries
15306 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15308 darwin
* | rhapsody
*)
15309 # PIC is the default on this platform
15310 # Common symbols not allowed in MH_DYLIB files
15311 lt_prog_compiler_pic_CXX
='-fno-common'
15314 # DJGPP does not support shared libraries at all
15315 lt_prog_compiler_pic_CXX
=
15318 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15319 # Instead, we relocate shared libraries at runtime.
15322 if test -d /usr
/nec
; then
15323 lt_prog_compiler_pic_CXX
=-Kconform_pic
15327 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15328 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15329 # sets the default TLS model and affects inlining.
15334 lt_prog_compiler_pic_CXX
='-fPIC'
15339 # QNX uses GNU C++, but need to define -shared option too, otherwise
15340 # it will coredump.
15341 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15344 lt_prog_compiler_pic_CXX
='-fPIC'
15350 # All AIX code is PIC.
15351 if test "$host_cpu" = ia64
; then
15352 # AIX 5 now supports IA64 processor
15353 lt_prog_compiler_static_CXX
='-Bstatic'
15355 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15359 case $cc_basename in
15361 # Green Hills C++ Compiler
15362 # _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"
15367 case $cc_basename in
15369 lt_prog_compiler_pic_CXX
='-KPIC'
15372 # Green Hills C++ Compiler
15373 lt_prog_compiler_pic_CXX
='-pic'
15379 freebsd
* | dragonfly
*)
15380 # FreeBSD uses GNU C++
15382 hpux9
* | hpux10
* | hpux11
*)
15383 case $cc_basename in
15385 lt_prog_compiler_wl_CXX
='-Wl,'
15386 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15387 if test "$host_cpu" != ia64
; then
15388 lt_prog_compiler_pic_CXX
='+Z'
15392 lt_prog_compiler_wl_CXX
='-Wl,'
15393 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15399 lt_prog_compiler_pic_CXX
='+Z'
15408 # This is c89, which is MS Visual C++ (no shared libs)
15409 # Anyone wants to do a port?
15411 irix5
* | irix6
* | nonstopux
*)
15412 case $cc_basename in
15414 lt_prog_compiler_wl_CXX
='-Wl,'
15415 lt_prog_compiler_static_CXX
='-non_shared'
15416 # CC pic flag -KPIC is the default.
15422 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15423 case $cc_basename in
15426 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15427 lt_prog_compiler_pic_CXX
='-fPIC'
15430 # old Intel C++ for x86_64 which still supported -KPIC.
15431 lt_prog_compiler_wl_CXX
='-Wl,'
15432 lt_prog_compiler_pic_CXX
='-KPIC'
15433 lt_prog_compiler_static_CXX
='-static'
15436 # Intel C++, used to be incompatible with GCC.
15437 # ICC 10 doesn't accept -KPIC any more.
15438 lt_prog_compiler_wl_CXX
='-Wl,'
15439 lt_prog_compiler_pic_CXX
='-fPIC'
15440 lt_prog_compiler_static_CXX
='-static'
15443 # Portland Group C++ compiler
15444 lt_prog_compiler_wl_CXX
='-Wl,'
15445 lt_prog_compiler_pic_CXX
='-fpic'
15446 lt_prog_compiler_static_CXX
='-Bstatic'
15450 # Make sure the PIC flag is empty. It appears that all Alpha
15451 # Linux and Compaq Tru64 Unix objects are PIC.
15452 lt_prog_compiler_pic_CXX
=
15453 lt_prog_compiler_static_CXX
='-non_shared'
15456 # IBM XL 8.0 on PPC
15457 lt_prog_compiler_wl_CXX
='-Wl,'
15458 lt_prog_compiler_pic_CXX
='-qpic'
15459 lt_prog_compiler_static_CXX
='-qstaticlink'
15462 case `$CC -V 2>&1 | sed 5q` in
15465 lt_prog_compiler_pic_CXX
='-KPIC'
15466 lt_prog_compiler_static_CXX
='-Bstatic'
15467 lt_prog_compiler_wl_CXX
='-Qoption ld '
15478 case $cc_basename in
15480 lt_prog_compiler_pic_CXX
='-W c,exportall'
15489 # QNX uses GNU C++, but need to define -shared option too, otherwise
15490 # it will coredump.
15491 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15493 osf3
* | osf4
* | osf5
*)
15494 case $cc_basename in
15496 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15499 # Rational C++ 2.4.1
15500 lt_prog_compiler_pic_CXX
='-pic'
15503 # Digital/Compaq C++
15504 lt_prog_compiler_wl_CXX
='-Wl,'
15505 # Make sure the PIC flag is empty. It appears that all Alpha
15506 # Linux and Compaq Tru64 Unix objects are PIC.
15507 lt_prog_compiler_pic_CXX
=
15508 lt_prog_compiler_static_CXX
='-non_shared'
15517 case $cc_basename in
15519 # Sun C++ 4.2, 5.x and Centerline C++
15520 lt_prog_compiler_pic_CXX
='-KPIC'
15521 lt_prog_compiler_static_CXX
='-Bstatic'
15522 lt_prog_compiler_wl_CXX
='-Qoption ld '
15525 # Green Hills C++ Compiler
15526 lt_prog_compiler_pic_CXX
='-PIC'
15533 case $cc_basename in
15536 lt_prog_compiler_pic_CXX
='-pic'
15537 lt_prog_compiler_static_CXX
='-Bstatic'
15541 lt_prog_compiler_pic_CXX
='-pic'
15547 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15548 case $cc_basename in
15550 lt_prog_compiler_wl_CXX
='-Wl,'
15551 lt_prog_compiler_pic_CXX
='-KPIC'
15552 lt_prog_compiler_static_CXX
='-Bstatic'
15557 case $cc_basename in
15559 # NonStop-UX NCC 3.20
15560 lt_prog_compiler_pic_CXX
='-KPIC'
15569 lt_prog_compiler_can_build_shared_CXX
=no
15575 # For platforms which do not support PIC, -DPIC is meaningless:
15577 lt_prog_compiler_pic_CXX
=
15580 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15584 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15589 # Check to make sure the PIC flag actually works.
15591 if test -n "$lt_prog_compiler_pic_CXX"; then
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15593 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15594 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15595 $as_echo_n "(cached) " >&6
15597 lt_cv_prog_compiler_pic_works_CXX
=no
15598 ac_outfile
=conftest.
$ac_objext
15599 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15600 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15601 # Insert the option either (1) after the last *FLAGS variable, or
15602 # (2) before a word containing "conftest.", or (3) at the end.
15603 # Note that $ac_compile itself does not contain backslashes and begins
15604 # with a dollar sign (not a hyphen), so the echo should work correctly.
15605 # The option is referenced via a variable to avoid confusing sed.
15606 lt_compile
=`echo "$ac_compile" | $SED \
15607 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15608 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15609 -e 's:$: $lt_compiler_flag:'`
15610 (eval echo "\"\$as_me:15610: $lt_compile\"" >&5)
15611 (eval "$lt_compile" 2>conftest.err
)
15613 cat conftest.err
>&5
15614 echo "$as_me:15614: \$? = $ac_status" >&5
15615 if (exit $ac_status) && test -s "$ac_outfile"; then
15616 # The compiler can only warn and ignore the option if not recognized
15617 # So say no if there are warnings other than the usual output.
15618 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15619 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15620 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15621 lt_cv_prog_compiler_pic_works_CXX
=yes
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15628 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15630 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15631 case $lt_prog_compiler_pic_CXX in
15633 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15636 lt_prog_compiler_pic_CXX
=
15637 lt_prog_compiler_can_build_shared_CXX
=no
15645 # Check to make sure the static flag actually works.
15647 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15649 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15650 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15651 $as_echo_n "(cached) " >&6
15653 lt_cv_prog_compiler_static_works_CXX
=no
15654 save_LDFLAGS
="$LDFLAGS"
15655 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15656 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15657 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15658 # The linker can only warn and ignore the option if not recognized
15659 # So say no if there are warnings
15660 if test -s conftest.err
; then
15661 # Append any errors to the config.log.
15662 cat conftest.err
1>&5
15663 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15664 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15665 if diff conftest.exp conftest.er2
>/dev
/null
; then
15666 lt_cv_prog_compiler_static_works_CXX
=yes
15669 lt_cv_prog_compiler_static_works_CXX
=yes
15673 LDFLAGS
="$save_LDFLAGS"
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15677 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15679 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15682 lt_prog_compiler_static_CXX
=
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15689 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15690 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15691 $as_echo_n "(cached) " >&6
15693 lt_cv_prog_compiler_c_o_CXX
=no
15694 $RM -r conftest
2>/dev
/null
15698 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15700 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15701 # Insert the option either (1) after the last *FLAGS variable, or
15702 # (2) before a word containing "conftest.", or (3) at the end.
15703 # Note that $ac_compile itself does not contain backslashes and begins
15704 # with a dollar sign (not a hyphen), so the echo should work correctly.
15705 lt_compile
=`echo "$ac_compile" | $SED \
15706 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15707 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15708 -e 's:$: $lt_compiler_flag:'`
15709 (eval echo "\"\$as_me:15709: $lt_compile\"" >&5)
15710 (eval "$lt_compile" 2>out
/conftest.err
)
15712 cat out
/conftest.err
>&5
15713 echo "$as_me:15713: \$? = $ac_status" >&5
15714 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15716 # The compiler can only warn and ignore the option if not recognized
15717 # So say no if there are warnings
15718 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15719 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15720 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15721 lt_cv_prog_compiler_c_o_CXX
=yes
15726 # SGI C++ compiler will create directory out/ii_files/ for
15727 # template instantiation
15728 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15729 $RM out
/* && rmdir out
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15736 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15741 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15742 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15743 $as_echo_n "(cached) " >&6
15745 lt_cv_prog_compiler_c_o_CXX
=no
15746 $RM -r conftest
2>/dev
/null
15750 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15752 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15753 # Insert the option either (1) after the last *FLAGS variable, or
15754 # (2) before a word containing "conftest.", or (3) at the end.
15755 # Note that $ac_compile itself does not contain backslashes and begins
15756 # with a dollar sign (not a hyphen), so the echo should work correctly.
15757 lt_compile
=`echo "$ac_compile" | $SED \
15758 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15759 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15760 -e 's:$: $lt_compiler_flag:'`
15761 (eval echo "\"\$as_me:15761: $lt_compile\"" >&5)
15762 (eval "$lt_compile" 2>out
/conftest.err
)
15764 cat out
/conftest.err
>&5
15765 echo "$as_me:15765: \$? = $ac_status" >&5
15766 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15768 # The compiler can only warn and ignore the option if not recognized
15769 # So say no if there are warnings
15770 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15771 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15772 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15773 lt_cv_prog_compiler_c_o_CXX
=yes
15778 # SGI C++ compiler will create directory out/ii_files/ for
15779 # template instantiation
15780 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15781 $RM out
/* && rmdir out
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15788 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15793 hard_links
="nottested"
15794 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15795 # do not overwrite the value of need_locks provided by the user
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15797 $as_echo_n "checking if we can lock with hard links... " >&6; }
15800 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15802 ln conftest.a conftest.b
2>&5 || hard_links
=no
15803 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15805 $as_echo "$hard_links" >&6; }
15806 if test "$hard_links" = no
; then
15807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15808 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15818 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15820 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15823 # If we're using GNU nm, then we don't want the "-C" option.
15824 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15825 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15826 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15828 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'
15832 export_symbols_cmds_CXX
="$ltdll_cmds"
15834 cygwin
* | mingw
* | cegcc
*)
15835 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'
15838 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15841 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15844 $as_echo "$ld_shlibs_CXX" >&6; }
15845 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15847 with_gnu_ld_CXX
=$with_gnu_ld
15855 # Do we need to explicitly link libc?
15857 case "x$archive_cmds_need_lc_CXX" in
15859 # Assume -lc should be added
15860 archive_cmds_need_lc_CXX
=yes
15862 if test "$enable_shared" = yes && test "$GCC" = yes; then
15863 case $archive_cmds_CXX in
15865 # FIXME: we may have to deal with multi-command sequences.
15868 # Test whether the compiler implicitly links with -lc since on some
15869 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15870 # to ld, don't add -lc before -lgcc.
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15872 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15873 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15874 $as_echo_n "(cached) " >&6
15877 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15880 (eval $ac_compile) 2>&5
15882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15883 test $ac_status = 0; } 2>conftest.err
; then
15886 libobjs
=conftest.
$ac_objext
15888 wl
=$lt_prog_compiler_wl_CXX
15889 pic_flag
=$lt_prog_compiler_pic_CXX
15895 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15896 allow_undefined_flag_CXX
=
15897 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15898 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15901 test $ac_status = 0; }
15903 lt_cv_archive_cmds_need_lc_CXX
=no
15905 lt_cv_archive_cmds_need_lc_CXX
=yes
15907 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15909 cat conftest.err
1>&5
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15915 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15916 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15987 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15989 library_names_spec
=
15990 libname_spec
='lib$name'
15994 postuninstall_cmds
=
15998 shlibpath_overrides_runpath
=unknown
16000 dynamic_linker
="$host_os ld.so"
16001 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16002 need_lib_prefix
=unknown
16003 hardcode_into_libs
=no
16005 # when you set need_version to no, make sure it does not cause -set_version
16006 # flags to be left without arguments
16007 need_version
=unknown
16012 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16013 shlibpath_var
=LIBPATH
16015 # AIX 3 has no versioning support, so we append a major version to the name.
16016 soname_spec
='${libname}${release}${shared_ext}$major'
16023 hardcode_into_libs
=yes
16024 if test "$host_cpu" = ia64
; then
16025 # AIX 5 supports IA64
16026 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16027 shlibpath_var
=LD_LIBRARY_PATH
16029 # With GCC up to 2.95.x, collect2 would create an import file
16030 # for dependence libraries. The import file would start with
16031 # the line `#! .'. This would cause the generated library to
16032 # depend on `.', always an invalid library. This was fixed in
16033 # development snapshots of GCC prior to 3.0.
16035 aix4 | aix4.
[01] | aix4.
[01].
*)
16036 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16038 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
16041 can_build_shared
=no
16045 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16046 # soname into executable. Probably we can add versioning support to
16047 # collect2, so additional links can be useful in future.
16048 if test "$aix_use_runtimelinking" = yes; then
16049 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16050 # instead of lib<name>.a to let people know that these are not
16051 # typical AIX shared libraries.
16052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16054 # We preserve .a as extension for shared libraries through AIX4.2
16055 # and later when we are not doing run time linking.
16056 library_names_spec
='${libname}${release}.a $libname.a'
16057 soname_spec
='${libname}${release}${shared_ext}$major'
16059 shlibpath_var
=LIBPATH
16066 # Since July 2007 AmigaOS4 officially supports .so libraries.
16067 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16071 library_names_spec
='$libname.ixlibrary $libname.a'
16072 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16073 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'
16079 library_names_spec
='${libname}${shared_ext}'
16080 dynamic_linker
="$host_os ld.so"
16081 shlibpath_var
=LIBRARY_PATH
16087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16088 soname_spec
='${libname}${release}${shared_ext}$major'
16089 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16090 shlibpath_var
=LD_LIBRARY_PATH
16091 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16092 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16093 # the default ld.so.conf also contains /usr/contrib/lib and
16094 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16095 # libtool to hard-code these into programs
16098 cygwin
* | mingw
* | pw32
* | cegcc
*)
16099 version_type
=windows
16104 case $GCC,$host_os in
16105 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
16106 library_names_spec
='$libname.dll.a'
16107 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16108 postinstall_cmds
='base_file=`basename \${file}`~
16109 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16110 dldir=$destdir/`dirname \$dlpath`~
16111 test -d \$dldir || mkdir -p \$dldir~
16112 $install_prog $dir/$dlname \$dldir/$dlname~
16113 chmod a+x \$dldir/$dlname~
16114 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16115 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16117 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16118 dlpath=$dir/\$dldll~
16120 shlibpath_overrides_runpath
=yes
16124 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16125 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16126 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16129 # MinGW DLLs use traditional 'lib' prefix
16130 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16131 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16132 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
16133 # It is most probably a Windows format PATH printed by
16134 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16135 # path with ; separators, and with drive letters. We can handle the
16136 # drive letters (cygwin fileutils understands them), so leave them,
16137 # especially as we might pass files found there to a mingw objdump,
16138 # which wouldn't understand a cygwinified path. Ahh.
16139 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16141 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16145 # pw32 DLLs use 'pw' prefix rather than 'lib'
16146 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16152 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16155 dynamic_linker
='Win32 ld.exe'
16156 # FIXME: first we should search . and the directory the executable is in
16160 darwin
* | rhapsody
*)
16161 dynamic_linker
="$host_os dyld"
16162 version_type
=darwin
16165 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16166 soname_spec
='${libname}${release}${major}$shared_ext'
16167 shlibpath_overrides_runpath
=yes
16168 shlibpath_var
=DYLD_LIBRARY_PATH
16169 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16171 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16179 soname_spec
='${libname}${release}${shared_ext}$major'
16180 shlibpath_var
=LD_LIBRARY_PATH
16187 freebsd
* | dragonfly
*)
16188 # DragonFly does not have aout. When/if they implement a new
16189 # versioning mechanism, adjust this.
16190 if test -x /usr
/bin
/objformat
; then
16191 objformat
=`/usr/bin/objformat`
16194 freebsd
[123]*) objformat
=aout
;;
16195 *) objformat
=elf
;;
16198 version_type
=freebsd-
$objformat
16199 case $version_type in
16201 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16206 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16210 shlibpath_var
=LD_LIBRARY_PATH
16213 shlibpath_overrides_runpath
=yes
16215 freebsd3.
[01]* | freebsdelf3.
[01]*)
16216 shlibpath_overrides_runpath
=yes
16217 hardcode_into_libs
=yes
16219 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16220 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16221 shlibpath_overrides_runpath
=no
16222 hardcode_into_libs
=yes
16224 *) # from 4.6 on, and DragonFly
16225 shlibpath_overrides_runpath
=yes
16226 hardcode_into_libs
=yes
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
=LD_LIBRARY_PATH
16238 hardcode_into_libs
=yes
16241 hpux9
* | hpux10
* | hpux11
*)
16242 # Give a soname corresponding to the major version so that dld.sl refuses to
16243 # link against other versions.
16250 hardcode_into_libs
=yes
16251 dynamic_linker
="$host_os dld.so"
16252 shlibpath_var
=LD_LIBRARY_PATH
16253 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16255 soname_spec
='${libname}${release}${shared_ext}$major'
16256 if test "X$HPUX_IA64_MODE" = X32
; then
16257 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16259 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16261 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16265 hardcode_into_libs
=yes
16266 dynamic_linker
="$host_os dld.sl"
16267 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16268 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16270 soname_spec
='${libname}${release}${shared_ext}$major'
16271 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16272 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16276 dynamic_linker
="$host_os dld.sl"
16277 shlibpath_var
=SHLIB_PATH
16278 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16280 soname_spec
='${libname}${release}${shared_ext}$major'
16283 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16284 postinstall_cmds
='chmod 555 $lib'
16291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16292 soname_spec
='${libname}${release}${shared_ext}$major'
16293 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16294 shlibpath_var
=LD_LIBRARY_PATH
16295 shlibpath_overrides_runpath
=no
16296 hardcode_into_libs
=yes
16299 irix5
* | irix6
* | nonstopux
*)
16301 nonstopux
*) version_type
=nonstopux
;;
16303 if test "$lt_cv_prog_gnu_ld" = yes; then
16311 soname_spec
='${libname}${release}${shared_ext}$major'
16312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16314 irix5
* | nonstopux
*)
16315 libsuff
= shlibsuff
=
16318 case $LD in # libtool.m4 will add one of these switches to LD
16319 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16320 libsuff
= shlibsuff
= libmagic
=32-bit;;
16321 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16322 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16323 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16324 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16325 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16329 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16330 shlibpath_overrides_runpath
=no
16331 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16332 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16333 hardcode_into_libs
=yes
16336 # No shared lib support for Linux oldld, aout, or coff.
16337 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16341 # This must be Linux ELF.
16342 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16347 soname_spec
='${libname}${release}${shared_ext}$major'
16348 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16349 shlibpath_var
=LD_LIBRARY_PATH
16350 shlibpath_overrides_runpath
=no
16352 # Some binutils ld are patched to set DT_RUNPATH
16353 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16354 $as_echo_n "(cached) " >&6
16356 lt_cv_shlibpath_overrides_runpath
=no
16357 save_LDFLAGS
=$LDFLAGS
16358 save_libdir
=$libdir
16359 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16360 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16361 if test x
$gcc_no_link = xyes
; then
16362 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16365 /* end confdefs.h. */
16375 if ac_fn_cxx_try_link
"$LINENO"; then :
16376 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16377 lt_cv_shlibpath_overrides_runpath
=yes
16380 rm -f core conftest.err conftest.
$ac_objext \
16381 conftest
$ac_exeext conftest.
$ac_ext
16382 LDFLAGS
=$save_LDFLAGS
16383 libdir
=$save_libdir
16387 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16389 # This implies no fast_install, which is unacceptable.
16390 # Some rework will be needed to allow for fast_install
16391 # before this can be enabled.
16392 hardcode_into_libs
=yes
16394 # Append ld.so.conf contents to the search path
16395 if test -f /etc
/ld.so.conf
; then
16396 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;/^$/d' | tr '\n' ' '`
16397 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16400 # We used to test for /lib/ld.so.1 and disable shared libraries on
16401 # powerpc, because MkLinux only supported shared libraries with the
16402 # GNU dynamic linker. Since this was broken with cross compilers,
16403 # most powerpc-linux boxes support dynamic linking these days and
16404 # people can always --disable-shared, the test was removed, and we
16405 # assume the GNU/Linux dynamic linker is in use.
16406 dynamic_linker
='GNU/Linux ld.so'
16413 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16415 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16416 dynamic_linker
='NetBSD (a.out) ld.so'
16418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16419 soname_spec
='${libname}${release}${shared_ext}$major'
16420 dynamic_linker
='NetBSD ld.elf_so'
16422 shlibpath_var
=LD_LIBRARY_PATH
16423 shlibpath_overrides_runpath
=yes
16424 hardcode_into_libs
=yes
16429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16430 shlibpath_var
=LD_LIBRARY_PATH
16431 shlibpath_overrides_runpath
=yes
16438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16439 soname_spec
='${libname}${release}${shared_ext}$major'
16440 shlibpath_var
=LD_LIBRARY_PATH
16441 shlibpath_overrides_runpath
=no
16442 hardcode_into_libs
=yes
16443 dynamic_linker
='ldqnx.so'
16448 sys_lib_dlsearch_path_spec
="/usr/lib"
16450 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16452 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16453 *) need_version
=no
;;
16455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16456 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16457 shlibpath_var
=LD_LIBRARY_PATH
16458 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16460 openbsd2.
[89] | openbsd2.
[89].
*)
16461 shlibpath_overrides_runpath
=no
16464 shlibpath_overrides_runpath
=yes
16468 shlibpath_overrides_runpath
=yes
16473 libname_spec
='$name'
16476 library_names_spec
='$libname${shared_ext} $libname.a'
16477 dynamic_linker
='OS/2 ld.exe'
16478 shlibpath_var
=LIBPATH
16481 osf3
* | osf4
* | osf5
*)
16485 soname_spec
='${libname}${release}${shared_ext}$major'
16486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16487 shlibpath_var
=LD_LIBRARY_PATH
16488 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16489 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16501 soname_spec
='${libname}${release}${shared_ext}$major'
16502 shlibpath_var
=LD_LIBRARY_PATH
16503 shlibpath_overrides_runpath
=yes
16504 hardcode_into_libs
=yes
16505 # ldd complains unless libraries are executable
16506 postinstall_cmds
='chmod +x $lib'
16511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16512 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16513 shlibpath_var
=LD_LIBRARY_PATH
16514 shlibpath_overrides_runpath
=yes
16515 if test "$with_gnu_ld" = yes; then
16523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16524 soname_spec
='${libname}${release}${shared_ext}$major'
16525 shlibpath_var
=LD_LIBRARY_PATH
16526 case $host_vendor in
16528 shlibpath_overrides_runpath
=no
16530 runpath_var
=LD_RUN_PATH
16538 shlibpath_overrides_runpath
=no
16539 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16545 if test -d /usr
/nec
;then
16547 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16548 soname_spec
='$libname${shared_ext}.$major'
16549 shlibpath_var
=LD_LIBRARY_PATH
16553 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16554 version_type
=freebsd-elf
16557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16558 soname_spec
='${libname}${release}${shared_ext}$major'
16559 shlibpath_var
=LD_LIBRARY_PATH
16560 shlibpath_overrides_runpath
=yes
16561 hardcode_into_libs
=yes
16562 if test "$with_gnu_ld" = yes; then
16563 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16565 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16568 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16572 sys_lib_dlsearch_path_spec
='/usr/lib'
16576 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16581 shlibpath_var
=LD_LIBRARY_PATH
16582 shlibpath_overrides_runpath
=no
16583 hardcode_into_libs
=yes
16588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16589 soname_spec
='${libname}${release}${shared_ext}$major'
16590 shlibpath_var
=LD_LIBRARY_PATH
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16598 $as_echo "$dynamic_linker" >&6; }
16599 test "$dynamic_linker" = no
&& can_build_shared
=no
16601 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16602 if test "$GCC" = yes; then
16603 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16606 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16607 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16609 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16610 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16649 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16650 hardcode_action_CXX
=
16651 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16652 test -n "$runpath_var_CXX" ||
16653 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16655 # We can hardcode non-existent directories.
16656 if test "$hardcode_direct_CXX" != no
&&
16657 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16658 # have to relink, otherwise we might link with an installed library
16659 # when we should be linking with a yet-to-be-installed one
16660 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16661 test "$hardcode_minus_L_CXX" != no
; then
16662 # Linking always hardcodes the temporary library directory.
16663 hardcode_action_CXX
=relink
16665 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16666 hardcode_action_CXX
=immediate
16669 # We cannot hardcode anything, or else we can only hardcode existing
16671 hardcode_action_CXX
=unsupported
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16674 $as_echo "$hardcode_action_CXX" >&6; }
16676 if test "$hardcode_action_CXX" = relink ||
16677 test "$inherit_rpath_CXX" = yes; then
16678 # Fast installation is not supported
16679 enable_fast_install
=no
16680 elif test "$shlibpath_overrides_runpath" = yes ||
16681 test "$enable_shared" = no
; then
16682 # Fast installation is not necessary
16683 enable_fast_install
=needless
16692 fi # test -n "$compiler"
16698 with_gnu_ld
=$lt_save_with_gnu_ld
16699 lt_cv_path_LDCXX
=$lt_cv_path_LD
16700 lt_cv_path_LD
=$lt_save_path_LD
16701 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16702 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16703 fi # test "$_lt_caught_CXX_error" != yes
16706 ac_cpp
='$CPP $CPPFLAGS'
16707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16723 ac_config_commands
="$ac_config_commands libtool"
16728 # Only expand once:
16734 # Extract the first word of "$ac_prog", so it can be a program name with args.
16735 set dummy
$ac_prog; ac_word
=$2
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16737 $as_echo_n "checking for $ac_word... " >&6; }
16738 if test "${ac_cv_prog_GCJ+set}" = set; then :
16739 $as_echo_n "(cached) " >&6
16741 if test -n "$GCJ"; then
16742 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16745 for as_dir
in $PATH
16748 test -z "$as_dir" && as_dir
=.
16749 for ac_exec_ext
in '' $ac_executable_extensions; do
16750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16751 ac_cv_prog_GCJ
="$ac_prog"
16752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16761 GCJ
=$ac_cv_prog_GCJ
16762 if test -n "$GCJ"; then
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
16764 $as_echo "$GCJ" >&6; }
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16767 $as_echo "no" >&6; }
16771 test -n "$GCJ" && break
16773 test -n "$GCJ" || GCJ
="gcj"
16775 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
16776 if test "x${GCJFLAGS-unset}" = xunset
; then
16781 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16784 $as_echo_n "checking dependency style of $depcc... " >&6; }
16785 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
16786 $as_echo_n "(cached) " >&6
16788 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16789 # We make a subdir and do the tests there. Otherwise we can end up
16790 # making bogus files that we don't know about and never remove. For
16791 # instance it was reported that on HP-UX the gcc test will end up
16792 # making a dummy file named `D' -- because `-MD' means `put the output
16795 # Copy depcomp to subdir because otherwise we won't find it if we're
16796 # using a relative directory.
16797 cp "$am_depcomp" conftest.dir
16799 # We will build objects and dependencies in a subdirectory because
16800 # it helps to detect inapplicable dependency modes. For instance
16801 # both Tru64's cc and ICC support -MD to output dependencies as a
16802 # side effect of compilation, but ICC will put the dependencies in
16803 # the current directory while Tru64 will put them in the object
16807 am_cv_GCJ_dependencies_compiler_type
=none
16808 if test "$am_compiler_list" = ""; then
16809 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16811 am__universal
=false
16814 for depmode
in $am_compiler_list; do
16815 # Setup a source with many dependencies, because some compilers
16816 # like to wrap large dependency lists on column 80 (with \), and
16817 # we should not choose a depcomp mode which is confused by this.
16819 # We need to recreate these files for each test, as the compiler may
16820 # overwrite some of them when testing with obscure command lines.
16821 # This happens at least with the AIX C compiler.
16823 for i
in 1 2 3 4 5 6; do
16824 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
16825 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16826 # Solaris 8's {/usr,}/bin/sh.
16827 touch sub
/conftst
$i.h
16829 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16831 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16832 # mode. It turns out that the SunPro C++ compiler does not properly
16833 # handle `-M -o', and we need to detect this. Also, some Intel
16834 # versions had trouble with output in subdirs
16835 am__obj
=sub
/conftest.
${OBJEXT-o}
16836 am__minus_obj
="-o $am__obj"
16839 # This depmode causes a compiler race in universal mode.
16840 test "$am__universal" = false ||
continue
16843 # after this tag, mechanisms are not by side-effect, so they'll
16844 # only be used when explicitly requested
16845 if test "x$enable_dependency_tracking" = xyes
; then
16851 msvisualcpp | msvcmsys
)
16852 # This compiler won't grok `-c -o', but also, the minuso test has
16853 # not run yet. These depmodes are late enough in the game, and
16854 # so weak that their functioning should not be impacted.
16855 am__obj
=conftest.
${OBJEXT-o}
16860 if depmode
=$depmode \
16861 source=sub
/conftest.c object
=$am__obj \
16862 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
16863 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
16864 >/dev
/null
2>conftest.err
&&
16865 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16866 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16867 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
16868 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
16869 # icc doesn't choke on unknown options, it will just issue warnings
16870 # or remarks (even with -Werror). So we grep stderr for any message
16871 # that says an option was ignored or not supported.
16872 # When given -MP, icc 7.0 and 7.1 complain thusly:
16873 # icc: Command line warning: ignoring option '-M'; no argument required
16874 # The diagnosis changed in icc 8.0:
16875 # icc: Command line remark: option '-MP' not supported
16876 if (grep 'ignoring option' conftest.err ||
16877 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
16878 am_cv_GCJ_dependencies_compiler_type
=$depmode
16885 rm -rf conftest.dir
16887 am_cv_GCJ_dependencies_compiler_type
=none
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
16892 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
16893 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
16896 test "x$enable_dependency_tracking" != xno \
16897 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
16898 am__fastdepGCJ_TRUE
=
16899 am__fastdepGCJ_FALSE
='#'
16901 am__fastdepGCJ_TRUE
='#'
16902 am__fastdepGCJ_FALSE
=
16909 # Extract the first word of "$ac_prog", so it can be a program name with args.
16910 set dummy
$ac_prog; ac_word
=$2
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16912 $as_echo_n "checking for $ac_word... " >&6; }
16913 if test "${ac_cv_prog_GCJ+set}" = set; then :
16914 $as_echo_n "(cached) " >&6
16916 if test -n "$GCJ"; then
16917 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16920 for as_dir
in $PATH
16923 test -z "$as_dir" && as_dir
=.
16924 for ac_exec_ext
in '' $ac_executable_extensions; do
16925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16926 ac_cv_prog_GCJ
="$ac_prog"
16927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16936 GCJ
=$ac_cv_prog_GCJ
16937 if test -n "$GCJ"; then
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
16939 $as_echo "$GCJ" >&6; }
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16942 $as_echo "no" >&6; }
16946 test -n "$GCJ" && break
16948 test -n "$GCJ" || GCJ
="gcj"
16950 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
16951 if test "x${GCJFLAGS-unset}" = xunset
; then
16956 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16959 $as_echo_n "checking dependency style of $depcc... " >&6; }
16960 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
16961 $as_echo_n "(cached) " >&6
16963 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16964 # We make a subdir and do the tests there. Otherwise we can end up
16965 # making bogus files that we don't know about and never remove. For
16966 # instance it was reported that on HP-UX the gcc test will end up
16967 # making a dummy file named `D' -- because `-MD' means `put the output
16970 # Copy depcomp to subdir because otherwise we won't find it if we're
16971 # using a relative directory.
16972 cp "$am_depcomp" conftest.dir
16974 # We will build objects and dependencies in a subdirectory because
16975 # it helps to detect inapplicable dependency modes. For instance
16976 # both Tru64's cc and ICC support -MD to output dependencies as a
16977 # side effect of compilation, but ICC will put the dependencies in
16978 # the current directory while Tru64 will put them in the object
16982 am_cv_GCJ_dependencies_compiler_type
=none
16983 if test "$am_compiler_list" = ""; then
16984 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16986 am__universal
=false
16989 for depmode
in $am_compiler_list; do
16990 # Setup a source with many dependencies, because some compilers
16991 # like to wrap large dependency lists on column 80 (with \), and
16992 # we should not choose a depcomp mode which is confused by this.
16994 # We need to recreate these files for each test, as the compiler may
16995 # overwrite some of them when testing with obscure command lines.
16996 # This happens at least with the AIX C compiler.
16998 for i
in 1 2 3 4 5 6; do
16999 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
17000 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17001 # Solaris 8's {/usr,}/bin/sh.
17002 touch sub
/conftst
$i.h
17004 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17006 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17007 # mode. It turns out that the SunPro C++ compiler does not properly
17008 # handle `-M -o', and we need to detect this. Also, some Intel
17009 # versions had trouble with output in subdirs
17010 am__obj
=sub
/conftest.
${OBJEXT-o}
17011 am__minus_obj
="-o $am__obj"
17014 # This depmode causes a compiler race in universal mode.
17015 test "$am__universal" = false ||
continue
17018 # after this tag, mechanisms are not by side-effect, so they'll
17019 # only be used when explicitly requested
17020 if test "x$enable_dependency_tracking" = xyes
; then
17026 msvisualcpp | msvcmsys
)
17027 # This compiler won't grok `-c -o', but also, the minuso test has
17028 # not run yet. These depmodes are late enough in the game, and
17029 # so weak that their functioning should not be impacted.
17030 am__obj
=conftest.
${OBJEXT-o}
17035 if depmode
=$depmode \
17036 source=sub
/conftest.c object
=$am__obj \
17037 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
17038 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
17039 >/dev
/null
2>conftest.err
&&
17040 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17041 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17042 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
17043 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
17044 # icc doesn't choke on unknown options, it will just issue warnings
17045 # or remarks (even with -Werror). So we grep stderr for any message
17046 # that says an option was ignored or not supported.
17047 # When given -MP, icc 7.0 and 7.1 complain thusly:
17048 # icc: Command line warning: ignoring option '-M'; no argument required
17049 # The diagnosis changed in icc 8.0:
17050 # icc: Command line remark: option '-MP' not supported
17051 if (grep 'ignoring option' conftest.err ||
17052 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
17053 am_cv_GCJ_dependencies_compiler_type
=$depmode
17060 rm -rf conftest.dir
17062 am_cv_GCJ_dependencies_compiler_type
=none
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
17067 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
17068 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
17071 test "x$enable_dependency_tracking" != xno \
17072 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
17073 am__fastdepGCJ_TRUE
=
17074 am__fastdepGCJ_FALSE
='#'
17076 am__fastdepGCJ_TRUE
='#'
17077 am__fastdepGCJ_FALSE
=
17084 # Source file extension for Java test sources.
17087 # Object file extension for compiled Java test sources.
17091 # Code to be used in simple compile tests
17092 lt_simple_compile_test_code
="int some_variable = 0;"
17094 # Code to be used in simple link tests
17095 lt_simple_link_test_code
='int main(){return(0);}'
17097 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17104 # If no C compiler was specified, use CC.
17107 # If no C compiler flags were specified, use CFLAGS.
17108 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17110 # Allow CC to be a program name with arguments.
17114 # save warnings/boilerplate of simple test code
17115 ac_outfile
=conftest.
$ac_objext
17116 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17117 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17118 _lt_compiler_boilerplate
=`cat conftest.err`
17121 ac_outfile
=conftest.
$ac_objext
17122 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17123 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17124 _lt_linker_boilerplate
=`cat conftest.err`
17128 # Allow CC to be a program name with arguments.
17132 for cc_temp
in $compiler""; do
17134 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17135 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17140 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17143 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17144 archive_cmds_need_lc_GCJ
=no
17146 old_archive_cmds_GCJ
=$old_archive_cmds
17149 ## There is no encapsulation within the following macros, do not change
17150 ## the running order or otherwise move them around unless you know exactly
17151 ## what you are doing...
17152 if test -n "$compiler"; then
17154 lt_prog_compiler_no_builtin_flag_GCJ
=
17156 if test "$GCC" = yes; then
17157 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17160 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17161 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
17162 $as_echo_n "(cached) " >&6
17164 lt_cv_prog_compiler_rtti_exceptions
=no
17165 ac_outfile
=conftest.
$ac_objext
17166 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17167 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17168 # Insert the option either (1) after the last *FLAGS variable, or
17169 # (2) before a word containing "conftest.", or (3) at the end.
17170 # Note that $ac_compile itself does not contain backslashes and begins
17171 # with a dollar sign (not a hyphen), so the echo should work correctly.
17172 # The option is referenced via a variable to avoid confusing sed.
17173 lt_compile
=`echo "$ac_compile" | $SED \
17174 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17175 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17176 -e 's:$: $lt_compiler_flag:'`
17177 (eval echo "\"\$as_me:17177: $lt_compile\"" >&5)
17178 (eval "$lt_compile" 2>conftest.err
)
17180 cat conftest.err
>&5
17181 echo "$as_me:17181: \$? = $ac_status" >&5
17182 if (exit $ac_status) && test -s "$ac_outfile"; then
17183 # The compiler can only warn and ignore the option if not recognized
17184 # So say no if there are warnings other than the usual output.
17185 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17186 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17187 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17188 lt_cv_prog_compiler_rtti_exceptions
=yes
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17195 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17197 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17198 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17207 lt_prog_compiler_wl_GCJ
=
17208 lt_prog_compiler_pic_GCJ
=
17209 lt_prog_compiler_static_GCJ
=
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17212 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17214 if test "$GCC" = yes; then
17215 lt_prog_compiler_wl_GCJ
='-Wl,'
17216 lt_prog_compiler_static_GCJ
='-static'
17220 # All AIX code is PIC.
17221 if test "$host_cpu" = ia64
; then
17222 # AIX 5 now supports IA64 processor
17223 lt_prog_compiler_static_GCJ
='-Bstatic'
17230 # see comment about AmigaOS4 .so support
17231 lt_prog_compiler_pic_GCJ
='-fPIC'
17234 # FIXME: we need at least 68020 code to build shared libraries, but
17235 # adding the `-m68020' flag to GCC prevents building anything better,
17237 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17242 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17243 # PIC is the default for these OSes.
17246 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
17247 # This hack is so that the source file can tell whether it is being
17248 # built for inclusion in a dll (and should export symbols for example).
17249 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17250 # (--disable-auto-import) libraries
17254 darwin
* | rhapsody
*)
17255 # PIC is the default on this platform
17256 # Common symbols not allowed in MH_DYLIB files
17257 lt_prog_compiler_pic_GCJ
='-fno-common'
17261 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17262 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17263 # sets the default TLS model and affects inlining.
17269 lt_prog_compiler_pic_GCJ
='-fPIC'
17275 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17276 # Instead, we relocate shared libraries at runtime.
17280 # Just because we use GCC doesn't mean we suddenly get shared libraries
17281 # on systems that don't support them.
17282 lt_prog_compiler_can_build_shared_GCJ
=no
17287 # QNX uses GNU C++, but need to define -shared option too, otherwise
17288 # it will coredump.
17289 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
17293 if test -d /usr
/nec
; then
17294 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17299 lt_prog_compiler_pic_GCJ
='-fPIC'
17303 # PORTME Check for flag to pass linker flags through the system compiler.
17306 lt_prog_compiler_wl_GCJ
='-Wl,'
17307 if test "$host_cpu" = ia64
; then
17308 # AIX 5 now supports IA64 processor
17309 lt_prog_compiler_static_GCJ
='-Bstatic'
17311 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17315 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
17316 # This hack is so that the source file can tell whether it is being
17317 # built for inclusion in a dll (and should export symbols for example).
17321 hpux9
* | hpux10
* | hpux11
*)
17322 lt_prog_compiler_wl_GCJ
='-Wl,'
17323 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17324 # not for PA HP-UX.
17330 lt_prog_compiler_pic_GCJ
='+Z'
17333 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17334 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17337 irix5
* | irix6
* | nonstopux
*)
17338 lt_prog_compiler_wl_GCJ
='-Wl,'
17339 # PIC (with -KPIC) is the default.
17340 lt_prog_compiler_static_GCJ
='-non_shared'
17343 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
17344 case $cc_basename in
17345 # old Intel for x86_64 which still supported -KPIC.
17347 lt_prog_compiler_wl_GCJ
='-Wl,'
17348 lt_prog_compiler_pic_GCJ
='-KPIC'
17349 lt_prog_compiler_static_GCJ
='-static'
17351 # icc used to be incompatible with GCC.
17352 # ICC 10 doesn't accept -KPIC any more.
17354 lt_prog_compiler_wl_GCJ
='-Wl,'
17355 lt_prog_compiler_pic_GCJ
='-fPIC'
17356 lt_prog_compiler_static_GCJ
='-static'
17358 # Lahey Fortran 8.1.
17360 lt_prog_compiler_wl_GCJ
='-Wl,'
17361 lt_prog_compiler_pic_GCJ
='--shared'
17362 lt_prog_compiler_static_GCJ
='--static'
17364 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17365 # Portland Group compilers (*not* the Pentium gcc compiler,
17366 # which looks to be a dead project)
17367 lt_prog_compiler_wl_GCJ
='-Wl,'
17368 lt_prog_compiler_pic_GCJ
='-fpic'
17369 lt_prog_compiler_static_GCJ
='-Bstatic'
17372 lt_prog_compiler_wl_GCJ
='-Wl,'
17373 # All Alpha code is PIC.
17374 lt_prog_compiler_static_GCJ
='-non_shared'
17377 # IBM XL C 8.0/Fortran 10.1 on PPC
17378 lt_prog_compiler_wl_GCJ
='-Wl,'
17379 lt_prog_compiler_pic_GCJ
='-qpic'
17380 lt_prog_compiler_static_GCJ
='-qstaticlink'
17383 case `$CC -V 2>&1 | sed 5q` in
17386 lt_prog_compiler_pic_GCJ
='-KPIC'
17387 lt_prog_compiler_static_GCJ
='-Bstatic'
17388 lt_prog_compiler_wl_GCJ
='-Wl,'
17391 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17392 lt_prog_compiler_pic_GCJ
='-KPIC'
17393 lt_prog_compiler_static_GCJ
='-Bstatic'
17394 lt_prog_compiler_wl_GCJ
=''
17402 lt_prog_compiler_pic_GCJ
='-KPIC'
17403 lt_prog_compiler_static_GCJ
='-Bstatic'
17407 # QNX uses GNU C++, but need to define -shared option too, otherwise
17408 # it will coredump.
17409 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
17412 osf3
* | osf4
* | osf5
*)
17413 lt_prog_compiler_wl_GCJ
='-Wl,'
17414 # All OSF/1 code is PIC.
17415 lt_prog_compiler_static_GCJ
='-non_shared'
17419 lt_prog_compiler_static_GCJ
='-non_shared'
17423 lt_prog_compiler_pic_GCJ
='-KPIC'
17424 lt_prog_compiler_static_GCJ
='-Bstatic'
17425 case $cc_basename in
17426 f77
* | f90
* | f95
*)
17427 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17429 lt_prog_compiler_wl_GCJ
='-Wl,';;
17434 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17435 lt_prog_compiler_pic_GCJ
='-PIC'
17436 lt_prog_compiler_static_GCJ
='-Bstatic'
17439 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17440 lt_prog_compiler_wl_GCJ
='-Wl,'
17441 lt_prog_compiler_pic_GCJ
='-KPIC'
17442 lt_prog_compiler_static_GCJ
='-Bstatic'
17446 if test -d /usr
/nec
;then
17447 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17448 lt_prog_compiler_static_GCJ
='-Bstatic'
17452 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17453 lt_prog_compiler_wl_GCJ
='-Wl,'
17454 lt_prog_compiler_pic_GCJ
='-KPIC'
17455 lt_prog_compiler_static_GCJ
='-Bstatic'
17459 lt_prog_compiler_wl_GCJ
='-Wl,'
17460 lt_prog_compiler_can_build_shared_GCJ
=no
17464 lt_prog_compiler_pic_GCJ
='-pic'
17465 lt_prog_compiler_static_GCJ
='-Bstatic'
17469 lt_prog_compiler_can_build_shared_GCJ
=no
17475 # For platforms which do not support PIC, -DPIC is meaningless:
17477 lt_prog_compiler_pic_GCJ
=
17480 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
17484 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17489 # Check to make sure the PIC flag actually works.
17491 if test -n "$lt_prog_compiler_pic_GCJ"; then
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17493 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17494 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then :
17495 $as_echo_n "(cached) " >&6
17497 lt_cv_prog_compiler_pic_works_GCJ
=no
17498 ac_outfile
=conftest.
$ac_objext
17499 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17500 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17501 # Insert the option either (1) after the last *FLAGS variable, or
17502 # (2) before a word containing "conftest.", or (3) at the end.
17503 # Note that $ac_compile itself does not contain backslashes and begins
17504 # with a dollar sign (not a hyphen), so the echo should work correctly.
17505 # The option is referenced via a variable to avoid confusing sed.
17506 lt_compile
=`echo "$ac_compile" | $SED \
17507 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17508 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17509 -e 's:$: $lt_compiler_flag:'`
17510 (eval echo "\"\$as_me:17510: $lt_compile\"" >&5)
17511 (eval "$lt_compile" 2>conftest.err
)
17513 cat conftest.err
>&5
17514 echo "$as_me:17514: \$? = $ac_status" >&5
17515 if (exit $ac_status) && test -s "$ac_outfile"; then
17516 # The compiler can only warn and ignore the option if not recognized
17517 # So say no if there are warnings other than the usual output.
17518 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17519 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17520 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17521 lt_cv_prog_compiler_pic_works_GCJ
=yes
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17528 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17530 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17531 case $lt_prog_compiler_pic_GCJ in
17533 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17536 lt_prog_compiler_pic_GCJ
=
17537 lt_prog_compiler_can_build_shared_GCJ
=no
17545 # Check to make sure the static flag actually works.
17547 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17549 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17550 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then :
17551 $as_echo_n "(cached) " >&6
17553 lt_cv_prog_compiler_static_works_GCJ
=no
17554 save_LDFLAGS
="$LDFLAGS"
17555 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17556 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17557 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17558 # The linker can only warn and ignore the option if not recognized
17559 # So say no if there are warnings
17560 if test -s conftest.err
; then
17561 # Append any errors to the config.log.
17562 cat conftest.err
1>&5
17563 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17564 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17565 if diff conftest.exp conftest.er2
>/dev
/null
; then
17566 lt_cv_prog_compiler_static_works_GCJ
=yes
17569 lt_cv_prog_compiler_static_works_GCJ
=yes
17573 LDFLAGS
="$save_LDFLAGS"
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17577 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17579 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17582 lt_prog_compiler_static_GCJ
=
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17589 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17590 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17591 $as_echo_n "(cached) " >&6
17593 lt_cv_prog_compiler_c_o_GCJ
=no
17594 $RM -r conftest
2>/dev
/null
17598 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17600 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17601 # Insert the option either (1) after the last *FLAGS variable, or
17602 # (2) before a word containing "conftest.", or (3) at the end.
17603 # Note that $ac_compile itself does not contain backslashes and begins
17604 # with a dollar sign (not a hyphen), so the echo should work correctly.
17605 lt_compile
=`echo "$ac_compile" | $SED \
17606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17608 -e 's:$: $lt_compiler_flag:'`
17609 (eval echo "\"\$as_me:17609: $lt_compile\"" >&5)
17610 (eval "$lt_compile" 2>out
/conftest.err
)
17612 cat out
/conftest.err
>&5
17613 echo "$as_me:17613: \$? = $ac_status" >&5
17614 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17616 # The compiler can only warn and ignore the option if not recognized
17617 # So say no if there are warnings
17618 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17619 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17620 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17621 lt_cv_prog_compiler_c_o_GCJ
=yes
17626 # SGI C++ compiler will create directory out/ii_files/ for
17627 # template instantiation
17628 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17629 $RM out
/* && rmdir out
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17636 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17641 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17642 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17643 $as_echo_n "(cached) " >&6
17645 lt_cv_prog_compiler_c_o_GCJ
=no
17646 $RM -r conftest
2>/dev
/null
17650 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17652 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17653 # Insert the option either (1) after the last *FLAGS variable, or
17654 # (2) before a word containing "conftest.", or (3) at the end.
17655 # Note that $ac_compile itself does not contain backslashes and begins
17656 # with a dollar sign (not a hyphen), so the echo should work correctly.
17657 lt_compile
=`echo "$ac_compile" | $SED \
17658 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17659 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17660 -e 's:$: $lt_compiler_flag:'`
17661 (eval echo "\"\$as_me:17661: $lt_compile\"" >&5)
17662 (eval "$lt_compile" 2>out
/conftest.err
)
17664 cat out
/conftest.err
>&5
17665 echo "$as_me:17665: \$? = $ac_status" >&5
17666 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17668 # The compiler can only warn and ignore the option if not recognized
17669 # So say no if there are warnings
17670 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17671 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17672 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17673 lt_cv_prog_compiler_c_o_GCJ
=yes
17678 # SGI C++ compiler will create directory out/ii_files/ for
17679 # template instantiation
17680 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17681 $RM out
/* && rmdir out
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17688 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17693 hard_links
="nottested"
17694 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17695 # do not overwrite the value of need_locks provided by the user
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17697 $as_echo_n "checking if we can lock with hard links... " >&6; }
17700 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17702 ln conftest.a conftest.b
2>&5 || hard_links
=no
17703 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17705 $as_echo "$hard_links" >&6; }
17706 if test "$hard_links" = no
; then
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17708 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17718 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17721 allow_undefined_flag_GCJ
=
17722 always_export_symbols_GCJ
=no
17724 archive_expsym_cmds_GCJ
=
17725 compiler_needs_object_GCJ
=no
17726 enable_shared_with_static_runtimes_GCJ
=no
17727 export_dynamic_flag_spec_GCJ
=
17728 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17729 hardcode_automatic_GCJ
=no
17730 hardcode_direct_GCJ
=no
17731 hardcode_direct_absolute_GCJ
=no
17732 hardcode_libdir_flag_spec_GCJ
=
17733 hardcode_libdir_flag_spec_ld_GCJ
=
17734 hardcode_libdir_separator_GCJ
=
17735 hardcode_minus_L_GCJ
=no
17736 hardcode_shlibpath_var_GCJ
=unsupported
17737 inherit_rpath_GCJ
=no
17738 link_all_deplibs_GCJ
=unknown
17740 module_expsym_cmds_GCJ
=
17741 old_archive_from_new_cmds_GCJ
=
17742 old_archive_from_expsyms_cmds_GCJ
=
17743 thread_safe_flag_spec_GCJ
=
17744 whole_archive_flag_spec_GCJ
=
17745 # include_expsyms should be a list of space-separated symbols to be *always*
17746 # included in the symbol list
17747 include_expsyms_GCJ
=
17748 # exclude_expsyms can be an extended regexp of symbols to exclude
17749 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17750 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17751 # as well as any symbol that contains `d'.
17752 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17753 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17754 # platforms (ab)use it in PIC code, but their linkers get confused if
17755 # the symbol is explicitly referenced. Since portable code cannot
17756 # rely on this symbol name, it's probably fine to never include it in
17757 # preloaded symbol tables.
17758 # Exclude shared library initialization/finalization symbols.
17759 extract_expsyms_cmds
=
17762 cygwin
* | mingw
* | pw32
* | cegcc
*)
17763 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17764 # When not using gcc, we currently assume that we are using
17765 # Microsoft Visual C++.
17766 if test "$GCC" != yes; then
17771 # we just hope/assume this is gcc and not c89 (= MSVC++)
17780 if test "$with_gnu_ld" = yes; then
17781 # If archive_cmds runs LD, not CC, wlarc should be empty
17784 # Set some defaults for GNU ld with shared library support. These
17785 # are reset later if shared libraries are not supported. Putting them
17786 # here allows them to be overridden if necessary.
17787 runpath_var
=LD_RUN_PATH
17788 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17789 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17790 # ancient GNU ld didn't support --whole-archive et. al.
17791 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
17792 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17794 whole_archive_flag_spec_GCJ
=
17796 supports_anon_versioning
=no
17797 case `$LD -v 2>&1` in
17798 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17799 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17800 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17801 *\
2.11.
*) ;; # other 2.11 versions
17802 *) supports_anon_versioning
=yes ;;
17805 # See if GNU ld supports shared libraries.
17808 # On AIX/PPC, the GNU linker is very broken
17809 if test "$host_cpu" != ia64
; then
17813 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17814 *** to be unable to reliably create shared libraries on AIX.
17815 *** Therefore, libtool is disabling shared libraries support. If you
17816 *** really care for shared libraries, you may want to modify your PATH
17817 *** so that a non-GNU linker is found, and then restart.
17826 # see comment about AmigaOS4 .so support
17827 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17828 archive_expsym_cmds_GCJ
=''
17831 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)'
17832 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17833 hardcode_minus_L_GCJ
=yes
17839 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17840 allow_undefined_flag_GCJ
=unsupported
17841 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17842 # support --undefined. This deserves some investigation. FIXME
17843 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17849 cygwin
* | mingw
* | pw32
* | cegcc
*)
17850 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17851 # as there is no search path for DLLs.
17852 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17853 allow_undefined_flag_GCJ
=unsupported
17854 always_export_symbols_GCJ
=no
17855 enable_shared_with_static_runtimes_GCJ
=yes
17856 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17858 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
17859 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17860 # If the export-symbols file already is a .def file (1st line
17861 # is EXPORTS), use it as is; otherwise, prepend...
17862 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17863 cp $export_symbols $output_objdir/$soname.def;
17865 echo EXPORTS > $output_objdir/$soname.def;
17866 cat $export_symbols >> $output_objdir/$soname.def;
17868 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17875 hardcode_direct_GCJ
=no
17876 hardcode_shlibpath_var_GCJ
=no
17877 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17878 export_dynamic_flag_spec_GCJ
='${wl}-E'
17879 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17880 # Instead, shared libraries are loaded at an image base (0x10000000 by
17881 # default) and relocated if they conflict, which is a slow very memory
17882 # consuming and fragmenting process. To avoid this, we pick a random,
17883 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17884 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17885 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'
17886 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'
17889 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
17891 if test "$host_os" = linux-dietlibc
; then
17892 case $cc_basename in
17893 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
17896 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
17897 && test "$tmp_diet" = no
17900 tmp_sharedflag
='-shared'
17901 case $cc_basename,$host_cpu in
17902 pgcc
*) # Portland Group C compiler
17903 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
17904 tmp_addflag
=' $pic_flag'
17906 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17907 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
17908 tmp_addflag
=' $pic_flag -Mnomain' ;;
17909 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17910 tmp_addflag
=' -i_dynamic' ;;
17911 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17912 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17913 ifc
* | ifort
*) # Intel Fortran compiler
17914 tmp_addflag
=' -nofor_main' ;;
17915 lf95
*) # Lahey Fortran 8.1
17916 whole_archive_flag_spec_GCJ
=
17917 tmp_sharedflag
='--shared' ;;
17918 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
17919 tmp_sharedflag
='-qmkshrobj'
17922 case `$CC -V 2>&1 | sed 5q` in
17923 *Sun\ C
*) # Sun C 5.9
17924 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
17925 compiler_needs_object_GCJ
=yes
17926 tmp_sharedflag
='-G' ;;
17927 *Sun\ F
*) # Sun Fortran 8.3
17928 tmp_sharedflag
='-G' ;;
17930 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17932 if test "x$supports_anon_versioning" = xyes
; then
17933 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
17934 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17935 echo "local: *; };" >> $output_objdir/$libname.ver~
17936 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17939 case $cc_basename in
17941 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
17942 whole_archive_flag_spec_GCJ
='--whole-archive$convenience --no-whole-archive'
17943 hardcode_libdir_flag_spec_GCJ
=
17944 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17945 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
17946 if test "x$supports_anon_versioning" = xyes
; then
17947 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
17948 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17949 echo "local: *; };" >> $output_objdir/$libname.ver~
17950 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
17960 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17961 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17964 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17965 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17970 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
17974 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17975 *** create shared libraries on Solaris systems. Therefore, libtool
17976 *** is disabling shared libraries support. We urge you to upgrade GNU
17977 *** binutils to release 2.9.1 or newer. Another option is to modify
17978 *** your PATH or compiler configuration so that the native linker is
17979 *** used, and then restart.
17982 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17983 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17984 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17990 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17991 case `$LD -v 2>&1` in
17992 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17996 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17997 *** reliably create shared libraries on SCO systems. Therefore, libtool
17998 *** is disabling shared libraries support. We urge you to upgrade GNU
17999 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18000 *** your PATH or compiler configuration so that the native linker is
18001 *** used, and then restart.
18006 # For security reasons, it is highly recommended that you always
18007 # use absolute paths for naming shared libraries, and exclude the
18008 # DT_RUNPATH tag from executables and libraries. But doing so
18009 # requires that you compile everything twice, which is a pain.
18010 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18011 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18012 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18013 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18022 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18024 hardcode_direct_GCJ
=yes
18025 hardcode_shlibpath_var_GCJ
=no
18029 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18030 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18031 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18038 if test "$ld_shlibs_GCJ" = no
; then
18040 hardcode_libdir_flag_spec_GCJ
=
18041 export_dynamic_flag_spec_GCJ
=
18042 whole_archive_flag_spec_GCJ
=
18045 # PORTME fill in a description of your system's linker (not GNU ld)
18048 allow_undefined_flag_GCJ
=unsupported
18049 always_export_symbols_GCJ
=yes
18050 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'
18051 # Note: this linker hardcodes the directories in LIBPATH if there
18052 # are no directories specified by -L.
18053 hardcode_minus_L_GCJ
=yes
18054 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18055 # Neither direct hardcoding nor static linking is supported with a
18057 hardcode_direct_GCJ
=unsupported
18062 if test "$host_cpu" = ia64
; then
18063 # On IA64, the linker does run time linking by default, so we don't
18064 # have to do anything special.
18065 aix_use_runtimelinking
=no
18066 exp_sym_flag
='-Bexport'
18069 # If we're using GNU nm, then we don't want the "-C" option.
18070 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18071 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
18072 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
18074 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'
18076 aix_use_runtimelinking
=no
18078 # Test if we are trying to use run time linking or normal
18079 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18080 # need to do runtime linking.
18081 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
18082 for ld_flag
in $LDFLAGS; do
18083 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18084 aix_use_runtimelinking
=yes
18091 exp_sym_flag
='-bexport'
18092 no_entry_flag
='-bnoentry'
18095 # When large executables or shared objects are built, AIX ld can
18096 # have problems creating the table of contents. If linking a library
18097 # or program results in "error TOC overflow" add -mminimal-toc to
18098 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18099 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18101 archive_cmds_GCJ
=''
18102 hardcode_direct_GCJ
=yes
18103 hardcode_direct_absolute_GCJ
=yes
18104 hardcode_libdir_separator_GCJ
=':'
18105 link_all_deplibs_GCJ
=yes
18106 file_list_spec_GCJ
='${wl}-f,'
18108 if test "$GCC" = yes; then
18109 case $host_os in aix4.
[012]|aix4.
[012].
*)
18110 # We only want to do this on AIX 4.2 and lower, the check
18111 # below for broken collect2 doesn't work under 4.3+
18112 collect2name
=`${CC} -print-prog-name=collect2`
18113 if test -f "$collect2name" &&
18114 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
18116 # We have reworked collect2
18119 # We have old collect2
18120 hardcode_direct_GCJ
=unsupported
18121 # It fails to find uninstalled libraries when the uninstalled
18122 # path is not listed in the libpath. Setting hardcode_minus_L
18123 # to unsupported forces relinking
18124 hardcode_minus_L_GCJ
=yes
18125 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18126 hardcode_libdir_separator_GCJ
=
18130 shared_flag
='-shared'
18131 if test "$aix_use_runtimelinking" = yes; then
18132 shared_flag
="$shared_flag "'${wl}-G'
18136 if test "$host_cpu" = ia64
; then
18137 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18138 # chokes on -Wl,-G. The following line is correct:
18141 if test "$aix_use_runtimelinking" = yes; then
18142 shared_flag
='${wl}-G'
18144 shared_flag
='${wl}-bM:SRE'
18149 export_dynamic_flag_spec_GCJ
='${wl}-bexpall'
18150 # It seems that -bexpall does not export symbols beginning with
18151 # underscore (_), so it is better to generate a list of symbols to export.
18152 always_export_symbols_GCJ
=yes
18153 if test "$aix_use_runtimelinking" = yes; then
18154 # Warning - without using the other runtime loading flags (-brtl),
18155 # -berok will link without error, but may produce a broken library.
18156 allow_undefined_flag_GCJ
='-berok'
18157 # Determine the default libpath from the value encoded in an
18158 # empty executable.
18159 if test x
$gcc_no_link = xyes
; then
18160 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18163 /* end confdefs.h. */
18173 if ac_fn_c_try_link
"$LINENO"; then :
18175 lt_aix_libpath_sed
='
18176 /Import File Strings/,/^$/ {
18182 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18183 # Check for a 64-bit object if we didn't find anything.
18184 if test -z "$aix_libpath"; then
18185 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18188 rm -f core conftest.err conftest.
$ac_objext \
18189 conftest
$ac_exeext conftest.
$ac_ext
18190 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18192 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18193 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18195 if test "$host_cpu" = ia64
; then
18196 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
18197 allow_undefined_flag_GCJ
="-z nodefs"
18198 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"
18200 # Determine the default libpath from the value encoded in an
18201 # empty executable.
18202 if test x
$gcc_no_link = xyes
; then
18203 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18206 /* end confdefs.h. */
18216 if ac_fn_c_try_link
"$LINENO"; then :
18218 lt_aix_libpath_sed
='
18219 /Import File Strings/,/^$/ {
18225 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18226 # Check for a 64-bit object if we didn't find anything.
18227 if test -z "$aix_libpath"; then
18228 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18231 rm -f core conftest.err conftest.
$ac_objext \
18232 conftest
$ac_exeext conftest.
$ac_ext
18233 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18235 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18236 # Warning - without using the other run time loading flags,
18237 # -berok will link without error, but may produce a broken library.
18238 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18239 allow_undefined_flag_GCJ
=' ${wl}-berok'
18240 # Exported symbols can be pulled into shared objects from archives
18241 whole_archive_flag_spec_GCJ
='$convenience'
18242 archive_cmds_need_lc_GCJ
=yes
18243 # This is similar to how AIX traditionally builds its shared libraries.
18244 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'
18252 # see comment about AmigaOS4 .so support
18253 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18254 archive_expsym_cmds_GCJ
=''
18257 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)'
18258 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18259 hardcode_minus_L_GCJ
=yes
18265 export_dynamic_flag_spec_GCJ
=-rdynamic
18268 cygwin
* | mingw
* | pw32
* | cegcc
*)
18269 # When not using gcc, we currently assume that we are using
18270 # Microsoft Visual C++.
18271 # hardcode_libdir_flag_spec is actually meaningless, as there is
18272 # no search path for DLLs.
18273 hardcode_libdir_flag_spec_GCJ
=' '
18274 allow_undefined_flag_GCJ
=unsupported
18275 # Tell ltmain to make .lib files, not .a files.
18277 # Tell ltmain to make .dll files, not .so files.
18279 # FIXME: Setting linknames here is a bad hack.
18280 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
18281 # The linker will automatically build a .lib file if we build a DLL.
18282 old_archive_from_new_cmds_GCJ
='true'
18283 # FIXME: Should let the user specify the lib program.
18284 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18285 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18286 enable_shared_with_static_runtimes_GCJ
=yes
18289 darwin
* | rhapsody
*)
18292 archive_cmds_need_lc_GCJ
=no
18293 hardcode_direct_GCJ
=no
18294 hardcode_automatic_GCJ
=yes
18295 hardcode_shlibpath_var_GCJ
=unsupported
18296 whole_archive_flag_spec_GCJ
=''
18297 link_all_deplibs_GCJ
=yes
18298 allow_undefined_flag_GCJ
="$_lt_dar_allow_undefined"
18299 case $cc_basename in
18300 ifort
*) _lt_dar_can_shared
=yes ;;
18301 *) _lt_dar_can_shared
=$GCC ;;
18303 if test "$_lt_dar_can_shared" = "yes"; then
18304 output_verbose_link_cmd
=echo
18305 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}"
18306 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18307 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}"
18308 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}"
18317 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18318 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18319 hardcode_shlibpath_var_GCJ
=no
18326 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18327 # support. Future versions do this automatically, but an explicit c++rt0.o
18328 # does not break anything, and helps significantly (at the cost of a little
18331 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18332 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18333 hardcode_direct_GCJ
=yes
18334 hardcode_shlibpath_var_GCJ
=no
18337 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18339 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18340 hardcode_direct_GCJ
=yes
18341 hardcode_minus_L_GCJ
=yes
18342 hardcode_shlibpath_var_GCJ
=no
18345 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18346 freebsd
* | dragonfly
*)
18347 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18348 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18349 hardcode_direct_GCJ
=yes
18350 hardcode_shlibpath_var_GCJ
=no
18354 if test "$GCC" = yes; then
18355 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'
18357 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'
18359 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18360 hardcode_libdir_separator_GCJ
=:
18361 hardcode_direct_GCJ
=yes
18363 # hardcode_minus_L: Not really in the search PATH,
18364 # but as the default location of the library.
18365 hardcode_minus_L_GCJ
=yes
18366 export_dynamic_flag_spec_GCJ
='${wl}-E'
18370 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18371 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18373 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18375 if test "$with_gnu_ld" = no
; then
18376 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18377 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18378 hardcode_libdir_separator_GCJ
=:
18379 hardcode_direct_GCJ
=yes
18380 hardcode_direct_absolute_GCJ
=yes
18381 export_dynamic_flag_spec_GCJ
='${wl}-E'
18382 # hardcode_minus_L: Not really in the search PATH,
18383 # but as the default location of the library.
18384 hardcode_minus_L_GCJ
=yes
18389 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18392 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18395 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18398 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18404 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18407 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18410 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18414 if test "$with_gnu_ld" = no
; then
18415 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18416 hardcode_libdir_separator_GCJ
=:
18420 hardcode_direct_GCJ
=no
18421 hardcode_shlibpath_var_GCJ
=no
18424 hardcode_direct_GCJ
=yes
18425 hardcode_direct_absolute_GCJ
=yes
18426 export_dynamic_flag_spec_GCJ
='${wl}-E'
18428 # hardcode_minus_L: Not really in the search PATH,
18429 # but as the default location of the library.
18430 hardcode_minus_L_GCJ
=yes
18436 irix5
* | irix6
* | nonstopux
*)
18437 if test "$GCC" = yes; then
18438 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18439 # Try to use the -exported_symbol ld option, if it does not
18440 # work, assume that -exports_file does not work either and
18441 # implicitly export all symbols.
18442 save_LDFLAGS
="$LDFLAGS"
18443 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
18444 if test x
$gcc_no_link = xyes
; then
18445 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18451 if ac_fn_c_try_link
"$LINENO"; then :
18452 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
18455 rm -f core conftest.err conftest.
$ac_objext \
18456 conftest
$ac_exeext conftest.
$ac_ext
18457 LDFLAGS
="$save_LDFLAGS"
18459 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18460 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
18462 archive_cmds_need_lc_GCJ
='no'
18463 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18464 hardcode_libdir_separator_GCJ
=:
18465 inherit_rpath_GCJ
=yes
18466 link_all_deplibs_GCJ
=yes
18470 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18471 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18473 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18475 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18476 hardcode_direct_GCJ
=yes
18477 hardcode_shlibpath_var_GCJ
=no
18481 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18482 hardcode_direct_GCJ
=yes
18483 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18484 hardcode_libdir_separator_GCJ
=:
18485 hardcode_shlibpath_var_GCJ
=no
18492 if test -f /usr
/libexec
/ld.so
; then
18493 hardcode_direct_GCJ
=yes
18494 hardcode_shlibpath_var_GCJ
=no
18495 hardcode_direct_absolute_GCJ
=yes
18496 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18497 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18498 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18499 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18500 export_dynamic_flag_spec_GCJ
='${wl}-E'
18503 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18504 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18505 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18508 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18509 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18519 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18520 hardcode_minus_L_GCJ
=yes
18521 allow_undefined_flag_GCJ
=unsupported
18522 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'
18523 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18527 if test "$GCC" = yes; then
18528 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18529 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18531 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18532 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18534 archive_cmds_need_lc_GCJ
='no'
18535 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18536 hardcode_libdir_separator_GCJ
=:
18539 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18540 if test "$GCC" = yes; then
18541 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18542 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18543 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18545 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18546 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18547 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~
18548 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
18550 # Both c and cxx compiler support -rpath directly
18551 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18553 archive_cmds_need_lc_GCJ
='no'
18554 hardcode_libdir_separator_GCJ
=:
18558 no_undefined_flag_GCJ
=' -z defs'
18559 if test "$GCC" = yes; then
18561 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18562 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18563 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18565 case `$CC -V 2>&1` in
18568 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18569 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18570 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
18574 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
18575 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18576 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18580 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18581 hardcode_shlibpath_var_GCJ
=no
18583 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18585 # The compiler driver will combine and reorder linker options,
18586 # but understands `-z linker_flag'. GCC discards it without `$wl',
18587 # but is careful enough not to reorder.
18588 # Supported since Solaris 2.6 (maybe 2.5.1?)
18589 if test "$GCC" = yes; then
18590 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18592 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18596 link_all_deplibs_GCJ
=yes
18600 if test "x$host_vendor" = xsequent
; then
18601 # Use $CC to link under sequent, because it throws in some extra .o
18602 # files that make .init and .fini sections work.
18603 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18605 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18607 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18608 hardcode_direct_GCJ
=yes
18609 hardcode_minus_L_GCJ
=yes
18610 hardcode_shlibpath_var_GCJ
=no
18614 case $host_vendor in
18616 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18617 hardcode_direct_GCJ
=yes # is this really true???
18620 ## LD is ld it makes a PLAMLIB
18621 ## CC just makes a GrossModule.
18622 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18623 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18624 hardcode_direct_GCJ
=no
18627 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18628 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18631 runpath_var
='LD_RUN_PATH'
18632 hardcode_shlibpath_var_GCJ
=no
18636 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18637 hardcode_shlibpath_var_GCJ
=no
18638 export_dynamic_flag_spec_GCJ
='-Bexport'
18642 if test -d /usr
/nec
; then
18643 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18644 hardcode_shlibpath_var_GCJ
=no
18645 runpath_var
=LD_RUN_PATH
18646 hardcode_runpath_var
=yes
18651 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18652 no_undefined_flag_GCJ
='${wl}-z,text'
18653 archive_cmds_need_lc_GCJ
=no
18654 hardcode_shlibpath_var_GCJ
=no
18655 runpath_var
='LD_RUN_PATH'
18657 if test "$GCC" = yes; then
18658 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18659 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18661 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18662 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18666 sysv5
* | sco3.2v5
* | sco5v6
*)
18667 # Note: We can NOT use -z defs as we might desire, because we do not
18668 # link with -lc, and that would cause any symbols used from libc to
18669 # always be unresolved, which means just about no library would
18670 # ever link correctly. If we're not using GNU ld we use -z text
18671 # though, which does catch some bad symbols but isn't as heavy-handed
18673 no_undefined_flag_GCJ
='${wl}-z,text'
18674 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18675 archive_cmds_need_lc_GCJ
=no
18676 hardcode_shlibpath_var_GCJ
=no
18677 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
18678 hardcode_libdir_separator_GCJ
=':'
18679 link_all_deplibs_GCJ
=yes
18680 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18681 runpath_var
='LD_RUN_PATH'
18683 if test "$GCC" = yes; then
18684 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18685 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18687 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18688 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18693 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18694 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18695 hardcode_shlibpath_var_GCJ
=no
18703 if test x
$host_vendor = xsni
; then
18705 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18706 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
18713 $as_echo "$ld_shlibs_GCJ" >&6; }
18714 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18716 with_gnu_ld_GCJ
=$with_gnu_ld
18724 # Do we need to explicitly link libc?
18726 case "x$archive_cmds_need_lc_GCJ" in
18728 # Assume -lc should be added
18729 archive_cmds_need_lc_GCJ
=yes
18731 if test "$enable_shared" = yes && test "$GCC" = yes; then
18732 case $archive_cmds_GCJ in
18734 # FIXME: we may have to deal with multi-command sequences.
18737 # Test whether the compiler implicitly links with -lc since on some
18738 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18739 # to ld, don't add -lc before -lgcc.
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18741 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18742 if test "${lt_cv_archive_cmds_need_lc_GCJ+set}" = set; then :
18743 $as_echo_n "(cached) " >&6
18746 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18748 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18749 (eval $ac_compile) 2>&5
18751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18752 test $ac_status = 0; } 2>conftest.err
; then
18755 libobjs
=conftest.
$ac_objext
18757 wl
=$lt_prog_compiler_wl_GCJ
18758 pic_flag
=$lt_prog_compiler_pic_GCJ
18764 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18765 allow_undefined_flag_GCJ
=
18766 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18767 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18770 test $ac_status = 0; }
18772 lt_cv_archive_cmds_need_lc_GCJ
=no
18774 lt_cv_archive_cmds_need_lc_GCJ
=yes
18776 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18778 cat conftest.err
1>&5
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GCJ" >&5
18784 $as_echo "$lt_cv_archive_cmds_need_lc_GCJ" >&6; }
18785 archive_cmds_need_lc_GCJ
=$lt_cv_archive_cmds_need_lc_GCJ
18855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18856 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18857 hardcode_action_GCJ
=
18858 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
18859 test -n "$runpath_var_GCJ" ||
18860 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18862 # We can hardcode non-existent directories.
18863 if test "$hardcode_direct_GCJ" != no
&&
18864 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18865 # have to relink, otherwise we might link with an installed library
18866 # when we should be linking with a yet-to-be-installed one
18867 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18868 test "$hardcode_minus_L_GCJ" != no
; then
18869 # Linking always hardcodes the temporary library directory.
18870 hardcode_action_GCJ
=relink
18872 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18873 hardcode_action_GCJ
=immediate
18876 # We cannot hardcode anything, or else we can only hardcode existing
18878 hardcode_action_GCJ
=unsupported
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
18881 $as_echo "$hardcode_action_GCJ" >&6; }
18883 if test "$hardcode_action_GCJ" = relink ||
18884 test "$inherit_rpath_GCJ" = yes; then
18885 # Fast installation is not supported
18886 enable_fast_install
=no
18887 elif test "$shlibpath_overrides_runpath" = yes ||
18888 test "$enable_shared" = no
; then
18889 # Fast installation is not necessary
18890 enable_fast_install
=needless
18901 compiler_GCJ
=${GCJ-gcj}
18903 ac_cpp
='$CPP $CPPFLAGS'
18904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18909 if test "x$CC" != xcc
; then
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
18911 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
18914 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
18916 set dummy
$CC; ac_cc
=`$as_echo "$2" |
18917 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18918 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
18919 $as_echo_n "(cached) " >&6
18921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18922 /* end confdefs.h. */
18932 # Make sure it works both with $CC and with simple cc.
18933 # We do the test twice because some compilers refuse to overwrite an
18934 # existing .o file with -o, though they will create one.
18935 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
18937 if { { case "(($ac_try" in
18938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18939 *) ac_try_echo=$ac_try;;
18941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18942 $as_echo "$ac_try_echo"; } >&5
18943 (eval "$ac_try") 2>&5
18945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18946 test $ac_status = 0; } &&
18947 test -f conftest2.$ac_objext && { { case "(($ac_try" in
18948 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18949 *) ac_try_echo
=$ac_try;;
18951 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18952 $as_echo "$ac_try_echo"; } >&5
18953 (eval "$ac_try") 2>&5
18955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18956 test $ac_status = 0; };
18958 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
18959 if test "x$CC" != xcc
; then
18960 # Test first that cc exists at all.
18961 if { ac_try
='cc -c conftest.$ac_ext >&5'
18962 { { case "(($ac_try" in
18963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18964 *) ac_try_echo=$ac_try;;
18966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18967 $as_echo "$ac_try_echo"; } >&5
18968 (eval "$ac_try") 2>&5
18970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18971 test $ac_status = 0; }; }; then
18972 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
18974 if { { case "(($ac_try" in
18975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18976 *) ac_try_echo
=$ac_try;;
18978 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18979 $as_echo "$ac_try_echo"; } >&5
18980 (eval "$ac_try") 2>&5
18982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18983 test $ac_status = 0; } &&
18984 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
18985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18986 *) ac_try_echo=$ac_try;;
18988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18989 $as_echo "$ac_try_echo"; } >&5
18990 (eval "$ac_try") 2>&5
18992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18993 test $ac_status = 0; };
18998 # cc exists but doesn't like -o.
18999 eval ac_cv_prog_cc_${ac_cc}_c_o=no
19004 eval ac_cv_prog_cc_${ac_cc}_c_o=no
19006 rm -f core conftest*
19009 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19011 $as_echo "yes" >&6; }
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19014 $as_echo "no" >&6; }
19016 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
19020 # FIXME: we rely on the cache variable name because
19021 # there is no other way.
19023 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
19024 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
19025 if test "$am_t" != yes; then
19026 # Losing compiler, so override with the script.
19027 # FIXME: It is wrong to rewrite CC.
19028 # But if we don't then we get into trouble of one sort or another.
19029 # A longer-term fix would be to have automake use am__CC in this case,
19030 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
19031 CC="$am_aux_dir/compile $CC"
19038 subdirs="$subdirs classpath libltdl"
19041 # The -no-testsuite modules omit the test subdir.
19042 if test -d $srcdir/testsuite; then
19044 TESTSUBDIR_FALSE='#'
19046 TESTSUBDIR_TRUE='#'
19051 # Should the runtime set system properties by examining the
19052 # environment variable GCJ_PROPERTIES?
19053 # Check whether --enable-getenv-properties was given.
19054 if test "${enable_getenv_properties+set}" = set; then :
19055 enableval=$enable_getenv_properties;
19059 # Whether GCJ_PROPERTIES is used depends on the target.
19060 if test -z "$enable_getenv_properties"; then
19061 enable_getenv_properties=${enable_getenv_properties_default-yes}
19063 if test "$enable_getenv_properties" = no; then
19065 $as_echo "#define DISABLE_GETENV_PROPERTIES 1" >>confdefs.h
19069 # Whether we should use arguments to main()
19070 if test -z "$enable_main_args"; then
19071 enable_main_args=${enable_main_args_default-yes}
19073 if test "$enable_main_args" = no; then
19075 $as_echo "#define DISABLE_MAIN_ARGS 1" >>confdefs.h
19080 # Should we use hashtable-based synchronization?
19081 # Currently works only for Linux X86/ia64
19082 # Typically faster and more space-efficient
19083 # Check whether --enable-hash-synchronization was given.
19084 if test "${enable_hash_synchronization+set}" = set; then :
19085 enableval=$enable_hash_synchronization;
19089 if test -z "$enable_hash_synchronization"; then
19090 enable_hash_synchronization=$enable_hash_synchronization_default
19098 # Check whether --with-ecj-jar was given.
19099 if test "${with_ecj_jar+set}" = set; then :
19100 withval=$with_ecj_jar; ECJ_JAR=$withval
19102 if test -f $multi_basedir/ecj.jar; then
19103 ECJ_BUILD_JAR=$multi_basedir/ecj.jar
19104 ECJ_JAR='$(jardir)/ecj.jar'
19105 install_ecj_jar=yes
19111 if test "$ECJ_JAR" != ""; then
19113 BUILD_ECJ1_FALSE='#'
19115 BUILD_ECJ1_TRUE='#'
19119 if test $install_ecj_jar = yes; then
19120 INSTALL_ECJ_JAR_TRUE=
19121 INSTALL_ECJ_JAR_FALSE='#'
19123 INSTALL_ECJ_JAR_TRUE='#'
19124 INSTALL_ECJ_JAR_FALSE=
19129 # Check whether --with-java-home was given.
19130 if test "${with_java_home+set}" = set; then :
19131 withval=$with_java_home; JAVA_HOME="${withval}"
19136 if test ! -z "$JAVA_HOME"; then
19137 JAVA_HOME_SET_TRUE=
19138 JAVA_HOME_SET_FALSE='#'
19140 JAVA_HOME_SET_TRUE='#'
19141 JAVA_HOME_SET_FALSE=
19146 suppress_libgcj_bc=no
19147 # Check whether --enable-libgcj-bc was given.
19148 if test "${enable_libgcj_bc+set}" = set; then :
19149 enableval=$enable_libgcj_bc; if test "$enable_libgcj_bc" = "no"; then
19150 suppress_libgcj_bc=yes
19154 if test "$suppress_libgcj_bc" = "yes"; then
19155 SUPPRESS_LIBGCJ_BC_TRUE=
19156 SUPPRESS_LIBGCJ_BC_FALSE='#'
19158 SUPPRESS_LIBGCJ_BC_TRUE='#'
19159 SUPPRESS_LIBGCJ_BC_FALSE=
19163 build_libgcj_reduced_reflection=no
19164 # Check whether --enable-reduced-reflection was given.
19165 if test "${enable_reduced_reflection+set}" = set; then :
19166 enableval=$enable_reduced_reflection; if test "$enable_reduced_reflection" = "yes"; then
19167 build_libgcj_reduced_reflection=yes
19171 if test "$build_libgcj_reduced_reflection" = "yes"; then
19172 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE=
19173 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE='#'
19175 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE='#'
19176 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE=
19180 # What is the native OS API for MinGW?
19182 # Check whether --with-win32-nlsapi was given.
19183 if test "${with_win32_nlsapi+set}" = set; then :
19184 withval=$with_win32_nlsapi; case "${withval}" in
19185 ansi) with_win32_nlsapi=ansi ;;
19186 unicows) with_win32_nlsapi=unicows ;;
19187 unicode) with_win32_nlsapi=unicode ;;
19188 *) as_fn_error "Bad value ${withval} for --with-win32-nlsapi." "$LINENO" 5 ;;
19191 with_win32_nlsapi=ansi
19195 case "${with_win32_nlsapi}" in
19198 $as_echo "#define MINGW_LIBGCJ_UNICODE 1" >>confdefs.h
19203 # configure.host sets slow_pthread_self if the synchronization code should
19204 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
19205 if test "${slow_pthread_self}" = "yes"; then
19207 $as_echo "#define SLOW_PTHREAD_SELF 1" >>confdefs.h
19211 # Check for gc debugging. This option is handled both here and in the GC.
19212 # Check whether --enable-gc-debug was given.
19213 if test "${enable_gc_debug+set}" = set; then :
19214 enableval=$enable_gc_debug; if test "$enable_gc_debug" = "yes"; then
19216 $as_echo "#define LIBGCJ_GC_DEBUG 1" >>confdefs.h
19222 # See if the user has the interpreter included.
19223 # Check whether --enable-interpreter was given.
19224 if test "${enable_interpreter+set}" = set; then :
19225 enableval=$enable_interpreter; if test "$enable_interpreter" = yes; then
19226 # This can also be set in configure.host.
19227 libgcj_interpreter=yes
19228 elif test "$enable_interpreter" = no; then
19229 libgcj_interpreter=no
19234 if test "$libgcj_interpreter" = yes; then
19236 $as_echo "#define INTERPRETER 1" >>confdefs.h
19239 INTERPRETER="$libgcj_interpreter"
19241 if test "$libgcj_interpreter" = yes; then
19243 INTERPRETER_FALSE='#'
19245 INTERPRETER_TRUE='#'
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
19251 $as_echo_n "checking for exception model to use... " >&6; }
19253 ac_cpp='$CXXCPP $CPPFLAGS'
19254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19258 # Check whether --enable-sjlj-exceptions was given.
19259 if test "${enable_sjlj_exceptions+set}" = set; then :
19260 enableval=$enable_sjlj_exceptions; :
19262 cat > conftest.$ac_ext << EOF
19263 #line 19263 "configure"
19264 struct S { ~S(); };
19272 old_CXXFLAGS="$CXXFLAGS"
19274 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19275 (eval $ac_compile) 2>&5
19277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19278 test $ac_status = 0; }; then
19279 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
19280 enable_sjlj_exceptions=yes
19281 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
19282 enable_sjlj_exceptions=no
19283 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
19285 enable_sjlj_exceptions=no
19288 CXXFLAGS="$old_CXXFLAGS"
19292 if test x$enable_sjlj_exceptions = xyes; then
19294 $as_echo "#define SJLJ_EXCEPTIONS 1" >>confdefs.h
19296 ac_exception_model_name=sjlj
19297 elif test x$enable_sjlj_exceptions = xno; then
19298 ac_exception_model_name="call frame"
19300 as_fn_error "unable to detect exception model" "$LINENO" 5
19303 ac_cpp='$CPP $CPPFLAGS'
19304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
19309 $as_echo "$ac_exception_model_name" >&6; }
19311 # If we are non using SJLJ exceptions, and this host does not have support
19312 # for unwinding from a signal handler, enable checked dereferences and divides.
19313 if test $can_unwind_signal = no && test $enable_sjlj_exceptions = no; then
19314 CHECKREFSPEC=-fcheck-references
19315 DIVIDESPEC=-fuse-divide-subroutine
19319 # See if the user wants to disable java.net. This is the mildly
19320 # ugly way that we admit that target-side configuration sucks.
19321 # Check whether --enable-java-net was given.
19322 if test "${enable_java_net+set}" = set; then :
19323 enableval=$enable_java_net;
19327 # Whether java.net is built by default can depend on the target.
19328 if test -z "$enable_java_net"; then
19329 enable_java_net=${enable_java_net_default-yes}
19331 if test "$enable_java_net" = no; then
19333 $as_echo "#define DISABLE_JAVA_NET 1" >>confdefs.h
19337 # See if the user wants to configure without libffi. Some
19338 # architectures don't support it, and default values are set in
19341 # Check whether --with-libffi was given.
19342 if test "${with_libffi+set}" = set; then :
19343 withval=$with_libffi; :
19345 with_libffi=${with_libffi_default-yes}
19351 if test "$with_libffi" != no; then
19353 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
19355 LIBFFI=../libffi/libffi_convenience.la
19356 LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I../libffi/include'
19361 # See if the user wants to disable JVMPI support.
19362 # Check whether --enable-jvmpi was given.
19363 if test "${enable_jvmpi+set}" = set; then :
19364 enableval=$enable_jvmpi;
19368 if test "$enable_jvmpi" != no; then
19370 $as_echo "#define ENABLE_JVMPI 1" >>confdefs.h
19374 # If the target is an eCos system, use the appropriate eCos
19376 # FIXME: this should not be a local option but a global target
19377 # system; at present there is no eCos target.
19378 TARGET_ECOS=${PROCESS-"no"}
19380 # Check whether --with-ecos was given.
19381 if test "${with_ecos+set}" = set; then :
19382 withval=$with_ecos; TARGET_ECOS="$with_ecos"
19387 case "$TARGET_ECOS" in
19388 no) case "$host" in
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 'ld' is at least 2.13" >&5
19395 $as_echo_n "checking whether 'ld' is at least 2.13... " >&6; }
19396 LD_PROG=`$CC --print-prog-name=ld
`
19397 LD_VERSION=`$LD_PROG --version`
19398 LD_VERSION_MAJOR=`echo "$LD_VERSION" |
head -1 | cut
-d '.' -f 1 | cut
-d ' ' -f 4`
19399 LD_VERSION_MINOR=`echo "$LD_VERSION" |
head -1 | cut
-d '.' -f 2`
19400 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
19403 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \>= 13 > /dev/null; then
19407 if test "x$LD_OK" != x; then
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
19409 $as_echo "yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6; }
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
19412 $as_echo "no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6; }
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
19414 $as_echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
19416 $as_echo "#define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1" >>confdefs.h
19431 $as_echo "#define ECOS 1" >>confdefs.h
19437 ac_config_links="$ac_config_links include/platform.h:include/$PLATFORMH"
19440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19441 /* end confdefs.h. */
19442 #include <stdint.h>
19445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19446 $EGREP "uint32_t" >/dev/null 2>&1; then :
19448 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
19453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19455 #include <inttypes.h>
19458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19459 $EGREP "uint32_t" >/dev/null 2>&1; then :
19461 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
19466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19467 /* end confdefs.h. */
19468 #include <sys/types.h>
19471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19472 $EGREP "u_int32_t" >/dev/null 2>&1; then :
19474 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
19479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19480 /* end confdefs.h. */
19481 #include <sys/config.h>
19484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19485 $EGREP "u_int32_t" >/dev/null 2>&1; then :
19487 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
19493 if test "$PLATFORM" = Win32; then
19494 USING_WIN32_PLATFORM_TRUE=
19495 USING_WIN32_PLATFORM_FALSE='#'
19497 USING_WIN32_PLATFORM_TRUE='#'
19498 USING_WIN32_PLATFORM_FALSE=
19501 if test "$PLATFORM" = Posix || test "$PLATFORM" = Ecos; then
19502 USING_POSIX_PLATFORM_TRUE=
19503 USING_POSIX_PLATFORM_FALSE='#'
19505 USING_POSIX_PLATFORM_TRUE='#'
19506 USING_POSIX_PLATFORM_FALSE=
19511 *-darwin*) DARWIN_CRT=true ;;
19512 *) DARWIN_CRT=false ;;
19514 if $DARWIN_CRT; then
19515 USING_DARWIN_CRT_TRUE=
19516 USING_DARWIN_CRT_FALSE='#'
19518 USING_DARWIN_CRT_TRUE='#'
19519 USING_DARWIN_CRT_FALSE=
19523 # This may not be defined in a non-ANS conformant embedded system.
19524 # FIXME: Should these case a runtime exception in that case?
19525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19531 $EGREP "localtime" >/dev/null 2>&1; then :
19533 $as_echo "#define HAVE_LOCALTIME 1" >>confdefs.h
19539 # Create the subdirectory for natFile.cc, or the attempt
19540 # to create the link will fail.
19541 test -d java || mkdir java
19542 test -d java/io || mkdir java/io
19543 test -d gnu || mkdir gnu
19544 ac_config_links="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
19547 # Likewise for natConcreteProcess.cc.
19548 test -d java/lang || mkdir java/lang
19549 ac_config_links="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
19552 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
19553 test -d java/net || mkdir java/net
19554 ac_config_links="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
19556 ac_config_links="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
19559 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
19560 test -d gnu/java || mkdir gnu/java
19561 test -d gnu/java/net || mkdir gnu/java/net
19562 ac_config_links="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
19564 ac_config_links="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
19567 # Likewise for natVMPipe.cc and natVMSelector.cc.
19568 test -d gnu/java/nio || mkdir gnu/java/nio
19569 ac_config_links="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
19571 ac_config_links="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
19574 # Likewise for natFileChannelImpl.cc
19575 test -d gnu/java/nio/channels || mkdir gnu/java/nio/channels
19576 ac_config_links="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
19579 # Likewise for natVMSecureRandom.cc
19580 test -d gnu/java/security || mkdir gnu/java/security
19581 test -d gnu/java/security/jce || mkdir gnu/java/security/jce
19582 test -d gnu/java/security/jce/prng || mkdir gnu/java/security/jce/prng
19583 ac_config_links="$ac_config_links gnu/java/security/jce/prng/natVMSecureRandom.cc:gnu/java/security/jce/prng/natVMSecureRandom${FILE-${PLATFORM}}.cc"
19588 SYSTEMSPEC="-lgdi32 -lws2_32"
19589 if test "${with_win32_nlsapi}" = "unicows"; then
19590 SYSTEMSPEC="-lunicows $SYSTEMSPEC"
19600 # Check whether --with-system-zlib was given.
19601 if test "${with_system_zlib+set}" = set; then :
19602 withval=$with_system_zlib;
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19611 $as_echo_n "checking for X... " >&6; }
19614 # Check whether --with-x was given.
19615 if test "${with_x+set}" = set; then :
19619 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19620 if test "x$with_x" = xno; then
19621 # The user explicitly disabled X.
19624 case $x_includes,$x_libraries in #(
19625 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
19626 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
19627 $as_echo_n "(cached) " >&6
19629 # One or both of the vars are not set, and there is no cached value.
19630 ac_x_includes=no ac_x_libraries=no
19631 rm -f -r conftest.dir
19632 if mkdir conftest.dir; then
19634 cat >Imakefile <<'_ACEOF'
19636 @echo incroot='${INCROOT}'
19638 @echo usrlibdir='${USRLIBDIR}'
19640 @echo libdir='${LIBDIR}'
19642 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
19643 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19644 for ac_var in incroot usrlibdir libdir; do
19645 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
19647 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19648 for ac_extension in a so sl dylib la dll; do
19649 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19650 test -f "$ac_im_libdir/libX11.$ac_extension"; then
19651 ac_im_usrlibdir=$ac_im_libdir; break
19654 # Screen out bogus values from the imake configuration. They are
19655 # bogus both because they are the default anyway, and because
19656 # using them would break gcc on systems where it needs fixed includes.
19657 case $ac_im_incroot in
19658 /usr/include) ac_x_includes= ;;
19659 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19661 case $ac_im_usrlibdir in
19662 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
19663 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19667 rm -f -r conftest.dir
19670 # Standard set of common directories for X headers.
19671 # Check X11 before X11Rn because it is often a symlink to the current release.
19685 /usr/local/X11/include
19686 /usr/local/X11R7/include
19687 /usr/local/X11R6/include
19688 /usr/local/X11R5/include
19689 /usr/local/X11R4/include
19691 /usr/local/include/X11
19692 /usr/local/include/X11R7
19693 /usr/local/include/X11R6
19694 /usr/local/include/X11R5
19695 /usr/local/include/X11R4
19699 /usr/XFree86/include/X11
19703 /usr/unsupported/include
19704 /usr/athena/include
19705 /usr/local/x11r5/include
19706 /usr/lpp/Xamples/include
19708 /usr/openwin/include
19709 /usr/openwin/share/include'
19711 if test "$ac_x_includes" = no; then
19712 # Guess where to find include files, by looking for Xlib.h.
19713 # First, try using that file with no special directory specified.
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19716 #include <X11/Xlib.h>
19718 if ac_fn_c_try_cpp "$LINENO"; then :
19719 # We can compile using X headers with no special include directory.
19722 for ac_dir in $ac_x_header_dirs; do
19723 if test -r "$ac_dir/X11/Xlib.h"; then
19724 ac_x_includes=$ac_dir
19729 rm -f conftest.err conftest.$ac_ext
19730 fi # $ac_x_includes = no
19732 if test "$ac_x_libraries" = no; then
19733 # Check for the libraries.
19734 # See if we find them without any special options.
19735 # Don't add to $LIBS permanently.
19738 if test x$gcc_no_link = xyes; then
19739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19742 /* end confdefs.h. */
19743 #include <X11/Xlib.h>
19752 if ac_fn_c_try_link "$LINENO"; then :
19754 # We can link X programs with no special library path.
19758 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
19760 # Don't even attempt the hair of trying to link an X program!
19761 for ac_extension in a so sl dylib la dll; do
19762 if test -r "$ac_dir/libX11.$ac_extension"; then
19763 ac_x_libraries=$ac_dir
19769 rm -f core conftest.err conftest.$ac_objext \
19770 conftest$ac_exeext conftest.$ac_ext
19771 fi # $ac_x_libraries = no
19773 case $ac_x_includes,$ac_x_libraries in #(
19774 no,* | *,no | *\'*)
19775 # Didn't find X, or a directory has "'" in its name.
19776 ac_cv_have_x="have_x=no";; #(
19778 # Record where we found X for the cache.
19779 ac_cv_have_x="have_x=yes\
19780 ac_x_includes='$ac_x_includes'\
19781 ac_x_libraries='$ac_x_libraries'"
19787 eval "$ac_cv_have_x"
19790 if test "$have_x" != yes; then
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19792 $as_echo "$have_x" >&6; }
19795 # If each of the values was on the command line, it overrides each guess.
19796 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
19797 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
19798 # Update the cache value to reflect the command line values.
19799 ac_cv_have_x="have_x=yes\
19800 ac_x_includes='$x_includes'\
19801 ac_x_libraries='$x_libraries'"
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
19803 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19806 if test "$no_x" = yes; then
19807 # Not all programs may use this symbol, but it does not hurt to define it.
19809 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
19811 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
19813 if test -n "$x_includes"; then
19814 X_CFLAGS="$X_CFLAGS -I$x_includes"
19817 # It would also be nice to do this for all -L options, not just this one.
19818 if test -n "$x_libraries"; then
19819 X_LIBS="$X_LIBS -L$x_libraries"
19820 # For Solaris; some versions of Sun CC require a space after -R and
19821 # others require no space. Words are not sufficient . . . .
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
19823 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
19824 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
19825 ac_xsave_c_werror_flag=$ac_c_werror_flag
19826 ac_c_werror_flag=yes
19827 if test x$gcc_no_link = xyes; then
19828 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19831 /* end confdefs.h. */
19841 if ac_fn_c_try_link "$LINENO"; then :
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19843 $as_echo "no" >&6; }
19844 X_LIBS="$X_LIBS -R$x_libraries"
19846 LIBS="$ac_xsave_LIBS -R $x_libraries"
19847 if test x$gcc_no_link = xyes; then
19848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19851 /* end confdefs.h. */
19861 if ac_fn_c_try_link "$LINENO"; then :
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19863 $as_echo "yes" >&6; }
19864 X_LIBS="$X_LIBS -R $x_libraries"
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
19867 $as_echo "neither works" >&6; }
19869 rm -f core conftest.err conftest.$ac_objext \
19870 conftest$ac_exeext conftest.$ac_ext
19872 rm -f core conftest.err conftest.$ac_objext \
19873 conftest$ac_exeext conftest.$ac_ext
19874 ac_c_werror_flag=$ac_xsave_c_werror_flag
19875 LIBS=$ac_xsave_LIBS
19878 # Check for system-dependent libraries X programs must link with.
19879 # Do this before checking for the system-independent R6 libraries
19880 # (-lICE), since we may need -lsocket or whatever for X linking.
19882 if test "$ISC" = yes; then
19883 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
19885 # Martyn Johnson says this is needed for Ultrix, if the X
19886 # libraries were built with DECnet support. And Karl Berry says
19887 # the Alpha needs dnet_stub (dnet does not exist).
19888 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
19889 if test x$gcc_no_link = xyes; then
19890 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19893 /* end confdefs.h. */
19895 /* Override any GCC internal prototype to avoid an error.
19896 Use char because int might match the return type of a GCC
19897 builtin and then its argument prototype would still apply. */
19901 char XOpenDisplay ();
19905 return XOpenDisplay ();
19910 if ac_fn_c_try_link "$LINENO"; then :
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
19914 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
19915 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
19916 $as_echo_n "(cached) " >&6
19918 ac_check_lib_save_LIBS=$LIBS
19919 LIBS="-ldnet $LIBS"
19920 if test x$gcc_no_link = xyes; then
19921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h. */
19926 /* Override any GCC internal prototype to avoid an error.
19927 Use char because int might match the return type of a GCC
19928 builtin and then its argument prototype would still apply. */
19936 return dnet_ntoa ();
19941 if ac_fn_c_try_link "$LINENO"; then :
19942 ac_cv_lib_dnet_dnet_ntoa=yes
19944 ac_cv_lib_dnet_dnet_ntoa=no
19946 rm -f core conftest.err conftest.$ac_objext \
19947 conftest$ac_exeext conftest.$ac_ext
19948 LIBS=$ac_check_lib_save_LIBS
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19951 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19952 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
19953 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
19956 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
19958 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
19959 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
19960 $as_echo_n "(cached) " >&6
19962 ac_check_lib_save_LIBS=$LIBS
19963 LIBS="-ldnet_stub $LIBS"
19964 if test x$gcc_no_link = xyes; then
19965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19968 /* end confdefs.h. */
19970 /* Override any GCC internal prototype to avoid an error.
19971 Use char because int might match the return type of a GCC
19972 builtin and then its argument prototype would still apply. */
19980 return dnet_ntoa ();
19985 if ac_fn_c_try_link "$LINENO"; then :
19986 ac_cv_lib_dnet_stub_dnet_ntoa=yes
19988 ac_cv_lib_dnet_stub_dnet_ntoa=no
19990 rm -f core conftest.err conftest.$ac_objext \
19991 conftest$ac_exeext conftest.$ac_ext
19992 LIBS=$ac_check_lib_save_LIBS
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19995 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19996 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
19997 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20002 rm -f core conftest.err conftest.$ac_objext \
20003 conftest$ac_exeext conftest.$ac_ext
20004 LIBS="$ac_xsave_LIBS"
20006 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20007 # to get the SysV transport functions.
20008 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20010 # The nsl library prevents programs from opening the X display
20011 # on Irix 5.2, according to T.E. Dickey.
20012 # The functions gethostbyname, getservbyname, and inet_addr are
20013 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20014 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
20015 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
20019 if test $ac_cv_func_gethostbyname = no; then
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20021 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20022 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
20023 $as_echo_n "(cached) " >&6
20025 ac_check_lib_save_LIBS=$LIBS
20027 if test x$gcc_no_link = xyes; then
20028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20031 /* end confdefs.h. */
20033 /* Override any GCC internal prototype to avoid an error.
20034 Use char because int might match the return type of a GCC
20035 builtin and then its argument prototype would still apply. */
20039 char gethostbyname ();
20043 return gethostbyname ();
20048 if ac_fn_c_try_link "$LINENO"; then :
20049 ac_cv_lib_nsl_gethostbyname=yes
20051 ac_cv_lib_nsl_gethostbyname=no
20053 rm -f core conftest.err conftest.$ac_objext \
20054 conftest$ac_exeext conftest.$ac_ext
20055 LIBS=$ac_check_lib_save_LIBS
20057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20058 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20059 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
20060 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20063 if test $ac_cv_lib_nsl_gethostbyname = no; then
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
20065 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20066 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
20067 $as_echo_n "(cached) " >&6
20069 ac_check_lib_save_LIBS=$LIBS
20071 if test x$gcc_no_link = xyes; then
20072 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20075 /* end confdefs.h. */
20077 /* Override any GCC internal prototype to avoid an error.
20078 Use char because int might match the return type of a GCC
20079 builtin and then its argument prototype would still apply. */
20083 char gethostbyname ();
20087 return gethostbyname ();
20092 if ac_fn_c_try_link "$LINENO"; then :
20093 ac_cv_lib_bsd_gethostbyname=yes
20095 ac_cv_lib_bsd_gethostbyname=no
20097 rm -f core conftest.err conftest.$ac_objext \
20098 conftest$ac_exeext conftest.$ac_ext
20099 LIBS=$ac_check_lib_save_LIBS
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
20102 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
20103 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
20104 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20110 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20111 # socket/setsockopt and other routines are undefined under SCO ODT
20112 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20113 # on later versions), says Simon Leinen: it contains gethostby*
20114 # variants that don't use the name server (or something). -lsocket
20115 # must be given before -lnsl if both are needed. We assume that
20116 # if connect needs -lnsl, so does gethostbyname.
20117 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
20118 if test "x$ac_cv_func_connect" = x""yes; then :
20122 if test $ac_cv_func_connect = no; then
20123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
20124 $as_echo_n "checking for connect in -lsocket... " >&6; }
20125 if test "${ac_cv_lib_socket_connect+set}" = set; then :
20126 $as_echo_n "(cached) " >&6
20128 ac_check_lib_save_LIBS=$LIBS
20129 LIBS="-lsocket $X_EXTRA_LIBS $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. */
20151 if ac_fn_c_try_link "$LINENO"; then :
20152 ac_cv_lib_socket_connect=yes
20154 ac_cv_lib_socket_connect=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_socket_connect" >&5
20161 $as_echo "$ac_cv_lib_socket_connect" >&6; }
20162 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
20163 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20168 # Guillermo Gomez says -lposix is necessary on A/UX.
20169 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
20170 if test "x$ac_cv_func_remove" = x""yes; then :
20174 if test $ac_cv_func_remove = no; then
20175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
20176 $as_echo_n "checking for remove in -lposix... " >&6; }
20177 if test "${ac_cv_lib_posix_remove+set}" = set; then :
20178 $as_echo_n "(cached) " >&6
20180 ac_check_lib_save_LIBS=$LIBS
20181 LIBS="-lposix $LIBS"
20182 if test x$gcc_no_link = xyes; then
20183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20186 /* end confdefs.h. */
20188 /* Override any GCC internal prototype to avoid an error.
20189 Use char because int might match the return type of a GCC
20190 builtin and then its argument prototype would still apply. */
20203 if ac_fn_c_try_link "$LINENO"; then :
20204 ac_cv_lib_posix_remove=yes
20206 ac_cv_lib_posix_remove=no
20208 rm -f core conftest.err conftest.$ac_objext \
20209 conftest$ac_exeext conftest.$ac_ext
20210 LIBS=$ac_check_lib_save_LIBS
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
20213 $as_echo "$ac_cv_lib_posix_remove" >&6; }
20214 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
20215 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20220 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20221 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
20222 if test "x$ac_cv_func_shmat" = x""yes; then :
20226 if test $ac_cv_func_shmat = no; then
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
20228 $as_echo_n "checking for shmat in -lipc... " >&6; }
20229 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
20230 $as_echo_n "(cached) " >&6
20232 ac_check_lib_save_LIBS=$LIBS
20234 if test x$gcc_no_link = xyes; then
20235 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20238 /* end confdefs.h. */
20240 /* Override any GCC internal prototype to avoid an error.
20241 Use char because int might match the return type of a GCC
20242 builtin and then its argument prototype would still apply. */
20255 if ac_fn_c_try_link "$LINENO"; then :
20256 ac_cv_lib_ipc_shmat=yes
20258 ac_cv_lib_ipc_shmat=no
20260 rm -f core conftest.err conftest.$ac_objext \
20261 conftest$ac_exeext conftest.$ac_ext
20262 LIBS=$ac_check_lib_save_LIBS
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
20265 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
20266 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
20267 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20273 # Check for libraries that X11R6 Xt/Xaw programs need.
20274 ac_save_LDFLAGS=$LDFLAGS
20275 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
20276 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20277 # check for ICE first), but we must link in the order -lSM -lICE or
20278 # we get undefined symbols. So assume we have SM if we have ICE.
20279 # These have to be linked with before -lX11, unlike the other
20280 # libraries we check for below, so use a different variable.
20281 # John Interrante, Karl Berry
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
20283 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
20284 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
20285 $as_echo_n "(cached) " >&6
20287 ac_check_lib_save_LIBS=$LIBS
20288 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
20289 if test x$gcc_no_link = xyes; then
20290 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20293 /* end confdefs.h. */
20295 /* Override any GCC internal prototype to avoid an error.
20296 Use char because int might match the return type of a GCC
20297 builtin and then its argument prototype would still apply. */
20301 char IceConnectionNumber ();
20305 return IceConnectionNumber ();
20310 if ac_fn_c_try_link "$LINENO"; then :
20311 ac_cv_lib_ICE_IceConnectionNumber=yes
20313 ac_cv_lib_ICE_IceConnectionNumber=no
20315 rm -f core conftest.err conftest.$ac_objext \
20316 conftest$ac_exeext conftest.$ac_ext
20317 LIBS=$ac_check_lib_save_LIBS
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20320 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20321 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
20322 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
20325 LDFLAGS=$ac_save_LDFLAGS
20330 # FIXME: this should be _libs on some hosts.
20333 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20336 # extra LD Flags which are required for targets
20339 # For now we have to disable it on darwin[8-9] because it slows down
20340 # the linking phase. A possible bug in ld?
20341 # on Darwin -single_module speeds up loading of the dynamic libraries.
20342 extra_ldflags_libjava=-Wl,-single_module
20345 extra_gij_ldflags=-Wl,-allow_stack_execute
20348 # Some of the ARM unwinder code is actually in libstdc++. We
20349 # could in principle replicate it in libgcj, but it's better to
20350 # have a dependency on libstdc++.
20351 extra_ldflags='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20352 LIBSTDCXXSPEC=-lstdc++
20353 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20356 extra_ldflags_libjava=-liconv
20366 # Allow the GC to be disabled. Can be useful when debugging.
20367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for garbage collector to use" >&5
20368 $as_echo_n "checking for garbage collector to use... " >&6; }
20369 # Check whether --enable-java-gc was given.
20370 if test "${enable_java_gc+set}" = set; then :
20371 enableval=$enable_java_gc; GC=$enableval
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: boehm" >&5
20385 $as_echo "boehm" >&6; }
20386 GCLIBS=../boehm-gc/libgcjgc_convenience.la
20387 JC1GCSPEC='-fuse-boehm-gc'
20388 GCTESTSPEC="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20389 GCINCS='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20392 # The POSIX thread support needs to know this.
20394 $as_echo "#define HAVE_BOEHM_GC 1" >>confdefs.h
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
20399 $as_echo "none" >&6; }
20403 as_fn_error "unrecognized collector \"$GC\"" "$LINENO" 5
20412 ac_config_links="$ac_config_links include/java-gc.h:include/$GCHDR"
20414 if test "$GC" = boehm; then
20415 USING_BOEHMGC_TRUE=
20416 USING_BOEHMGC_FALSE='#'
20418 USING_BOEHMGC_TRUE='#'
20419 USING_BOEHMGC_FALSE=
20422 if test "$GC" = no; then
20424 USING_NOGC_FALSE='#'
20426 USING_NOGC_TRUE='#'
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
20433 $as_echo_n "checking for thread model used by GCC... " >&6; }
20434 THREADS=`$CC -v 2>&1 |
sed -n 's/^Thread model: //p'`
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS" >&5
20436 $as_echo "$THREADS" >&6; }
20439 no | none | single)
20442 aix | posix | posix95 | pthreads)
20447 $as_echo "#define LINUX_THREADS 1" >>confdefs.h
20454 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
20455 as_fn_error "thread package $THREADS not yet supported" "$LINENO" 5
20458 as_fn_error "$THREADS is an unknown thread package" "$LINENO" 5
20469 THREADSTARTFILESPEC=
20474 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20476 *-*-freebsd[1234]*)
20477 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20478 # merely adds pthread_* functions) but it does have a -pthread switch
20479 # which is required at link-time to select -lc_r *instead* of -lc.
20480 THREADLDFLAGS=-pthread
20481 # Don't set THREADSPEC here as might be expected since -pthread is
20482 # not processed when found within a spec file, it must come from
20483 # the command line. For now, the user must provide the -pthread
20484 # switch to link code compiled with gcj. In future, consider adding
20485 # support for weak references to pthread_* functions ala gthr.h API.
20486 THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20489 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20490 # systems which support threads and -lpthread.
20491 THREADLDFLAGS=-pthread
20492 THREADSPEC=-lpthread
20494 alpha*-dec-osf* | hppa*-hp-hpux*)
20495 THREADCXXFLAGS=-pthread
20496 # boehm-gc needs some functions from librt, so link that too.
20497 THREADLIBS='-lpthread -lrt'
20498 THREADSPEC='-lpthread -lrt'
20501 THREADLIBS=-lpthread
20502 THREADSPEC=-lpthread
20505 THREADH=posix-threads.h
20506 # MIT pthreads doesn't seem to have the mutexattr functions.
20507 # But for now we don't check for it. We just assume you aren't
20508 # using MIT pthreads.
20510 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20513 # If we're using the Boehm GC, then we happen to know that it
20514 # defines _REENTRANT, so we don't bother. Eww.
20515 if test "$GC" != boehm; then
20517 $as_echo "#define _REENTRANT 1" >>confdefs.h
20521 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
20526 THREADH=win32-threads.h
20527 THREADCXXFLAGS=-mthreads
20528 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20529 # But we do not want the executables created to be dependent on
20530 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20531 # exception handling contexts. The following kludge achieves this effect
20532 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20533 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20534 # A workaround is to explicitly use -mthreads while linking Java programs.
20535 # See PR libgcj/28263.
20537 # FIXME: In Java we are able to detect thread death at the end of
20538 # Thread.run() so we should be able to clean up the exception handling
20539 # contexts ourselves.
20540 THREADSTARTFILESPEC='crtmt%O%s'
20544 THREADH=no-threads.h
20547 ac_config_links="$ac_config_links include/java-threads.h:include/$THREADH"
20556 if test "$THREADS" = posix; then
20557 USING_POSIX_THREADS_TRUE=
20558 USING_POSIX_THREADS_FALSE='#'
20560 USING_POSIX_THREADS_TRUE='#'
20561 USING_POSIX_THREADS_FALSE=
20564 if test "$THREADS" = win32; then
20565 USING_WIN32_THREADS_TRUE=
20566 USING_WIN32_THREADS_FALSE='#'
20568 USING_WIN32_THREADS_TRUE='#'
20569 USING_WIN32_THREADS_FALSE=
20572 if test "$THREADS" = none; then
20573 USING_NO_THREADS_TRUE=
20574 USING_NO_THREADS_FALSE='#'
20576 USING_NO_THREADS_TRUE='#'
20577 USING_NO_THREADS_FALSE=
20580 if test "$enable_shared" != yes; then
20583 if test "$use_libgcj_bc" = yes; then
20584 USE_LIBGCJ_BC_TRUE=
20585 USE_LIBGCJ_BC_FALSE='#'
20587 USE_LIBGCJ_BC_TRUE='#'
20588 USE_LIBGCJ_BC_FALSE=
20592 if test -d sysdep; then true; else mkdir sysdep; fi
20593 ac_config_links="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20595 ac_config_links="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20597 ac_config_links="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20600 LIBGCJ_SPEC_LGCJ=-lgcj
20601 LIBGCJ_SPEC_LGCJ_BC=-lgcj_bc
20602 if test x"$libgcj_spec_lgcj_override" != x ; then
20603 LIBGCJ_SPEC_LGCJ=$libgcj_spec_lgcj_override
20605 if test x"$libgcj_spec_lgcj_bc_override" != x ; then
20606 LIBGCJ_SPEC_LGCJ_BC=$libgcj_spec_lgcj_bc_override
20608 LIBGCJ_SPEC="%{s-bc-abi:} $LIBGCJ_SPEC_LGCJ"
20609 if test "$use_libgcj_bc" = yes; then
20610 LIBGCJ_SPEC="%{static|static-libgcj|!s-bc-abi:$LIBGCJ_SPEC_LGCJ;:$LIBGCJ_SPEC_LGCJ_BC}"
20611 LIBGCJ_BC_SPEC="%{findirect-dispatch:-fPIC}"
20617 # Hash synchronization is only useful with posix threads right now.
20618 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20619 HASH_SYNC_SPEC=-fhash-synchronization
20621 $as_echo "#define JV_HASH_SYNCHRONIZATION 1" >>confdefs.h
20626 if test "$GCC" = yes; then
20628 USING_GCC_FALSE='#'
20635 # We're in the tree with gcc, and need to include some of its headers.
20636 GCC_UNWIND_INCLUDE='-I$(multi_basedir)/./libjava/../gcc'
20638 if test "x${with_newlib}" = "xyes"; then
20639 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20640 # may not work correctly, because the compiler may not be able to
20641 # link executables.
20643 # We assume newlib. This lets us hard-code the functions we know
20646 $as_echo "#define HAVE_MEMMOVE 1" >>confdefs.h
20649 $as_echo "#define HAVE_MEMCPY 1" >>confdefs.h
20652 $as_echo "#define HAVE_TIME 1" >>confdefs.h
20655 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
20658 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
20661 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
20663 # This is only for POSIX threads.
20665 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20668 # Assume we do not have getuid and friends.
20670 $as_echo "#define NO_GETUID 1" >>confdefs.h
20674 for ac_func in strerror_r select fstat open fsync sleep opendir \
20675 localtime_r getpwuid_r getcwd \
20676 access stat lstat mkdir rename rmdir unlink utime chmod readlink \
20677 nl_langinfo setlocale \
20678 inet_pton uname inet_ntoa \
20679 getrlimit sigaction ftruncate mmap \
20682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20684 eval as_val=\$$as_ac_var
20685 if test "x$as_val" = x""yes; then :
20686 cat >>confdefs.h <<_ACEOF
20687 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20693 for ac_func in inet_aton inet_addr
20695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20697 eval as_val=\$$as_ac_var
20698 if test "x$as_val" = x""yes; then :
20699 cat >>confdefs.h <<_ACEOF
20700 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20706 for ac_header in unistd.h dlfcn.h sys/resource.h
20708 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20709 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20710 eval as_val=\$$as_ac_Header
20711 if test "x$as_val" = x""yes; then :
20712 cat >>confdefs.h <<_ACEOF
20713 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20720 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
20721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
20722 $as_echo_n "checking for dladdr in -ldl... " >&6; }
20723 if test "${ac_cv_lib_dl_dladdr+set}" = set; then :
20724 $as_echo_n "(cached) " >&6
20726 ac_check_lib_save_LIBS=$LIBS
20728 if test x$gcc_no_link = xyes; then
20729 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20732 /* end confdefs.h. */
20734 /* Override any GCC internal prototype to avoid an error.
20735 Use char because int might match the return type of a GCC
20736 builtin and then its argument prototype would still apply. */
20749 if ac_fn_c_try_link "$LINENO"; then :
20750 ac_cv_lib_dl_dladdr=yes
20752 ac_cv_lib_dl_dladdr=no
20754 rm -f core conftest.err conftest.$ac_objext \
20755 conftest$ac_exeext conftest.$ac_ext
20756 LIBS=$ac_check_lib_save_LIBS
20758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
20759 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
20760 if test "x$ac_cv_lib_dl_dladdr" = x""yes; then :
20763 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldld" >&5
20768 $as_echo_n "checking for dladdr in -ldld... " >&6; }
20769 if test "${ac_cv_lib_dld_dladdr+set}" = set; then :
20770 $as_echo_n "(cached) " >&6
20772 ac_check_lib_save_LIBS=$LIBS
20774 if test x$gcc_no_link = xyes; then
20775 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20778 /* end confdefs.h. */
20780 /* Override any GCC internal prototype to avoid an error.
20781 Use char because int might match the return type of a GCC
20782 builtin and then its argument prototype would still apply. */
20795 if ac_fn_c_try_link "$LINENO"; then :
20796 ac_cv_lib_dld_dladdr=yes
20798 ac_cv_lib_dld_dladdr=no
20800 rm -f core conftest.err conftest.$ac_objext \
20801 conftest$ac_exeext conftest.$ac_ext
20802 LIBS=$ac_check_lib_save_LIBS
20804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dladdr" >&5
20805 $as_echo "$ac_cv_lib_dld_dladdr" >&6; }
20806 if test "x$ac_cv_lib_dld_dladdr" = x""yes; then :
20809 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
20816 if test x"$cross_compiling" = x"no"; then
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/exe" >&5
20818 $as_echo_n "checking for /proc/self/exe... " >&6; }
20819 if test "${ac_cv_file__proc_self_exe+set}" = set; then :
20820 $as_echo_n "(cached) " >&6
20822 test "$cross_compiling" = yes &&
20823 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
20824 if test -r "/proc/self/exe"; then
20825 ac_cv_file__proc_self_exe=yes
20827 ac_cv_file__proc_self_exe=no
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_exe" >&5
20831 $as_echo "$ac_cv_file__proc_self_exe" >&6; }
20832 if test "x$ac_cv_file__proc_self_exe" = x""yes; then :
20834 cat >>confdefs.h <<_ACEOF
20835 #define HAVE__PROC_SELF_EXE 1
20839 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/maps" >&5
20844 $as_echo_n "checking for /proc/self/maps... " >&6; }
20845 if test "${ac_cv_file__proc_self_maps+set}" = set; then :
20846 $as_echo_n "(cached) " >&6
20848 test "$cross_compiling" = yes &&
20849 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
20850 if test -r "/proc/self/maps"; then
20851 ac_cv_file__proc_self_maps=yes
20853 ac_cv_file__proc_self_maps=no
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_maps" >&5
20857 $as_echo "$ac_cv_file__proc_self_maps" >&6; }
20858 if test "x$ac_cv_file__proc_self_maps" = x""yes; then :
20860 cat >>confdefs.h <<_ACEOF
20861 #define HAVE__PROC_SELF_MAPS 1
20865 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
20873 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
20876 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
20883 if test "X$prefix" = "XNONE"; then
20884 acl_final_prefix="$ac_default_prefix"
20886 acl_final_prefix="$prefix"
20888 if test "X$exec_prefix" = "XNONE"; then
20889 acl_final_exec_prefix='${prefix}'
20891 acl_final_exec_prefix="$exec_prefix"
20893 acl_save_prefix="$prefix"
20894 prefix="$acl_final_prefix"
20895 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
20896 prefix="$acl_save_prefix"
20899 # Check whether --with-gnu-ld was given.
20900 if test "${with_gnu_ld+set}" = set; then :
20901 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20906 # Prepare PATH_SEPARATOR.
20907 # The user is always right.
20908 if test "${PATH_SEPARATOR+set}" != set; then
20909 echo "#! /bin/sh" >conf$$.sh
20910 echo "exit 0" >>conf$$.sh
20912 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20920 if test "$GCC" = yes; then
20921 # Check if gcc -print-prog-name=ld gives a path.
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
20923 $as_echo_n "checking for ld used by GCC... " >&6; }
20926 # gcc leaves a trailing carriage return which upsets mingw
20927 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
20929 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
20932 # Accept absolute paths.
20933 [\\/]* | [A-Za-z]:[\\/]*)
20934 re_direlt='/[^/][^/]*/\.\./'
20935 # Canonicalize the path of ld
20936 ac_prog=`echo $ac_prog|
sed 's%\\\\%/%g'`
20937 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
20938 ac_prog=`echo $ac_prog|
sed "s%$re_direlt%/%"`
20940 test -z "$LD" && LD="$ac_prog"
20943 # If it fails, then pretend we aren't using GCC.
20947 # If it is relative, then search for the first ld in PATH.
20948 with_gnu_ld=unknown
20951 elif test "$with_gnu_ld" = yes; then
20952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20953 $as_echo_n "checking for GNU ld... " >&6; }
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20956 $as_echo_n "checking for non-GNU ld... " >&6; }
20958 if test "${acl_cv_path_LD+set}" = set; then :
20959 $as_echo_n "(cached) " >&6
20961 if test -z "$LD"; then
20962 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
20963 for ac_dir in $PATH; do
20964 test -z "$ac_dir" && ac_dir=.
20965 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20966 acl_cv_path_LD="$ac_dir/$ac_prog"
20967 # Check to see if the program is GNU ld. I'd rather use --version,
20968 # but apparently some GNU ld's only accept -v.
20969 # Break only if it was the GNU/non-GNU ld that we prefer.
20970 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
20971 test "$with_gnu_ld" != no && break
20973 test "$with_gnu_ld" != yes && break
20979 acl_cv_path_LD="$LD" # Let the user override the test with a path.
20983 LD="$acl_cv_path_LD"
20984 if test -n "$LD"; then
20985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20986 $as_echo "$LD" >&6; }
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20989 $as_echo "no" >&6; }
20991 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20993 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20994 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
20995 $as_echo_n "(cached) " >&6
20997 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
20998 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
20999 acl_cv_prog_gnu_ld=yes
21001 acl_cv_prog_gnu_ld=no
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
21005 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
21006 with_gnu_ld=$acl_cv_prog_gnu_ld
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
21011 $as_echo_n "checking for shared library run path origin... " >&6; }
21012 if test "${acl_cv_rpath+set}" = set; then :
21013 $as_echo_n "(cached) " >&6
21016 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
21017 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21019 rm -f ./conftest.sh
21023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
21024 $as_echo "$acl_cv_rpath" >&6; }
21026 libext="$acl_cv_libext"
21027 shlibext="$acl_cv_shlibext"
21028 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
21029 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
21030 hardcode_direct="$acl_cv_hardcode_direct"
21031 hardcode_minus_L="$acl_cv_hardcode_minus_L"
21032 # Check whether --enable-rpath was given.
21033 if test "${enable_rpath+set}" = set; then :
21034 enableval=$enable_rpath; :
21048 acl_save_prefix="$prefix"
21049 prefix="$acl_final_prefix"
21050 acl_save_exec_prefix="$exec_prefix"
21051 exec_prefix="$acl_final_exec_prefix"
21053 eval additional_includedir=\"$includedir\"
21054 eval additional_libdir=\"$libdir\"
21056 exec_prefix="$acl_save_exec_prefix"
21057 prefix="$acl_save_prefix"
21060 # Check whether --with-libiconv-prefix was given.
21061 if test "${with_libiconv_prefix+set}" = set; then :
21062 withval=$with_libiconv_prefix;
21063 if test "X$withval" = "Xno"; then
21066 if test "X$withval" = "X"; then
21068 acl_save_prefix="$prefix"
21069 prefix="$acl_final_prefix"
21070 acl_save_exec_prefix="$exec_prefix"
21071 exec_prefix="$acl_final_exec_prefix"
21073 eval additional_includedir=\"$includedir\"
21074 eval additional_libdir=\"$libdir\"
21076 exec_prefix="$acl_save_exec_prefix"
21077 prefix="$acl_save_prefix"
21080 additional_includedir="$withval/include"
21081 additional_libdir="$withval/lib"
21092 names_already_handled=
21093 names_next_round='iconv '
21094 while test -n "$names_next_round"; do
21095 names_this_round="$names_next_round"
21097 for name in $names_this_round; do
21099 for n in $names_already_handled; do
21100 if test "$n" = "$name"; then
21101 already_handled=yes
21105 if test -z "$already_handled"; then
21106 names_already_handled="$names_already_handled $name"
21107 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21108 eval value=\"\$HAVE_LIB$uppername\"
21109 if test -n "$value"; then
21110 if test "$value" = yes; then
21111 eval value=\"\$LIB$uppername\"
21112 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
21113 eval value=\"\$LTLIB$uppername\"
21114 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
21123 if test $use_additional = yes; then
21124 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21125 found_dir="$additional_libdir"
21126 found_so="$additional_libdir/lib$name.$shlibext"
21127 if test -f "$additional_libdir/lib$name.la"; then
21128 found_la="$additional_libdir/lib$name.la"
21131 if test -f "$additional_libdir/lib$name.$libext"; then
21132 found_dir="$additional_libdir"
21133 found_a="$additional_libdir/lib$name.$libext"
21134 if test -f "$additional_libdir/lib$name.la"; then
21135 found_la="$additional_libdir/lib$name.la"
21140 if test "X$found_dir" = "X"; then
21141 for x in $LDFLAGS $LTLIBICONV; do
21143 acl_save_prefix="$prefix"
21144 prefix="$acl_final_prefix"
21145 acl_save_exec_prefix="$exec_prefix"
21146 exec_prefix="$acl_final_exec_prefix"
21148 exec_prefix="$acl_save_exec_prefix"
21149 prefix="$acl_save_prefix"
21153 dir=`echo "X$x" |
sed -e 's/^X-L//'`
21154 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21156 found_so="$dir/lib$name.$shlibext"
21157 if test -f "$dir/lib$name.la"; then
21158 found_la="$dir/lib$name.la"
21161 if test -f "$dir/lib$name.$libext"; then
21163 found_a="$dir/lib$name.$libext"
21164 if test -f "$dir/lib$name.la"; then
21165 found_la="$dir/lib$name.la"
21171 if test "X$found_dir" != "X"; then
21176 if test "X$found_dir" != "X"; then
21177 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21178 if test "X$found_so" != "X"; then
21179 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
21180 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21183 for x in $ltrpathdirs; do
21184 if test "X$x" = "X$found_dir"; then
21189 if test -z "$haveit"; then
21190 ltrpathdirs="$ltrpathdirs $found_dir"
21192 if test "$hardcode_direct" = yes; then
21193 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21195 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
21196 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21198 for x in $rpathdirs; do
21199 if test "X$x" = "X$found_dir"; then
21204 if test -z "$haveit"; then
21205 rpathdirs="$rpathdirs $found_dir"
21209 for x in $LDFLAGS $LIBICONV; do
21211 acl_save_prefix="$prefix"
21212 prefix="$acl_final_prefix"
21213 acl_save_exec_prefix="$exec_prefix"
21214 exec_prefix="$acl_final_exec_prefix"
21216 exec_prefix="$acl_save_exec_prefix"
21217 prefix="$acl_save_prefix"
21219 if test "X$x" = "X-L$found_dir"; then
21224 if test -z "$haveit"; then
21225 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21227 if test "$hardcode_minus_L" != no; then
21228 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21230 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21236 if test "X$found_a" != "X"; then
21237 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
21239 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21242 additional_includedir=
21243 case "$found_dir" in
21245 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e 's,/lib/*$,,'`
21246 additional_includedir="$basedir/include"
21249 if test "X$additional_includedir" != "X"; then
21250 if test "X$additional_includedir" != "X/usr/include"; then
21252 if test "X$additional_includedir" = "X/usr/local/include"; then
21253 if test -n "$GCC"; then
21255 linux*) haveit=yes;;
21259 if test -z "$haveit"; then
21260 for x in $CPPFLAGS $INCICONV; do
21262 acl_save_prefix="$prefix"
21263 prefix="$acl_final_prefix"
21264 acl_save_exec_prefix="$exec_prefix"
21265 exec_prefix="$acl_final_exec_prefix"
21267 exec_prefix="$acl_save_exec_prefix"
21268 prefix="$acl_save_prefix"
21270 if test "X$x" = "X-I$additional_includedir"; then
21275 if test -z "$haveit"; then
21276 if test -d "$additional_includedir"; then
21277 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21283 if test -n "$found_la"; then
21284 save_libdir="$libdir"
21285 case "$found_la" in
21286 */* | *\\*) . "$found_la" ;;
21287 *) . "./$found_la" ;;
21289 libdir="$save_libdir"
21290 for dep in $dependency_libs; do
21293 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
21294 if test "X$additional_libdir" != "X/usr/lib"; then
21296 if test "X$additional_libdir" = "X/usr/local/lib"; then
21297 if test -n "$GCC"; then
21299 linux*) haveit=yes;;
21303 if test -z "$haveit"; then
21305 for x in $LDFLAGS $LIBICONV; do
21307 acl_save_prefix="$prefix"
21308 prefix="$acl_final_prefix"
21309 acl_save_exec_prefix="$exec_prefix"
21310 exec_prefix="$acl_final_exec_prefix"
21312 exec_prefix="$acl_save_exec_prefix"
21313 prefix="$acl_save_prefix"
21315 if test "X$x" = "X-L$additional_libdir"; then
21320 if test -z "$haveit"; then
21321 if test -d "$additional_libdir"; then
21322 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21326 for x in $LDFLAGS $LTLIBICONV; do
21328 acl_save_prefix="$prefix"
21329 prefix="$acl_final_prefix"
21330 acl_save_exec_prefix="$exec_prefix"
21331 exec_prefix="$acl_final_exec_prefix"
21333 exec_prefix="$acl_save_exec_prefix"
21334 prefix="$acl_save_prefix"
21336 if test "X$x" = "X-L$additional_libdir"; then
21341 if test -z "$haveit"; then
21342 if test -d "$additional_libdir"; then
21343 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21350 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
21351 if test "$enable_rpath" != no; then
21353 for x in $rpathdirs; do
21354 if test "X$x" = "X$dir"; then
21359 if test -z "$haveit"; then
21360 rpathdirs="$rpathdirs $dir"
21363 for x in $ltrpathdirs; do
21364 if test "X$x" = "X$dir"; then
21369 if test -z "$haveit"; then
21370 ltrpathdirs="$ltrpathdirs $dir"
21375 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
21378 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21381 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
21382 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21388 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21389 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21395 if test "X$rpathdirs" != "X"; then
21396 if test -n "$hardcode_libdir_separator"; then
21398 for found_dir in $rpathdirs; do
21399 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
21401 acl_save_libdir="$libdir"
21403 eval flag=\"$hardcode_libdir_flag_spec\"
21404 libdir="$acl_save_libdir"
21405 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21407 for found_dir in $rpathdirs; do
21408 acl_save_libdir="$libdir"
21409 libdir="$found_dir"
21410 eval flag=\"$hardcode_libdir_flag_spec\"
21411 libdir="$acl_save_libdir"
21412 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21416 if test "X$ltrpathdirs" != "X"; then
21417 for found_dir in $ltrpathdirs; do
21418 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21428 am_save_CPPFLAGS="$CPPFLAGS"
21430 for element in $INCICONV; do
21432 for x in $CPPFLAGS; do
21434 acl_save_prefix="$prefix"
21435 prefix="$acl_final_prefix"
21436 acl_save_exec_prefix="$exec_prefix"
21437 exec_prefix="$acl_final_exec_prefix"
21439 exec_prefix="$acl_save_exec_prefix"
21440 prefix="$acl_save_prefix"
21442 if test "X$x" = "X$element"; then
21447 if test -z "$haveit"; then
21448 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
21453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
21454 $as_echo_n "checking for iconv... " >&6; }
21455 if test "${am_cv_func_iconv+set}" = set; then :
21456 $as_echo_n "(cached) " >&6
21459 am_cv_func_iconv="no, consider installing GNU libiconv"
21461 if test x$gcc_no_link = xyes; then
21462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21465 /* end confdefs.h. */
21466 #include <stdlib.h>
21471 iconv_t cd = iconv_open("","");
21472 iconv(cd,NULL,NULL,NULL,NULL);
21478 if ac_fn_c_try_link "$LINENO"; then :
21479 am_cv_func_iconv=yes
21481 rm -f core conftest.err conftest.$ac_objext \
21482 conftest$ac_exeext conftest.$ac_ext
21483 if test "$am_cv_func_iconv" != yes; then
21484 am_save_LIBS="$LIBS"
21485 LIBS="$LIBS $LIBICONV"
21486 if test x$gcc_no_link = xyes; then
21487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21490 /* end confdefs.h. */
21491 #include <stdlib.h>
21496 iconv_t cd = iconv_open("","");
21497 iconv(cd,NULL,NULL,NULL,NULL);
21503 if ac_fn_c_try_link "$LINENO"; then :
21504 am_cv_lib_iconv=yes
21505 am_cv_func_iconv=yes
21507 rm -f core conftest.err conftest.$ac_objext \
21508 conftest$ac_exeext conftest.$ac_ext
21509 LIBS="$am_save_LIBS"
21513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
21514 $as_echo "$am_cv_func_iconv" >&6; }
21515 if test "$am_cv_func_iconv" = yes; then
21517 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
21520 if test "$am_cv_lib_iconv" = yes; then
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
21522 $as_echo_n "checking how to link with libiconv... " >&6; }
21523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
21524 $as_echo "$LIBICONV" >&6; }
21526 CPPFLAGS="$am_save_CPPFLAGS"
21533 if test "$am_cv_func_iconv" = yes; then
21534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
21535 $as_echo_n "checking for iconv declaration... " >&6; }
21536 if test "${am_cv_proto_iconv+set}" = set; then :
21537 $as_echo_n "(cached) " >&6
21540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21541 /* end confdefs.h. */
21543 #include <stdlib.h>
21549 #if defined(__STDC__) || defined(__cplusplus)
21550 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21563 if ac_fn_c_try_compile "$LINENO"; then :
21564 am_cv_proto_iconv_arg1=""
21566 am_cv_proto_iconv_arg1="const"
21568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21569 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);"
21572 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" |
tr -s ' ' |
sed -e 's/( /(/'`
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
21574 }$am_cv_proto_iconv" >&5
21576 }$am_cv_proto_iconv" >&6; }
21578 cat >>confdefs.h <<_ACEOF
21579 #define ICONV_CONST $am_cv_proto_iconv_arg1
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21586 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21587 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
21588 $as_echo_n "(cached) " >&6
21590 if test x$gcc_no_link = xyes; then
21591 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21594 /* end confdefs.h. */
21595 #include <locale.h>
21604 if ac_fn_c_try_link "$LINENO"; then :
21605 am_cv_val_LC_MESSAGES=yes
21607 am_cv_val_LC_MESSAGES=no
21609 rm -f core conftest.err conftest.$ac_objext \
21610 conftest$ac_exeext conftest.$ac_ext
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
21613 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
21614 if test $am_cv_val_LC_MESSAGES = yes; then
21616 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21621 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
21622 if test "${ac_cv_struct_tm+set}" = set; then :
21623 $as_echo_n "(cached) " >&6
21625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21626 /* end confdefs.h. */
21627 #include <sys/types.h>
21634 int *p = &tm.tm_sec;
21640 if ac_fn_c_try_compile "$LINENO"; then :
21641 ac_cv_struct_tm=time.h
21643 ac_cv_struct_tm=sys/time.h
21645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
21648 $as_echo "$ac_cv_struct_tm" >&6; }
21649 if test $ac_cv_struct_tm = sys/time.h; then
21651 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
21655 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
21656 #include <$ac_cv_struct_tm>
21659 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then :
21661 cat >>confdefs.h <<_ACEOF
21662 #define HAVE_STRUCT_TM_TM_ZONE 1
21668 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
21670 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
21673 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
21675 if test "x$ac_cv_have_decl_tzname" = x""yes; then :
21681 cat >>confdefs.h <<_ACEOF
21682 #define HAVE_DECL_TZNAME $ac_have_decl
21685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
21686 $as_echo_n "checking for tzname... " >&6; }
21687 if test "${ac_cv_var_tzname+set}" = set; then :
21688 $as_echo_n "(cached) " >&6
21690 if test x$gcc_no_link = xyes; then
21691 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21694 /* end confdefs.h. */
21696 #if !HAVE_DECL_TZNAME
21697 extern char *tzname[];
21703 return tzname[0][0];
21708 if ac_fn_c_try_link "$LINENO"; then :
21709 ac_cv_var_tzname=yes
21711 ac_cv_var_tzname=no
21713 rm -f core conftest.err conftest.$ac_objext \
21714 conftest$ac_exeext conftest.$ac_ext
21716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
21717 $as_echo "$ac_cv_var_tzname" >&6; }
21718 if test $ac_cv_var_tzname = yes; then
21720 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21726 for ac_func in gethostbyname_r
21728 ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r"
21729 if test "x$ac_cv_func_gethostbyname_r" = x""yes; then :
21730 cat >>confdefs.h <<_ACEOF
21731 #define HAVE_GETHOSTBYNAME_R 1
21735 $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
21737 # There are two different kinds of gethostbyname_r.
21738 # We look for the one that returns `int
'.
21739 # Hopefully this check is robust enough.
21740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21741 /* end confdefs.h. */
21745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21746 $EGREP "int.*gethostbyname_r" >/dev/null 2>&1; then :
21749 $as_echo "#define GETHOSTBYNAME_R_RETURNS_INT 1" >>confdefs.h
21755 case " $GCINCS " in
21756 *" -D_REENTRANT "*) ;;
21758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
21759 $as_echo_n "checking whether gethostbyname_r declaration requires -D_REENTRANT... " >&6; }
21760 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then :
21761 $as_echo_n "(cached) " >&6
21764 ac_cpp='$CXXCPP $CPPFLAGS'
21765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
21766 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
21767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21770 /* end confdefs.h. */
21775 gethostbyname_r("", 0, 0);
21780 if ac_fn_cxx_try_compile "$LINENO"; then :
21781 libjava_cv_gethostbyname_r_needs_reentrant=no
21783 CPPFLAGS_SAVE="$CPPFLAGS"
21784 CPPFLAGS="$CPPFLAGS -D_REENTRANT"
21785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21786 /* end confdefs.h. */
21791 gethostbyname_r("", 0, 0);
21796 if ac_fn_cxx_try_compile "$LINENO"; then :
21797 libjava_cv_gethostbyname_r_needs_reentrant=yes
21799 libjava_cv_gethostbyname_r_needs_reentrant=fail
21801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21802 CPPFLAGS="$CPPFLAGS_SAVE"
21805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21807 ac_cpp='$CPP $CPPFLAGS'
21808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
21809 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
21810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
21815 $as_echo "$libjava_cv_gethostbyname_r_needs_reentrant" >&6; }
21816 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes; then
21818 $as_echo "#define _REENTRANT 1" >>confdefs.h
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct hostent_data" >&5
21825 $as_echo_n "checking for struct hostent_data... " >&6; }
21826 if test "${libjava_cv_struct_hostent_data+set}" = set; then :
21827 $as_echo_n "(cached) " >&6
21829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21830 /* end confdefs.h. */
21832 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
21833 # define _REENTRANT 1
21839 struct hostent_data data;
21844 if ac_fn_c_try_compile "$LINENO"; then :
21845 libjava_cv_struct_hostent_data=yes
21847 libjava_cv_struct_hostent_data=no
21849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_struct_hostent_data" >&5
21852 $as_echo "$libjava_cv_struct_hostent_data" >&6; }
21853 if test "x$libjava_cv_struct_hostent_data" = xyes; then
21855 $as_echo "#define HAVE_STRUCT_HOSTENT_DATA 1" >>confdefs.h
21863 # FIXME: libjava source code expects to find a prototype for
21864 # gethostbyaddr_r in netdb.h. The outer check ensures that
21865 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
21866 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
21867 # linkage check is enough, yet C++ code requires proper prototypes.)
21868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21869 /* end confdefs.h. */
21873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21874 $EGREP "gethostbyaddr_r" >/dev/null 2>&1; then :
21876 for ac_func in gethostbyaddr_r
21878 ac_fn_c_check_func "$LINENO" "gethostbyaddr_r" "ac_cv_func_gethostbyaddr_r"
21879 if test "x$ac_cv_func_gethostbyaddr_r" = x""yes; then :
21880 cat >>confdefs.h <<_ACEOF
21881 #define HAVE_GETHOSTBYADDR_R 1
21885 $as_echo "#define HAVE_GETHOSTBYADDR_R 1" >>confdefs.h
21887 # There are two different kinds of gethostbyaddr_r.
21888 # We look for the one that returns `int'.
21889 # Hopefully this check is robust enough.
21890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21891 /* end confdefs.h. */
21895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21896 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then :
21899 $as_echo "#define GETHOSTBYADDR_R_RETURNS_INT 1" >>confdefs.h
21911 for ac_func
in gethostname
21913 ac_fn_c_check_func
"$LINENO" "gethostname" "ac_cv_func_gethostname"
21914 if test "x$ac_cv_func_gethostname" = x
""yes; then :
21915 cat >>confdefs.h
<<_ACEOF
21916 #define HAVE_GETHOSTNAME 1
21920 $as_echo "#define HAVE_GETHOSTNAME 1" >>confdefs.h
21922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21923 /* end confdefs.h. */
21924 #include <unistd.h>
21927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21928 $EGREP "gethostname" >/dev
/null
2>&1; then :
21931 $as_echo "#define HAVE_GETHOSTNAME_DECL 1" >>confdefs.h
21940 for ac_func
in usleep
21942 ac_fn_c_check_func
"$LINENO" "usleep" "ac_cv_func_usleep"
21943 if test "x$ac_cv_func_usleep" = x
""yes; then :
21944 cat >>confdefs.h
<<_ACEOF
21945 #define HAVE_USLEEP 1
21948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21949 /* end confdefs.h. */
21950 #include <unistd.h>
21953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21954 $EGREP "usleep" >/dev
/null
2>&1; then :
21957 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
21966 # Look for these functions in the thread library, but only bother
21967 # if using POSIX threads.
21968 if test "$THREADS" = posix
; then
21970 LIBS
="$LIBS $THREADLIBS"
21972 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
21973 # Solaris 7 the name librt is preferred.
21974 for ac_func
in sched_yield
21976 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
21977 if test "x$ac_cv_func_sched_yield" = x
""yes; then :
21978 cat >>confdefs.h
<<_ACEOF
21979 #define HAVE_SCHED_YIELD 1
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
21985 $as_echo_n "checking for sched_yield in -lrt... " >&6; }
21986 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then :
21987 $as_echo_n "(cached) " >&6
21989 ac_check_lib_save_LIBS
=$LIBS
21991 if test x
$gcc_no_link = xyes
; then
21992 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21995 /* end confdefs.h. */
21997 /* Override any GCC internal prototype to avoid an error.
21998 Use char because int might match the return type of a GCC
21999 builtin and then its argument prototype would still apply. */
22003 char sched_yield ();
22007 return sched_yield ();
22012 if ac_fn_c_try_link
"$LINENO"; then :
22013 ac_cv_lib_rt_sched_yield
=yes
22015 ac_cv_lib_rt_sched_yield
=no
22017 rm -f core conftest.err conftest.
$ac_objext \
22018 conftest
$ac_exeext conftest.
$ac_ext
22019 LIBS
=$ac_check_lib_save_LIBS
22021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
22022 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
22023 if test "x$ac_cv_lib_rt_sched_yield" = x
""yes; then :
22025 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22027 THREADLIBS
="$THREADLIBS -lrt"
22028 THREADSPEC
="$THREADSPEC -lrt"
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
22032 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
22033 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
22034 $as_echo_n "(cached) " >&6
22036 ac_check_lib_save_LIBS
=$LIBS
22037 LIBS
="-lposix4 $LIBS"
22038 if test x
$gcc_no_link = xyes
; then
22039 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22042 /* end confdefs.h. */
22044 /* Override any GCC internal prototype to avoid an error.
22045 Use char because int might match the return type of a GCC
22046 builtin and then its argument prototype would still apply. */
22050 char sched_yield ();
22054 return sched_yield ();
22059 if ac_fn_c_try_link
"$LINENO"; then :
22060 ac_cv_lib_posix4_sched_yield
=yes
22062 ac_cv_lib_posix4_sched_yield
=no
22064 rm -f core conftest.err conftest.
$ac_objext \
22065 conftest
$ac_exeext conftest.
$ac_ext
22066 LIBS
=$ac_check_lib_save_LIBS
22068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
22069 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
22070 if test "x$ac_cv_lib_posix4_sched_yield" = x
""yes; then :
22072 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22074 THREADLIBS
="$THREADLIBS -lposix4"
22075 THREADSPEC
="$THREADSPEC -lposix4"
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
22085 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
22086 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
22087 $as_echo_n "(cached) " >&6
22089 ac_check_lib_save_LIBS
=$LIBS
22091 if test x
$gcc_no_link = xyes
; then
22092 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22095 /* end confdefs.h. */
22097 /* Override any GCC internal prototype to avoid an error.
22098 Use char because int might match the return type of a GCC
22099 builtin and then its argument prototype would still apply. */
22103 char clock_gettime ();
22107 return clock_gettime ();
22112 if ac_fn_c_try_link
"$LINENO"; then :
22113 ac_cv_lib_rt_clock_gettime
=yes
22115 ac_cv_lib_rt_clock_gettime
=no
22117 rm -f core conftest.err conftest.
$ac_objext \
22118 conftest
$ac_exeext conftest.
$ac_ext
22119 LIBS
=$ac_check_lib_save_LIBS
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
22122 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
22123 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
22126 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
22128 case "$THREADSPEC" in
22131 THREADSPEC
="$THREADSPEC -lrt"
22132 THREADLIBS
="$THREADLIBS -lrt"
22140 # We can save a little space at runtime if the mutex has m_count
22141 # or __m_count. This is a nice hack for Linux.
22142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22143 /* end confdefs.h. */
22144 #include <pthread.h>
22149 extern pthread_mutex_t *mutex; int q = mutex->m_count;
22155 if ac_fn_c_try_compile
"$LINENO"; then :
22157 $as_echo "#define PTHREAD_MUTEX_HAVE_M_COUNT 1" >>confdefs.h
22161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22162 /* end confdefs.h. */
22163 #include <pthread.h>
22168 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
22174 if ac_fn_c_try_compile
"$LINENO"; then :
22176 $as_echo "#define PTHREAD_MUTEX_HAVE___M_COUNT 1" >>confdefs.h
22179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22184 # We require a way to get the time.
22186 for ac_func
in gettimeofday
time ftime
22188 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22189 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22190 eval as_val
=\$
$as_ac_var
22191 if test "x$as_val" = x
""yes; then :
22192 cat >>confdefs.h
<<_ACEOF
22193 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22199 if test "$time_found" = no
; then
22200 as_fn_error
"no function found to get the time" "$LINENO" 5
22203 for ac_func
in memmove
22205 ac_fn_c_check_func
"$LINENO" "memmove" "ac_cv_func_memmove"
22206 if test "x$ac_cv_func_memmove" = x
""yes; then :
22207 cat >>confdefs.h
<<_ACEOF
22208 #define HAVE_MEMMOVE 1
22215 # We require memcpy.
22217 for ac_func
in memcpy
22219 ac_fn_c_check_func
"$LINENO" "memcpy" "ac_cv_func_memcpy"
22220 if test "x$ac_cv_func_memcpy" = x
""yes; then :
22221 cat >>confdefs.h
<<_ACEOF
22222 #define HAVE_MEMCPY 1
22228 if test "$memcpy_found" = no
; then
22229 as_fn_error
"memcpy is required" "$LINENO" 5
22231 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
22232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
22233 $as_echo_n "checking for dlopen in -ldl... " >&6; }
22234 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
22235 $as_echo_n "(cached) " >&6
22237 ac_check_lib_save_LIBS
=$LIBS
22239 if test x
$gcc_no_link = xyes
; then
22240 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22243 /* end confdefs.h. */
22245 /* Override any GCC internal prototype to avoid an error.
22246 Use char because int might match the return type of a GCC
22247 builtin and then its argument prototype would still apply. */
22260 if ac_fn_c_try_link
"$LINENO"; then :
22261 ac_cv_lib_dl_dlopen
=yes
22263 ac_cv_lib_dl_dlopen
=no
22265 rm -f core conftest.err conftest.
$ac_objext \
22266 conftest
$ac_exeext conftest.
$ac_ext
22267 LIBS
=$ac_check_lib_save_LIBS
22269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
22270 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
22271 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
22274 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldld" >&5
22279 $as_echo_n "checking for dlopen in -ldld... " >&6; }
22280 if test "${ac_cv_lib_dld_dlopen+set}" = set; then :
22281 $as_echo_n "(cached) " >&6
22283 ac_check_lib_save_LIBS
=$LIBS
22285 if test x
$gcc_no_link = xyes
; then
22286 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22289 /* end confdefs.h. */
22291 /* Override any GCC internal prototype to avoid an error.
22292 Use char because int might match the return type of a GCC
22293 builtin and then its argument prototype would still apply. */
22306 if ac_fn_c_try_link
"$LINENO"; then :
22307 ac_cv_lib_dld_dlopen
=yes
22309 ac_cv_lib_dld_dlopen
=no
22311 rm -f core conftest.err conftest.
$ac_objext \
22312 conftest
$ac_exeext conftest.
$ac_ext
22313 LIBS
=$ac_check_lib_save_LIBS
22315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dlopen" >&5
22316 $as_echo "$ac_cv_lib_dld_dlopen" >&6; }
22317 if test "x$ac_cv_lib_dld_dlopen" = x
""yes; then :
22320 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22327 # Some library-finding code we stole from Tcl.
22328 #--------------------------------------------------------------------
22329 # Check for the existence of the -lsocket and -lnsl libraries.
22330 # The order here is important, so that they end up in the right
22331 # order in the command line generated by make. Here are some
22332 # special considerations:
22333 # 1. Use "connect" and "accept" to check for -lsocket, and
22334 # "gethostbyname" to check for -lnsl.
22335 # 2. Use each function name only once: can't redo a check because
22336 # autoconf caches the results of the last check and won't redo it.
22337 # 3. Use -lnsl and -lsocket only if they supply procedures that
22338 # aren't already present in the normal libraries. This is because
22339 # IRIX 5.2 has libraries, but they aren't needed and they're
22340 # bogus: they goof up name resolution if used.
22341 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
22342 # To get around this problem, check for both libraries together
22343 # if -lsocket doesn't work by itself.
22344 #--------------------------------------------------------------------
22346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
22347 $as_echo_n "checking for socket libraries... " >&6; }
22348 if test "${gcj_cv_lib_sockets+set}" = set; then :
22349 $as_echo_n "(cached) " >&6
22351 gcj_cv_lib_sockets
=
22353 unset ac_cv_func_connect
22354 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
22355 if test "x$ac_cv_func_connect" = x
""yes; then :
22361 if test "$gcj_checkSocket" = 1; then
22362 unset ac_cv_func_connect
22363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
22364 $as_echo_n "checking for main in -lsocket... " >&6; }
22365 if test "${ac_cv_lib_socket_main+set}" = set; then :
22366 $as_echo_n "(cached) " >&6
22368 ac_check_lib_save_LIBS
=$LIBS
22369 LIBS
="-lsocket $LIBS"
22370 if test x
$gcc_no_link = xyes
; then
22371 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22374 /* end confdefs.h. */
22385 if ac_fn_c_try_link
"$LINENO"; then :
22386 ac_cv_lib_socket_main
=yes
22388 ac_cv_lib_socket_main
=no
22390 rm -f core conftest.err conftest.
$ac_objext \
22391 conftest
$ac_exeext conftest.
$ac_ext
22392 LIBS
=$ac_check_lib_save_LIBS
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
22395 $as_echo "$ac_cv_lib_socket_main" >&6; }
22396 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
22397 gcj_cv_lib_sockets
="-lsocket"
22403 if test "$gcj_checkBoth" = 1; then
22405 LIBS
="$LIBS -lsocket -lnsl"
22406 unset ac_cv_func_accept
22407 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
22408 if test "x$ac_cv_func_accept" = x
""yes; then :
22410 gcj_cv_lib_sockets
="-lsocket -lnsl"
22413 unset ac_cv_func_accept
22416 unset ac_cv_func_gethostbyname
22418 LIBS
="$LIBS $gcj_cv_lib_sockets"
22419 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22420 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
22423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
22424 $as_echo_n "checking for main in -lnsl... " >&6; }
22425 if test "${ac_cv_lib_nsl_main+set}" = set; then :
22426 $as_echo_n "(cached) " >&6
22428 ac_check_lib_save_LIBS
=$LIBS
22430 if test x
$gcc_no_link = xyes
; then
22431 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22434 /* end confdefs.h. */
22445 if ac_fn_c_try_link
"$LINENO"; then :
22446 ac_cv_lib_nsl_main
=yes
22448 ac_cv_lib_nsl_main
=no
22450 rm -f core conftest.err conftest.
$ac_objext \
22451 conftest
$ac_exeext conftest.
$ac_ext
22452 LIBS
=$ac_check_lib_save_LIBS
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
22455 $as_echo "$ac_cv_lib_nsl_main" >&6; }
22456 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
22457 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
22462 unset ac_cv_func_gethostbyname
22466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcj_cv_lib_sockets" >&5
22467 $as_echo "$gcj_cv_lib_sockets" >&6; }
22468 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
22470 if test "$with_system_zlib" = yes; then
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22472 $as_echo_n "checking for deflate in -lz... " >&6; }
22473 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22474 $as_echo_n "(cached) " >&6
22476 ac_check_lib_save_LIBS
=$LIBS
22478 if test x
$gcc_no_link = xyes
; then
22479 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22482 /* end confdefs.h. */
22484 /* Override any GCC internal prototype to avoid an error.
22485 Use char because int might match the return type of a GCC
22486 builtin and then its argument prototype would still apply. */
22499 if ac_fn_c_try_link
"$LINENO"; then :
22500 ac_cv_lib_z_deflate
=yes
22502 ac_cv_lib_z_deflate
=no
22504 rm -f core conftest.err conftest.
$ac_objext \
22505 conftest
$ac_exeext conftest.
$ac_ext
22506 LIBS
=$ac_check_lib_save_LIBS
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22509 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22510 if test "x$ac_cv_lib_z_deflate" = x
""yes; then :
22518 # Test for Gtk stuff, if asked for.
22519 if test "$use_gtk_awt" = yes; then
22523 if test -z "$PKG_CONFIG"; then
22524 # Extract the first word of "pkg-config", so it can be a program name with args.
22525 set dummy pkg-config
; ac_word
=$2
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22527 $as_echo_n "checking for $ac_word... " >&6; }
22528 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22529 $as_echo_n "(cached) " >&6
22531 case $PKG_CONFIG in
22533 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22537 for as_dir
in $PATH
22540 test -z "$as_dir" && as_dir
=.
22541 for ac_exec_ext
in '' $ac_executable_extensions; do
22542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22543 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22551 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22555 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22556 if test -n "$PKG_CONFIG"; then
22557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22558 $as_echo "$PKG_CONFIG" >&6; }
22560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22561 $as_echo "no" >&6; }
22567 if test "$PKG_CONFIG" = "no" ; then
22568 echo "*** The pkg-config script could not be found. Make sure it is"
22569 echo "*** in your path, or set the PKG_CONFIG environment variable"
22570 echo "*** to the full path to pkg-config."
22571 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22573 PKG_CONFIG_MIN_VERSION
=0.9.0
22574 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.4" >&5
22576 $as_echo_n "checking for gtk+-2.0 >= 2.4... " >&6; }
22578 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22580 $as_echo "yes" >&6; }
22583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
22584 $as_echo_n "checking GTK_CFLAGS... " >&6; }
22585 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
22587 $as_echo "$GTK_CFLAGS" >&6; }
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
22590 $as_echo_n "checking GTK_LIBS... " >&6; }
22591 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
22593 $as_echo "$GTK_LIBS" >&6; }
22597 ## If we have a custom action on failure, don't print errors, but
22598 ## do set a variable so people can do so.
22599 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
22600 echo $GTK_PKG_ERRORS
22606 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22607 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22611 if test $succeeded = yes; then
22614 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
22623 if test -z "$PKG_CONFIG"; then
22624 # Extract the first word of "pkg-config", so it can be a program name with args.
22625 set dummy pkg-config
; ac_word
=$2
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22627 $as_echo_n "checking for $ac_word... " >&6; }
22628 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22629 $as_echo_n "(cached) " >&6
22631 case $PKG_CONFIG in
22633 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22637 for as_dir
in $PATH
22640 test -z "$as_dir" && as_dir
=.
22641 for ac_exec_ext
in '' $ac_executable_extensions; do
22642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22643 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22651 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22655 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22656 if test -n "$PKG_CONFIG"; then
22657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22658 $as_echo "$PKG_CONFIG" >&6; }
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22661 $as_echo "no" >&6; }
22667 if test "$PKG_CONFIG" = "no" ; then
22668 echo "*** The pkg-config script could not be found. Make sure it is"
22669 echo "*** in your path, or set the PKG_CONFIG environment variable"
22670 echo "*** to the full path to pkg-config."
22671 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22673 PKG_CONFIG_MIN_VERSION
=0.9.0
22674 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
22676 $as_echo_n "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... " >&6; }
22678 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
22679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22680 $as_echo "yes" >&6; }
22683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
22684 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
22685 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
22687 $as_echo "$GLIB_CFLAGS" >&6; }
22689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
22690 $as_echo_n "checking GLIB_LIBS... " >&6; }
22691 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
22693 $as_echo "$GLIB_LIBS" >&6; }
22697 ## If we have a custom action on failure, don't print errors, but
22698 ## do set a variable so people can do so.
22699 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22700 echo $GLIB_PKG_ERRORS
22706 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22707 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22711 if test $succeeded = yes; then
22714 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
22723 if test -z "$PKG_CONFIG"; then
22724 # Extract the first word of "pkg-config", so it can be a program name with args.
22725 set dummy pkg-config
; ac_word
=$2
22726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22727 $as_echo_n "checking for $ac_word... " >&6; }
22728 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22729 $as_echo_n "(cached) " >&6
22731 case $PKG_CONFIG in
22733 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22737 for as_dir
in $PATH
22740 test -z "$as_dir" && as_dir
=.
22741 for ac_exec_ext
in '' $ac_executable_extensions; do
22742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22743 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22751 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22755 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22756 if test -n "$PKG_CONFIG"; then
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22758 $as_echo "$PKG_CONFIG" >&6; }
22760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22761 $as_echo "no" >&6; }
22767 if test "$PKG_CONFIG" = "no" ; then
22768 echo "*** The pkg-config script could not be found. Make sure it is"
22769 echo "*** in your path, or set the PKG_CONFIG environment variable"
22770 echo "*** to the full path to pkg-config."
22771 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22773 PKG_CONFIG_MIN_VERSION
=0.9.0
22774 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libart-2.0 >= 2.1" >&5
22776 $as_echo_n "checking for libart-2.0 >= 2.1... " >&6; }
22778 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22780 $as_echo "yes" >&6; }
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_CFLAGS" >&5
22784 $as_echo_n "checking LIBART_CFLAGS... " >&6; }
22785 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
22786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_CFLAGS" >&5
22787 $as_echo "$LIBART_CFLAGS" >&6; }
22789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_LIBS" >&5
22790 $as_echo_n "checking LIBART_LIBS... " >&6; }
22791 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_LIBS" >&5
22793 $as_echo "$LIBART_LIBS" >&6; }
22797 ## If we have a custom action on failure, don't print errors, but
22798 ## do set a variable so people can do so.
22799 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
22800 echo $LIBART_PKG_ERRORS
22806 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22807 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22811 if test $succeeded = yes; then
22814 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
22820 # We require the XTest Extension to support java.awt.Robot.
22821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
22822 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
22823 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
22824 $as_echo_n "(cached) " >&6
22826 ac_check_lib_save_LIBS
=$LIBS
22827 LIBS
="-lXtst ${X_LIBS} $LIBS"
22828 if test x
$gcc_no_link = xyes
; then
22829 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22832 /* end confdefs.h. */
22834 /* Override any GCC internal prototype to avoid an error.
22835 Use char because int might match the return type of a GCC
22836 builtin and then its argument prototype would still apply. */
22840 char XTestQueryExtension ();
22844 return XTestQueryExtension ();
22849 if ac_fn_c_try_link
"$LINENO"; then :
22850 ac_cv_lib_Xtst_XTestQueryExtension
=yes
22852 ac_cv_lib_Xtst_XTestQueryExtension
=no
22854 rm -f core conftest.err conftest.
$ac_objext \
22855 conftest
$ac_exeext conftest.
$ac_ext
22856 LIBS
=$ac_check_lib_save_LIBS
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
22859 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
22860 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x
""yes; then :
22863 as_fn_error
"libXtst not found, required by java.awt.Robot" "$LINENO" 5
22868 # On Solaris, and maybe other architectures, the Boehm collector
22870 if test "$GC" = boehm
; then
22873 # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
22874 # libgcj.spec is used, so override here
22875 SYSTEMSPEC
="$SYSTEMSPEC %{!mabi=64:-ldl}"
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
22879 $as_echo_n "checking for main in -ldl... " >&6; }
22880 if test "${ac_cv_lib_dl_main+set}" = set; then :
22881 $as_echo_n "(cached) " >&6
22883 ac_check_lib_save_LIBS
=$LIBS
22885 if test x
$gcc_no_link = xyes
; then
22886 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22889 /* end confdefs.h. */
22900 if ac_fn_c_try_link
"$LINENO"; then :
22901 ac_cv_lib_dl_main
=yes
22903 ac_cv_lib_dl_main
=no
22905 rm -f core conftest.err conftest.
$ac_objext \
22906 conftest
$ac_exeext conftest.
$ac_ext
22907 LIBS
=$ac_check_lib_save_LIBS
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5
22910 $as_echo "$ac_cv_lib_dl_main" >&6; }
22911 if test "x$ac_cv_lib_dl_main" = x
""yes; then :
22912 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
22920 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
22922 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
22923 *) CLASSPATH_SEPARATOR
=':' ;;
22927 # We must search the source tree for java.lang, since we still don't
22928 # have libgcj.jar nor java/lang/*.class
22929 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
22930 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
22932 # Since some classes depend on this one, we need its source available
22933 # before we can do any GCJ compilation test :-(
22934 if test ! -f gnu
/classpath
/Configuration.java
; then
22935 test -d gnu || mkdir gnu
22936 test -d gnu
/classpath || mkdir gnu
/classpath
22937 # Note that it is not crucial that all the values here be correct.
22938 sed -e "s,@prefix@,$prefix," \
22939 -e "s,@VERSION@,$VERSION," \
22940 -e "s,@LIBDEBUG@,false," \
22941 -e "s,@INIT_LOAD_LIBRARY@,false," \
22942 -e "s,@@,$LIBGCJDEBUG," \
22943 -e "s,@default_toolkit@,$TOOLKIT," \
22944 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
22945 -e "s,@GTK_CAIRO_ENABLED@,false," \
22946 -e "s,@ECJ_JAR@,," \
22947 -e "s,@WANT_NATIVE_BIG_INTEGER@,false," \
22948 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
22949 > gnu
/classpath
/Configuration.java
22950 # We do not want to redirect the output of the grep below to /dev/null,
22951 # but we add /dev/null to the input list so that grep will print the
22952 # filename of Configuration.java in case it finds any matches.
22953 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
22954 as_fn_error
"configure.ac is missing the substitutions above" "$LINENO" 5
22961 # Extract the first word of "$ac_prog", so it can be a program name with args.
22962 set dummy
$ac_prog; ac_word
=$2
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22964 $as_echo_n "checking for $ac_word... " >&6; }
22965 if test "${ac_cv_prog_GCJ+set}" = set; then :
22966 $as_echo_n "(cached) " >&6
22968 if test -n "$GCJ"; then
22969 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
22971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22972 for as_dir
in $PATH
22975 test -z "$as_dir" && as_dir
=.
22976 for ac_exec_ext
in '' $ac_executable_extensions; do
22977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22978 ac_cv_prog_GCJ
="$ac_prog"
22979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22988 GCJ
=$ac_cv_prog_GCJ
22989 if test -n "$GCJ"; then
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
22991 $as_echo "$GCJ" >&6; }
22993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22994 $as_echo "no" >&6; }
22998 test -n "$GCJ" && break
23000 test -n "$GCJ" || GCJ
="gcj"
23002 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
23003 if test "x${GCJFLAGS-unset}" = xunset
; then
23008 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
23011 $as_echo_n "checking dependency style of $depcc... " >&6; }
23012 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
23013 $as_echo_n "(cached) " >&6
23015 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
23016 # We make a subdir and do the tests there. Otherwise we can end up
23017 # making bogus files that we don't know about and never remove. For
23018 # instance it was reported that on HP-UX the gcc test will end up
23019 # making a dummy file named `D' -- because `-MD' means `put the output
23022 # Copy depcomp to subdir because otherwise we won't find it if we're
23023 # using a relative directory.
23024 cp "$am_depcomp" conftest.dir
23026 # We will build objects and dependencies in a subdirectory because
23027 # it helps to detect inapplicable dependency modes. For instance
23028 # both Tru64's cc and ICC support -MD to output dependencies as a
23029 # side effect of compilation, but ICC will put the dependencies in
23030 # the current directory while Tru64 will put them in the object
23034 am_cv_GCJ_dependencies_compiler_type
=none
23035 if test "$am_compiler_list" = ""; then
23036 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
23038 am__universal
=false
23041 for depmode
in $am_compiler_list; do
23042 # Setup a source with many dependencies, because some compilers
23043 # like to wrap large dependency lists on column 80 (with \), and
23044 # we should not choose a depcomp mode which is confused by this.
23046 # We need to recreate these files for each test, as the compiler may
23047 # overwrite some of them when testing with obscure command lines.
23048 # This happens at least with the AIX C compiler.
23050 for i
in 1 2 3 4 5 6; do
23051 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
23052 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
23053 # Solaris 8's {/usr,}/bin/sh.
23054 touch sub
/conftst
$i.h
23056 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
23058 # We check with `-c' and `-o' for the sake of the "dashmstdout"
23059 # mode. It turns out that the SunPro C++ compiler does not properly
23060 # handle `-M -o', and we need to detect this. Also, some Intel
23061 # versions had trouble with output in subdirs
23062 am__obj
=sub
/conftest.
${OBJEXT-o}
23063 am__minus_obj
="-o $am__obj"
23066 # This depmode causes a compiler race in universal mode.
23067 test "$am__universal" = false ||
continue
23070 # after this tag, mechanisms are not by side-effect, so they'll
23071 # only be used when explicitly requested
23072 if test "x$enable_dependency_tracking" = xyes
; then
23078 msvisualcpp | msvcmsys
)
23079 # This compiler won't grok `-c -o', but also, the minuso test has
23080 # not run yet. These depmodes are late enough in the game, and
23081 # so weak that their functioning should not be impacted.
23082 am__obj
=conftest.
${OBJEXT-o}
23087 if depmode
=$depmode \
23088 source=sub
/conftest.c object
=$am__obj \
23089 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
23090 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
23091 >/dev
/null
2>conftest.err
&&
23092 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23093 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23094 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
23095 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
23096 # icc doesn't choke on unknown options, it will just issue warnings
23097 # or remarks (even with -Werror). So we grep stderr for any message
23098 # that says an option was ignored or not supported.
23099 # When given -MP, icc 7.0 and 7.1 complain thusly:
23100 # icc: Command line warning: ignoring option '-M'; no argument required
23101 # The diagnosis changed in icc 8.0:
23102 # icc: Command line remark: option '-MP' not supported
23103 if (grep 'ignoring option' conftest.err ||
23104 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
23105 am_cv_GCJ_dependencies_compiler_type
=$depmode
23112 rm -rf conftest.dir
23114 am_cv_GCJ_dependencies_compiler_type
=none
23118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
23119 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
23120 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
23123 test "x$enable_dependency_tracking" != xno \
23124 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
23125 am__fastdepGCJ_TRUE
=
23126 am__fastdepGCJ_FALSE
='#'
23128 am__fastdepGCJ_TRUE
='#'
23129 am__fastdepGCJ_FALSE
=
23136 rm -f gnu
/classpath
/Configuration.java
23138 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
23140 # The cast to long int works around a bug in the HP C Compiler
23141 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23142 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23143 # This bug is HP SR number 8606223364.
23144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
23145 $as_echo_n "checking size of void *... " >&6; }
23146 if test "${ac_cv_sizeof_void_p+set}" = set; then :
23147 $as_echo_n "(cached) " >&6
23149 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
23152 if test "$ac_cv_type_void_p" = yes; then
23153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23155 { as_fn_set_status
77
23156 as_fn_error
"cannot compute sizeof (void *)
23157 See \`config.log' for more details." "$LINENO" 5; }; }
23159 ac_cv_sizeof_void_p
=0
23164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
23165 $as_echo "$ac_cv_sizeof_void_p" >&6; }
23169 cat >>confdefs.h
<<_ACEOF
23170 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
23175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
23176 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
23177 if test "${ac_cv_c_bigendian+set}" = set; then :
23178 $as_echo_n "(cached) " >&6
23180 ac_cv_c_bigendian
=unknown
23181 # See if we're dealing with a universal compiler.
23182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23183 /* end confdefs.h. */
23184 #ifndef __APPLE_CC__
23185 not a universal capable compiler
23190 if ac_fn_c_try_compile
"$LINENO"; then :
23192 # Check for potential -arch flags. It is not universal unless
23193 # there are at least two -arch flags with different values.
23196 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
23197 if test -n "$ac_prev"; then
23199 i?
86 | x86_64 | ppc | ppc64
)
23200 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
23203 ac_cv_c_bigendian
=universal
23209 elif test "x$ac_word" = "x-arch"; then
23214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23215 if test $ac_cv_c_bigendian = unknown
; then
23216 # See if sys/param.h defines the BYTE_ORDER macro.
23217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23218 /* end confdefs.h. */
23219 #include <sys/types.h>
23220 #include <sys/param.h>
23225 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
23226 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
23228 bogus endian macros
23235 if ac_fn_c_try_compile
"$LINENO"; then :
23236 # It does; now see whether it defined to BIG_ENDIAN or not.
23237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23238 /* end confdefs.h. */
23239 #include <sys/types.h>
23240 #include <sys/param.h>
23245 #if BYTE_ORDER != BIG_ENDIAN
23253 if ac_fn_c_try_compile
"$LINENO"; then :
23254 ac_cv_c_bigendian
=yes
23256 ac_cv_c_bigendian
=no
23258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23262 if test $ac_cv_c_bigendian = unknown
; then
23263 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
23264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23265 /* end confdefs.h. */
23266 #include <limits.h>
23271 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
23272 bogus endian macros
23279 if ac_fn_c_try_compile
"$LINENO"; then :
23280 # It does; now see whether it defined to _BIG_ENDIAN or not.
23281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23282 /* end confdefs.h. */
23283 #include <limits.h>
23288 #ifndef _BIG_ENDIAN
23296 if ac_fn_c_try_compile
"$LINENO"; then :
23297 ac_cv_c_bigendian
=yes
23299 ac_cv_c_bigendian
=no
23301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23305 if test $ac_cv_c_bigendian = unknown
; then
23306 # Compile a test program.
23307 if test "$cross_compiling" = yes; then :
23308 # Try to guess by grepping values from an object file.
23309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23310 /* end confdefs.h. */
23311 short int ascii_mm[] =
23312 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
23313 short int ascii_ii[] =
23314 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
23315 int use_ascii (int i) {
23316 return ascii_mm[i] + ascii_ii[i];
23318 short int ebcdic_ii[] =
23319 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
23320 short int ebcdic_mm[] =
23321 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
23322 int use_ebcdic (int i) {
23323 return ebcdic_mm[i] + ebcdic_ii[i];
23330 return use_ascii (foo) == use_ebcdic (foo);
23335 if ac_fn_c_try_compile
"$LINENO"; then :
23336 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
23337 ac_cv_c_bigendian
=yes
23339 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
23340 if test "$ac_cv_c_bigendian" = unknown
; then
23341 ac_cv_c_bigendian
=no
23343 # finding both strings is unlikely to happen, but who knows?
23344 ac_cv_c_bigendian
=unknown
23348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23351 /* end confdefs.h. */
23352 $ac_includes_default
23357 /* Are we little or big endian? From Harbison&Steele. */
23361 char c[sizeof (long int)];
23364 return u.c[sizeof (long int) - 1] == 1;
23370 if ac_fn_c_try_run
"$LINENO"; then :
23371 ac_cv_c_bigendian
=no
23373 ac_cv_c_bigendian
=yes
23375 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23376 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
23382 $as_echo "$ac_cv_c_bigendian" >&6; }
23383 case $ac_cv_c_bigendian in #(
23385 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
23391 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
23395 as_fn_error
"unknown endianness
23396 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
23404 if test -z "$ZLIBSPEC"; then
23405 # Use zlib from the GCC tree.
23406 ZINCS
='-I$(top_srcdir)/../zlib'
23407 ZLIBS
=..
/zlib
/libzgcj_convenience.la
23410 SYS_ZLIBS
="$ZLIBSPEC"
23422 if test "$NATIVE" = yes; then
23430 if test "$enable_shared" = yes; then
23431 ENABLE_SHARED_TRUE
=
23432 ENABLE_SHARED_FALSE
='#'
23434 ENABLE_SHARED_TRUE
='#'
23435 ENABLE_SHARED_FALSE
=
23438 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
23439 NEEDS_DATA_START_TRUE
=
23440 NEEDS_DATA_START_FALSE
='#'
23442 NEEDS_DATA_START_TRUE
='#'
23443 NEEDS_DATA_START_FALSE
=
23446 if test -z "${with_multisubdir}"; then
23447 INSTALL_BINARIES_TRUE
=
23448 INSTALL_BINARIES_FALSE
='#'
23450 INSTALL_BINARIES_TRUE
='#'
23451 INSTALL_BINARIES_FALSE
=
23456 # Process the option "--enable-version-specific-runtime-libs"
23457 # Calculate toolexeclibdir
23458 case ${version_specific_libs} in
23460 # Need the gcc compiler version to know where to install libraries
23461 # and header files if --enable-version-specific-runtime-libs option
23463 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
23464 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
23465 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
23466 toolexeclibdir
=$toolexecmainlibdir
23469 if test -n "$with_cross_host" &&
23470 test x
"$with_cross_host" != x
"no"; then
23471 # Install a library built with a cross compiler in tooldir, not libdir.
23472 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
23473 toolexecmainlibdir
='$(toolexecdir)/lib'
23475 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
23476 toolexecmainlibdir
='$(libdir)'
23478 multi_os_directory
=`$CC -print-multi-os-directory`
23479 case $multi_os_directory in
23480 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
23481 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
23489 # Determine gcj and libgcj version number.
23490 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
23491 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
23492 GCJVERSION
=$gcjversion
23495 cat >>confdefs.h
<<_ACEOF
23496 #define GCJVERSION "$GCJVERSION"
23500 # Determine where the standard .db file and GNU Classpath JNI
23501 # libraries are found.
23502 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
23503 multi_os_directory
=`$CC -print-multi-os-directory`
23504 case $multi_os_directory in
23506 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
23509 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
23516 $as_echo "#define JV_VERSION \"1.5.0\"" >>confdefs.h
23519 $as_echo "#define JV_API_VERSION \"1.5\"" >>confdefs.h
23523 case "${with_gxx_include_dir}" in
23525 as_fn_error
"--with-gxx-include-dir=[dir] requires a directory" "$LINENO" 5
23528 case "${enable_version_specific_runtime_libs}" in
23529 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
23531 libstdcxx_incdir
='c++/$(gcc_version)'
23532 gxx_include_dir
='include/$(libstdcxx_incdir)'
23533 if test -n "$with_cross_host" &&
23534 test x
"$with_cross_host" != x
"no"; then
23535 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
23537 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
23540 *) gxx_include_dir
=${with_gxx_include_dir} ;;
23546 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
23547 # On that system, sys/ioctl.h will not include sys/filio.h unless
23548 # BSD_COMP is defined; just including sys/filio.h is simpler.
23549 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
23550 # for now. If you change this, you also must update natFile.cc.
23551 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
23552 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
23553 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
23554 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
23555 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
23557 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23558 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23559 eval as_val
=\$
$as_ac_Header
23560 if test "x$as_val" = x
""yes; then :
23561 cat >>confdefs.h
<<_ACEOF
23562 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23569 for ac_header
in inttypes.h
23571 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
23572 if test "x$ac_cv_header_inttypes_h" = x
""yes; then :
23573 cat >>confdefs.h
<<_ACEOF
23574 #define HAVE_INTTYPES_H 1
23578 $as_echo "#define HAVE_INTTYPES_H 1" >>confdefs.h
23581 $as_echo "#define JV_HAVE_INTTYPES_H 1" >>confdefs.h
23589 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
23590 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
23594 cat >>confdefs.h
<<_ACEOF
23595 #define ssize_t int
23600 ac_fn_c_check_type
"$LINENO" "magic_t" "ac_cv_type_magic_t" "
23601 #ifdef HAVE_MAGIC_H
23605 if test "x$ac_cv_type_magic_t" = x
""yes; then :
23608 $as_echo "#define HAVE_MAGIC_T 1" >>confdefs.h
23613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_addr_t" >&5
23614 $as_echo_n "checking for in_addr_t... " >&6; }
23615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23616 /* end confdefs.h. */
23617 #include <sys/types.h>
23619 #include <stdlib.h>
23620 #include <stddef.h>
23622 #if HAVE_NETINET_IN_H
23623 #include <netinet/in.h>
23633 if ac_fn_c_try_compile
"$LINENO"; then :
23635 $as_echo "#define HAVE_IN_ADDR_T 1" >>confdefs.h
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23638 $as_echo "yes" >&6; }
23640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23641 $as_echo "no" >&6; }
23643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ip_mreq is in netinet/in.h" >&5
23646 $as_echo_n "checking whether struct ip_mreq is in netinet/in.h... " >&6; }
23647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23648 /* end confdefs.h. */
23649 #include <netinet/in.h>
23653 struct ip_mreq mreq;
23658 if ac_fn_c_try_compile
"$LINENO"; then :
23660 $as_echo "#define HAVE_STRUCT_IP_MREQ 1" >>confdefs.h
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23663 $as_echo "yes" >&6; }
23665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23666 $as_echo "no" >&6; }
23668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ipv6_mreq is in netinet/in.h" >&5
23671 $as_echo_n "checking whether struct ipv6_mreq is in netinet/in.h... " >&6; }
23672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23673 /* end confdefs.h. */
23674 #include <netinet/in.h>
23678 struct ipv6_mreq mreq6;
23683 if ac_fn_c_try_compile
"$LINENO"; then :
23685 $as_echo "#define HAVE_STRUCT_IPV6_MREQ 1" >>confdefs.h
23687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23688 $as_echo "yes" >&6; }
23690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23691 $as_echo "no" >&6; }
23693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
23696 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
23697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23698 /* end confdefs.h. */
23699 #include <netinet/in.h>
23703 struct sockaddr_in6 addr6;
23708 if ac_fn_c_try_compile
"$LINENO"; then :
23710 $as_echo "#define HAVE_INET6 1" >>confdefs.h
23712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23713 $as_echo "yes" >&6; }
23715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23716 $as_echo "no" >&6; }
23718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t in sys/socket.h" >&5
23721 $as_echo_n "checking for socklen_t in sys/socket.h... " >&6; }
23722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23723 /* end confdefs.h. */
23724 #define _POSIX_PII_SOCKET
23725 #include <sys/types.h>
23726 #include <sys/socket.h>
23735 if ac_fn_c_try_compile
"$LINENO"; then :
23737 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
23739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23740 $as_echo "yes" >&6; }
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23743 $as_echo "no" >&6; }
23745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
23748 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
23749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23750 /* end confdefs.h. */
23755 struct tm tim; tim.tm_gmtoff = 0;
23760 if ac_fn_c_try_compile
"$LINENO"; then :
23762 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
23764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23765 $as_echo "yes" >&6; }
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23768 $as_echo "no" >&6; }
23769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
23770 $as_echo_n "checking for global timezone variable... " >&6; }
23771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23772 /* end confdefs.h. */
23777 void i(){long z2 = 2*timezone;}
23782 if ac_fn_c_try_compile
"$LINENO"; then :
23784 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
23786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23787 $as_echo "yes" >&6; }
23789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23790 $as_echo "no" >&6; }
23791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
23792 $as_echo_n "checking for global _timezone variable... " >&6; }
23793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23794 /* end confdefs.h. */
23799 long z2 = _timezone;
23804 if ac_fn_c_try_compile
"$LINENO"; then :
23806 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
23808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23809 $as_echo "yes" >&6; }
23811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23812 $as_echo "no" >&6; }
23814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23820 for ac_prog
in perl
23822 # Extract the first word of "$ac_prog", so it can be a program name with args.
23823 set dummy
$ac_prog; ac_word
=$2
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23825 $as_echo_n "checking for $ac_word... " >&6; }
23826 if test "${ac_cv_prog_PERL+set}" = set; then :
23827 $as_echo_n "(cached) " >&6
23829 if test -n "$PERL"; then
23830 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
23832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23833 for as_dir
in $PATH
23836 test -z "$as_dir" && as_dir
=.
23837 for ac_exec_ext
in '' $ac_executable_extensions; do
23838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23839 ac_cv_prog_PERL
="$ac_prog"
23840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23849 PERL
=$ac_cv_prog_PERL
23850 if test -n "$PERL"; then
23851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
23852 $as_echo "$PERL" >&6; }
23854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23855 $as_echo "no" >&6; }
23859 test -n "$PERL" && break
23861 test -n "$PERL" || PERL
="false"
23865 SIGNAL_HANDLER_AUX
=
23869 SIGNAL_HANDLER
=include
/i386-signal.h
23871 sparc
*-sun-solaris*)
23872 SIGNAL_HANDLER
=include
/sparc-signal.h
23875 # SYSDEP_SOURCES=sysdep/ia64.c
23876 # test -d sysdep || mkdir sysdep
23879 SIGNAL_HANDLER
=include
/pa-signal.h
23882 SIGNAL_HANDLER
=include
/hppa-signal.h
23885 SIGNAL_HANDLER
=include
/dwarf2-signal.h
23888 SIGNAL_HANDLER
=include
/powerpc-signal.h
23891 SIGNAL_HANDLER
=include
/dwarf2-signal.h
23894 SIGNAL_HANDLER
=include
/s390-signal.h
23897 SIGNAL_HANDLER
=include
/x86_64-signal.h
23898 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
23901 SIGNAL_HANDLER
=include
/dwarf2-signal.h
23904 SIGNAL_HANDLER
=include
/sh-signal.h
23907 SIGNAL_HANDLER
=include
/win32-signal.h
23910 SIGNAL_HANDLER
=include
/mips-signal.h
23913 SIGNAL_HANDLER
=include
/dwarf2-signal.h
23915 powerpc
*-*-darwin* | i?
86-*-darwin[912]* | x86_64-
*-darwin[912]*)
23916 SIGNAL_HANDLER
=include
/darwin-signal.h
23919 SIGNAL_HANDLER
=include
/aix-signal.h
23922 SIGNAL_HANDLER
=include
/default-signal.h
23926 # If we're using sjlj exceptions, forget what we just learned.
23927 if test "$enable_sjlj_exceptions" = yes; then
23928 SIGNAL_HANDLER
=include
/default-signal.h
23929 SIGNAL_HANDLER_AUX
=
23934 if test -z "$SIGNAL_HANDLER_AUX"; then
23935 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
23938 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
23941 if test "${multilib}" = "yes"; then
23942 multilib_arg
="--enable-multilib"
23947 # See if we support thread-local storage.
23950 # Check whether --enable-tls was given.
23951 if test "${enable_tls+set}" = set; then :
23952 enableval
=$enable_tls;
23953 case "$enableval" in
23955 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
23963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
23964 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
23965 if test "${gcc_cv_have_tls+set}" = set; then :
23966 $as_echo_n "(cached) " >&6
23969 if test "$cross_compiling" = yes; then :
23970 if test x
$gcc_no_link = xyes
; then
23971 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23974 /* end confdefs.h. */
23975 __thread int a; int b; int main() { return a = b; }
23977 if ac_fn_c_try_link
"$LINENO"; then :
23978 chktls_save_LDFLAGS
="$LDFLAGS"
23981 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
23984 chktls_save_CFLAGS
="$CFLAGS"
23985 CFLAGS
="-fPIC $CFLAGS"
23986 if test x
$gcc_no_link = xyes
; then
23987 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23990 /* end confdefs.h. */
23991 int f() { return 0; }
23993 if ac_fn_c_try_link
"$LINENO"; then :
23994 if test x
$gcc_no_link = xyes
; then
23995 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23998 /* end confdefs.h. */
23999 __thread int a; int b; int f() { return a = b; }
24001 if ac_fn_c_try_link
"$LINENO"; then :
24002 gcc_cv_have_tls
=yes
24006 rm -f core conftest.err conftest.
$ac_objext \
24007 conftest
$ac_exeext conftest.
$ac_ext
24009 gcc_cv_have_tls
=yes
24011 rm -f core conftest.err conftest.
$ac_objext \
24012 conftest
$ac_exeext conftest.
$ac_ext
24013 CFLAGS
="$chktls_save_CFLAGS"
24014 LDFLAGS
="$chktls_save_LDFLAGS"
24018 rm -f core conftest.err conftest.
$ac_objext \
24019 conftest
$ac_exeext conftest.
$ac_ext
24023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24024 /* end confdefs.h. */
24025 __thread int a; int b; int main() { return a = b; }
24027 if ac_fn_c_try_run
"$LINENO"; then :
24028 chktls_save_LDFLAGS
="$LDFLAGS"
24029 LDFLAGS
="-static $LDFLAGS"
24030 if test x
$gcc_no_link = xyes
; then
24031 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24034 /* end confdefs.h. */
24035 int main() { return 0; }
24037 if ac_fn_c_try_link
"$LINENO"; then :
24038 if test "$cross_compiling" = yes; then :
24039 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24041 as_fn_error
"cannot run test program while cross compiling
24042 See \`config.log' for more details." "$LINENO" 5; }
24044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24045 /* end confdefs.h. */
24046 __thread int a; int b; int main() { return a = b; }
24048 if ac_fn_c_try_run
"$LINENO"; then :
24049 gcc_cv_have_tls
=yes
24053 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24054 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24058 gcc_cv_have_tls
=yes
24060 rm -f core conftest.err conftest.
$ac_objext \
24061 conftest
$ac_exeext conftest.
$ac_ext
24062 LDFLAGS
="$chktls_save_LDFLAGS"
24063 if test $gcc_cv_have_tls = yes; then
24064 chktls_save_CFLAGS
="$CFLAGS"
24065 thread_CFLAGS
=failed
24066 for flag
in '' '-pthread' '-lpthread'; do
24067 CFLAGS
="$flag $chktls_save_CFLAGS"
24068 if test x
$gcc_no_link = xyes
; then
24069 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24072 /* end confdefs.h. */
24073 #include <pthread.h>
24074 void *g(void *d) { return NULL; }
24078 pthread_t t; pthread_create(&t,NULL,g,NULL);
24083 if ac_fn_c_try_link
"$LINENO"; then :
24084 thread_CFLAGS
="$flag"
24086 rm -f core conftest.err conftest.
$ac_objext \
24087 conftest
$ac_exeext conftest.
$ac_ext
24088 if test "X$thread_CFLAGS" != Xfailed
; then
24092 CFLAGS
="$chktls_save_CFLAGS"
24093 if test "X$thread_CFLAGS" != Xfailed
; then
24094 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
24095 if test "$cross_compiling" = yes; then :
24096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24098 as_fn_error
"cannot run test program while cross compiling
24099 See \`config.log' for more details." "$LINENO" 5; }
24101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24102 /* end confdefs.h. */
24103 #include <pthread.h>
24105 static int *a_in_other_thread;
24107 thread_func (void *arg)
24109 a_in_other_thread = &a;
24116 void *thread_retval;
24117 int *a_in_main_thread;
24118 if (pthread_create (&thread, (pthread_attr_t *)0,
24119 thread_func, (void *)0))
24121 a_in_main_thread = &a;
24122 if (pthread_join (thread, &thread_retval))
24124 return (a_in_other_thread == a_in_main_thread);
24129 if ac_fn_c_try_run
"$LINENO"; then :
24130 gcc_cv_have_tls
=yes
24134 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24135 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24138 CFLAGS
="$chktls_save_CFLAGS"
24144 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24145 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
24150 $as_echo "$gcc_cv_have_tls" >&6; }
24151 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
24153 $as_echo "#define HAVE_TLS 1" >>confdefs.h
24157 # For _Unwind_GetIPInfo.
24160 # Check whether --with-system-libunwind was given.
24161 if test "${with_system_libunwind+set}" = set; then :
24162 withval
=$with_system_libunwind;
24165 # If system-libunwind was not specifically set, pick a default setting.
24166 if test x
$with_system_libunwind = x
; then
24168 ia64-
*-hpux*) with_system_libunwind
=yes ;;
24169 *) with_system_libunwind
=no
;;
24172 # Based on system-libunwind and target, do we have ipinfo?
24173 if test x
$with_system_libunwind = xyes
; then
24175 ia64-
*-*) have_unwind_getipinfo
=no
;;
24176 *) have_unwind_getipinfo
=yes ;;
24179 # Darwin before version 9 does not have _Unwind_GetIPInfo.
24182 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
24183 *) have_unwind_getipinfo
=yes ;;
24188 if test x
$have_unwind_getipinfo = xyes
; then
24190 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
24195 # See if linker supports anonymous version scripts.
24196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports anonymous version scripts" >&5
24197 $as_echo_n "checking whether ld supports anonymous version scripts... " >&6; }
24198 if test "${libjava_cv_anon_version_script+set}" = set; then :
24199 $as_echo_n "(cached) " >&6
24201 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
24202 libjava_cv_anon_version_script
=no
24203 CFLAGS
="$CFLAGS -fPIC"; LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
24204 echo '{ global: globalsymb*; local: *; };' > conftest.map
24205 if test x
$gcc_no_link = xyes
; then
24206 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24209 /* end confdefs.h. */
24210 void globalsymbol (void) {} void localsymbol (void) {}
24219 if ac_fn_c_try_link
"$LINENO"; then :
24220 libjava_cv_anon_version_script
=yes
24222 rm -f core conftest.err conftest.
$ac_objext \
24223 conftest
$ac_exeext conftest.
$ac_ext
24224 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
24227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_anon_version_script" >&5
24228 $as_echo "$libjava_cv_anon_version_script" >&6; }
24229 if test "$libjava_cv_anon_version_script" = yes; then
24230 ANONVERSCRIPT_TRUE
=
24231 ANONVERSCRIPT_FALSE
='#'
24233 ANONVERSCRIPT_TRUE
='#'
24234 ANONVERSCRIPT_FALSE
=
24238 # Check if linker supports static linking on a per library basis
24239 LD_START_STATIC_SPEC
=
24240 LD_FINISH_STATIC_SPEC
=
24241 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
24242 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
24243 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
24244 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
24250 here
=`${PWDCMD-pwd}`
24253 # We get this from the environment.
24257 # Check whether --with-python-dir was given.
24258 if test "${with_python_dir+set}" = set; then :
24259 withval
=$with_python_dir; with_python_dir
=$withval
24265 if test "x${with_python_dir}" = "x"
24267 # Needed for installing Python modules during make install.
24268 python_mod_dir
="\${prefix}/share/python"
24269 # Needed for substituting into aot-compile*
24270 python_mod_dir_expanded
="${prefix}/share/python"
24272 python_mod_dir
="\${prefix}${with_python_dir}"
24273 python_mod_dir_expanded
="${prefix}${with_python_dir}"
24275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Python modules dir: ${python_mod_dir_expanded}" >&5
24276 $as_echo "Python modules dir: ${python_mod_dir_expanded}" >&6; };
24280 # needed for aot-compile-rpm
24284 # Check whether --enable-aot-compile-rpm was given.
24285 if test "${enable_aot_compile_rpm+set}" = set; then :
24286 enableval
=$enable_aot_compile_rpm; case "${enableval}" in
24287 yes) AOT_RPM_ENABLED
=yes ;;
24288 no
) AOT_RPM_ENABLED
=no
;;
24289 *) as_fn_error
"Unknown argument to enable/disable aot-compile-rpm" "$LINENO" 5 ;;
24296 if test "x${AOT_RPM_ENABLED}" = xyes
; then
24297 INSTALL_AOT_RPM_TRUE
=
24298 INSTALL_AOT_RPM_FALSE
='#'
24300 INSTALL_AOT_RPM_TRUE
='#'
24301 INSTALL_AOT_RPM_FALSE
=
24305 # Check whether --enable-java-home was given.
24306 if test "${enable_java_home+set}" = set; then :
24307 enableval
=$enable_java_home; case "${enableval}" in
24308 yes) JAVA_HOME_ENABLED
=yes ;;
24309 no
) JAVA_HOME_ENABLED
=no
;;
24310 *) as_fn_error
"Unknown argument to enable/disable java-home" "$LINENO" 5 ;;
24313 JAVA_HOME_ENABLED
=no
24317 if test "x${JAVA_HOME_ENABLED}" = xyes
; then
24318 CREATE_JAVA_HOME_TRUE
=
24319 CREATE_JAVA_HOME_FALSE
='#'
24321 CREATE_JAVA_HOME_TRUE
='#'
24322 CREATE_JAVA_HOME_FALSE
=
24326 # Only do these checks if java-home above is enabled.
24327 if test "x${JAVA_HOME_ENABLED}" = xyes
24331 # Check whether --with-gcc-suffix was given.
24332 if test "${with_gcc_suffix+set}" = set; then :
24333 withval
=$with_gcc_suffix; gcc_suffix
=$withval
24338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCC suffix: ${gcc_suffix}" >&5
24339 $as_echo "GCC suffix: ${gcc_suffix}" >&6; }
24343 # Check whether --with-arch-directory was given.
24344 if test "${with_arch_directory+set}" = set; then :
24345 withval
=$with_arch_directory; host_cpu
=$withval
24352 # Check whether --with-os-directory was given.
24353 if test "${with_os_directory+set}" = set; then :
24354 withval
=$with_os_directory; host_os
=$withval
24361 # Check whether --with-origin-name was given.
24362 if test "${with_origin_name+set}" = set; then :
24363 withval
=$with_origin_name; origin_name
=$withval
24365 origin_name
=gcj
${gcc_suffix}
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JPackage origin name: ${origin_name}" >&5
24369 $as_echo "JPackage origin name: ${origin_name}" >&6; }
24372 # Check whether --with-arch-suffix was given.
24373 if test "${with_arch_suffix+set}" = set; then :
24374 withval
=$with_arch_suffix; arch_suffix
=$withval
24379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch suffix: ${arch_suffix}" >&5
24380 $as_echo "arch suffix: ${arch_suffix}" >&6; }
24383 # Check whether --with-jvm-root-dir was given.
24384 if test "${with_jvm_root_dir+set}" = set; then :
24385 withval
=$with_jvm_root_dir; jvm_root_dir
=$withval
24387 jvm_root_dir
="\${prefix}/lib/jvm"
24390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM root installation directory: ${jvm_root_dir}" >&5
24391 $as_echo "JVM root installation directory: ${jvm_root_dir}" >&6; }
24394 # Check whether --with-jvm-jar-dir was given.
24395 if test "${with_jvm_jar_dir+set}" = set; then :
24396 withval
=$with_jvm_jar_dir; jvm_jar_dir
=$withval
24398 jvm_jar_dir
=\
${prefix}/lib
/jvm-exports
24401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JAR root installation directory: ${jvm_jar_dir}" >&5
24402 $as_echo "JAR root installation directory: ${jvm_jar_dir}" >&6; }
24408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Java version: ${JAVA_VERSION}" >&5
24409 $as_echo "Java version: ${JAVA_VERSION}" >&6; }
24412 jre_lnk
=jre-
${JAVA_VERSION}-${origin_name}
24413 sdk_lnk
=java-
${JAVA_VERSION}-${origin_name}
24415 JVM_ROOT_DIR
=${jvm_root_dir}
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM ROOT directory: ${JVM_ROOT_DIR}" >&5
24418 $as_echo "JVM ROOT directory: ${JVM_ROOT_DIR}" >&6; }
24420 JVM_JAR_ROOT_DIR
=${jvm_jar_dir}
24422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&5
24423 $as_echo "JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&6; }
24425 JVM_JAR_DIR
=${jvm_jar_dir}
24427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR directory: ${JVM_JAR_DIR}" >&5
24428 $as_echo "JVM JAR directory: ${JVM_JAR_DIR}" >&6; }
24439 SDK_BIN_DIR
=${jvm_root_dir}/bin
24441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK tools directory: ${SDK_BIN_DIR}" >&5
24442 $as_echo "SDK tools directory: ${SDK_BIN_DIR}" >&6; }
24444 SDK_LIB_DIR
=${jvm_root_dir}/lib
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK jar directory: ${SDK_LIB_DIR}" >&5
24447 $as_echo "SDK jar directory: ${SDK_LIB_DIR}" >&6; }
24449 SDK_INCLUDE_DIR
=${jvm_root_dir}/include
24451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK include directory: ${SDK_INCLUDE_DIR}" >&5
24452 $as_echo "SDK include directory: ${SDK_INCLUDE_DIR}" >&6; }
24454 JRE_BIN_DIR
=${jvm_root_dir}/${jre_dir}/bin
24456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE tools directory: ${JRE_BIN_DIR}" >&5
24457 $as_echo "JRE tools directory: ${JRE_BIN_DIR}" >&6; }
24459 JRE_LIB_DIR
=${jvm_root_dir}/${jre_dir}/lib
24461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE lib directory: ${JRE_LIB_DIR}" >&5
24462 $as_echo "JRE lib directory: ${JRE_LIB_DIR}" >&6; }
24464 # Find gcj prefix using gcj found in PATH.
24465 gcj_prefix
=`which gcj${gcc_suffix} | sed "s%/bin/gcj${gcc_suffix}%%"`
24467 # Where do the gcj binaries live?
24468 # For jhbuild based builds, they all live in a sibling of bin called
24469 # gcj-bin. Check for gcj-bin first, and use bin otherwise.
24470 GCJ_BIN_DIR
=`if test -d ${gcj_prefix}/gcj-bin; then echo ${gcj_prefix}/gcj-bin; else echo ${gcj_prefix}/bin; fi`
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCJ tools directory: ${GCJ_BIN_DIR}" >&5
24473 $as_echo "GCJ tools directory: ${GCJ_BIN_DIR}" >&6; }
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host is ${host}" >&5
24476 $as_echo "host is ${host}" >&6; }
24477 if test "x${host_cpu}" = "x"
24480 *-mingw* |
*-cygwin*)
24482 i486-
* | i586-
* | i686-
*)
24487 host_cpu
=${host_cpu};;
24490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch directory: ${host_cpu}" >&5
24491 $as_echo "arch directory: ${host_cpu}" >&6; }
24495 if test "x${host_os}" = "x"
24498 *-mingw* |
*-cygwin*)
24503 host_os
=${host_os};;
24506 echo os directory
: ${host_os}
24510 # make an expanded $libdir, for substituting into
24511 # scripts (and other non-Makefile things).
24513 if test "x${exec_prefix}" = "xNONE"
24515 lib_exec_prefix
=$prefix
24517 lib_exec_prefix
=$exec_prefix
24519 LIBDIR
=`echo $libdir | sed "s:\\\${exec_prefix}:$lib_exec_prefix:g"`
24523 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"
24526 if test ${multilib} = yes; then
24527 multilib_arg
="--enable-multilib"
24532 ac_config_files
="$ac_config_files scripts/jar"
24534 cat >confcache
<<\_ACEOF
24535 # This file is a shell script that caches the results of configure
24536 # tests run on this system so they can be shared between configure
24537 # scripts and configure runs, see configure's option --config-cache.
24538 # It is not useful on other systems. If it contains results you don't
24539 # want to keep, you may remove or edit it.
24541 # config.status only pays attention to the cache file if you give it
24542 # the --recheck option to rerun configure.
24544 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24545 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24546 # following values.
24550 # The following way of writing the cache mishandles newlines in values,
24551 # but we know of no workaround that is simple, portable, and efficient.
24552 # So, we kill variables containing newlines.
24553 # Ultrix sh set writes to stderr and can't be redirected directly,
24554 # and sets the high bit in the cache file unless we assign to the vars.
24556 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24557 eval ac_val
=\$
$ac_var
24561 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24562 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24565 _ | IFS | as_nl
) ;; #(
24566 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24567 *) { eval $ac_var=; unset $ac_var;} ;;
24573 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24574 *${as_nl}ac_space
=\
*)
24575 # `set' does not quote correctly, so add quotes: double-quote
24576 # substitution turns \\\\ into \\, and sed turns \\ into \.
24579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24582 # `set' quotes correctly as required by POSIX, so do not add quotes.
24583 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24592 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24594 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24596 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24597 if test -w "$cache_file"; then
24598 test "x$cache_file" != "x/dev/null" &&
24599 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24600 $as_echo "$as_me: updating cache $cache_file" >&6;}
24601 cat confcache
>$cache_file
24603 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24604 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24609 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24610 # Let make expand exec_prefix.
24611 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24613 DEFS
=-DHAVE_CONFIG_H
24617 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24618 # 1. Remove the extension, and $U if already installed.
24619 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24620 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24621 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24622 # will be set to the directory where LIBOBJS objects are built.
24623 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24624 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
24626 LIBOBJS
=$ac_libobjs
24628 LTLIBOBJS
=$ac_ltlibobjs
24631 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
24632 as_fn_error
"conditional \"CREATE_GJDOC\" was never defined.
24633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24635 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
24636 as_fn_error
"conditional \"JAVA_MAINTAINER_MODE\" was never defined.
24637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24639 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24640 as_fn_error
"conditional \"AMDEP\" was never defined.
24641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24643 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24644 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
24645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24647 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24648 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
24649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24651 if test -n "$EXEEXT"; then
24653 am__EXEEXT_FALSE
='#'
24655 am__EXEEXT_TRUE
='#'
24659 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24660 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
24661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24663 if test -z "${BUILD_SUBLIBS_TRUE}" && test -z "${BUILD_SUBLIBS_FALSE}"; then
24664 as_fn_error
"conditional \"BUILD_SUBLIBS\" was never defined.
24665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24667 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
24668 as_fn_error
"conditional \"XLIB_AWT\" was never defined.
24669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24671 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
24672 as_fn_error
"conditional \"X_AWT\" was never defined.
24673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24675 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
24676 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
24677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24679 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
24680 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
24681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24683 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
24684 as_fn_error
"conditional \"TESTSUBDIR\" was never defined.
24685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24687 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
24688 as_fn_error
"conditional \"BUILD_ECJ1\" was never defined.
24689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24691 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
24692 as_fn_error
"conditional \"INSTALL_ECJ_JAR\" was never defined.
24693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24695 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
24696 as_fn_error
"conditional \"JAVA_HOME_SET\" was never defined.
24697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24699 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
24700 as_fn_error
"conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
24701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24703 if test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE}" && test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE}"; then
24704 as_fn_error
"conditional \"BUILD_LIBGCJ_REDUCED_REFLECTION\" was never defined.
24705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24707 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
24708 as_fn_error
"conditional \"INTERPRETER\" was never defined.
24709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24711 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
24712 as_fn_error
"conditional \"USING_WIN32_PLATFORM\" was never defined.
24713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24715 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
24716 as_fn_error
"conditional \"USING_POSIX_PLATFORM\" was never defined.
24717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24719 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
24720 as_fn_error
"conditional \"USING_DARWIN_CRT\" was never defined.
24721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24723 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
24724 as_fn_error
"conditional \"USING_BOEHMGC\" was never defined.
24725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24727 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
24728 as_fn_error
"conditional \"USING_NOGC\" was never defined.
24729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24731 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
24732 as_fn_error
"conditional \"USING_POSIX_THREADS\" was never defined.
24733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24735 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
24736 as_fn_error
"conditional \"USING_WIN32_THREADS\" was never defined.
24737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24739 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
24740 as_fn_error
"conditional \"USING_NO_THREADS\" was never defined.
24741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24743 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
24744 as_fn_error
"conditional \"USE_LIBGCJ_BC\" was never defined.
24745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24747 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
24748 as_fn_error
"conditional \"USING_GCC\" was never defined.
24749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24751 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
24752 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
24753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24756 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
24757 as_fn_error
"conditional \"NATIVE\" was never defined.
24758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24760 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
24761 as_fn_error
"conditional \"ENABLE_SHARED\" was never defined.
24762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24764 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
24765 as_fn_error
"conditional \"NEEDS_DATA_START\" was never defined.
24766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24768 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
24769 as_fn_error
"conditional \"INSTALL_BINARIES\" was never defined.
24770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24772 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
24773 as_fn_error
"conditional \"ANONVERSCRIPT\" was never defined.
24774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24776 if test -z "${INSTALL_AOT_RPM_TRUE}" && test -z "${INSTALL_AOT_RPM_FALSE}"; then
24777 as_fn_error
"conditional \"INSTALL_AOT_RPM\" was never defined.
24778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24780 if test -z "${CREATE_JAVA_HOME_TRUE}" && test -z "${CREATE_JAVA_HOME_FALSE}"; then
24781 as_fn_error
"conditional \"CREATE_JAVA_HOME\" was never defined.
24782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24785 : ${CONFIG_STATUS=./config.status}
24787 ac_clean_files_save
=$ac_clean_files
24788 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24790 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24792 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24794 # Generated by $as_me.
24795 # Run this file to recreate the current configuration.
24796 # Compiler output produced by configure, useful for debugging
24797 # configure, is in config.log if it exists.
24800 ac_cs_recheck=false
24803 SHELL=\${CONFIG_SHELL-$SHELL}
24806 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
24807 ## -------------------- ##
24808 ## M4sh Initialization. ##
24809 ## -------------------- ##
24811 # Be more Bourne compatible
24812 DUALCASE
=1; export DUALCASE
# for MKS sh
24813 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24816 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24817 # is contrary to our usage. Disable this feature.
24818 alias -g '${1+"$@"}'='"$@"'
24819 setopt NO_GLOB_SUBST
24821 case `(set -o) 2>/dev/null` in #(
24833 # Printing a long string crashes Solaris 7 /usr/bin/printf.
24834 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24835 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24836 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24837 # Prefer a ksh shell builtin over an external printf program on Solaris,
24838 # but without wasting forks for bash or zsh.
24839 if test -z "$BASH_VERSION$ZSH_VERSION" \
24840 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
24841 as_echo='print
-r --'
24842 as_echo_n='print
-rn --'
24843 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24844 as_echo='printf %s
\n'
24845 as_echo_n='printf %s
'
24847 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24848 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
24849 as_echo_n='/usr
/ucb
/echo -n'
24851 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24852 as_echo_n_body='eval
24856 expr "X$arg" : "X\\(.*\\)$as_nl";
24857 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24859 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
24861 export as_echo_n_body
24862 as_echo_n='sh
-c $as_echo_n_body as_echo
'
24864 export as_echo_body
24865 as_echo='sh
-c $as_echo_body as_echo
'
24868 # The user is always right.
24869 if test "${PATH_SEPARATOR+set}" != set; then
24871 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24872 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24879 # We need space, tab and new line, in precisely that order. Quoting is
24880 # there to prevent editors from complaining about space-tab.
24881 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24882 # splitting by setting IFS to empty value.)
24885 # Find who we are. Look in the path if we contain no directory separator.
24887 *[\\/]* ) as_myself=$0 ;;
24888 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24889 for as_dir in $PATH
24892 test -z "$as_dir" && as_dir=.
24893 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24899 # We did not find ourselves, most probably we were run as `sh COMMAND'
24900 # in which case we are not to be found in the path.
24901 if test "x$as_myself" = x
; then
24904 if test ! -f "$as_myself"; then
24905 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24909 # Unset variables that we do not need and which cause bugs (e.g. in
24910 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
24911 # suppresses any "Segmentation fault" message there. '((' could
24912 # trigger a bug in pdksh 5.2.14.
24913 for as_var
in BASH_ENV ENV MAIL MAILPATH
24914 do eval test x\
${$as_var+set} = xset \
24915 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
24928 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
24931 # as_fn_error ERROR [LINENO LOG_FD]
24932 # ---------------------------------
24933 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24934 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24935 # script with status $?, using 1 if that was 0.
24938 as_status
=$?
; test $as_status -eq 0 && as_status
=1
24940 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
24941 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
24943 $as_echo "$as_me: error: $1" >&2
24944 as_fn_exit
$as_status
24948 # as_fn_set_status STATUS
24949 # -----------------------
24950 # Set $? to STATUS, without forking.
24951 as_fn_set_status
()
24954 } # as_fn_set_status
24956 # as_fn_exit STATUS
24957 # -----------------
24958 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24962 as_fn_set_status
$1
24968 # Portably unset VAR.
24971 { eval $1=; unset $1;}
24973 as_unset
=as_fn_unset
24974 # as_fn_append VAR VALUE
24975 # ----------------------
24976 # Append the text in VALUE to the end of the definition contained in VAR. Take
24977 # advantage of any shell optimizations that allow amortized linear growth over
24978 # repeated appends, instead of the typical quadratic growth present in naive
24980 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
24981 eval 'as_fn_append ()
24992 # as_fn_arith ARG...
24993 # ------------------
24994 # Perform arithmetic evaluation on the ARGs, and store the result in the
24995 # global $as_val. Take advantage of shells that can avoid forks. The arguments
24996 # must be portable across $(()) and expr.
24997 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
24998 eval 'as_fn_arith ()
25005 as_val
=`expr "$@" || test $? -eq 1`
25010 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25011 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25017 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25018 as_basename
=basename
25023 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25029 as_me
=`$as_basename -- "$0" ||
25030 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25031 X"$0" : 'X\(//\)$' \| \
25032 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25034 sed '/^.*\/\([^/][^/]*\)\/*$/{
25048 # Avoid depending upon Character Ranges.
25049 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25050 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25051 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25052 as_cr_digits
='0123456789'
25053 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25055 ECHO_C
= ECHO_N
= ECHO_T
=
25056 case `echo -n x` in #(((((
25058 case `echo 'xy\c'` in
25059 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25061 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
25068 rm -f conf$$ conf$$.exe conf$$.
file
25069 if test -d conf$$.dir
; then
25070 rm -f conf$$.dir
/conf$$.
file
25073 mkdir conf$$.dir
2>/dev
/null
25075 if (echo >conf$$.
file) 2>/dev
/null
; then
25076 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25078 # ... but there are two gotchas:
25079 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25080 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25081 # In both cases, we have to default to `cp -p'.
25082 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25084 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25092 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25093 rmdir conf$$.dir
2>/dev
/null
25098 # Create "$as_dir" as a directory, including parents if necessary.
25103 -*) as_dir
=.
/$as_dir;;
25105 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
25109 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25110 *) as_qdir
=$as_dir;;
25112 as_dirs
="'$as_qdir' $as_dirs"
25113 as_dir
=`$as_dirname -- "$as_dir" ||
25114 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25115 X"$as_dir" : 'X\(//\)[^/]' \| \
25116 X"$as_dir" : 'X\(//\)$' \| \
25117 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25118 $as_echo X"$as_dir" |
25119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25123 /^X\(\/\/\)[^/].*/{
25136 test -d "$as_dir" && break
25138 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25139 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
25143 if mkdir
-p .
2>/dev
/null
; then
25144 as_mkdir_p
='mkdir -p "$as_dir"'
25146 test -d .
/-p && rmdir .
/-p
25150 if test -x / >/dev
/null
2>&1; then
25151 as_test_x
='test -x'
25153 if ls -dL / >/dev
/null
2>&1; then
25160 if test -d "$1"; then
25166 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25167 ???[sx]*):;;*)false;;esac;fi
25171 as_executable_p
=$as_test_x
25173 # Sed expression to map a string onto a valid CPP name.
25174 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25176 # Sed expression to map a string onto a valid variable name.
25177 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25181 ## ----------------------------------- ##
25182 ## Main body of $CONFIG_STATUS script. ##
25183 ## ----------------------------------- ##
25185 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25188 # Save the log message, to keep $0 and so on meaningful, and to
25189 # report actual input values of CONFIG_FILES etc. instead of their
25190 # values after options handling.
25192 This file was extended by libjava $as_me version-unused, which was
25193 generated by GNU Autoconf 2.64. Invocation command line was
25195 CONFIG_FILES = $CONFIG_FILES
25196 CONFIG_HEADERS = $CONFIG_HEADERS
25197 CONFIG_LINKS = $CONFIG_LINKS
25198 CONFIG_COMMANDS = $CONFIG_COMMANDS
25201 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25206 case $ac_config_files in *"
25207 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25210 case $ac_config_headers in *"
25211 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25216 # Files that config.status was made for.
25217 config_files="$ac_config_files"
25218 config_headers="$ac_config_headers"
25219 config_links="$ac_config_links"
25220 config_commands="$ac_config_commands"
25224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25226 \`$as_me' instantiates files and other configuration actions
25227 from templates according to the current configuration. Unless the files
25228 and actions are specified as TAGs, all are instantiated by default.
25230 Usage: $0 [OPTION]... [TAG]...
25232 -h, --help print this help, then exit
25233 -V, --version print version number and configuration settings, then exit
25234 -q, --quiet, --silent
25235 do not print progress messages
25236 -d, --debug don't remove temporary files
25237 --recheck update $as_me by reconfiguring in the same conditions
25238 --file=FILE[:TEMPLATE]
25239 instantiate the configuration file FILE
25240 --header=FILE[:TEMPLATE]
25241 instantiate the configuration header FILE
25243 Configuration files:
25246 Configuration headers:
25249 Configuration links:
25252 Configuration commands:
25255 Report bugs to the package provider."
25258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25260 libjava config.status version-unused
25261 configured by $0, generated by GNU Autoconf 2.64,
25262 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25264 Copyright (C) 2009 Free Software Foundation, Inc.
25265 This config.status script is free software; the Free Software Foundation
25266 gives unlimited permission to copy, distribute and modify it."
25273 test -n "\$AWK" || AWK=awk
25276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25277 # The default lists apply if the user does not specify any file.
25283 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25284 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25295 # Handling of the options.
25296 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25298 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25299 $as_echo "$ac_cs_version"; exit ;;
25300 --debug |
--debu |
--deb |
--de |
--d |
-d )
25302 --file |
--fil |
--fi |
--f )
25305 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25307 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25308 ac_need_defaults
=false
;;
25309 --header |
--heade |
--head |
--hea )
25312 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25314 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25315 ac_need_defaults
=false
;;
25317 # Conflict between --help and --header
25318 as_fn_error
"ambiguous option: \`$1'
25319 Try \`$0 --help' for more information.";;
25320 --help |
--hel |
-h )
25321 $as_echo "$ac_cs_usage"; exit ;;
25322 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25323 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25326 # This is an error.
25327 -*) as_fn_error
"unrecognized option: \`$1'
25328 Try \`$0 --help' for more information." ;;
25330 *) as_fn_append ac_config_targets
" $1"
25331 ac_need_defaults
=false
;;
25337 ac_configure_extra_args
=
25339 if $ac_cs_silent; then
25341 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25346 if \$ac_cs_recheck; then
25347 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25349 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25350 CONFIG_SHELL='$SHELL'
25351 export CONFIG_SHELL
25356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25360 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25361 ## Running $as_me. ##
25367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25375 with_multisubdir="$with_multisubdir"
25376 with_multisrctop="$with_multisrctop"
25377 with_target_subdir="$with_target_subdir"
25378 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25379 multi_basedir="$multi_basedir"
25380 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25383 GFORTRAN="$GFORTRAN"
25385 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25388 # The HP-UX ksh and POSIX shell print the target directory to stdout
25389 # if CDPATH is set.
25390 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25392 sed_quote_subst='$sed_quote_subst'
25393 double_quote_subst='$double_quote_subst'
25394 delay_variable_subst='$delay_variable_subst'
25395 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
25396 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
25397 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
25398 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
25399 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
25400 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
25401 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
25402 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
25403 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
25404 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
25405 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
25406 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
25407 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
25408 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
25409 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
25410 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
25411 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
25412 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
25413 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
25414 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
25415 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
25416 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
25417 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
25418 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
25419 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
25420 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
25421 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
25422 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25423 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
25424 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
25425 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
25426 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
25427 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
25428 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
25429 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
25430 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25431 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25432 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25433 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
25434 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
25435 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
25436 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
25437 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
25438 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
25439 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
25440 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
25441 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
25442 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
25443 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
25444 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
25445 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
25446 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
25447 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
25448 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
25449 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
25450 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
25451 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
25452 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
25453 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
25454 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
25455 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
25456 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
25457 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25458 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25459 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
25460 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
25461 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
25462 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
25463 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
25464 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25465 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25466 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25467 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25468 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25469 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25470 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
25471 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
25472 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
25473 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
25474 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
25475 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
25476 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
25477 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
25478 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
25479 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
25480 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
25481 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
25482 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
25483 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
25484 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
25485 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25486 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
25487 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
25488 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25489 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
25490 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
25491 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
25492 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
25493 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
25494 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
25495 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
25496 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
25497 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
25498 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
25499 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
25500 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25501 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25502 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25503 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
25504 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
25505 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
25506 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
25507 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
25508 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
25509 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
25510 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
25511 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
25512 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
25513 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
25514 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
25515 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
25516 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
25517 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
25518 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
25519 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25520 LD_GCJ='`$ECHO "X$LD_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25521 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25522 old_archive_cmds_GCJ='`$ECHO "X$old_archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25523 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25524 compiler_GCJ='`$ECHO "X$compiler_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25525 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25526 GCC_GCJ='`$ECHO "X$GCC_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25527 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25528 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "X$lt_prog_compiler_no_builtin_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25529 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25530 lt_prog_compiler_wl_GCJ='`$ECHO "X$lt_prog_compiler_wl_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25531 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25532 lt_prog_compiler_pic_GCJ='`$ECHO "X$lt_prog_compiler_pic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25533 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25534 lt_prog_compiler_static_GCJ='`$ECHO "X$lt_prog_compiler_static_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25535 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25536 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "X$lt_cv_prog_compiler_c_o_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25537 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25538 archive_cmds_need_lc_GCJ='`$ECHO "X$archive_cmds_need_lc_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25539 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25540 enable_shared_with_static_runtimes_GCJ='`$ECHO "X$enable_shared_with_static_runtimes_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25541 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25542 export_dynamic_flag_spec_GCJ='`$ECHO "X$export_dynamic_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25543 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25544 whole_archive_flag_spec_GCJ='`$ECHO "X$whole_archive_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25545 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25546 compiler_needs_object_GCJ='`$ECHO "X$compiler_needs_object_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25547 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25548 old_archive_from_new_cmds_GCJ='`$ECHO "X$old_archive_from_new_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25549 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25550 old_archive_from_expsyms_cmds_GCJ='`$ECHO "X$old_archive_from_expsyms_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25551 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25552 archive_cmds_GCJ='`$ECHO "X$archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25553 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25554 archive_expsym_cmds_GCJ='`$ECHO "X$archive_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25555 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25556 module_cmds_GCJ='`$ECHO "X$module_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25557 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25558 module_expsym_cmds_GCJ='`$ECHO "X$module_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25559 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25560 with_gnu_ld_GCJ='`$ECHO "X$with_gnu_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25561 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25562 allow_undefined_flag_GCJ='`$ECHO "X$allow_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25563 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25564 no_undefined_flag_GCJ='`$ECHO "X$no_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25565 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25566 hardcode_libdir_flag_spec_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25567 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25568 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25569 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25570 hardcode_libdir_separator_GCJ='`$ECHO "X$hardcode_libdir_separator_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25571 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25572 hardcode_direct_GCJ='`$ECHO "X$hardcode_direct_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25573 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25574 hardcode_direct_absolute_GCJ='`$ECHO "X$hardcode_direct_absolute_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25575 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25576 hardcode_minus_L_GCJ='`$ECHO "X$hardcode_minus_L_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25577 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25578 hardcode_shlibpath_var_GCJ='`$ECHO "X$hardcode_shlibpath_var_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25579 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25580 hardcode_automatic_GCJ='`$ECHO "X$hardcode_automatic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25581 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25582 inherit_rpath_GCJ='`$ECHO "X$inherit_rpath_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25583 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25584 link_all_deplibs_GCJ='`$ECHO "X$link_all_deplibs_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25585 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25586 fix_srcfile_path_GCJ='`$ECHO "X$fix_srcfile_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25587 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25588 always_export_symbols_GCJ='`$ECHO "X$always_export_symbols_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25589 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25590 export_symbols_cmds_GCJ='`$ECHO "X$export_symbols_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25591 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25592 exclude_expsyms_GCJ='`$ECHO "X$exclude_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25593 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25594 include_expsyms_GCJ='`$ECHO "X$include_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25595 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25596 prelink_cmds_GCJ='`$ECHO "X$prelink_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25597 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25598 file_list_spec_GCJ='`$ECHO "X$file_list_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25599 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25600 hardcode_action_GCJ='`$ECHO "X$hardcode_action_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25601 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25602 compiler_lib_search_dirs_GCJ='`$ECHO "X$compiler_lib_search_dirs_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25603 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25604 predep_objects_GCJ='`$ECHO "X$predep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25605 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25606 postdep_objects_GCJ='`$ECHO "X$postdep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25607 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25608 predeps_GCJ='`$ECHO "X$predeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25609 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25610 postdeps_GCJ='`$ECHO "X$postdeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25611 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25612 compiler_lib_search_path_GCJ='`$ECHO "X$compiler_lib_search_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25615 LTCFLAGS='$LTCFLAGS'
25616 compiler='$compiler_DEFAULT'
25618 # Quote evaled strings.
25630 deplibs_check_method \
25639 lt_cv_sys_global_symbol_pipe \
25640 lt_cv_sys_global_symbol_to_cdecl \
25641 lt_cv_sys_global_symbol_to_c_name_address \
25642 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25645 lt_prog_compiler_no_builtin_flag \
25646 lt_prog_compiler_wl \
25647 lt_prog_compiler_pic \
25648 lt_prog_compiler_static \
25649 lt_cv_prog_compiler_c_o \
25657 export_dynamic_flag_spec \
25658 whole_archive_flag_spec \
25659 compiler_needs_object \
25661 allow_undefined_flag \
25662 no_undefined_flag \
25663 hardcode_libdir_flag_spec \
25664 hardcode_libdir_flag_spec_ld \
25665 hardcode_libdir_separator \
25670 variables_saved_for_relink \
25672 library_names_spec \
25677 compiler_lib_search_dirs \
25682 compiler_lib_search_path \
25687 lt_prog_compiler_no_builtin_flag_CXX \
25688 lt_prog_compiler_no_builtin_flag_GCJ \
25689 lt_prog_compiler_wl_CXX \
25690 lt_prog_compiler_wl_GCJ \
25691 lt_prog_compiler_pic_CXX \
25692 lt_prog_compiler_pic_GCJ \
25693 lt_prog_compiler_static_CXX \
25694 lt_prog_compiler_static_GCJ \
25695 lt_cv_prog_compiler_c_o_CXX \
25696 lt_cv_prog_compiler_c_o_GCJ \
25697 export_dynamic_flag_spec_CXX \
25698 export_dynamic_flag_spec_GCJ \
25699 whole_archive_flag_spec_CXX \
25700 whole_archive_flag_spec_GCJ \
25701 compiler_needs_object_CXX \
25702 compiler_needs_object_GCJ \
25705 allow_undefined_flag_CXX \
25706 allow_undefined_flag_GCJ \
25707 no_undefined_flag_CXX \
25708 no_undefined_flag_GCJ \
25709 hardcode_libdir_flag_spec_CXX \
25710 hardcode_libdir_flag_spec_GCJ \
25711 hardcode_libdir_flag_spec_ld_CXX \
25712 hardcode_libdir_flag_spec_ld_GCJ \
25713 hardcode_libdir_separator_CXX \
25714 hardcode_libdir_separator_GCJ \
25715 fix_srcfile_path_CXX \
25716 fix_srcfile_path_GCJ \
25717 exclude_expsyms_CXX \
25718 exclude_expsyms_GCJ \
25719 include_expsyms_CXX \
25720 include_expsyms_GCJ \
25721 file_list_spec_CXX \
25722 file_list_spec_GCJ \
25723 compiler_lib_search_dirs_CXX \
25724 compiler_lib_search_dirs_GCJ \
25725 predep_objects_CXX \
25726 predep_objects_GCJ \
25727 postdep_objects_CXX \
25728 postdep_objects_GCJ \
25733 compiler_lib_search_path_CXX \
25734 compiler_lib_search_path_GCJ; do
25735 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
25736 *[\\\\\\\`\\"\\\$]*)
25737 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
25740 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25745 # Double-quote double-evaled strings.
25746 for var in reload_cmds \
25747 old_postinstall_cmds \
25748 old_postuninstall_cmds \
25750 extract_expsyms_cmds \
25751 old_archive_from_new_cmds \
25752 old_archive_from_expsyms_cmds \
25754 archive_expsym_cmds \
25756 module_expsym_cmds \
25757 export_symbols_cmds \
25760 postuninstall_cmds \
25762 sys_lib_search_path_spec \
25763 sys_lib_dlsearch_path_spec \
25764 old_archive_cmds_CXX \
25765 old_archive_cmds_GCJ \
25766 old_archive_from_new_cmds_CXX \
25767 old_archive_from_new_cmds_GCJ \
25768 old_archive_from_expsyms_cmds_CXX \
25769 old_archive_from_expsyms_cmds_GCJ \
25772 archive_expsym_cmds_CXX \
25773 archive_expsym_cmds_GCJ \
25776 module_expsym_cmds_CXX \
25777 module_expsym_cmds_GCJ \
25778 export_symbols_cmds_CXX \
25779 export_symbols_cmds_GCJ \
25781 prelink_cmds_GCJ; do
25782 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
25783 *[\\\\\\\`\\"\\\$]*)
25784 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
25787 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25792 # Fix-up fallback echo if it was mangled by the above quoting rules.
25794 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
25798 ac_aux_dir='$ac_aux_dir'
25799 xsi_shell='$xsi_shell'
25800 lt_shell_append='$lt_shell_append'
25802 # See if we are running on zsh, and set the options which allow our
25803 # commands through without removal of \ escapes INIT.
25804 if test -n "\${ZSH_VERSION+set}" ; then
25805 setopt NO_GLOB_SUBST
25811 TIMESTAMP='$TIMESTAMP'
25824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25826 # Handling of arguments.
25827 for ac_config_target
in $ac_config_targets
25829 case $ac_config_target in
25830 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
25831 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25832 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
25833 "gcj/libgcj-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
25834 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
25835 "include/platform.h") CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
25836 "java/io/natFile.cc") CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
25837 "java/lang/natConcreteProcess.cc") CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
25838 "java/net/natVMInetAddress.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
25839 "java/net/natVMNetworkInterface.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
25840 "gnu/java/net/natPlainSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
25841 "gnu/java/net/natPlainDatagramSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
25842 "gnu/java/nio/natVMPipe.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
25843 "gnu/java/nio/natVMSelector.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
25844 "gnu/java/nio/channels/natFileChannelImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
25845 "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" ;;
25846 "include/java-gc.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
25847 "include/java-threads.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
25848 "sysdep/locks.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
25849 "sysdep/backtrace.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
25850 "sysdep/descriptor.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
25851 "include/java-signal.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
25852 "include/java-signal-aux.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
25853 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25854 "libgcj.pc") CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
25855 "libgcj.spec") CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
25856 "libgcj-test.spec") CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
25857 "gcj/Makefile") CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
25858 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
25859 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
25860 "contrib/aotcompile.py") CONFIG_FILES
="$CONFIG_FILES contrib/aotcompile.py" ;;
25861 "contrib/aot-compile") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile" ;;
25862 "contrib/aot-compile-rpm") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile-rpm" ;;
25863 "contrib/generate-cacerts.pl") CONFIG_FILES
="$CONFIG_FILES contrib/generate-cacerts.pl" ;;
25864 "contrib/rebuild-gcj-db") CONFIG_FILES
="$CONFIG_FILES contrib/rebuild-gcj-db" ;;
25865 "scripts/jar") CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
25867 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25872 # If the user did not use the arguments to specify the items to instantiate,
25873 # then the envvar interface is used. Set only those that are not.
25874 # We use the long form for the default assignment because of an extremely
25875 # bizarre bug on SunOS 4.1.3.
25876 if $ac_need_defaults; then
25877 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25878 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25879 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
25880 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25883 # Have a temporary directory for convenience. Make it in the build tree
25884 # simply because there is no reason against having it here, and in addition,
25885 # creating and moving files from /tmp can sometimes cause problems.
25886 # Hook for its removal unless debugging.
25887 # Note that there is a small window in which the directory will not be cleaned:
25888 # after its creation but before its name has been assigned to `$tmp'.
25892 trap 'exit_status=$?
25893 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25895 trap 'as_fn_exit 1' 1 2 13 15
25897 # Create a (secure) tmp directory for tmp files.
25900 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25901 test -n "$tmp" && test -d "$tmp"
25904 tmp
=.
/conf$$
-$RANDOM
25905 (umask 077 && mkdir
"$tmp")
25906 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
25908 # Set up the scripts for CONFIG_FILES section.
25909 # No need to generate them if there are no CONFIG_FILES.
25910 # This happens for instance with `./config.status config.h'.
25911 if test -n "$CONFIG_FILES"; then
25914 ac_cr
=`echo X | tr X '\015'`
25915 # On cygwin, bash can eat \r inside `` if the user requested igncr.
25916 # But we know of no other shell where ac_cr would be empty at this
25917 # point, so we can use a bashism as a fallback.
25918 if test "x$ac_cr" = x
; then
25919 eval ac_cr
=\$
\'\\r
\'
25921 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25922 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25925 ac_cs_awk_cr
=$ac_cr
25928 echo 'BEGIN {' >"$tmp/subs1.awk" &&
25933 echo "cat >conf$$subs.awk <<_ACEOF" &&
25934 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25936 } >conf$$subs.sh ||
25937 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25938 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
25940 for ac_last_try in false false false false false :; do
25941 . ./conf$$subs.sh ||
25942 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25944 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
25945 if test $ac_delim_n = $ac_delim_num; then
25947 elif $ac_last_try; then
25948 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25950 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25953 rm -f conf$$subs.sh
25955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25956 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
25960 s/^/S["/; s
/!.
*/"]=/
25970 s/\(.\{148\}\).*/\1/
25972 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
25977 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25984 s/\(.\{148\}\).*/\1/
25986 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
25990 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25995 ' <conf$$subs.awk | sed '
26000 ' >>$CONFIG_STATUS || ac_write_fail=1
26001 rm -f conf$$subs.awk
26002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26004 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
26005 for (key in S) S_is_set[key] = 1
26011 nfields = split(line, field, "@
")
26013 len = length(field[1])
26014 for (i = 2; i < nfields; i++) {
26016 keylen = length(key)
26017 if (S_is_set[key]) {
26019 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26020 len += length(value) + length(field[++i])
26031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26032 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26033 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
26036 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
26037 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
26040 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26041 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
26042 # trailing colons and then remove the whole line if VPATH becomes empty
26043 # (actually we leave an empty line to preserve line numbers).
26044 if test "x
$srcdir" = x.; then
26045 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26046 s/:*\$(srcdir):*/:/
26047 s/:*\${srcdir}:*/:/
26049 s/^\([^=]*=[ ]*\):*/\1/
26055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26056 fi # test -n "$CONFIG_FILES"
26058 # Set up the scripts for CONFIG_HEADERS section.
26059 # No need to generate them if there are no CONFIG_HEADERS.
26060 # This happens for instance with `./config.status Makefile'.
26061 if test -n "$CONFIG_HEADERS"; then
26062 cat >"$tmp/defines.
awk" <<\_ACAWK ||
26066 # Transform confdefs.h into an awk script `defines.awk', embedded as
26067 # here-document in config.status, that substitutes the proper values into
26068 # config.h.in to produce config.h.
26070 # Create a delimiter string that does not exist in confdefs.h, to ease
26071 # handling of long lines.
26073 for ac_last_try in false false :; do
26074 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
26075 if test -z "$ac_t"; then
26077 elif $ac_last_try; then
26078 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
26080 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26084 # For the awk script, D is an array of macro values keyed by name,
26085 # likewise P contains macro parameters if any. Preserve backslash
26086 # newline sequences.
26088 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26090 s/.\{148\}/&'"$ac_delim"'/g
26093 s/^[ ]*#[ ]*define[ ][ ]*/ /
26100 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26102 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26106 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26107 D["\
1"]=" \
3\\\\\\n
"\\/p
26109 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26114 s/.\{148\}/&'"$ac_delim"'/g
26119 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26122 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26124 ' <confdefs.h | sed '
26125 s/'"$ac_delim"'/"\\\
26126 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26129 for (key in D) D_is_set[key] = 1
26132 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26134 split(line, arg, " ")
26135 if (arg[1] == "#") {
26139 defundef
= substr
(arg
[1], 2)
26142 split(mac1
, mac2
, "(") #)
26144 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26145 if (D_is_set
[macro
]) {
26146 # Preserve the white space surrounding the "#".
26147 print prefix
"define", macro P
[macro
] D
[macro
]
26150 # Replace #undef with comments. This is necessary, for example,
26151 # in the case of _POSIX_SOURCE, which is predefined and required
26152 # on some systems where configure will not decide to define it.
26153 if (defundef
== "undef") {
26154 print
"/*", prefix defundef
, macro
, "*/"
26162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26163 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
26164 fi # test -n "$CONFIG_HEADERS"
26167 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
26172 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26174 case $ac_mode$ac_tag in
26176 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26177 :[FH
]-) ac_tag
=-:-;;
26178 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26195 -) ac_f
="$tmp/stdin";;
26196 *) # Look for the file first in the build tree, then in the source tree
26197 # (if the path is not absolute). The absolute path cannot be DOS-style,
26198 # because $ac_f cannot contain `:'.
26202 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26204 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
26206 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26207 as_fn_append ac_file_inputs
" '$ac_f'"
26210 # Let's still pretend it is `configure' which instantiates (i.e., don't
26211 # use $as_me), people would be surprised to read:
26212 # /* config.h. Generated by config.status. */
26213 configure_input
='Generated from '`
26214 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26216 if test x
"$ac_file" != x-
; then
26217 configure_input
="$ac_file. $configure_input"
26218 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26219 $as_echo "$as_me: creating $ac_file" >&6;}
26221 # Neutralize special characters interpreted by sed in replacement strings.
26222 case $configure_input in #(
26223 *\
&* |
*\|
* |
*\\* )
26224 ac_sed_conf_input
=`$as_echo "$configure_input" |
26225 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26226 *) ac_sed_conf_input
=$configure_input;;
26230 *:-:* |
*:-) cat >"$tmp/stdin" \
26231 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
26236 ac_dir
=`$as_dirname -- "$ac_file" ||
26237 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26238 X"$ac_file" : 'X\(//\)[^/]' \| \
26239 X"$ac_file" : 'X\(//\)$' \| \
26240 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26241 $as_echo X"$ac_file" |
26242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26246 /^X\(\/\/\)[^/].*/{
26259 as_dir
="$ac_dir"; as_fn_mkdir_p
26263 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26265 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26266 # A ".." for each directory in $ac_dir_suffix.
26267 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26268 case $ac_top_builddir_sub in
26269 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26270 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26273 ac_abs_top_builddir
=$ac_pwd
26274 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26275 # for backward compatibility:
26276 ac_top_builddir
=$ac_top_build_prefix
26279 .
) # We are building in place.
26281 ac_top_srcdir
=$ac_top_builddir_sub
26282 ac_abs_top_srcdir
=$ac_pwd ;;
26283 [\\/]* | ?
:[\\/]* ) # Absolute name.
26284 ac_srcdir
=$srcdir$ac_dir_suffix;
26285 ac_top_srcdir
=$srcdir
26286 ac_abs_top_srcdir
=$srcdir ;;
26287 *) # Relative name.
26288 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26289 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26290 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26292 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26302 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26303 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26305 ac_MKDIR_P
=$MKDIR_P
26307 [\\/$
]* | ?
:[\\/]* ) ;;
26308 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26313 # If the template does not know about datarootdir, expand it.
26314 # FIXME: This hack should be removed a few years after 2.60.
26315 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26326 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26327 *datarootdir
*) ac_datarootdir_seen
=yes;;
26328 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26330 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26333 ac_datarootdir_hack='
26334 s&@datadir@&$datadir&g
26335 s&@docdir@&$docdir&g
26336 s&@infodir@&$infodir&g
26337 s&@localedir@&$localedir&g
26338 s&@mandir@&$mandir&g
26339 s&\\\${datarootdir}&$datarootdir&g' ;;
26343 # Neutralize VPATH when `$srcdir' = `.'.
26344 # Shell code in configure.ac might set extrasub.
26345 # FIXME: do we really want to maintain this feature?
26346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26347 ac_sed_extra="$ac_vpsub
26350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26352 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26353 s|@configure_input@|
$ac_sed_conf_input|
;t t
26354 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26355 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26356 s
&@srcdir@
&$ac_srcdir&;t t
26357 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26358 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26359 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26360 s
&@builddir@
&$ac_builddir&;t t
26361 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26362 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26363 s
&@INSTALL@
&$ac_INSTALL&;t t
26364 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26365 $ac_datarootdir_hack
26367 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26368 || as_fn_error "could not create
$ac_file" "$LINENO" 5
26370 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26371 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26372 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26374 which seems to be undefined. Please make sure it is defined." >&5
26375 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26376 which seems to be undefined. Please make sure it is defined." >&2;}
26380 -) cat "$tmp/out" && rm -f "$tmp/out";;
26381 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26383 || as_fn_error "could not create $ac_file" "$LINENO" 5
26389 if test x"$ac_file" != x-; then
26391 $as_echo "/* $configure_input */" \
26392 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26393 } >"$tmp/config.h" \
26394 || as_fn_error "could not create $ac_file" "$LINENO" 5
26395 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26396 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26397 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26400 mv "$tmp/config.h" "$ac_file" \
26401 || as_fn_error "could not create $ac_file" "$LINENO" 5
26404 $as_echo "/* $configure_input */" \
26405 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26406 || as_fn_error "could not create -" "$LINENO" 5
26408 # Compute "$ac_file"'s index
in $config_headers.
26411 for _am_header
in $config_headers :; do
26412 case $_am_header in
26413 $_am_arg |
$_am_arg:* )
26416 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26419 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26420 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26421 X"$_am_arg" : 'X\(//\)[^/]' \| \
26422 X"$_am_arg" : 'X\(//\)$' \| \
26423 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26424 $as_echo X"$_am_arg" |
26425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26429 /^X\(\/\/\)[^/].*/{
26441 s/.*/./; q'`/stamp-h
$_am_stamp_count
26448 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
26451 # Prefer the file from the source tree if names are identical.
26452 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
26453 ac_source
=$srcdir/$ac_source
26456 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
26457 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
26459 if test ! -r "$ac_source"; then
26460 as_fn_error
"$ac_source: file not found" "$LINENO" 5
26464 # Try a relative symlink, then a hard link, then a copy.
26466 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
26467 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
26469 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
26470 ln "$ac_source" "$ac_file" 2>/dev
/null ||
26471 cp -p "$ac_source" "$ac_file" ||
26472 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
26475 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26476 $as_echo "$as_me: executing $ac_file commands" >&6;}
26481 case $ac_file$ac_mode in
26483 # Only add multilib support code if we just rebuilt the top-level
26485 case " $CONFIG_FILES " in
26487 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
26490 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26491 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26492 # are listed without --file. Let's play safe and only enable the eval
26493 # if we detect the quoting.
26494 case $CONFIG_FILES in
26495 *\'*) eval set x
"$CONFIG_FILES" ;;
26496 *) set x
$CONFIG_FILES ;;
26501 # Strip MF so we end up with the name of the file.
26502 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26503 # Check whether this is an Automake generated Makefile or not.
26504 # We used to match only the files named `Makefile.in', but
26505 # some people rename them; so instead we look at the file content.
26506 # Grep'ing the first line is not enough: some people post-process
26507 # each Makefile.in and add a new line on top of each file to say so.
26508 # Grep'ing the whole file is not good either: AIX grep has a line
26509 # limit of 2048, but all sed's we know have understand at least 4000.
26510 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26511 dirpart
=`$as_dirname -- "$mf" ||
26512 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26513 X"$mf" : 'X\(//\)[^/]' \| \
26514 X"$mf" : 'X\(//\)$' \| \
26515 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26521 /^X\(\/\/\)[^/].*/{
26537 # Extract the definition of DEPDIR, am__include, and am__quote
26538 # from the Makefile without running `make'.
26539 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26540 test -z "$DEPDIR" && continue
26541 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26542 test -z "am__include" && continue
26543 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26544 # When using ansi2knr, U may be empty or an underscore; expand it
26545 U
=`sed -n 's/^U = //p' < "$mf"`
26546 # Find all dependency output files, they are included files with
26547 # $(DEPDIR) in their names. We invoke sed twice because it is the
26548 # simplest approach to changing $(DEPDIR) to its actual value in the
26550 for file in `sed -n "
26551 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26552 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26553 # Make sure the directory exists.
26554 test -f "$dirpart/$file" && continue
26555 fdir
=`$as_dirname -- "$file" ||
26556 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26557 X"$file" : 'X\(//\)[^/]' \| \
26558 X"$file" : 'X\(//\)$' \| \
26559 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26560 $as_echo X"$file" |
26561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26565 /^X\(\/\/\)[^/].*/{
26578 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26579 # echo "creating $dirpart/$file"
26580 echo '# dummy' > "$dirpart/$file"
26587 # See if we are running on zsh, and set the options which allow our
26588 # commands through without removal of \ escapes.
26589 if test -n "${ZSH_VERSION+set}" ; then
26590 setopt NO_GLOB_SUBST
26593 cfgfile
="${ofile}T"
26594 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26597 cat <<_LT_EOF >> "$cfgfile"
26600 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26601 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26602 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26603 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26605 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26606 # 2006, 2007, 2008 Free Software Foundation, Inc.
26607 # Written by Gordon Matzigkeit, 1996
26609 # This file is part of GNU Libtool.
26611 # GNU Libtool is free software; you can redistribute it and/or
26612 # modify it under the terms of the GNU General Public License as
26613 # published by the Free Software Foundation; either version 2 of
26614 # the License, or (at your option) any later version.
26616 # As a special exception to the GNU General Public License,
26617 # if you distribute this file as part of a program or library that
26618 # is built using GNU Libtool, you may include this file under the
26619 # same distribution terms that you use for the rest of that program.
26621 # GNU Libtool is distributed in the hope that it will be useful,
26622 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26623 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26624 # GNU General Public License for more details.
26626 # You should have received a copy of the GNU General Public License
26627 # along with GNU Libtool; see the file COPYING. If not, a copy
26628 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26629 # obtained by writing to the Free Software Foundation, Inc.,
26630 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26633 # The names of the tagged configurations supported by this script.
26634 available_tags="CXX GCJ "
26636 # ### BEGIN LIBTOOL CONFIG
26638 # Which release of libtool.m4 was used?
26639 macro_version=$macro_version
26640 macro_revision=$macro_revision
26642 # Whether or not to build shared libraries.
26643 build_libtool_libs=$enable_shared
26645 # Whether or not to build static libraries.
26646 build_old_libs=$enable_static
26648 # What type of objects to build.
26651 # Whether or not to optimize for fast installation.
26652 fast_install=$enable_fast_install
26655 host_alias=$host_alias
26659 # The build system.
26660 build_alias=$build_alias
26664 # A sed program that does not truncate output.
26667 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26668 Xsed="\$SED -e 1s/^X//"
26670 # A grep program that handles long lines.
26676 # A literal string matcher.
26679 # A BSD- or MS-compatible name lister.
26682 # Whether we need soft or hard links.
26685 # What is the maximum length of a command?
26686 max_cmd_len=$max_cmd_len
26688 # Object file suffix (normally "o").
26691 # Executable file suffix (normally "").
26694 # whether the shell understands "unset".
26697 # turn spaces into newlines.
26700 # turn newlines into spaces.
26703 # How to create reloadable object files.
26704 reload_flag=$lt_reload_flag
26705 reload_cmds=$lt_reload_cmds
26707 # An object symbol dumper.
26708 OBJDUMP=$lt_OBJDUMP
26710 # Method to check whether dependent libraries are shared objects.
26711 deplibs_check_method=$lt_deplibs_check_method
26713 # Command to use when deplibs_check_method == "file_magic".
26714 file_magic_cmd=$lt_file_magic_cmd
26718 AR_FLAGS=$lt_AR_FLAGS
26720 # A symbol stripping program.
26723 # Commands used to install an old-style archive.
26725 old_postinstall_cmds=$lt_old_postinstall_cmds
26726 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26731 # LTCC compiler flags.
26732 LTCFLAGS=$lt_CFLAGS
26734 # Take the output of nm and produce a listing of raw symbols and C names.
26735 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26737 # Transform the output of nm in a proper C declaration.
26738 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26740 # Transform the output of nm in a C name address pair.
26741 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26743 # Transform the output of nm in a C name address pair when lib prefix is needed.
26744 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26746 # The name of the directory that contains temporary libtool files.
26749 # Shell to use when invoking shell scripts.
26752 # An echo program that does not interpret backslashes.
26755 # Used to examine libraries when file_magic_cmd begins with "file".
26756 MAGIC_CMD=$MAGIC_CMD
26758 # Must we lock files when doing compilation?
26759 need_locks=$lt_need_locks
26761 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26762 DSYMUTIL=$lt_DSYMUTIL
26764 # Tool to change global to local symbols on Mac OS X.
26767 # Tool to manipulate fat objects and archives on Mac OS X.
26770 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26773 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26774 OTOOL64=$lt_OTOOL64
26776 # Old archive suffix (normally "a").
26779 # Shared library suffix (normally ".so").
26780 shrext_cmds=$lt_shrext_cmds
26782 # The commands to extract the exported symbol list from a shared archive.
26783 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26785 # Variables whose values should be saved in libtool wrapper scripts and
26786 # restored at link time.
26787 variables_saved_for_relink=$lt_variables_saved_for_relink
26789 # Do we need the "lib" prefix for modules?
26790 need_lib_prefix=$need_lib_prefix
26792 # Do we need a version for libraries?
26793 need_version=$need_version
26795 # Library versioning type.
26796 version_type=$version_type
26798 # Shared library runtime path variable.
26799 runpath_var=$runpath_var
26801 # Shared library path variable.
26802 shlibpath_var=$shlibpath_var
26804 # Is shlibpath searched before the hard-coded library search path?
26805 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26807 # Format of library name prefix.
26808 libname_spec=$lt_libname_spec
26810 # List of archive names. First name is the real one, the rest are links.
26811 # The last name is the one that the linker finds with -lNAME
26812 library_names_spec=$lt_library_names_spec
26814 # The coded name of the library, if different from the real name.
26815 soname_spec=$lt_soname_spec
26817 # Command to use after installation of a shared archive.
26818 postinstall_cmds=$lt_postinstall_cmds
26820 # Command to use after uninstallation of a shared archive.
26821 postuninstall_cmds=$lt_postuninstall_cmds
26823 # Commands used to finish a libtool library installation in a directory.
26824 finish_cmds=$lt_finish_cmds
26826 # As "finish_cmds", except a single script fragment to be evaled but
26828 finish_eval=$lt_finish_eval
26830 # Whether we should hardcode library paths into libraries.
26831 hardcode_into_libs=$hardcode_into_libs
26833 # Compile-time system search path for libraries.
26834 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26836 # Run-time system search path for libraries.
26837 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26839 # Whether dlopen is supported.
26840 dlopen_support=$enable_dlopen
26842 # Whether dlopen of programs is supported.
26843 dlopen_self=$enable_dlopen_self
26845 # Whether dlopen of statically linked programs is supported.
26846 dlopen_self_static=$enable_dlopen_self_static
26848 # Commands to strip libraries.
26849 old_striplib=$lt_old_striplib
26850 striplib=$lt_striplib
26853 # The linker used to build libraries.
26856 # Commands used to build an old-style archive.
26857 old_archive_cmds=$lt_old_archive_cmds
26859 # A language specific compiler.
26862 # Is the compiler the GNU compiler?
26865 # Compiler flag to turn off builtin functions.
26866 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26868 # How to pass a linker flag through the compiler.
26869 wl=$lt_lt_prog_compiler_wl
26871 # Additional compiler flags for building library objects.
26872 pic_flag=$lt_lt_prog_compiler_pic
26874 # Compiler flag to prevent dynamic linking.
26875 link_static_flag=$lt_lt_prog_compiler_static
26877 # Does compiler simultaneously support -c and -o options?
26878 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26880 # Whether or not to add -lc for building shared libraries.
26881 build_libtool_need_lc=$archive_cmds_need_lc
26883 # Whether or not to disallow shared libs when runtime libs are static.
26884 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26886 # Compiler flag to allow reflexive dlopens.
26887 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26889 # Compiler flag to generate shared objects directly from archives.
26890 whole_archive_flag_spec=$lt_whole_archive_flag_spec
26892 # Whether the compiler copes with passing no objects directly.
26893 compiler_needs_object=$lt_compiler_needs_object
26895 # Create an old-style archive from a shared archive.
26896 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26898 # Create a temporary old-style archive to link instead of a shared archive.
26899 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26901 # Commands used to build a shared archive.
26902 archive_cmds=$lt_archive_cmds
26903 archive_expsym_cmds=$lt_archive_expsym_cmds
26905 # Commands used to build a loadable module if different from building
26906 # a shared archive.
26907 module_cmds=$lt_module_cmds
26908 module_expsym_cmds=$lt_module_expsym_cmds
26910 # Whether we are building with GNU ld or not.
26911 with_gnu_ld=$lt_with_gnu_ld
26913 # Flag that allows shared libraries with undefined symbols to be built.
26914 allow_undefined_flag=$lt_allow_undefined_flag
26916 # Flag that enforces no undefined symbols.
26917 no_undefined_flag=$lt_no_undefined_flag
26919 # Flag to hardcode \$libdir into a binary during linking.
26920 # This must work even if \$libdir does not exist
26921 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26923 # If ld is used when linking, flag to hardcode \$libdir into a binary
26924 # during linking. This must work even if \$libdir does not exist.
26925 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
26927 # Whether we need a single "-rpath" flag with a separated argument.
26928 hardcode_libdir_separator=$lt_hardcode_libdir_separator
26930 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26931 # DIR into the resulting binary.
26932 hardcode_direct=$hardcode_direct
26934 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26935 # DIR into the resulting binary and the resulting library dependency is
26936 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
26937 # library is relocated.
26938 hardcode_direct_absolute=$hardcode_direct_absolute
26940 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26941 # into the resulting binary.
26942 hardcode_minus_L=$hardcode_minus_L
26944 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26945 # into the resulting binary.
26946 hardcode_shlibpath_var=$hardcode_shlibpath_var
26948 # Set to "yes" if building a shared library automatically hardcodes DIR
26949 # into the library and all subsequent libraries and executables linked
26951 hardcode_automatic=$hardcode_automatic
26953 # Set to yes if linker adds runtime paths of dependent libraries
26954 # to runtime path list.
26955 inherit_rpath=$inherit_rpath
26957 # Whether libtool must link a program against all its dependency libraries.
26958 link_all_deplibs=$link_all_deplibs
26960 # Fix the shell variable \$srcfile for the compiler.
26961 fix_srcfile_path=$lt_fix_srcfile_path
26963 # Set to "yes" if exported symbols are required.
26964 always_export_symbols=$always_export_symbols
26966 # The commands to list exported symbols.
26967 export_symbols_cmds=$lt_export_symbols_cmds
26969 # Symbols that should not be listed in the preloaded symbols.
26970 exclude_expsyms=$lt_exclude_expsyms
26972 # Symbols that must always be exported.
26973 include_expsyms=$lt_include_expsyms
26975 # Commands necessary for linking programs (against libraries) with templates.
26976 prelink_cmds=$lt_prelink_cmds
26978 # Specify filename containing input files.
26979 file_list_spec=$lt_file_list_spec
26981 # How to hardcode a shared library path into an executable.
26982 hardcode_action=$hardcode_action
26984 # The directories searched by this compiler when creating a shared library.
26985 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
26987 # Dependencies to place before and after the objects being linked to
26988 # create a shared library.
26989 predep_objects=$lt_predep_objects
26990 postdep_objects=$lt_postdep_objects
26991 predeps=$lt_predeps
26992 postdeps=$lt_postdeps
26994 # The library search path used internally by the compiler when linking
26995 # a shared library.
26996 compiler_lib_search_path=$lt_compiler_lib_search_path
26998 # ### END LIBTOOL CONFIG
27004 cat <<\_LT_EOF
>> "$cfgfile"
27005 # AIX sometimes has problems with the GCC collect2 program. For some
27006 # reason, if we set the COLLECT_NAMES environment variable, the problems
27007 # vanish in a puff of smoke.
27008 if test "X${COLLECT_NAMES+set}" != Xset
; then
27010 export COLLECT_NAMES
27017 ltmain
="$ac_aux_dir/ltmain.sh"
27020 # We use sed instead of cat because bash on DJGPP gets confused if
27021 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27022 # text mode, it properly converts lines to CR/LF. This bash problem
27023 # is reportedly fixed, but why not run on old versions too?
27024 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27025 ||
(rm -f "$cfgfile"; exit 1)
27029 cat << \_LT_EOF
>> "$cfgfile"
27031 # func_dirname file append nondir_replacement
27032 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27033 # otherwise set result to NONDIR_REPLACEMENT.
27037 */*) func_dirname_result
="${1%/*}${2}" ;;
27038 * ) func_dirname_result
="${3}" ;;
27042 # func_basename file
27045 func_basename_result
="${1##*/}"
27048 # func_dirname_and_basename file append nondir_replacement
27049 # perform func_basename and func_dirname in a single function
27051 # dirname: Compute the dirname of FILE. If nonempty,
27052 # add APPEND to the result, otherwise set result
27053 # to NONDIR_REPLACEMENT.
27054 # value returned in "$func_dirname_result"
27055 # basename: Compute filename of FILE.
27056 # value retuned in "$func_basename_result"
27057 # Implementation must be kept synchronized with func_dirname
27058 # and func_basename. For efficiency, we do not delegate to
27059 # those functions but instead duplicate the functionality here.
27060 func_dirname_and_basename
()
27063 */*) func_dirname_result
="${1%/*}${2}" ;;
27064 * ) func_dirname_result
="${3}" ;;
27066 func_basename_result
="${1##*/}"
27069 # func_stripname prefix suffix name
27070 # strip PREFIX and SUFFIX off of NAME.
27071 # PREFIX and SUFFIX must not contain globbing or regex special
27072 # characters, hashes, percent signs, but SUFFIX may contain a leading
27073 # dot (in which case that matches only a dot).
27076 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27077 # positional parameters, so assign one to ordinary parameter first.
27078 func_stripname_result
=${3}
27079 func_stripname_result
=${func_stripname_result#"${1}"}
27080 func_stripname_result
=${func_stripname_result%"${2}"}
27086 func_opt_split_opt
=${1%%=*}
27087 func_opt_split_arg
=${1#*=}
27094 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
27095 *) func_lo2o_result
=${1} ;;
27099 # func_xform libobj-or-source
27102 func_xform_result
=${1%.*}.lo
27105 # func_arith arithmetic-term...
27108 func_arith_result
=$
(( $
* ))
27112 # STRING may not start with a hyphen.
27115 func_len_result
=${#1}
27120 *) # Bourne compatible functions.
27121 cat << \_LT_EOF
>> "$cfgfile"
27123 # func_dirname file append nondir_replacement
27124 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27125 # otherwise set result to NONDIR_REPLACEMENT.
27128 # Extract subdirectory from the argument.
27129 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
27130 if test "X$func_dirname_result" = "X${1}"; then
27131 func_dirname_result
="${3}"
27133 func_dirname_result
="$func_dirname_result${2}"
27137 # func_basename file
27140 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
27144 # func_stripname prefix suffix name
27145 # strip PREFIX and SUFFIX off of NAME.
27146 # PREFIX and SUFFIX must not contain globbing or regex special
27147 # characters, hashes, percent signs, but SUFFIX may contain a leading
27148 # dot (in which case that matches only a dot).
27149 # func_strip_suffix prefix name
27153 .
*) func_stripname_result
=`$ECHO "X${3}" \
27154 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
27155 *) func_stripname_result
=`$ECHO "X${3}" \
27156 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
27161 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
27162 my_sed_long_arg
='1s/^-[^=]*=//'
27167 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
27168 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
27174 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
27177 # func_xform libobj-or-source
27180 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
27183 # func_arith arithmetic-term...
27186 func_arith_result
=`expr "$@"`
27190 # STRING may not start with a hyphen.
27193 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27199 case $lt_shell_append in
27201 cat << \_LT_EOF
>> "$cfgfile"
27203 # func_append var value
27204 # Append VALUE to the end of shell variable VAR.
27212 cat << \_LT_EOF
>> "$cfgfile"
27214 # func_append var value
27215 # Append VALUE to the end of shell variable VAR.
27226 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27227 ||
(rm -f "$cfgfile"; exit 1)
27229 mv -f "$cfgfile" "$ofile" ||
27230 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27234 cat <<_LT_EOF >> "$ofile"
27236 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27238 # The linker used to build libraries.
27241 # Commands used to build an old-style archive.
27242 old_archive_cmds=$lt_old_archive_cmds_CXX
27244 # A language specific compiler.
27245 CC=$lt_compiler_CXX
27247 # Is the compiler the GNU compiler?
27250 # Compiler flag to turn off builtin functions.
27251 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27253 # How to pass a linker flag through the compiler.
27254 wl=$lt_lt_prog_compiler_wl_CXX
27256 # Additional compiler flags for building library objects.
27257 pic_flag=$lt_lt_prog_compiler_pic_CXX
27259 # Compiler flag to prevent dynamic linking.
27260 link_static_flag=$lt_lt_prog_compiler_static_CXX
27262 # Does compiler simultaneously support -c and -o options?
27263 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27265 # Whether or not to add -lc for building shared libraries.
27266 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27268 # Whether or not to disallow shared libs when runtime libs are static.
27269 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27271 # Compiler flag to allow reflexive dlopens.
27272 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27274 # Compiler flag to generate shared objects directly from archives.
27275 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27277 # Whether the compiler copes with passing no objects directly.
27278 compiler_needs_object=$lt_compiler_needs_object_CXX
27280 # Create an old-style archive from a shared archive.
27281 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27283 # Create a temporary old-style archive to link instead of a shared archive.
27284 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27286 # Commands used to build a shared archive.
27287 archive_cmds=$lt_archive_cmds_CXX
27288 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27290 # Commands used to build a loadable module if different from building
27291 # a shared archive.
27292 module_cmds=$lt_module_cmds_CXX
27293 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27295 # Whether we are building with GNU ld or not.
27296 with_gnu_ld=$lt_with_gnu_ld_CXX
27298 # Flag that allows shared libraries with undefined symbols to be built.
27299 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27301 # Flag that enforces no undefined symbols.
27302 no_undefined_flag=$lt_no_undefined_flag_CXX
27304 # Flag to hardcode \$libdir into a binary during linking.
27305 # This must work even if \$libdir does not exist
27306 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27308 # If ld is used when linking, flag to hardcode \$libdir into a binary
27309 # during linking. This must work even if \$libdir does not exist.
27310 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27312 # Whether we need a single "-rpath" flag with a separated argument.
27313 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27315 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27316 # DIR into the resulting binary.
27317 hardcode_direct=$hardcode_direct_CXX
27319 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27320 # DIR into the resulting binary and the resulting library dependency is
27321 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27322 # library is relocated.
27323 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27325 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27326 # into the resulting binary.
27327 hardcode_minus_L=$hardcode_minus_L_CXX
27329 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27330 # into the resulting binary.
27331 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27333 # Set to "yes" if building a shared library automatically hardcodes DIR
27334 # into the library and all subsequent libraries and executables linked
27336 hardcode_automatic=$hardcode_automatic_CXX
27338 # Set to yes if linker adds runtime paths of dependent libraries
27339 # to runtime path list.
27340 inherit_rpath=$inherit_rpath_CXX
27342 # Whether libtool must link a program against all its dependency libraries.
27343 link_all_deplibs=$link_all_deplibs_CXX
27345 # Fix the shell variable \$srcfile for the compiler.
27346 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27348 # Set to "yes" if exported symbols are required.
27349 always_export_symbols=$always_export_symbols_CXX
27351 # The commands to list exported symbols.
27352 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27354 # Symbols that should not be listed in the preloaded symbols.
27355 exclude_expsyms=$lt_exclude_expsyms_CXX
27357 # Symbols that must always be exported.
27358 include_expsyms=$lt_include_expsyms_CXX
27360 # Commands necessary for linking programs (against libraries) with templates.
27361 prelink_cmds=$lt_prelink_cmds_CXX
27363 # Specify filename containing input files.
27364 file_list_spec=$lt_file_list_spec_CXX
27366 # How to hardcode a shared library path into an executable.
27367 hardcode_action=$hardcode_action_CXX
27369 # The directories searched by this compiler when creating a shared library.
27370 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27372 # Dependencies to place before and after the objects being linked to
27373 # create a shared library.
27374 predep_objects=$lt_predep_objects_CXX
27375 postdep_objects=$lt_postdep_objects_CXX
27376 predeps=$lt_predeps_CXX
27377 postdeps=$lt_postdeps_CXX
27379 # The library search path used internally by the compiler when linking
27380 # a shared library.
27381 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27383 # ### END LIBTOOL TAG CONFIG: CXX
27387 cat <<_LT_EOF >> "$ofile"
27389 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
27391 # The linker used to build libraries.
27394 # Commands used to build an old-style archive.
27395 old_archive_cmds=$lt_old_archive_cmds_GCJ
27397 # A language specific compiler.
27398 CC=$lt_compiler_GCJ
27400 # Is the compiler the GNU compiler?
27403 # Compiler flag to turn off builtin functions.
27404 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
27406 # How to pass a linker flag through the compiler.
27407 wl=$lt_lt_prog_compiler_wl_GCJ
27409 # Additional compiler flags for building library objects.
27410 pic_flag=$lt_lt_prog_compiler_pic_GCJ
27412 # Compiler flag to prevent dynamic linking.
27413 link_static_flag=$lt_lt_prog_compiler_static_GCJ
27415 # Does compiler simultaneously support -c and -o options?
27416 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
27418 # Whether or not to add -lc for building shared libraries.
27419 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
27421 # Whether or not to disallow shared libs when runtime libs are static.
27422 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
27424 # Compiler flag to allow reflexive dlopens.
27425 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
27427 # Compiler flag to generate shared objects directly from archives.
27428 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
27430 # Whether the compiler copes with passing no objects directly.
27431 compiler_needs_object=$lt_compiler_needs_object_GCJ
27433 # Create an old-style archive from a shared archive.
27434 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
27436 # Create a temporary old-style archive to link instead of a shared archive.
27437 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
27439 # Commands used to build a shared archive.
27440 archive_cmds=$lt_archive_cmds_GCJ
27441 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
27443 # Commands used to build a loadable module if different from building
27444 # a shared archive.
27445 module_cmds=$lt_module_cmds_GCJ
27446 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
27448 # Whether we are building with GNU ld or not.
27449 with_gnu_ld=$lt_with_gnu_ld_GCJ
27451 # Flag that allows shared libraries with undefined symbols to be built.
27452 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
27454 # Flag that enforces no undefined symbols.
27455 no_undefined_flag=$lt_no_undefined_flag_GCJ
27457 # Flag to hardcode \$libdir into a binary during linking.
27458 # This must work even if \$libdir does not exist
27459 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
27461 # If ld is used when linking, flag to hardcode \$libdir into a binary
27462 # during linking. This must work even if \$libdir does not exist.
27463 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
27465 # Whether we need a single "-rpath" flag with a separated argument.
27466 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
27468 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27469 # DIR into the resulting binary.
27470 hardcode_direct=$hardcode_direct_GCJ
27472 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27473 # DIR into the resulting binary and the resulting library dependency is
27474 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27475 # library is relocated.
27476 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
27478 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27479 # into the resulting binary.
27480 hardcode_minus_L=$hardcode_minus_L_GCJ
27482 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27483 # into the resulting binary.
27484 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
27486 # Set to "yes" if building a shared library automatically hardcodes DIR
27487 # into the library and all subsequent libraries and executables linked
27489 hardcode_automatic=$hardcode_automatic_GCJ
27491 # Set to yes if linker adds runtime paths of dependent libraries
27492 # to runtime path list.
27493 inherit_rpath=$inherit_rpath_GCJ
27495 # Whether libtool must link a program against all its dependency libraries.
27496 link_all_deplibs=$link_all_deplibs_GCJ
27498 # Fix the shell variable \$srcfile for the compiler.
27499 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
27501 # Set to "yes" if exported symbols are required.
27502 always_export_symbols=$always_export_symbols_GCJ
27504 # The commands to list exported symbols.
27505 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
27507 # Symbols that should not be listed in the preloaded symbols.
27508 exclude_expsyms=$lt_exclude_expsyms_GCJ
27510 # Symbols that must always be exported.
27511 include_expsyms=$lt_include_expsyms_GCJ
27513 # Commands necessary for linking programs (against libraries) with templates.
27514 prelink_cmds=$lt_prelink_cmds_GCJ
27516 # Specify filename containing input files.
27517 file_list_spec=$lt_file_list_spec_GCJ
27519 # How to hardcode a shared library path into an executable.
27520 hardcode_action=$hardcode_action_GCJ
27522 # The directories searched by this compiler when creating a shared library.
27523 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
27525 # Dependencies to place before and after the objects being linked to
27526 # create a shared library.
27527 predep_objects=$lt_predep_objects_GCJ
27528 postdep_objects=$lt_postdep_objects_GCJ
27529 predeps=$lt_predeps_GCJ
27530 postdeps=$lt_postdeps_GCJ
27532 # The library search path used internally by the compiler when linking
27533 # a shared library.
27534 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
27536 # ### END LIBTOOL TAG CONFIG: GCJ
27540 "scripts/jar":F
) chmod +x
scripts
/jar
;;
27548 ac_clean_files
=$ac_clean_files_save
27550 test $ac_write_fail = 0 ||
27551 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27554 # configure is writing to config.log, and then calls config.status.
27555 # config.status does its own redirection, appending to config.log.
27556 # Unfortunately, on DOS this fails, as config.log is still kept open
27557 # by configure, so config.status won't be able to write to it; its
27558 # output is simply discarded. So we exec the FD to /dev/null,
27559 # effectively closing config.log, so it can be properly (re)opened and
27560 # appended to by config.status. When coming back to configure, we
27561 # need to make the FD available again.
27562 if test "$no_create" != yes; then
27564 ac_config_status_args
=
27565 test "$silent" = yes &&
27566 ac_config_status_args
="$ac_config_status_args --quiet"
27568 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27570 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27571 # would make configure fail if this is the last instruction.
27572 $ac_cs_success || as_fn_exit $?
27576 # CONFIG_SUBDIRS section.
27578 if test "$no_recursion" != yes; then
27580 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
27581 # so they do not pile up.
27582 ac_sub_configure_args
=
27584 eval "set x $ac_configure_args"
27588 if test -n "$ac_prev"; then
27593 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
27594 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
27595 ac_prev
=cache_file
;;
27596 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
27597 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
27600 --config-cache |
-C)
27602 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
27604 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
27606 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
27608 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
27610 --disable-option-checking)
27614 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27616 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
27620 # Always prepend --prefix to ensure using the same prefix
27621 # in subdir configurations.
27622 ac_arg
="--prefix=$prefix"
27624 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27626 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
27629 if test "$silent" = yes; then
27630 ac_sub_configure_args
="--silent $ac_sub_configure_args"
27633 # Always prepend --disable-option-checking to silence warnings, since
27634 # different subdirs can have different --enable and --with options.
27635 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
27638 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
27640 # Do not complain, so a configure script can configure whichever
27641 # parts of a large source tree are present.
27642 test -d "$srcdir/$ac_dir" ||
continue
27644 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
27645 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
27646 $as_echo "$ac_msg" >&6
27647 as_dir
="$ac_dir"; as_fn_mkdir_p
27651 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27653 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27654 # A ".." for each directory in $ac_dir_suffix.
27655 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27656 case $ac_top_builddir_sub in
27657 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27658 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27661 ac_abs_top_builddir
=$ac_pwd
27662 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27663 # for backward compatibility:
27664 ac_top_builddir
=$ac_top_build_prefix
27667 .
) # We are building in place.
27669 ac_top_srcdir
=$ac_top_builddir_sub
27670 ac_abs_top_srcdir
=$ac_pwd ;;
27671 [\\/]* | ?
:[\\/]* ) # Absolute name.
27672 ac_srcdir
=$srcdir$ac_dir_suffix;
27673 ac_top_srcdir
=$srcdir
27674 ac_abs_top_srcdir
=$srcdir ;;
27675 *) # Relative name.
27676 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27677 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27678 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27680 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27685 # Check for guested configure; otherwise get Cygnus style configure.
27686 if test -f "$ac_srcdir/configure.gnu"; then
27687 ac_sub_configure
=$ac_srcdir/configure.gnu
27688 elif test -f "$ac_srcdir/configure"; then
27689 ac_sub_configure
=$ac_srcdir/configure
27690 elif test -f "$ac_srcdir/configure.in"; then
27691 # This should be Cygnus configure.
27692 ac_sub_configure
=$ac_aux_dir/configure
27694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
27695 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
27699 # The recursion is here.
27700 if test -n "$ac_sub_configure"; then
27701 # Make the cache file name correct relative to the subdirectory.
27702 case $cache_file in
27703 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
27704 *) # Relative name.
27705 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
27708 { $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
27709 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
27710 # The eval makes quoting arguments work.
27711 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
27712 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
27713 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
27719 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
27720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27721 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}