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
918 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
924 MAINTAINER_MODE_FALSE
953 INSTALL_STRIP_PROGRAM
978 JAVA_MAINTAINER_MODE_FALSE
979 JAVA_MAINTAINER_MODE_TRUE
1030 program_transform_name
1043 enable_option_checking
1044 with_build_libsubdir
1049 enable_version_specific_runtime_libs
1054 enable_java_maintainer_mode
1055 enable_dependency_tracking
1056 enable_maintainer_mode
1066 enable_getenv_properties
1067 enable_hash_synchronization
1071 enable_reduced_reflection
1075 enable_sjlj_exceptions
1084 with_libiconv_prefix
1086 with_system_libunwind
1088 enable_aot_compile_rpm
1098 ac_precious_vars
='build_alias
1110 ac_subdirs_all
='classpath libltdl'
1112 # Initialize some variables set by options.
1114 ac_init_version
=false
1115 ac_unrecognized_opts
=
1116 ac_unrecognized_sep
=
1117 # The variables have the same names as the options, with
1118 # dashes changed to underlines.
1119 cache_file
=/dev
/null
1126 program_transform_name
=s
,x
,x
,
1134 # Installation directory options.
1135 # These are left unexpanded so users can "make install exec_prefix=/foo"
1136 # and all the variables that are supposed to be based on exec_prefix
1137 # by default will actually change.
1138 # Use braces instead of parens because sh, perl, etc. also accept them.
1139 # (The list follows the same order as the GNU Coding Standards.)
1140 bindir
='${exec_prefix}/bin'
1141 sbindir
='${exec_prefix}/sbin'
1142 libexecdir
='${exec_prefix}/libexec'
1143 datarootdir
='${prefix}/share'
1144 datadir
='${datarootdir}'
1145 sysconfdir
='${prefix}/etc'
1146 sharedstatedir
='${prefix}/com'
1147 localstatedir
='${prefix}/var'
1148 includedir
='${prefix}/include'
1149 oldincludedir
='/usr/include'
1150 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1151 infodir
='${datarootdir}/info'
1156 libdir
='${exec_prefix}/lib'
1157 localedir
='${datarootdir}/locale'
1158 mandir
='${datarootdir}/man'
1164 # If the previous option needs an argument, assign it.
1165 if test -n "$ac_prev"; then
1166 eval $ac_prev=\
$ac_option
1172 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1176 # Accept the important Cygnus configure options, so we can diagnose typos.
1178 case $ac_dashdash$ac_option in
1182 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1184 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1185 bindir
=$ac_optarg ;;
1187 -build |
--build |
--buil |
--bui |
--bu)
1188 ac_prev
=build_alias
;;
1189 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1190 build_alias
=$ac_optarg ;;
1192 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1193 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1194 ac_prev
=cache_file
;;
1195 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1196 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1197 cache_file
=$ac_optarg ;;
1199 --config-cache |
-C)
1200 cache_file
=config.cache
;;
1202 -datadir |
--datadir |
--datadi |
--datad)
1204 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1205 datadir
=$ac_optarg ;;
1207 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1208 |
--dataroo |
--dataro |
--datar)
1209 ac_prev
=datarootdir
;;
1210 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1211 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1212 datarootdir
=$ac_optarg ;;
1214 -disable-* |
--disable-*)
1215 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1216 # Reject names that are not valid shell variable names.
1217 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1218 as_fn_error
"invalid feature name: $ac_useropt"
1219 ac_useropt_orig
=$ac_useropt
1220 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1221 case $ac_user_opts in
1223 "enable_
$ac_useropt"
1225 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1226 ac_unrecognized_sep
=', ';;
1228 eval enable_
$ac_useropt=no
;;
1230 -docdir |
--docdir |
--docdi |
--doc |
--do)
1232 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1233 docdir
=$ac_optarg ;;
1235 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1237 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1238 dvidir
=$ac_optarg ;;
1240 -enable-* |
--enable-*)
1241 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1244 as_fn_error
"invalid feature name: $ac_useropt"
1245 ac_useropt_orig
=$ac_useropt
1246 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1247 case $ac_user_opts in
1249 "enable_
$ac_useropt"
1251 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1252 ac_unrecognized_sep
=', ';;
1254 eval enable_
$ac_useropt=\
$ac_optarg ;;
1256 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1257 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1258 |
--exec |
--exe |
--ex)
1259 ac_prev
=exec_prefix
;;
1260 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1261 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1262 |
--exec=* |
--exe=* |
--ex=*)
1263 exec_prefix
=$ac_optarg ;;
1265 -gas |
--gas |
--ga |
--g)
1266 # Obsolete; use --with-gas.
1269 -help |
--help |
--hel |
--he |
-h)
1270 ac_init_help
=long
;;
1271 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1272 ac_init_help
=recursive
;;
1273 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1274 ac_init_help
=short
;;
1276 -host |
--host |
--hos |
--ho)
1277 ac_prev
=host_alias
;;
1278 -host=* |
--host=* |
--hos=* |
--ho=*)
1279 host_alias
=$ac_optarg ;;
1281 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1283 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1285 htmldir
=$ac_optarg ;;
1287 -includedir |
--includedir |
--includedi |
--included |
--include \
1288 |
--includ |
--inclu |
--incl |
--inc)
1289 ac_prev
=includedir
;;
1290 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1291 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1292 includedir
=$ac_optarg ;;
1294 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1296 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1297 infodir
=$ac_optarg ;;
1299 -libdir |
--libdir |
--libdi |
--libd)
1301 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1302 libdir
=$ac_optarg ;;
1304 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1305 |
--libexe |
--libex |
--libe)
1306 ac_prev
=libexecdir
;;
1307 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1308 |
--libexe=* |
--libex=* |
--libe=*)
1309 libexecdir
=$ac_optarg ;;
1311 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1312 ac_prev
=localedir
;;
1313 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1314 localedir
=$ac_optarg ;;
1316 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1317 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1318 ac_prev
=localstatedir
;;
1319 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1320 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1321 localstatedir
=$ac_optarg ;;
1323 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1325 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1326 mandir
=$ac_optarg ;;
1328 -nfp |
--nfp |
--nf)
1329 # Obsolete; use --without-fp.
1332 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1333 |
--no-cr |
--no-c |
-n)
1336 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1337 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1340 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1341 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1342 |
--oldin |
--oldi |
--old |
--ol |
--o)
1343 ac_prev
=oldincludedir
;;
1344 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1345 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1346 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1347 oldincludedir
=$ac_optarg ;;
1349 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1351 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1352 prefix
=$ac_optarg ;;
1354 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1355 |
--program-pre |
--program-pr |
--program-p)
1356 ac_prev
=program_prefix
;;
1357 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1358 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1359 program_prefix
=$ac_optarg ;;
1361 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1362 |
--program-suf |
--program-su |
--program-s)
1363 ac_prev
=program_suffix
;;
1364 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1365 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1366 program_suffix
=$ac_optarg ;;
1368 -program-transform-name |
--program-transform-name \
1369 |
--program-transform-nam |
--program-transform-na \
1370 |
--program-transform-n |
--program-transform- \
1371 |
--program-transform |
--program-transfor \
1372 |
--program-transfo |
--program-transf \
1373 |
--program-trans |
--program-tran \
1374 |
--progr-tra |
--program-tr |
--program-t)
1375 ac_prev
=program_transform_name
;;
1376 -program-transform-name=* |
--program-transform-name=* \
1377 |
--program-transform-nam=* |
--program-transform-na=* \
1378 |
--program-transform-n=* |
--program-transform-=* \
1379 |
--program-transform=* |
--program-transfor=* \
1380 |
--program-transfo=* |
--program-transf=* \
1381 |
--program-trans=* |
--program-tran=* \
1382 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1383 program_transform_name
=$ac_optarg ;;
1385 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1387 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1388 pdfdir
=$ac_optarg ;;
1390 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1392 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1395 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1396 |
-silent |
--silent |
--silen |
--sile |
--sil)
1399 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1401 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1403 sbindir
=$ac_optarg ;;
1405 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1406 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1407 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1409 ac_prev
=sharedstatedir
;;
1410 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1411 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1412 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1414 sharedstatedir
=$ac_optarg ;;
1416 -site |
--site |
--sit)
1418 -site=* |
--site=* |
--sit=*)
1421 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1423 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1424 srcdir
=$ac_optarg ;;
1426 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1427 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1428 ac_prev
=sysconfdir
;;
1429 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1430 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1431 sysconfdir
=$ac_optarg ;;
1433 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1434 ac_prev
=target_alias
;;
1435 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1436 target_alias
=$ac_optarg ;;
1438 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1441 -version |
--version |
--versio |
--versi |
--vers |
-V)
1442 ac_init_version
=: ;;
1445 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1446 # Reject names that are not valid shell variable names.
1447 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1448 as_fn_error
"invalid package name: $ac_useropt"
1449 ac_useropt_orig
=$ac_useropt
1450 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1451 case $ac_user_opts in
1455 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1456 ac_unrecognized_sep
=', ';;
1458 eval with_
$ac_useropt=\
$ac_optarg ;;
1460 -without-* |
--without-*)
1461 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1462 # Reject names that are not valid shell variable names.
1463 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1464 as_fn_error
"invalid package name: $ac_useropt"
1465 ac_useropt_orig
=$ac_useropt
1466 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1467 case $ac_user_opts in
1471 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1472 ac_unrecognized_sep
=', ';;
1474 eval with_
$ac_useropt=no
;;
1477 # Obsolete; use --with-x.
1480 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1481 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1482 ac_prev
=x_includes
;;
1483 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1484 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1485 x_includes
=$ac_optarg ;;
1487 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1488 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1489 ac_prev
=x_libraries
;;
1490 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1491 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1492 x_libraries
=$ac_optarg ;;
1494 -*) as_fn_error
"unrecognized option: \`$ac_option'
1495 Try \`$0 --help' for more information."
1499 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1500 # Reject names that are not valid shell variable names.
1501 case $ac_envvar in #(
1502 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1503 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1505 eval $ac_envvar=\
$ac_optarg
1506 export $ac_envvar ;;
1509 # FIXME: should be removed in autoconf 3.0.
1510 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1511 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1512 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1513 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1519 if test -n "$ac_prev"; then
1520 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1521 as_fn_error
"missing argument to $ac_option"
1524 if test -n "$ac_unrecognized_opts"; then
1525 case $enable_option_checking in
1527 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1528 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1532 # Check all directory arguments for consistency.
1533 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1534 datadir sysconfdir sharedstatedir localstatedir includedir \
1535 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1536 libdir localedir mandir
1538 eval ac_val
=\$
$ac_var
1539 # Remove trailing slashes.
1542 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1543 eval $ac_var=\
$ac_val;;
1545 # Be sure to have absolute directory names.
1547 [\\/$
]* | ?
:[\\/]* ) continue;;
1548 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1550 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1553 # There might be people who depend on the old broken behavior: `$host'
1554 # used to hold the argument of --host etc.
1555 # FIXME: To remove some day.
1558 target
=$target_alias
1560 # FIXME: To remove some day.
1561 if test "x$host_alias" != x
; then
1562 if test "x$build_alias" = x
; then
1563 cross_compiling
=maybe
1564 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1565 If a cross compiler is detected then cross compile mode will be used." >&2
1566 elif test "x$build_alias" != "x$host_alias"; then
1572 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1574 test "$silent" = yes && exec 6>/dev
/null
1577 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1578 ac_ls_di
=`ls -di .` &&
1579 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1580 as_fn_error
"working directory cannot be determined"
1581 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1582 as_fn_error
"pwd does not report name of working directory"
1585 # Find the source files, if location was not specified.
1586 if test -z "$srcdir"; then
1587 ac_srcdir_defaulted
=yes
1588 # Try the directory containing this script, then the parent directory.
1589 ac_confdir
=`$as_dirname -- "$as_myself" ||
1590 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1591 X"$as_myself" : 'X\(//\)[^/]' \| \
1592 X"$as_myself" : 'X\(//\)$' \| \
1593 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1594 $as_echo X"$as_myself" |
1595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1613 if test ! -r "$srcdir/$ac_unique_file"; then
1617 ac_srcdir_defaulted
=no
1619 if test ! -r "$srcdir/$ac_unique_file"; then
1620 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1621 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1623 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1625 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1627 # When building in place, set srcdir=.
1628 if test "$ac_abs_confdir" = "$ac_pwd"; then
1631 # Remove unnecessary trailing slashes from srcdir.
1632 # Double slashes in file names in object file debugging info
1633 # mess up M-x gdb in Emacs.
1635 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1637 for ac_var
in $ac_precious_vars; do
1638 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1639 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1640 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1641 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1645 # Report the --help message.
1647 if test "$ac_init_help" = "long"; then
1648 # Omit some internal or obsolete options to make the list less imposing.
1649 # This message is too long to be a string in the A/UX 3.1 sh.
1651 \`configure' configures libjava version-unused to adapt to many kinds of systems.
1653 Usage: $0 [OPTION]... [VAR=VALUE]...
1655 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1656 VAR=VALUE. See below for descriptions of some of the useful variables.
1658 Defaults for the options are specified in brackets.
1661 -h, --help display this help and exit
1662 --help=short display options specific to this package
1663 --help=recursive display the short help of all the included packages
1664 -V, --version display version information and exit
1665 -q, --quiet, --silent do not print \`checking...' messages
1666 --cache-file=FILE cache test results in FILE [disabled]
1667 -C, --config-cache alias for \`--cache-file=config.cache'
1668 -n, --no-create do not create output files
1669 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1671 Installation directories:
1672 --prefix=PREFIX install architecture-independent files in PREFIX
1673 [$ac_default_prefix]
1674 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1677 By default, \`make install' will install all the files in
1678 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1679 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1680 for instance \`--prefix=\$HOME'.
1682 For better control, use the options below.
1684 Fine tuning of the installation directories:
1685 --bindir=DIR user executables [EPREFIX/bin]
1686 --sbindir=DIR system admin executables [EPREFIX/sbin]
1687 --libexecdir=DIR program executables [EPREFIX/libexec]
1688 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1689 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1690 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1691 --libdir=DIR object code libraries [EPREFIX/lib]
1692 --includedir=DIR C header files [PREFIX/include]
1693 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1694 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1695 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1696 --infodir=DIR info documentation [DATAROOTDIR/info]
1697 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1698 --mandir=DIR man documentation [DATAROOTDIR/man]
1699 --docdir=DIR documentation root [DATAROOTDIR/doc/libjava]
1700 --htmldir=DIR html documentation [DOCDIR]
1701 --dvidir=DIR dvi documentation [DOCDIR]
1702 --pdfdir=DIR pdf documentation [DOCDIR]
1703 --psdir=DIR ps documentation [DOCDIR]
1709 --program-prefix=PREFIX prepend PREFIX to installed program names
1710 --program-suffix=SUFFIX append SUFFIX to installed program names
1711 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1714 --x-includes=DIR X include files are
in DIR
1715 --x-libraries=DIR X library files are
in DIR
1718 --build=BUILD configure
for building on BUILD
[guessed
]
1719 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1720 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1724 if test -n "$ac_init_help"; then
1725 case $ac_init_help in
1726 short | recursive
) echo "Configuration of libjava version-unused:";;
1731 --disable-option-checking ignore unrecognized
--enable/--with options
1732 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1733 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1734 --enable-multilib build many library versions
(default
)
1735 --enable-version-specific-runtime-libs
1736 specify that runtime libraries should be installed
1737 in a compiler-specific directory
1738 --enable-plugin build gcjwebplugin web browser plugin
1739 --enable-gconf-peer compile GConf native peers
for util.preferences
1740 --disable-gjdoc compile GJDoc
(disabled by
--disable-gjdoc)
1742 --enable-java-maintainer-mode
1743 allow rebuilding of .class and .h files
1744 --disable-dependency-tracking speeds up one-time build
1745 --enable-dependency-tracking do not reject slow dependency extractors
1746 --enable-maintainer-mode enable make rules and dependencies not useful
1747 (and sometimes confusing
) to the casual installer
1748 --enable-libgcj-debug enable runtime debugging code
1749 --enable-java-awt list of AWT peer implementations to be built
1750 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1751 --enable-static[=PKGS
] build static libraries
[default
=yes]
1752 --enable-fast-install[=PKGS
]
1753 optimize
for fast installation
[default
=yes]
1754 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1755 --disable-getenv-properties
1756 don
't set system properties from GCJ_PROPERTIES
1757 --enable-hash-synchronization
1758 use global hash table for monitor locks
1759 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1761 --enable-reduced-reflection
1762 enable or disable(default) -freduced-reflection when
1763 building portions of libgcj
1764 --enable-gc-debug include full support for pointer backtracing etc.
1765 --enable-interpreter enable interpreter
1766 --enable-sjlj-exceptions
1767 force use of builtin_setjmp for exceptions
1768 --disable-java-net disable java.net
1769 --disable-jvmpi disable JVMPI support
1770 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1771 --disable-rpath do not hardcode runtime library paths
1772 --enable-tls Use thread-local storage [default=yes]
1773 --enable-aot-compile-rpm
1774 enable installation of aot-compile-rpm [default=no]
1775 --enable-java-home create a standard JDK-style directory layout in the
1776 install tree [default=no]
1779 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1780 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1781 --with-build-libsubdir=DIR Directory where to find libraries for build system
1782 --with-target-subdir=SUBDIR
1783 configure in a subdirectory
1784 --with-cross-host=HOST configure with a cross compiler from HOST
1785 --with-newlib configure with newlib
1786 --with-antlr-jar=file Use ANTLR from the specified jar file
1787 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1788 --with-pic try to use only PIC/non-PIC objects [default=use
1790 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1791 --with-ecj-jar=FILE use preinstalled ecj jar
1792 --with-java-home=DIRECTORY
1793 value of java.home system property
1794 --with-win32-nlsapi=ansi or unicows or unicode
1795 native MinGW libgcj Win32 OS API (default is ansi)
1796 --without-libffi don't use libffi
1797 --with-ecos enable runtime eCos target support
1798 --with-system-zlib use installed libz
1799 --with-x use the X Window System
1800 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1801 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1802 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1803 --with-system-libunwind use installed libunwind
1804 --with-python-dir the location to install Python modules. This path
1805 should NOT include the prefix.
1806 --with-gcc-suffix the GCC tool suffix (defaults to empty string)
1807 --with-arch-directory the arch directory under jre/lib (defaults to
1809 --with-os-directory the os directory under include (defaults to
1811 --with-origin-name the JPackage origin name of this package (default is
1813 --with-arch-suffix the arch directory suffix (default is the empty
1815 --with-jvm-root-dir where to install SDK (default is ${prefix}/lib/jvm)
1816 --with-jvm-jar-dir where to install jars (default is
1817 ${prefix}/lib/jvm-exports)
1819 Some influential environment variables:
1820 CC C compiler command
1821 CFLAGS C compiler flags
1822 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1823 nonstandard directory <lib dir>
1824 LIBS libraries to pass to the linker, e.g. -l<library>
1825 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1826 you have headers in a nonstandard directory <include dir>
1827 CXX C++ compiler command
1828 CXXFLAGS C++ compiler flags
1830 CXXCPP C++ preprocessor
1831 XMKMF Path to xmkmf, Makefile generator for X Window System
1833 Use these variables to override the choices made by `configure' or to
help
1834 it to
find libraries and programs with nonstandard names
/locations.
1836 Report bugs to the package provider.
1841 if test "$ac_init_help" = "recursive"; then
1842 # If there are subdirs, report their specific --help.
1843 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1844 test -d "$ac_dir" ||
1845 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1850 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1852 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1853 # A ".." for each directory in $ac_dir_suffix.
1854 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1855 case $ac_top_builddir_sub in
1856 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1857 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1860 ac_abs_top_builddir
=$ac_pwd
1861 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1862 # for backward compatibility:
1863 ac_top_builddir
=$ac_top_build_prefix
1866 .
) # We are building in place.
1868 ac_top_srcdir
=$ac_top_builddir_sub
1869 ac_abs_top_srcdir
=$ac_pwd ;;
1870 [\\/]* | ?
:[\\/]* ) # Absolute name.
1871 ac_srcdir
=$srcdir$ac_dir_suffix;
1872 ac_top_srcdir
=$srcdir
1873 ac_abs_top_srcdir
=$srcdir ;;
1875 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1876 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1877 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1879 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1881 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1882 # Check for guested configure.
1883 if test -f "$ac_srcdir/configure.gnu"; then
1885 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1886 elif test -f "$ac_srcdir/configure"; then
1888 $SHELL "$ac_srcdir/configure" --help=recursive
1890 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1892 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1896 test -n "$ac_init_help" && exit $ac_status
1897 if $ac_init_version; then
1899 libjava configure version-unused
1900 generated by GNU Autoconf
2.64
1902 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1903 This configure
script is free software
; the Free Software Foundation
1904 gives unlimited permission to copy
, distribute and modify it.
1909 ## ------------------------ ##
1910 ## Autoconf initialization. ##
1911 ## ------------------------ ##
1913 # ac_fn_c_try_compile LINENO
1914 # --------------------------
1915 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1916 ac_fn_c_try_compile
()
1918 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1919 rm -f conftest.
$ac_objext
1920 if { { ac_try
="$ac_compile"
1922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1923 *) ac_try_echo=$ac_try;;
1925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_compile") 2>conftest.err
1929 if test -s conftest.err; then
1930 grep -v '^ *+' conftest.err >conftest.er1
1931 cat conftest.er1 >&5
1932 mv -f conftest.er1 conftest.err
1934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935 test $ac_status = 0; } && {
1936 test -z "$ac_c_werror_flag" ||
1937 test ! -s conftest.err
1938 } && test -s conftest.$ac_objext; then :
1941 $as_echo "$as_me: failed program was:" >&5
1942 sed 's/^/| /' conftest.$ac_ext >&5
1946 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1949 } # ac_fn_c_try_compile
1951 # ac_fn_cxx_try_compile LINENO
1952 # ----------------------------
1953 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1954 ac_fn_cxx_try_compile ()
1956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957 rm -f conftest.$ac_objext
1958 if { { ac_try="$ac_compile"
1960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1961 *) ac_try_echo
=$ac_try;;
1963 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964 $as_echo "$ac_try_echo"; } >&5
1965 (eval "$ac_compile") 2>conftest.err
1967 if test -s conftest.err
; then
1968 grep -v '^ *+' conftest.err
>conftest.er1
1969 cat conftest.er1
>&5
1970 mv -f conftest.er1 conftest.err
1972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1973 test $ac_status = 0; } && {
1974 test -z "$ac_cxx_werror_flag" ||
1975 test ! -s conftest.err
1976 } && test -s conftest.
$ac_objext; then :
1979 $as_echo "$as_me: failed program was:" >&5
1980 sed 's/^/| /' conftest.
$ac_ext >&5
1984 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1987 } # ac_fn_cxx_try_compile
1989 # ac_fn_c_try_link LINENO
1990 # -----------------------
1991 # Try to link conftest.$ac_ext, and return whether this succeeded.
1994 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1995 rm -f conftest.
$ac_objext conftest
$ac_exeext
1996 if { { ac_try
="$ac_link"
1998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1999 *) ac_try_echo=$ac_try;;
2001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2002 $as_echo "$ac_try_echo"; } >&5
2003 (eval "$ac_link") 2>conftest.err
2005 if test -s conftest.err; then
2006 grep -v '^ *+' conftest.err >conftest.er1
2007 cat conftest.er1 >&5
2008 mv -f conftest.er1 conftest.err
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; } && {
2012 test -z "$ac_c_werror_flag" ||
2013 test ! -s conftest.err
2014 } && test -s conftest$ac_exeext && {
2015 test "$cross_compiling" = yes ||
2016 $as_test_x conftest$ac_exeext
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2025 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2026 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2027 # interfere with the next link command; also delete a directory that is
2028 # left behind by Apple's compiler. We do this before executing the actions.
2029 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2030 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033 } # ac_fn_c_try_link
2035 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2036 # -------------------------------------------------------
2037 # Tests whether HEADER exists and can be compiled using the include files in
2038 # INCLUDES, setting the cache variable VAR accordingly.
2039 ac_fn_c_check_header_compile ()
2041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2043 $as_echo_n "checking for $2... " >&6; }
2044 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2045 $as_echo_n "(cached) " >&6
2047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2052 if ac_fn_c_try_compile "$LINENO"; then :
2057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061 $as_echo "$ac_res" >&6; }
2062 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2064 } # ac_fn_c_check_header_compile
2066 # ac_fn_c_try_cpp LINENO
2067 # ----------------------
2068 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2071 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2072 if { { ac_try="$ac_cpp conftest.$ac_ext"
2074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2075 *) ac_try_echo
=$ac_try;;
2077 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2078 $as_echo "$ac_try_echo"; } >&5
2079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2081 if test -s conftest.err
; then
2082 grep -v '^ *+' conftest.err
>conftest.er1
2083 cat conftest.er1
>&5
2084 mv -f conftest.er1 conftest.err
2086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2087 test $ac_status = 0; } >/dev
/null
&& {
2088 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2089 test ! -s conftest.err
2093 $as_echo "$as_me: failed program was:" >&5
2094 sed 's/^/| /' conftest.
$ac_ext >&5
2098 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2103 # ac_fn_c_try_run LINENO
2104 # ----------------------
2105 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2106 # that executables *can* be run.
2109 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2110 if { { ac_try
="$ac_link"
2112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2113 *) ac_try_echo=$ac_try;;
2115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2116 $as_echo "$ac_try_echo"; } >&5
2117 (eval "$ac_link") 2>&5
2119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2120 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2121 { { case "(($ac_try" in
2122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2123 *) ac_try_echo
=$ac_try;;
2125 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2126 $as_echo "$ac_try_echo"; } >&5
2127 (eval "$ac_try") 2>&5
2129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2130 test $ac_status = 0; }; }; then :
2133 $as_echo "$as_me: program exited with status $ac_status" >&5
2134 $as_echo "$as_me: failed program was:" >&5
2135 sed 's/^/| /' conftest.
$ac_ext >&5
2137 ac_retval
=$ac_status
2139 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2140 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2145 # ac_fn_c_check_func LINENO FUNC VAR
2146 # ----------------------------------
2147 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2148 ac_fn_c_check_func
()
2150 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2152 $as_echo_n "checking for $2... " >&6; }
2153 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2154 $as_echo_n "(cached) " >&6
2156 if test x
$gcc_no_link = xyes
; then
2157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2160 /* end confdefs.h. */
2161 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2163 #define $2 innocuous_$2
2165 /* System header to define __stub macros and hopefully few prototypes,
2166 which can conflict with char $2 (); below.
2167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2168 <limits.h> exists even on freestanding compilers. */
2171 # include <limits.h>
2173 # include <assert.h>
2178 /* Override any GCC internal prototype to avoid an error.
2179 Use char because int might match the return type of a GCC
2180 builtin and then its argument prototype would still apply. */
2185 /* The GNU C library defines this for functions which it implements
2186 to always fail with ENOSYS. Some functions are actually named
2187 something starting with __ and the normal name is an alias. */
2188 #if defined __stub_$2 || defined __stub___$2
2200 if ac_fn_c_try_link
"$LINENO"; then :
2205 rm -f core conftest.err conftest.
$ac_objext \
2206 conftest
$ac_exeext conftest.
$ac_ext
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2210 $as_echo "$ac_res" >&6; }
2211 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2213 } # ac_fn_c_check_func
2215 # ac_fn_cxx_try_cpp LINENO
2216 # ------------------------
2217 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2218 ac_fn_cxx_try_cpp
()
2220 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2221 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2224 *) ac_try_echo=$ac_try;;
2226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2227 $as_echo "$ac_try_echo"; } >&5
2228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2230 if test -s conftest.err; then
2231 grep -v '^ *+' conftest.err >conftest.er1
2232 cat conftest.er1 >&5
2233 mv -f conftest.er1 conftest.err
2235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2236 test $ac_status = 0; } >/dev/null && {
2237 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2238 test ! -s conftest.err
2242 $as_echo "$as_me: failed program was:" >&5
2243 sed 's/^/| /' conftest.$ac_ext >&5
2247 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2250 } # ac_fn_cxx_try_cpp
2252 # ac_fn_cxx_try_link LINENO
2253 # -------------------------
2254 # Try to link conftest.$ac_ext, and return whether this succeeded.
2255 ac_fn_cxx_try_link ()
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 rm -f conftest.$ac_objext conftest$ac_exeext
2259 if { { ac_try="$ac_link"
2261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2262 *) ac_try_echo
=$ac_try;;
2264 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2265 $as_echo "$ac_try_echo"; } >&5
2266 (eval "$ac_link") 2>conftest.err
2268 if test -s conftest.err
; then
2269 grep -v '^ *+' conftest.err
>conftest.er1
2270 cat conftest.er1
>&5
2271 mv -f conftest.er1 conftest.err
2273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2274 test $ac_status = 0; } && {
2275 test -z "$ac_cxx_werror_flag" ||
2276 test ! -s conftest.err
2277 } && test -s conftest
$ac_exeext && {
2278 test "$cross_compiling" = yes ||
2279 $as_test_x conftest
$ac_exeext
2283 $as_echo "$as_me: failed program was:" >&5
2284 sed 's/^/| /' conftest.
$ac_ext >&5
2288 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2289 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2290 # interfere with the next link command; also delete a directory that is
2291 # left behind by Apple's compiler. We do this before executing the actions.
2292 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2293 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2296 } # ac_fn_cxx_try_link
2298 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2299 # -------------------------------------------------------
2300 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2301 # the include files in INCLUDES and setting the cache variable VAR
2303 ac_fn_c_check_header_mongrel
()
2305 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2306 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2308 $as_echo_n "checking for $2... " >&6; }
2309 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2310 $as_echo_n "(cached) " >&6
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2314 $as_echo "$ac_res" >&6; }
2316 # Is the header compilable?
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2318 $as_echo_n "checking $2 usability... " >&6; }
2319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2320 /* end confdefs.h. */
2324 if ac_fn_c_try_compile
"$LINENO"; then :
2325 ac_header_compiler
=yes
2327 ac_header_compiler
=no
2329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2331 $as_echo "$ac_header_compiler" >&6; }
2333 # Is the header present?
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2335 $as_echo_n "checking $2 presence... " >&6; }
2336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2340 if ac_fn_c_try_cpp
"$LINENO"; then :
2341 ac_header_preproc
=yes
2343 ac_header_preproc
=no
2345 rm -f conftest.err conftest.
$ac_ext
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2347 $as_echo "$ac_header_preproc" >&6; }
2349 # So? What about this header?
2350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2353 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2355 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2359 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2361 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2363 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2365 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2367 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2371 $as_echo_n "checking for $2... " >&6; }
2372 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2373 $as_echo_n "(cached) " >&6
2375 eval "$3=\$ac_header_compiler"
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2379 $as_echo "$ac_res" >&6; }
2381 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2383 } # ac_fn_c_check_header_mongrel
2385 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2386 # ----------------------------------------------------
2387 # Tries to find if the field MEMBER exists in type AGGR, after including
2388 # INCLUDES, setting cache variable VAR accordingly.
2389 ac_fn_c_check_member
()
2391 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2393 $as_echo_n "checking for $2.$3... " >&6; }
2394 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2395 $as_echo_n "(cached) " >&6
2397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h. */
2410 if ac_fn_c_try_compile
"$LINENO"; then :
2413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2414 /* end confdefs.h. */
2420 if (sizeof ac_aggr.$3)
2426 if ac_fn_c_try_compile
"$LINENO"; then :
2431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2437 $as_echo "$ac_res" >&6; }
2438 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2440 } # ac_fn_c_check_member
2442 # ac_fn_c_check_decl LINENO SYMBOL VAR
2443 # ------------------------------------
2444 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2445 ac_fn_c_check_decl
()
2447 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2449 $as_echo_n "checking whether $2 is declared... " >&6; }
2450 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2451 $as_echo_n "(cached) " >&6
2453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2454 /* end confdefs.h. */
2467 if ac_fn_c_try_compile
"$LINENO"; then :
2472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2476 $as_echo "$ac_res" >&6; }
2477 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2479 } # ac_fn_c_check_decl
2481 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2482 # --------------------------------------------
2483 # Tries to find the compile-time value of EXPR in a program that includes
2484 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2486 ac_fn_c_compute_int
()
2488 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2489 if test "$cross_compiling" = yes; then
2490 # Depending upon the size, compute the lo and hi bounds.
2491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2492 /* end confdefs.h. */
2497 static int test_array [1 - 2 * !(($2) >= 0)];
2504 if ac_fn_c_try_compile
"$LINENO"; then :
2507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2508 /* end confdefs.h. */
2513 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2520 if ac_fn_c_try_compile
"$LINENO"; then :
2521 ac_hi
=$ac_mid; break
2523 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2524 if test $ac_lo -le $ac_mid; then
2528 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2534 /* end confdefs.h. */
2539 static int test_array [1 - 2 * !(($2) < 0)];
2546 if ac_fn_c_try_compile
"$LINENO"; then :
2549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2550 /* end confdefs.h. */
2555 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2562 if ac_fn_c_try_compile
"$LINENO"; then :
2563 ac_lo
=$ac_mid; break
2565 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2566 if test $ac_mid -le $ac_hi; then
2570 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2580 # Binary search between lo and hi bounds.
2581 while test "x$ac_lo" != "x$ac_hi"; do
2582 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2584 /* end confdefs.h. */
2589 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2596 if ac_fn_c_try_compile
"$LINENO"; then :
2599 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2604 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2611 static long int longval () { return $2; }
2612 static unsigned long int ulongval () { return $2; }
2619 FILE *f = fopen ("conftest.val", "w");
2624 long int i = longval ();
2627 fprintf (f, "%ld", i);
2631 unsigned long int i = ulongval ();
2634 fprintf (f, "%lu", i);
2636 /* Do not output a trailing newline, as this causes \r\n confusion
2637 on some platforms. */
2638 return ferror (f) || fclose (f) != 0;
2644 if ac_fn_c_try_run
"$LINENO"; then :
2645 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2649 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2650 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2654 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2657 } # ac_fn_c_compute_int
2659 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2660 # -------------------------------------------
2661 # Tests whether TYPE exists after having included INCLUDES, setting cache
2662 # variable VAR accordingly.
2663 ac_fn_c_check_type
()
2665 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2667 $as_echo_n "checking for $2... " >&6; }
2668 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2669 $as_echo_n "(cached) " >&6
2672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2673 /* end confdefs.h. */
2684 if ac_fn_c_try_compile
"$LINENO"; then :
2685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2686 /* end confdefs.h. */
2697 if ac_fn_c_try_compile
"$LINENO"; then :
2702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2708 $as_echo "$ac_res" >&6; }
2709 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2711 } # ac_fn_c_check_type
2712 cat >config.log
<<_ACEOF
2713 This file contains any messages produced by compilers while
2714 running configure, to aid debugging if configure makes a mistake.
2716 It was created by libjava $as_me version-unused, which was
2717 generated by GNU Autoconf 2.64. Invocation command line was
2729 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2730 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2731 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2732 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2733 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2735 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2736 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2738 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2739 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2740 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2741 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2742 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2743 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2744 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir
=.
2753 $as_echo "PATH: $as_dir"
2769 # Keep a trace of the command line.
2770 # Strip out --no-create and --no-recursion so they do not pile up.
2771 # Strip out --silent because we don't want to record it for future runs.
2772 # Also quote any args containing shell meta-characters.
2773 # Make two passes to allow for proper duplicate-argument suppression.
2777 ac_must_keep_next
=false
2783 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2784 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2785 |
-silent |
--silent |
--silen |
--sile |
--sil)
2788 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2791 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2793 as_fn_append ac_configure_args1
" '$ac_arg'"
2794 if test $ac_must_keep_next = true
; then
2795 ac_must_keep_next
=false
# Got value, back to normal.
2798 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2799 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2800 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2801 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2802 case "$ac_configure_args0 " in
2803 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2806 -* ) ac_must_keep_next
=true
;;
2809 as_fn_append ac_configure_args
" '$ac_arg'"
2814 { ac_configure_args0
=; unset ac_configure_args0
;}
2815 { ac_configure_args1
=; unset ac_configure_args1
;}
2817 # When interrupted or exit'd, cleanup temporary files, and complete
2818 # config.log. We remove comments because anyway the quotes in there
2819 # would cause problems or look ugly.
2820 # WARNING: Use '\'' to represent an apostrophe within the trap.
2821 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2822 trap 'exit_status=$?
2823 # Save into config.log some information that might help in debugging.
2828 ## ---------------- ##
2829 ## Cache variables. ##
2830 ## ---------------- ##
2833 # The following way of writing the cache mishandles newlines in values,
2835 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2836 eval ac_val=\$$ac_var
2840 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2841 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2844 _ | IFS | as_nl) ;; #(
2845 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2846 *) { eval $ac_var=; unset $ac_var;} ;;
2851 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2852 *${as_nl}ac_space=\ *)
2854 "s/'\''/'\''\\\\'\'''\''/g;
2855 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2858 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2866 ## ----------------- ##
2867 ## Output variables. ##
2868 ## ----------------- ##
2871 for ac_var in $ac_subst_vars
2873 eval ac_val=\$$ac_var
2875 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2877 $as_echo "$ac_var='\''$ac_val'\''"
2881 if test -n "$ac_subst_files"; then
2883 ## ------------------- ##
2884 ## File substitutions. ##
2885 ## ------------------- ##
2888 for ac_var
in $ac_subst_files
2890 eval ac_val
=\$
$ac_var
2892 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2894 $as_echo "$ac_var='\''$ac_val'\''"
2899 if test -s confdefs.h; then
2909 test "$ac_signal" != 0 &&
2910 $as_echo "$as_me: caught signal $ac_signal"
2911 $as_echo "$as_me: exit $exit_status"
2913 rm -f core *.core core.conftest.* &&
2914 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2917 for ac_signal
in 1 2 13 15; do
2918 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2922 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2923 rm -f -r conftest
* confdefs.h
2925 $as_echo "/* confdefs.h */" > confdefs.h
2927 # Predefined preprocessor variables.
2929 cat >>confdefs.h
<<_ACEOF
2930 #define PACKAGE_NAME "$PACKAGE_NAME"
2933 cat >>confdefs.h
<<_ACEOF
2934 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2937 cat >>confdefs.h
<<_ACEOF
2938 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2941 cat >>confdefs.h
<<_ACEOF
2942 #define PACKAGE_STRING "$PACKAGE_STRING"
2945 cat >>confdefs.h
<<_ACEOF
2946 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2949 cat >>confdefs.h
<<_ACEOF
2950 #define PACKAGE_URL "$PACKAGE_URL"
2954 # Let the site file select an alternate cache file if it wants to.
2955 # Prefer an explicitly selected file to automatically selected ones.
2958 if test -n "$CONFIG_SITE"; then
2959 ac_site_file1
=$CONFIG_SITE
2960 elif test "x$prefix" != xNONE
; then
2961 ac_site_file1
=$prefix/share
/config.site
2962 ac_site_file2
=$prefix/etc
/config.site
2964 ac_site_file1
=$ac_default_prefix/share
/config.site
2965 ac_site_file2
=$ac_default_prefix/etc
/config.site
2967 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2969 test "x$ac_site_file" = xNONE
&& continue
2970 if test -r "$ac_site_file"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2972 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2973 sed 's/^/| /' "$ac_site_file" >&5
2978 if test -r "$cache_file"; then
2979 # Some versions of bash will fail to source /dev/null (special
2980 # files actually), so we avoid doing that.
2981 if test -f "$cache_file"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2983 $as_echo "$as_me: loading cache $cache_file" >&6;}
2985 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2986 *) .
"./$cache_file";;
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2991 $as_echo "$as_me: creating cache $cache_file" >&6;}
2995 # Check that the precious variables saved in the cache have kept the same
2997 ac_cache_corrupted
=false
2998 for ac_var
in $ac_precious_vars; do
2999 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3000 eval ac_new_set
=\
$ac_env_${ac_var}_set
3001 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3002 eval ac_new_val
=\
$ac_env_${ac_var}_value
3003 case $ac_old_set,$ac_new_set in
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3006 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3007 ac_cache_corrupted
=: ;;
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3010 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3011 ac_cache_corrupted
=: ;;
3014 if test "x$ac_old_val" != "x$ac_new_val"; then
3015 # differences in whitespace do not lead to failure.
3016 ac_old_val_w
=`echo x $ac_old_val`
3017 ac_new_val_w
=`echo x $ac_new_val`
3018 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3020 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3021 ac_cache_corrupted
=:
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3024 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3025 eval $ac_var=\
$ac_old_val
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3028 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3030 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3033 # Pass precious variables to config.status.
3034 if test "$ac_new_set" = set; then
3036 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3037 *) ac_arg
=$ac_var=$ac_new_val ;;
3039 case " $ac_configure_args " in
3040 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3041 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3045 if $ac_cache_corrupted; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3049 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3050 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3052 ## -------------------- ##
3053 ## Main body of script. ##
3054 ## -------------------- ##
3057 ac_cpp
='$CPP $CPPFLAGS'
3058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3070 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3071 for ac_t
in install-sh
install.sh shtool
; do
3072 if test -f "$ac_dir/$ac_t"; then
3074 ac_install_sh
="$ac_aux_dir/$ac_t -c"
3079 if test -z "$ac_aux_dir"; then
3080 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3083 # These three variables are undocumented and unsupported,
3084 # and are intended to be withdrawn in a future Autoconf release.
3085 # They can cause serious problems if a builder's source tree is in a directory
3086 # whose full name contains unusual characters.
3087 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3088 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3089 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3092 # Make sure we can run config.sub.
3093 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3094 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3097 $as_echo_n "checking build system type... " >&6; }
3098 if test "${ac_cv_build+set}" = set; then :
3099 $as_echo_n "(cached) " >&6
3101 ac_build_alias
=$build_alias
3102 test "x$ac_build_alias" = x
&&
3103 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3104 test "x$ac_build_alias" = x
&&
3105 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3106 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3107 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3111 $as_echo "$ac_cv_build" >&6; }
3112 case $ac_cv_build in
3114 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3117 ac_save_IFS
=$IFS; IFS
='-'
3123 # Remember, the first character of IFS is used to create $*,
3124 # except with old shells:
3127 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3130 case ${build_alias} in
3131 "") build_noncanonical
=${build} ;;
3132 *) build_noncanonical
=${build_alias} ;;
3135 case ${host_alias} in
3136 "") host_noncanonical
=${build_noncanonical} ;;
3137 *) host_noncanonical
=${host_alias} ;;
3140 case ${target_alias} in
3141 "") target_noncanonical
=${host_noncanonical} ;;
3142 *) target_noncanonical
=${target_alias} ;;
3146 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3147 # have matching libraries, they should use host libraries: Makefile.tpl
3148 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3149 # However, they still use the build modules, because the corresponding
3150 # host modules (e.g. bison) are only built for the host when bootstrap
3152 # - build_subdir is where we find build modules, and never changes.
3153 # - build_libsubdir is where we find build libraries, and can be overridden.
3155 # Prefix 'build-' so this never conflicts with target_subdir.
3156 build_subdir
="build-${build_noncanonical}"
3158 # Check whether --with-build-libsubdir was given.
3159 if test "${with_build_libsubdir+set}" = set; then :
3160 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
3162 build_libsubdir
="$build_subdir"
3165 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3166 if ( test $srcdir = .
&& test -d gcc
) \
3167 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
3168 host_subdir
="host-${host_noncanonical}"
3173 target_subdir
=${target_noncanonical}
3176 # We use these options to decide which functions to include.
3178 # Check whether --with-target-subdir was given.
3179 if test "${with_target_subdir+set}" = set; then :
3180 withval
=$with_target_subdir;
3184 # We may get other options which we don't document:
3185 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3187 # Find the rest of the source tree framework.
3188 # Default to --enable-multilib
3189 # Check whether --enable-multilib was given.
3190 if test "${enable_multilib+set}" = set; then :
3191 enableval
=$enable_multilib; case "$enableval" in
3192 yes) multilib
=yes ;;
3194 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3201 # We may get other options which we leave undocumented:
3202 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3203 # See config-ml.in if you want the gory details.
3205 if test "$srcdir" = "."; then
3206 if test "$with_target_subdir" != "."; then
3207 multi_basedir
="$srcdir/$with_multisrctop../.."
3209 multi_basedir
="$srcdir/$with_multisrctop.."
3212 multi_basedir
="$srcdir/.."
3216 # Even if the default multilib is not a cross compilation,
3217 # it may be that some of the other multilibs are.
3218 if test $cross_compiling = no
&& test $multilib = yes \
3219 && test "x${with_multisubdir}" != x
; then
3220 cross_compiling
=maybe
3223 ac_config_commands
="$ac_config_commands default-1"
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3227 $as_echo_n "checking host system type... " >&6; }
3228 if test "${ac_cv_host+set}" = set; then :
3229 $as_echo_n "(cached) " >&6
3231 if test "x$host_alias" = x
; then
3232 ac_cv_host
=$ac_cv_build
3234 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3235 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3240 $as_echo "$ac_cv_host" >&6; }
3243 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3246 ac_save_IFS
=$IFS; IFS
='-'
3252 # Remember, the first character of IFS is used to create $*,
3253 # except with old shells:
3256 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3260 $as_echo_n "checking target system type... " >&6; }
3261 if test "${ac_cv_target+set}" = set; then :
3262 $as_echo_n "(cached) " >&6
3264 if test "x$target_alias" = x
; then
3265 ac_cv_target
=$ac_cv_host
3267 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3268 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3273 $as_echo "$ac_cv_target" >&6; }
3274 case $ac_cv_target in
3276 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
3278 target
=$ac_cv_target
3279 ac_save_IFS
=$IFS; IFS
='-'
3285 # Remember, the first character of IFS is used to create $*,
3286 # except with old shells:
3289 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3292 # The aliases save the names the user supplied, while $host etc.
3293 # will get canonicalized.
3294 test -n "$target_alias" &&
3295 test "$program_prefix$program_suffix$program_transform_name" = \
3297 program_prefix
=${target_alias}-
3299 case ${build_alias} in
3300 "") build_noncanonical
=${build} ;;
3301 *) build_noncanonical
=${build_alias} ;;
3304 case ${target_alias} in
3305 "") target_noncanonical
=${host_noncanonical} ;;
3306 *) target_noncanonical
=${target_alias} ;;
3312 # This works around the fact that libtool configuration may change LD
3313 # for this particular configuration, but some shells, instead of
3314 # keeping the changes in LD private, export them just because LD is
3316 ORIGINAL_LD_FOR_MULTILIBS
=$LD
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3319 $as_echo_n "checking whether ln -s works... " >&6; }
3321 if test "$LN_S" = "ln -s"; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3323 $as_echo "yes" >&6; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3326 $as_echo "no, using $LN_S" >&6; }
3330 # This works around an automake problem.
3331 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
3335 # Check whether --with-cross-host was given.
3336 if test "${with_cross_host+set}" = set; then :
3337 withval
=$with_cross_host;
3342 # Check whether --with-newlib was given.
3343 if test "${with_newlib+set}" = set; then :
3344 withval
=$with_newlib;
3348 # Check whether --enable-version-specific-runtime-libs was given.
3349 if test "${enable_version_specific_runtime_libs+set}" = set; then :
3350 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
3351 yes) version_specific_libs
=yes ;;
3352 no
) version_specific_libs
=no
;;
3353 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3356 version_specific_libs
=no
3361 # Check whether --enable-plugin was given.
3362 if test "${enable_plugin+set}" = set; then :
3363 enableval
=$enable_plugin; case "$enableval" in
3364 yes) plugin_enabled
=yes ;;
3365 no
) plugin_enabled
=no
;;
3366 *) as_fn_error
"Unknown argument to enable/disable plugin" "$LINENO" 5;;
3374 # Check whether --enable-gconf-peer was given.
3375 if test "${enable_gconf_peer+set}" = set; then :
3376 enableval
=$enable_gconf_peer; case "$enableval" in
3377 yes) gconf_enabled
=yes ;;
3378 no
) gconf_enabled
=no
;;
3379 *) as_fn_error
"Unknown argument to enable/disable gconf-peer" "$LINENO" 5;;
3388 # Check whether --with-antlr-jar was given.
3389 if test "${with_antlr_jar+set}" = set; then :
3390 withval
=$with_antlr_jar;
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr.jar" >&5
3401 $as_echo_n "checking for antlr.jar... " >&6; }
3402 if test "x$ANTLR_JAR" = x
; then
3403 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
3404 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
3406 if test -f "$antlr_lib_home/antlr.jar"; then
3407 # FIXME: version check for antlr needed without using a VM
3408 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
3412 if test "x$ANTLR_JAR" = x
; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3414 $as_echo "not found" >&6; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3417 $as_echo "$ANTLR_JAR" >&6; }
3420 if test -f "${ANTLR_JAR}"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3422 $as_echo "$ANTLR_JAR" >&6; }
3424 as_fn_error
"antlr jar file not found: $ANTLR_JAR" "$LINENO" 5
3429 # Check whether --enable-gjdoc was given.
3430 if test "${enable_gjdoc+set}" = set; then :
3431 enableval
=$enable_gjdoc; case "${enableval}" in
3432 yes) BUILD_GJDOC
=yes ;;
3433 no
) BUILD_GJDOC
=no
;;
3434 *) BUILD_GJDOC
=yes ;;
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gjdoc" >&5
3442 $as_echo_n "checking whether to build gjdoc... " >&6; }
3443 if test "x$BUILD_GJDOC" = xmaybe
; then
3444 if test -f "${ANTLR_JAR}"; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3447 $as_echo "yes" >&6; }
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, antlr.jar not found" >&5
3451 $as_echo "no, antlr.jar not found" >&6; }
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_GJDOC" >&5
3455 $as_echo "$BUILD_GJDOC" >&6; }
3457 if test "x${BUILD_GJDOC}" = xyes
; then
3459 CREATE_GJDOC_FALSE
='#'
3461 CREATE_GJDOC_TRUE
='#'
3466 # Check whether --enable-java-maintainer-mode was given.
3467 if test "${enable_java_maintainer_mode+set}" = set; then :
3468 enableval
=$enable_java_maintainer_mode;
3471 if test "$enable_java_maintainer_mode" = yes; then
3472 JAVA_MAINTAINER_MODE_TRUE
=
3473 JAVA_MAINTAINER_MODE_FALSE
='#'
3475 JAVA_MAINTAINER_MODE_TRUE
='#'
3476 JAVA_MAINTAINER_MODE_FALSE
=
3480 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
3483 # (1) We use an abnormal CXX (without library references), so we
3484 # must cache it under a different name.
3485 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
3486 # the non-multilib-adjusted value will be used in multilibs.
3487 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
3488 # (4) As another side effect, automake doesn't automatically include them
3490 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
3491 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
3492 # used in later tests. This may not be necessary in libjava; I don't know.
3495 save_CXXFLAGS
="$CXXFLAGS"
3496 CXXFLAGS
="$CXXFLAGS -fno-builtin"
3498 ac_cpp
='$CPP $CPPFLAGS'
3499 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3502 if test -n "$ac_tool_prefix"; then
3503 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3504 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3506 $as_echo_n "checking for $ac_word... " >&6; }
3507 if test "${ac_cv_prog_CC+set}" = set; then :
3508 $as_echo_n "(cached) " >&6
3510 if test -n "$CC"; then
3511 ac_cv_prog_CC
="$CC" # Let the user override the test.
3513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3517 test -z "$as_dir" && as_dir
=.
3518 for ac_exec_ext
in '' $ac_executable_extensions; do
3519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3520 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3531 if test -n "$CC"; then
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3533 $as_echo "$CC" >&6; }
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3536 $as_echo "no" >&6; }
3541 if test -z "$ac_cv_prog_CC"; then
3543 # Extract the first word of "gcc", so it can be a program name with args.
3544 set dummy gcc
; ac_word
=$2
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3546 $as_echo_n "checking for $ac_word... " >&6; }
3547 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3548 $as_echo_n "(cached) " >&6
3550 if test -n "$ac_ct_CC"; then
3551 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3557 test -z "$as_dir" && as_dir
=.
3558 for ac_exec_ext
in '' $ac_executable_extensions; do
3559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3560 ac_cv_prog_ac_ct_CC
="gcc"
3561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3571 if test -n "$ac_ct_CC"; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3573 $as_echo "$ac_ct_CC" >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3579 if test "x$ac_ct_CC" = x
; then
3582 case $cross_compiling:$ac_tool_warned in
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3586 ac_tool_warned
=yes ;;
3594 if test -z "$CC"; then
3595 if test -n "$ac_tool_prefix"; then
3596 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3597 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if test "${ac_cv_prog_CC+set}" = set; then :
3601 $as_echo_n "(cached) " >&6
3603 if test -n "$CC"; then
3604 ac_cv_prog_CC
="$CC" # Let the user override the test.
3606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3610 test -z "$as_dir" && as_dir
=.
3611 for ac_exec_ext
in '' $ac_executable_extensions; do
3612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3613 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 if test -n "$CC"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3626 $as_echo "$CC" >&6; }
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3635 if test -z "$CC"; then
3636 # Extract the first word of "cc", so it can be a program name with args.
3637 set dummy cc
; ac_word
=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if test "${ac_cv_prog_CC+set}" = set; then :
3641 $as_echo_n "(cached) " >&6
3643 if test -n "$CC"; then
3644 ac_cv_prog_CC
="$CC" # Let the user override the test.
3647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3651 test -z "$as_dir" && as_dir
=.
3652 for ac_exec_ext
in '' $ac_executable_extensions; do
3653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3654 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3655 ac_prog_rejected
=yes
3659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 if test $ac_prog_rejected = yes; then
3667 # We found a bogon in the path, so make sure we never use it.
3668 set dummy
$ac_cv_prog_CC
3670 if test $# != 0; then
3671 # We chose a different compiler from the bogus one.
3672 # However, it has the same basename, so the bogon will be chosen
3673 # first if we set CC to just the basename; use the full file name.
3675 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3681 if test -n "$CC"; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3683 $as_echo "$CC" >&6; }
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3686 $as_echo "no" >&6; }
3691 if test -z "$CC"; then
3692 if test -n "$ac_tool_prefix"; then
3693 for ac_prog
in cl.exe
3695 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3696 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698 $as_echo_n "checking for $ac_word... " >&6; }
3699 if test "${ac_cv_prog_CC+set}" = set; then :
3700 $as_echo_n "(cached) " >&6
3702 if test -n "$CC"; then
3703 ac_cv_prog_CC
="$CC" # Let the user override the test.
3705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3709 test -z "$as_dir" && as_dir
=.
3710 for ac_exec_ext
in '' $ac_executable_extensions; do
3711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3712 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3723 if test -n "$CC"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3725 $as_echo "$CC" >&6; }
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3732 test -n "$CC" && break
3735 if test -z "$CC"; then
3737 for ac_prog
in cl.exe
3739 # Extract the first word of "$ac_prog", so it can be a program name with args.
3740 set dummy
$ac_prog; ac_word
=$2
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3742 $as_echo_n "checking for $ac_word... " >&6; }
3743 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3744 $as_echo_n "(cached) " >&6
3746 if test -n "$ac_ct_CC"; then
3747 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3753 test -z "$as_dir" && as_dir
=.
3754 for ac_exec_ext
in '' $ac_executable_extensions; do
3755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3756 ac_cv_prog_ac_ct_CC
="$ac_prog"
3757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3767 if test -n "$ac_ct_CC"; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3769 $as_echo "$ac_ct_CC" >&6; }
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3772 $as_echo "no" >&6; }
3776 test -n "$ac_ct_CC" && break
3779 if test "x$ac_ct_CC" = x
; then
3782 case $cross_compiling:$ac_tool_warned in
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3786 ac_tool_warned
=yes ;;
3795 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3797 as_fn_error
"no acceptable C compiler found in \$PATH
3798 See \`config.log' for more details." "$LINENO" 5; }
3800 # Provide some information about the compiler.
3801 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3804 for ac_option
in --version -v -V -qversion; do
3805 { { ac_try
="$ac_compiler $ac_option >&5"
3807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3808 *) ac_try_echo=$ac_try;;
3810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3811 $as_echo "$ac_try_echo"; } >&5
3812 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3814 if test -s conftest.err; then
3816 ... rest of stderr output deleted ...
3817 10q' conftest.err >conftest.er1
3818 cat conftest.er1 >&5
3819 rm -f conftest.er1 conftest.err
3821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3822 test $ac_status = 0; }
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3837 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3838 (eval $ac_link) 2>&5
3840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3841 test $ac_status = 0; }; then :
3846 if test x$gcc_no_link = xyes; then
3847 # Setting cross_compile will disable run tests; it will
3848 # also disable AC_CHECK_FILE but that's generally
3849 # correct if we can't link.
3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h. */
3864 ac_clean_files_save=$ac_clean_files
3865 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3866 # Try to create an executable without -o first, disregard a.out.
3867 # It will help us diagnose broken compilers, and finding out an intuition
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3870 $as_echo_n "checking for C compiler default output file name... " >&6; }
3871 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3873 # The possible output files:
3874 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3877 for ac_file in $ac_files
3880 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3881 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3886 if { { ac_try="$ac_link_default"
3888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3889 *) ac_try_echo
=$ac_try;;
3891 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3892 $as_echo "$ac_try_echo"; } >&5
3893 (eval "$ac_link_default") 2>&5
3895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3896 test $ac_status = 0; }; then :
3897 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3898 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3899 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3900 # so that the user can short-circuit this test for compilers unknown to
3902 for ac_file
in $ac_files ''
3904 test -f "$ac_file" ||
continue
3906 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3909 # We found the default executable, but exeext='' is most
3913 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3915 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3917 # We set ac_cv_exeext here because the later test for it is not
3918 # safe: cross compilers may not add the suffix if given an `-o'
3919 # argument, so we may need to know it at that point already.
3920 # Even if this section looks crufty: it has the advantage of
3927 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3933 $as_echo "$ac_file" >&6; }
3934 if test -z "$ac_file"; then :
3935 $as_echo "$as_me: failed program was:" >&5
3936 sed 's/^/| /' conftest.
$ac_ext >&5
3938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3940 { as_fn_set_status
77
3941 as_fn_error
"C compiler cannot create executables
3942 See \`config.log' for more details." "$LINENO" 5; }; }
3944 ac_exeext
=$ac_cv_exeext
3946 # Check that the compiler produces executables we can run. If not, either
3947 # the compiler is broken, or we cross compile.
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3949 $as_echo_n "checking whether the C compiler works... " >&6; }
3950 # If not cross compiling, check that we can run a simple program.
3951 if test "$cross_compiling" != yes; then
3952 if { ac_try
='./$ac_file'
3953 { { case "(($ac_try" in
3954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3958 $as_echo "$ac_try_echo"; } >&5
3959 (eval "$ac_try") 2>&5
3961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 test $ac_status = 0; }; }; then
3965 if test "$cross_compiling" = maybe; then
3968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3970 as_fn_error "cannot run C compiled programs.
3971 If you meant to cross compile
, use \
`--host'.
3972 See \`config.log
' for more details." "$LINENO" 5; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3977 $as_echo "yes" >&6; }
3979 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3980 ac_clean_files=$ac_clean_files_save
3981 # Check that the compiler produces executables we can run. If not, either
3982 # the compiler is broken, or we cross compile.
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3984 $as_echo_n "checking whether we are cross compiling... " >&6; }
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3986 $as_echo "$cross_compiling" >&6; }
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3989 $as_echo_n "checking for suffix of executables... " >&6; }
3990 if { { ac_try="$ac_link"
3992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3993 *) ac_try_echo=$ac_try;;
3995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3996 $as_echo "$ac_try_echo"; } >&5
3997 (eval "$ac_link") 2>&5
3999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4000 test $ac_status = 0; }; then :
4001 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4002 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4003 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4005 for ac_file
in conftest.exe conftest conftest.
*; do
4006 test -f "$ac_file" ||
continue
4008 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4009 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4017 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4018 See \`config.log' for more details." "$LINENO" 5; }
4020 rm -f conftest
$ac_cv_exeext
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4022 $as_echo "$ac_cv_exeext" >&6; }
4024 rm -f conftest.
$ac_ext
4025 EXEEXT
=$ac_cv_exeext
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4029 $as_echo_n "checking for suffix of object files... " >&6; }
4030 if test "${ac_cv_objext+set}" = set; then :
4031 $as_echo_n "(cached) " >&6
4033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4034 /* end confdefs.h. */
4044 rm -f conftest.o conftest.obj
4045 if { { ac_try
="$ac_compile"
4047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_compile") 2>&5
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }; then :
4056 for ac_file in conftest.o conftest.obj conftest.*; do
4057 test -f "$ac_file" || continue;
4059 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4060 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4065 $as_echo "$as_me: failed program was:" >&5
4066 sed 's/^/| /' conftest.$ac_ext >&5
4068 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4070 as_fn_error "cannot compute suffix of object files
: cannot compile
4071 See \
`config.log' for more details." "$LINENO" 5; }
4073 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4076 $as_echo "$ac_cv_objext" >&6; }
4077 OBJEXT=$ac_cv_objext
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4080 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4081 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4082 $as_echo_n "(cached) " >&6
4084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085 /* end confdefs.h. */
4098 if ac_fn_c_try_compile "$LINENO"; then :
4103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4104 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4108 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4109 if test $ac_compiler_gnu = yes; then
4114 ac_test_CFLAGS=${CFLAGS+set}
4115 ac_save_CFLAGS=$CFLAGS
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4117 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4118 if test "${ac_cv_prog_cc_g+set}" = set; then :
4119 $as_echo_n "(cached) " >&6
4121 ac_save_c_werror_flag=$ac_c_werror_flag
4122 ac_c_werror_flag=yes
4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4136 if ac_fn_c_try_compile "$LINENO"; then :
4140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h. */
4151 if ac_fn_c_try_compile "$LINENO"; then :
4154 ac_c_werror_flag=$ac_save_c_werror_flag
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4167 if ac_fn_c_try_compile "$LINENO"; then :
4170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 ac_c_werror_flag=$ac_save_c_werror_flag
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4178 $as_echo "$ac_cv_prog_cc_g" >&6; }
4179 if test "$ac_test_CFLAGS" = set; then
4180 CFLAGS=$ac_save_CFLAGS
4181 elif test $ac_cv_prog_cc_g = yes; then
4182 if test "$GCC" = yes; then
4188 if test "$GCC" = yes; then
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4195 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4196 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4197 $as_echo_n "(cached) " >&6
4199 ac_cv_prog_cc_c89=no
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4205 #include <sys/types.h>
4206 #include <sys/stat.h>
4207 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4208 struct buf { int x; };
4209 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4210 static char *e (p, i)
4216 static char *f (char * (*g) (char **, int), char **p, ...)
4221 s = g (p, va_arg (v,int));
4226 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4227 function prototypes and stuff, but not '\xHH' hex character constants.
4228 These don't provoke an error unfortunately, instead are silently treated
4229 as 'x'. The following induces an error, until -std is added to get
4230 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4231 array size at least. It's necessary to write '\x00'==0 to get something
4232 that's true only with -std. */
4233 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4235 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4236 inside strings and character constants. */
4238 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4240 int test (int i, double x);
4241 struct s1 {int (*f) (int a);};
4242 struct s2 {int (*f) (double a);};
4243 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4249 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4254 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4255 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4257 CC="$ac_save_CC $ac_arg"
4258 if ac_fn_c_try_compile "$LINENO"; then :
4259 ac_cv_prog_cc_c89=$ac_arg
4261 rm -f core conftest.err conftest.$ac_objext
4262 test "x$ac_cv_prog_cc_c89" != "xno" && break
4264 rm -f conftest.$ac_ext
4269 case "x$ac_cv_prog_cc_c89" in
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4272 $as_echo "none needed" >&6; } ;;
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4275 $as_echo "unsupported" >&6; } ;;
4277 CC="$CC $ac_cv_prog_cc_c89"
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4279 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4281 if test "x$ac_cv_prog_cc_c89" != xno; then :
4286 ac_cpp='$CPP $CPPFLAGS'
4287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4292 ac_cpp='$CXXCPP $CPPFLAGS'
4293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4296 if test -z "$CXX"; then
4297 if test -n "$CCC"; then
4300 if test -n "$ac_tool_prefix"; then
4301 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4303 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4304 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if test "${ac_cv_prog_CXX+set}" = set; then :
4308 $as_echo_n "(cached) " >&6
4310 if test -n "$CXX"; then
4311 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 test -z "$as_dir" && as_dir=.
4318 for ac_exec_ext in '' $ac_executable_extensions; do
4319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4320 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4331 if test -n "$CXX"; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4333 $as_echo "$CXX" >&6; }
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4336 $as_echo "no" >&6; }
4340 test -n "$CXX" && break
4343 if test -z "$CXX"; then
4345 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4347 # Extract the first word of "$ac_prog", so it can be a program name with args.
4348 set dummy $ac_prog; ac_word=$2
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4350 $as_echo_n "checking for $ac_word... " >&6; }
4351 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4352 $as_echo_n "(cached) " >&6
4354 if test -n "$ac_ct_CXX"; then
4355 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 test -z "$as_dir" && as_dir=.
4362 for ac_exec_ext in '' $ac_executable_extensions; do
4363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4364 ac_cv_prog_ac_ct_CXX="$ac_prog"
4365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4375 if test -n "$ac_ct_CXX"; then
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4377 $as_echo "$ac_ct_CXX" >&6; }
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4380 $as_echo "no" >&6; }
4384 test -n "$ac_ct_CXX" && break
4387 if test "x$ac_ct_CXX" = x; then
4390 case $cross_compiling:$ac_tool_warned in
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4394 ac_tool_warned=yes ;;
4402 # Provide some information about the compiler.
4403 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4406 for ac_option in --version -v -V -qversion; do
4407 { { ac_try="$ac_compiler $ac_option >&5"
4409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4410 *) ac_try_echo
=$ac_try;;
4412 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4413 $as_echo "$ac_try_echo"; } >&5
4414 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4416 if test -s conftest.err
; then
4418 ... rest of stderr output deleted ...
4419 10q' conftest.err
>conftest.er1
4420 cat conftest.er1
>&5
4421 rm -f conftest.er1 conftest.err
4423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4424 test $ac_status = 0; }
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4428 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4429 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4430 $as_echo_n "(cached) " >&6
4432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h. */
4446 if ac_fn_cxx_try_compile
"$LINENO"; then :
4451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4452 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4456 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4457 if test $ac_compiler_gnu = yes; then
4462 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4463 ac_save_CXXFLAGS
=$CXXFLAGS
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4465 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4466 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4467 $as_echo_n "(cached) " >&6
4469 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4470 ac_cxx_werror_flag
=yes
4473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4484 if ac_fn_cxx_try_compile
"$LINENO"; then :
4485 ac_cv_prog_cxx_g
=yes
4488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4499 if ac_fn_cxx_try_compile
"$LINENO"; then :
4502 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4515 if ac_fn_cxx_try_compile
"$LINENO"; then :
4516 ac_cv_prog_cxx_g
=yes
4518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4523 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4526 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4527 if test "$ac_test_CXXFLAGS" = set; then
4528 CXXFLAGS
=$ac_save_CXXFLAGS
4529 elif test $ac_cv_prog_cxx_g = yes; then
4530 if test "$GXX" = yes; then
4536 if test "$GXX" = yes; then
4543 ac_cpp
='$CPP $CPPFLAGS'
4544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4548 CXXFLAGS
="$save_CXXFLAGS"
4554 am__api_version
='1.11'
4556 # Find a good install program. We prefer a C program (faster),
4557 # so one script is as good as another. But avoid the broken or
4558 # incompatible versions:
4559 # SysV /etc/install, /usr/sbin/install
4560 # SunOS /usr/etc/install
4561 # IRIX /sbin/install
4563 # AmigaOS /C/install, which installs bootblocks on floppy discs
4564 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4565 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4566 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4567 # OS/2's system install, which has a completely different semantic
4568 # ./install, which can be erroneously created by make from ./install.sh.
4569 # Reject install programs that cannot install multiple files.
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4571 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4572 if test -z "$INSTALL"; then
4573 if test "${ac_cv_path_install+set}" = set; then :
4574 $as_echo_n "(cached) " >&6
4576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4580 test -z "$as_dir" && as_dir
=.
4581 # Account for people who put trailing slashes in PATH elements.
4582 case $as_dir/ in #((
4583 .
/ | .
// |
/[cC
]/* | \
4584 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4585 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4588 # OSF1 and SCO ODT 3.0 have their own names for install.
4589 # Don't use installbsd from OSF since it installs stuff as root
4591 for ac_prog
in ginstall scoinst
install; do
4592 for ac_exec_ext
in '' $ac_executable_extensions; do
4593 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4594 if test $ac_prog = install &&
4595 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4596 # AIX install. It has an incompatible calling convention.
4598 elif test $ac_prog = install &&
4599 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4600 # program-specific install script used by HP pwplus--don't use.
4603 rm -rf conftest.one conftest.two conftest.dir
4604 echo one
> conftest.one
4605 echo two
> conftest.two
4607 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4608 test -s conftest.one
&& test -s conftest.two
&&
4609 test -s conftest.dir
/conftest.one
&&
4610 test -s conftest.dir
/conftest.two
4612 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4625 rm -rf conftest.one conftest.two conftest.dir
4628 if test "${ac_cv_path_install+set}" = set; then
4629 INSTALL
=$ac_cv_path_install
4631 # As a last resort, use the slow shell script. Don't cache a
4632 # value for INSTALL within a source directory, because that will
4633 # break other packages using the cache if that directory is
4634 # removed, or if the value is a relative name.
4635 INSTALL
=$ac_install_sh
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4639 $as_echo "$INSTALL" >&6; }
4641 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4642 # It thinks the first close brace ends the variable substitution.
4643 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4645 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4647 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4650 $as_echo_n "checking whether build environment is sane... " >&6; }
4653 echo timestamp
> conftest.
file
4654 # Reject unsafe characters in $srcdir or the absolute working directory
4655 # name. Accept space and tab only in the latter.
4659 *[\\\"\
#\$\&\'\`$am_lf]*)
4660 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
4663 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4664 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4667 # Do `set' in a subshell so we don't clobber the current shell's
4668 # arguments. Must try -L first in case configure is actually a
4669 # symlink; some systems play weird games with the mod time of symlinks
4670 # (eg FreeBSD returns the mod time of the symlink's containing
4673 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4674 if test "$*" = "X"; then
4676 set X
`ls -t "$srcdir/configure" conftest.file`
4679 if test "$*" != "X $srcdir/configure conftest.file" \
4680 && test "$*" != "X conftest.file $srcdir/configure"; then
4682 # If neither matched, then we have a broken ls. This can happen
4683 # if, for instance, CONFIG_SHELL is bash and it inherits a
4684 # broken ls alias from the environment. This has actually
4685 # happened. Such a system could not be considered "sane".
4686 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4687 alias in your environment" "$LINENO" 5
4690 test "$2" = conftest.
file
4696 as_fn_error
"newly created file is older than distributed files!
4697 Check your system clock" "$LINENO" 5
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4700 $as_echo "yes" >&6; }
4701 test "$program_prefix" != NONE
&&
4702 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4703 # Use a double $ so make ignores it.
4704 test "$program_suffix" != NONE
&&
4705 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4706 # Double any \ or $.
4707 # By default was `s,x,x', remove it if useless.
4708 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4709 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4711 # expand $ac_aux_dir to an absolute path
4712 am_aux_dir
=`cd $ac_aux_dir && pwd`
4714 if test x
"${MISSING+set}" != xset
; then
4717 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4719 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4722 # Use eval to expand $SHELL
4723 if eval "$MISSING --run true"; then
4724 am_missing_run
="$MISSING --run "
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4728 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4731 if test x
"${install_sh}" != xset
; then
4734 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4736 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4740 # Installed binaries are usually stripped using `strip' when the user
4741 # run `make install-strip'. However `strip' might not be the right
4742 # tool to use in cross-compilation environments, therefore Automake
4743 # will honor the `STRIP' environment variable to overrule this program.
4744 if test "$cross_compiling" != no
; then
4745 if test -n "$ac_tool_prefix"; then
4746 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4747 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4749 $as_echo_n "checking for $ac_word... " >&6; }
4750 if test "${ac_cv_prog_STRIP+set}" = set; then :
4751 $as_echo_n "(cached) " >&6
4753 if test -n "$STRIP"; then
4754 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4760 test -z "$as_dir" && as_dir
=.
4761 for ac_exec_ext
in '' $ac_executable_extensions; do
4762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4763 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4773 STRIP
=$ac_cv_prog_STRIP
4774 if test -n "$STRIP"; then
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4776 $as_echo "$STRIP" >&6; }
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4779 $as_echo "no" >&6; }
4784 if test -z "$ac_cv_prog_STRIP"; then
4786 # Extract the first word of "strip", so it can be a program name with args.
4787 set dummy strip
; ac_word
=$2
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4789 $as_echo_n "checking for $ac_word... " >&6; }
4790 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4791 $as_echo_n "(cached) " >&6
4793 if test -n "$ac_ct_STRIP"; then
4794 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4800 test -z "$as_dir" && as_dir
=.
4801 for ac_exec_ext
in '' $ac_executable_extensions; do
4802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4803 ac_cv_prog_ac_ct_STRIP
="strip"
4804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4813 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4814 if test -n "$ac_ct_STRIP"; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4816 $as_echo "$ac_ct_STRIP" >&6; }
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4822 if test "x$ac_ct_STRIP" = x
; then
4825 case $cross_compiling:$ac_tool_warned in
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4829 ac_tool_warned
=yes ;;
4834 STRIP
="$ac_cv_prog_STRIP"
4838 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4841 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4842 if test -z "$MKDIR_P"; then
4843 if test "${ac_cv_path_mkdir+set}" = set; then :
4844 $as_echo_n "(cached) " >&6
4846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4847 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4850 test -z "$as_dir" && as_dir
=.
4851 for ac_prog
in mkdir gmkdir
; do
4852 for ac_exec_ext
in '' $ac_executable_extensions; do
4853 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4854 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4855 'mkdir (GNU coreutils) '* | \
4856 'mkdir (coreutils) '* | \
4857 'mkdir (fileutils) '4.1*)
4858 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4868 if test "${ac_cv_path_mkdir+set}" = set; then
4869 MKDIR_P
="$ac_cv_path_mkdir -p"
4871 # As a last resort, use the slow shell script. Don't cache a
4872 # value for MKDIR_P within a source directory, because that will
4873 # break other packages using the cache if that directory is
4874 # removed, or if the value is a relative name.
4875 test -d .
/--version && rmdir .
/--version
4876 MKDIR_P
="$ac_install_sh -d"
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4880 $as_echo "$MKDIR_P" >&6; }
4884 [\\/$
]* | ?
:[\\/]*) ;;
4885 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4888 for ac_prog
in gawk mawk nawk
awk
4890 # Extract the first word of "$ac_prog", so it can be a program name with args.
4891 set dummy
$ac_prog; ac_word
=$2
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893 $as_echo_n "checking for $ac_word... " >&6; }
4894 if test "${ac_cv_prog_AWK+set}" = set; then :
4895 $as_echo_n "(cached) " >&6
4897 if test -n "$AWK"; then
4898 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4904 test -z "$as_dir" && as_dir
=.
4905 for ac_exec_ext
in '' $ac_executable_extensions; do
4906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4907 ac_cv_prog_AWK
="$ac_prog"
4908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 if test -n "$AWK"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4920 $as_echo "$AWK" >&6; }
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4927 test -n "$AWK" && break
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4931 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4933 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4934 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4935 $as_echo_n "(cached) " >&6
4937 cat >conftest.
make <<\_ACEOF
4940 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4942 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4943 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4945 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4947 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4951 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4953 $as_echo "yes" >&6; }
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4958 SET_MAKE
="MAKE=${MAKE-make}"
4961 rm -rf .tst
2>/dev
/null
4962 mkdir .tst
2>/dev
/null
4963 if test -d .tst
; then
4968 rmdir .tst
2>/dev
/null
4970 DEPDIR
="${am__leading_dot}deps"
4972 ac_config_commands
="$ac_config_commands depfiles"
4975 am_make
=${MAKE-make}
4976 cat > confinc
<< 'END'
4978 @
echo this is the am__doit target
4981 # If we don't find an include directive, just comment out the code.
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4983 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4987 # First try GNU make style include.
4988 echo "include confinc" > confmf
4989 # Ignore all kinds of additional output from `make'.
4990 case `$am_make -s -f confmf 2> /dev/null` in #(
4991 *the\ am__doit\ target
*)
4997 # Now try BSD make style include.
4998 if test "$am__include" = "#"; then
4999 echo '.include "confinc"' > confmf
5000 case `$am_make -s -f confmf 2> /dev/null` in #(
5001 *the\ am__doit\ target
*)
5002 am__include
=.include
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5011 $as_echo "$_am_result" >&6; }
5012 rm -f confinc confmf
5014 # Check whether --enable-dependency-tracking was given.
5015 if test "${enable_dependency_tracking+set}" = set; then :
5016 enableval
=$enable_dependency_tracking;
5019 if test "x$enable_dependency_tracking" != xno
; then
5020 am_depcomp
="$ac_aux_dir/depcomp"
5023 if test "x$enable_dependency_tracking" != xno; then
5032 if test "`cd $srcdir && pwd`" != "`pwd`"; then
5033 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5034 # is not polluted with repeated "-I."
5035 am__isrc
=' -I$(srcdir)'
5036 # test to see if srcdir already configured
5037 if test -f $srcdir/config.status
; then
5038 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
5042 # test whether we have cygpath
5043 if test -z "$CYGPATH_W"; then
5044 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
5045 CYGPATH_W
='cygpath -w'
5052 # Define the identity of the package.
5054 VERSION
='version-unused'
5057 cat >>confdefs.h
<<_ACEOF
5058 #define PACKAGE "$PACKAGE"
5062 cat >>confdefs.h
<<_ACEOF
5063 #define VERSION "$VERSION"
5066 # Some tools Automake needs.
5068 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5071 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
5074 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5077 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
5080 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
5082 # We need awk for the "check" target. The system "awk" is bad on
5084 # Always define AMTAR for backward compatibility.
5086 AMTAR
=${AMTAR-"${am_missing_run}tar"}
5088 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
5093 depcc
="$CC" am_compiler_list
=
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5096 $as_echo_n "checking dependency style of $depcc... " >&6; }
5097 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5098 $as_echo_n "(cached) " >&6
5100 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5101 # We make a subdir and do the tests there. Otherwise we can end up
5102 # making bogus files that we don't know about and never remove. For
5103 # instance it was reported that on HP-UX the gcc test will end up
5104 # making a dummy file named `D' -- because `-MD' means `put the output
5107 # Copy depcomp to subdir because otherwise we won't find it if we're
5108 # using a relative directory.
5109 cp "$am_depcomp" conftest.dir
5111 # We will build objects and dependencies in a subdirectory because
5112 # it helps to detect inapplicable dependency modes. For instance
5113 # both Tru64's cc and ICC support -MD to output dependencies as a
5114 # side effect of compilation, but ICC will put the dependencies in
5115 # the current directory while Tru64 will put them in the object
5119 am_cv_CC_dependencies_compiler_type
=none
5120 if test "$am_compiler_list" = ""; then
5121 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5124 case " $depcc " in #(
5125 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5128 for depmode
in $am_compiler_list; do
5129 # Setup a source with many dependencies, because some compilers
5130 # like to wrap large dependency lists on column 80 (with \), and
5131 # we should not choose a depcomp mode which is confused by this.
5133 # We need to recreate these files for each test, as the compiler may
5134 # overwrite some of them when testing with obscure command lines.
5135 # This happens at least with the AIX C compiler.
5137 for i
in 1 2 3 4 5 6; do
5138 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5139 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5140 # Solaris 8's {/usr,}/bin/sh.
5141 touch sub
/conftst
$i.h
5143 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5145 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5146 # mode. It turns out that the SunPro C++ compiler does not properly
5147 # handle `-M -o', and we need to detect this. Also, some Intel
5148 # versions had trouble with output in subdirs
5149 am__obj
=sub
/conftest.
${OBJEXT-o}
5150 am__minus_obj
="-o $am__obj"
5153 # This depmode causes a compiler race in universal mode.
5154 test "$am__universal" = false ||
continue
5157 # after this tag, mechanisms are not by side-effect, so they'll
5158 # only be used when explicitly requested
5159 if test "x$enable_dependency_tracking" = xyes
; then
5165 msvisualcpp | msvcmsys
)
5166 # This compiler won't grok `-c -o', but also, the minuso test has
5167 # not run yet. These depmodes are late enough in the game, and
5168 # so weak that their functioning should not be impacted.
5169 am__obj
=conftest.
${OBJEXT-o}
5174 if depmode
=$depmode \
5175 source=sub
/conftest.c object
=$am__obj \
5176 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5177 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5178 >/dev
/null
2>conftest.err
&&
5179 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5180 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5181 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5182 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5183 # icc doesn't choke on unknown options, it will just issue warnings
5184 # or remarks (even with -Werror). So we grep stderr for any message
5185 # that says an option was ignored or not supported.
5186 # When given -MP, icc 7.0 and 7.1 complain thusly:
5187 # icc: Command line warning: ignoring option '-M'; no argument required
5188 # The diagnosis changed in icc 8.0:
5189 # icc: Command line remark: option '-MP' not supported
5190 if (grep 'ignoring option' conftest.err ||
5191 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5192 am_cv_CC_dependencies_compiler_type
=$depmode
5201 am_cv_CC_dependencies_compiler_type
=none
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5206 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5207 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5210 test "x$enable_dependency_tracking" != xno \
5211 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5213 am__fastdepCC_FALSE
='#'
5215 am__fastdepCC_TRUE
='#'
5216 am__fastdepCC_FALSE
=
5220 depcc
="$CXX" am_compiler_list
=
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5223 $as_echo_n "checking dependency style of $depcc... " >&6; }
5224 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5225 $as_echo_n "(cached) " >&6
5227 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5228 # We make a subdir and do the tests there. Otherwise we can end up
5229 # making bogus files that we don't know about and never remove. For
5230 # instance it was reported that on HP-UX the gcc test will end up
5231 # making a dummy file named `D' -- because `-MD' means `put the output
5234 # Copy depcomp to subdir because otherwise we won't find it if we're
5235 # using a relative directory.
5236 cp "$am_depcomp" conftest.dir
5238 # We will build objects and dependencies in a subdirectory because
5239 # it helps to detect inapplicable dependency modes. For instance
5240 # both Tru64's cc and ICC support -MD to output dependencies as a
5241 # side effect of compilation, but ICC will put the dependencies in
5242 # the current directory while Tru64 will put them in the object
5246 am_cv_CXX_dependencies_compiler_type
=none
5247 if test "$am_compiler_list" = ""; then
5248 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5251 case " $depcc " in #(
5252 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5255 for depmode
in $am_compiler_list; do
5256 # Setup a source with many dependencies, because some compilers
5257 # like to wrap large dependency lists on column 80 (with \), and
5258 # we should not choose a depcomp mode which is confused by this.
5260 # We need to recreate these files for each test, as the compiler may
5261 # overwrite some of them when testing with obscure command lines.
5262 # This happens at least with the AIX C compiler.
5264 for i
in 1 2 3 4 5 6; do
5265 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5266 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5267 # Solaris 8's {/usr,}/bin/sh.
5268 touch sub
/conftst
$i.h
5270 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5272 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5273 # mode. It turns out that the SunPro C++ compiler does not properly
5274 # handle `-M -o', and we need to detect this. Also, some Intel
5275 # versions had trouble with output in subdirs
5276 am__obj
=sub
/conftest.
${OBJEXT-o}
5277 am__minus_obj
="-o $am__obj"
5280 # This depmode causes a compiler race in universal mode.
5281 test "$am__universal" = false ||
continue
5284 # after this tag, mechanisms are not by side-effect, so they'll
5285 # only be used when explicitly requested
5286 if test "x$enable_dependency_tracking" = xyes
; then
5292 msvisualcpp | msvcmsys
)
5293 # This compiler won't grok `-c -o', but also, the minuso test has
5294 # not run yet. These depmodes are late enough in the game, and
5295 # so weak that their functioning should not be impacted.
5296 am__obj
=conftest.
${OBJEXT-o}
5301 if depmode
=$depmode \
5302 source=sub
/conftest.c object
=$am__obj \
5303 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5304 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5305 >/dev
/null
2>conftest.err
&&
5306 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5307 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5308 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5309 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5310 # icc doesn't choke on unknown options, it will just issue warnings
5311 # or remarks (even with -Werror). So we grep stderr for any message
5312 # that says an option was ignored or not supported.
5313 # When given -MP, icc 7.0 and 7.1 complain thusly:
5314 # icc: Command line warning: ignoring option '-M'; no argument required
5315 # The diagnosis changed in icc 8.0:
5316 # icc: Command line remark: option '-MP' not supported
5317 if (grep 'ignoring option' conftest.err ||
5318 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5319 am_cv_CXX_dependencies_compiler_type
=$depmode
5328 am_cv_CXX_dependencies_compiler_type
=none
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5333 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5334 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5337 test "x$enable_dependency_tracking" != xno \
5338 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5339 am__fastdepCXX_TRUE
=
5340 am__fastdepCXX_FALSE
='#'
5342 am__fastdepCXX_TRUE
='#'
5343 am__fastdepCXX_FALSE
=
5349 if test -n "$ac_tool_prefix"; then
5350 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5351 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5353 $as_echo_n "checking for $ac_word... " >&6; }
5354 if test "${ac_cv_prog_AS+set}" = set; then :
5355 $as_echo_n "(cached) " >&6
5357 if test -n "$AS"; then
5358 ac_cv_prog_AS
="$AS" # Let the user override the test.
5360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5364 test -z "$as_dir" && as_dir
=.
5365 for ac_exec_ext
in '' $ac_executable_extensions; do
5366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5367 ac_cv_prog_AS
="${ac_tool_prefix}as"
5368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5378 if test -n "$AS"; then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5380 $as_echo "$AS" >&6; }
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5383 $as_echo "no" >&6; }
5388 if test -z "$ac_cv_prog_AS"; then
5390 # Extract the first word of "as", so it can be a program name with args.
5391 set dummy as
; ac_word
=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5395 $as_echo_n "(cached) " >&6
5397 if test -n "$ac_ct_AS"; then
5398 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5404 test -z "$as_dir" && as_dir
=.
5405 for ac_exec_ext
in '' $ac_executable_extensions; do
5406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5407 ac_cv_prog_ac_ct_AS
="as"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5418 if test -n "$ac_ct_AS"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5420 $as_echo "$ac_ct_AS" >&6; }
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5426 if test "x$ac_ct_AS" = x
; then
5429 case $cross_compiling:$ac_tool_warned in
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5433 ac_tool_warned
=yes ;;
5441 if test -n "$ac_tool_prefix"; then
5442 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5443 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5445 $as_echo_n "checking for $ac_word... " >&6; }
5446 if test "${ac_cv_prog_LD+set}" = set; then :
5447 $as_echo_n "(cached) " >&6
5449 if test -n "$LD"; then
5450 ac_cv_prog_LD
="$LD" # Let the user override the test.
5452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5456 test -z "$as_dir" && as_dir
=.
5457 for ac_exec_ext
in '' $ac_executable_extensions; do
5458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5459 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470 if test -n "$LD"; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5472 $as_echo "$LD" >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5475 $as_echo "no" >&6; }
5480 if test -z "$ac_cv_prog_LD"; then
5482 # Extract the first word of "ld", so it can be a program name with args.
5483 set dummy ld
; ac_word
=$2
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5485 $as_echo_n "checking for $ac_word... " >&6; }
5486 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
5487 $as_echo_n "(cached) " >&6
5489 if test -n "$ac_ct_LD"; then
5490 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5496 test -z "$as_dir" && as_dir
=.
5497 for ac_exec_ext
in '' $ac_executable_extensions; do
5498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5499 ac_cv_prog_ac_ct_LD
="ld"
5500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5509 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5510 if test -n "$ac_ct_LD"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5512 $as_echo "$ac_ct_LD" >&6; }
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5518 if test "x$ac_ct_LD" = x
; then
5521 case $cross_compiling:$ac_tool_warned in
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5525 ac_tool_warned
=yes ;;
5533 if test -n "$ac_tool_prefix"; then
5534 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5535 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5537 $as_echo_n "checking for $ac_word... " >&6; }
5538 if test "${ac_cv_prog_AR+set}" = set; then :
5539 $as_echo_n "(cached) " >&6
5541 if test -n "$AR"; then
5542 ac_cv_prog_AR
="$AR" # Let the user override the test.
5544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir
=.
5549 for ac_exec_ext
in '' $ac_executable_extensions; do
5550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5551 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 if test -n "$AR"; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5564 $as_echo "$AR" >&6; }
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567 $as_echo "no" >&6; }
5572 if test -z "$ac_cv_prog_AR"; then
5574 # Extract the first word of "ar", so it can be a program name with args.
5575 set dummy
ar; ac_word
=$2
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5577 $as_echo_n "checking for $ac_word... " >&6; }
5578 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5579 $as_echo_n "(cached) " >&6
5581 if test -n "$ac_ct_AR"; then
5582 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5588 test -z "$as_dir" && as_dir
=.
5589 for ac_exec_ext
in '' $ac_executable_extensions; do
5590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5591 ac_cv_prog_ac_ct_AR
="ar"
5592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5602 if test -n "$ac_ct_AR"; then
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5604 $as_echo "$ac_ct_AR" >&6; }
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5607 $as_echo "no" >&6; }
5610 if test "x$ac_ct_AR" = x
; then
5613 case $cross_compiling:$ac_tool_warned in
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5617 ac_tool_warned
=yes ;;
5625 if test -n "$ac_tool_prefix"; then
5626 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5627 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5629 $as_echo_n "checking for $ac_word... " >&6; }
5630 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5631 $as_echo_n "(cached) " >&6
5633 if test -n "$RANLIB"; then
5634 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5640 test -z "$as_dir" && as_dir
=.
5641 for ac_exec_ext
in '' $ac_executable_extensions; do
5642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5643 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 RANLIB
=$ac_cv_prog_RANLIB
5654 if test -n "$RANLIB"; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5656 $as_echo "$RANLIB" >&6; }
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5659 $as_echo "no" >&6; }
5664 if test -z "$ac_cv_prog_RANLIB"; then
5665 ac_ct_RANLIB
=$RANLIB
5666 # Extract the first word of "ranlib", so it can be a program name with args.
5667 set dummy ranlib
; ac_word
=$2
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669 $as_echo_n "checking for $ac_word... " >&6; }
5670 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5671 $as_echo_n "(cached) " >&6
5673 if test -n "$ac_ct_RANLIB"; then
5674 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5680 test -z "$as_dir" && as_dir
=.
5681 for ac_exec_ext
in '' $ac_executable_extensions; do
5682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5683 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5694 if test -n "$ac_ct_RANLIB"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5696 $as_echo "$ac_ct_RANLIB" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5702 if test "x$ac_ct_RANLIB" = x
; then
5705 case $cross_compiling:$ac_tool_warned in
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5709 ac_tool_warned
=yes ;;
5711 RANLIB
=$ac_ct_RANLIB
5714 RANLIB
="$ac_cv_prog_RANLIB"
5717 for ac_prog
in gawk mawk nawk
awk
5719 # Extract the first word of "$ac_prog", so it can be a program name with args.
5720 set dummy
$ac_prog; ac_word
=$2
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if test "${ac_cv_prog_AWK+set}" = set; then :
5724 $as_echo_n "(cached) " >&6
5726 if test -n "$AWK"; then
5727 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5733 test -z "$as_dir" && as_dir
=.
5734 for ac_exec_ext
in '' $ac_executable_extensions; do
5735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5736 ac_cv_prog_AWK
="$ac_prog"
5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 if test -n "$AWK"; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5749 $as_echo "$AWK" >&6; }
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5756 test -n "$AWK" && break
5759 for ac_prog
in jar fastjar gjar
5761 # Extract the first word of "$ac_prog", so it can be a program name with args.
5762 set dummy
$ac_prog; ac_word
=$2
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764 $as_echo_n "checking for $ac_word... " >&6; }
5765 if test "${ac_cv_prog_JAR+set}" = set; then :
5766 $as_echo_n "(cached) " >&6
5768 if test -n "$JAR"; then
5769 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
5771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5775 test -z "$as_dir" && as_dir
=.
5776 for ac_exec_ext
in '' $ac_executable_extensions; do
5777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778 ac_cv_prog_JAR
="$ac_prog"
5779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 if test -n "$JAR"; then
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
5791 $as_echo "$JAR" >&6; }
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794 $as_echo "no" >&6; }
5798 test -n "$JAR" && break
5800 test -n "$JAR" || JAR
="no"
5802 # Extract the first word of "zip", so it can be a program name with args.
5803 set dummy
zip; ac_word
=$2
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5805 $as_echo_n "checking for $ac_word... " >&6; }
5806 if test "${ac_cv_path_ZIP+set}" = set; then :
5807 $as_echo_n "(cached) " >&6
5811 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
5814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5818 test -z "$as_dir" && as_dir
=.
5819 for ac_exec_ext
in '' $ac_executable_extensions; do
5820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5821 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
5822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
5834 if test -n "$ZIP"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
5836 $as_echo "$ZIP" >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5843 # Extract the first word of "unzip", so it can be a program name with args.
5844 set dummy
unzip; ac_word
=$2
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5846 $as_echo_n "checking for $ac_word... " >&6; }
5847 if test "${ac_cv_path_UNZIP+set}" = set; then :
5848 $as_echo_n "(cached) " >&6
5852 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
5855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5859 test -z "$as_dir" && as_dir
=.
5860 for ac_exec_ext
in '' $ac_executable_extensions; do
5861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5862 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
5863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
5874 UNZIP
=$ac_cv_path_UNZIP
5875 if test -n "$UNZIP"; then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNZIP" >&5
5877 $as_echo "$UNZIP" >&6; }
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5885 # We need a jar that supports -@. This is a GNU extension.
5886 if test "$JAR" != no
; then
5887 rm -f config-test.jar
5888 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
5889 if test -f config-test.jar
; then
5890 rm -f config-test.jar
5896 # Prefer the jar we found, but fall back to our jar script.
5897 if test "$JAR" = no
; then
5898 if test "$ZIP" = no
; then
5899 as_fn_error
"cannot find neither zip nor jar, cannot continue" "$LINENO" 5
5901 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
5902 JAR
=`pwd`/scripts
/jar
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5910 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5911 # Check whether --enable-maintainer-mode was given.
5912 if test "${enable_maintainer_mode+set}" = set; then :
5913 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5915 USE_MAINTAINER_MODE
=no
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5919 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5920 if test $USE_MAINTAINER_MODE = yes; then
5921 MAINTAINER_MODE_TRUE
=
5922 MAINTAINER_MODE_FALSE
='#'
5924 MAINTAINER_MODE_TRUE
='#'
5925 MAINTAINER_MODE_FALSE
=
5928 MAINT
=$MAINTAINER_MODE_TRUE
5934 # configure.host sets the following important variables
5935 # libgcj_cflags - host specific C compiler flags
5936 # libgcj_cxxflags - host specific C++ compiler flags
5937 # libgcj_javaflags - host specific Java compiler flags
5943 .
${srcdir}/configure.
host
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5946 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5947 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
5948 $as_echo_n "(cached) " >&6
5950 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5951 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5952 acl_cv_prog_gnu_ld
=yes
5954 acl_cv_prog_gnu_ld
=no
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5958 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5959 with_gnu_ld
=$acl_cv_prog_gnu_ld
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
5962 $as_echo_n "checking if the GNU linker ($LD) supports -Bsymbolic-functions... " >&6; }
5963 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then :
5964 $as_echo_n "(cached) " >&6
5967 acl_cv_prog_gnu_ld_symbolic
=no
5969 if test x
"$with_gnu_ld" = x
"yes"; then
5970 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
5971 acl_cv_prog_gnu_ld_symbolic
=yes
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld_symbolic" >&5
5976 $as_echo "$acl_cv_prog_gnu_ld_symbolic" >&6; }
5977 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
5978 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
5983 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
5984 if test -z "$libgcj_ld_symbolic"; then
5985 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
5988 LIBGCJ_CFLAGS
="${libgcj_cflags}"
5989 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
5990 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
5991 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
5992 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
5999 # Only use libltdl for non-newlib builds.
6000 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
6002 $as_echo_n "checking dynamic linker characteristics... " >&6; }
6004 libname_spec
='lib$name'
6012 shlibpath_overrides_runpath
=unknown
6014 dynamic_linker
="$host_os ld.so"
6015 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
6016 if test "$GCC" = yes; then
6017 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
6018 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
6019 # if the path contains ";" then we assume it to be the separator
6020 # otherwise default to the standard path separator (i.e. ":") - it is
6021 # assumed that no part of a normal pathname contains ";" but that should
6022 # okay in the real world where ";" in dirpaths is itself problematic.
6023 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
6025 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
6028 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
6030 need_lib_prefix
=unknown
6031 hardcode_into_libs
=no
6033 # when you set need_version to no, make sure it does not cause -set_version
6034 # flags to be left without arguments
6035 need_version
=unknown
6040 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
6041 shlibpath_var
=LIBPATH
6043 # AIX 3 has no versioning support, so we append a major version to the name.
6044 soname_spec
='${libname}${release}${shared_ext}$major'
6051 hardcode_into_libs
=yes
6052 if test "$host_cpu" = ia64
; then
6053 # AIX 5 supports IA64
6054 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6055 shlibpath_var
=LD_LIBRARY_PATH
6057 # With GCC up to 2.95.x, collect2 would create an import file
6058 # for dependence libraries. The import file would start with
6059 # the line `#! .'. This would cause the generated library to
6060 # depend on `.', always an invalid library. This was fixed in
6061 # development snapshots of GCC prior to 3.0.
6063 aix4 | aix4.
[01] | aix4.
[01].
*)
6064 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6066 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
6073 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6074 # soname into executable. Probably we can add versioning support to
6075 # collect2, so additional links can be useful in future.
6076 if test "$aix_use_runtimelinking" = yes; then
6077 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6078 # instead of lib<name>.a to let people know that these are not
6079 # typical AIX shared libraries.
6080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6082 # We preserve .a as extension for shared libraries through AIX4.2
6083 # and later when we are not doing run time linking.
6084 library_names_spec
='${libname}${release}.a $libname.a'
6085 soname_spec
='${libname}${release}${shared_ext}$major'
6087 shlibpath_var
=LIBPATH
6092 library_names_spec
='$libname.ixlibrary $libname.a'
6093 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6094 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'
6098 library_names_spec
='${libname}${shared_ext}'
6099 dynamic_linker
="$host_os ld.so"
6100 shlibpath_var
=LIBRARY_PATH
6106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6107 soname_spec
='${libname}${release}${shared_ext}$major'
6108 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
6109 shlibpath_var
=LD_LIBRARY_PATH
6110 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6111 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
6112 # the default ld.so.conf also contains /usr/contrib/lib and
6113 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6114 # libtool to hard-code these into programs
6117 cygwin
* | mingw
* | pw32
*)
6118 version_type
=windows
6123 case $GCC,$host_os in
6124 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
6125 library_names_spec
='$libname.dll.a'
6126 # DLL is installed to $(libdir)/../bin by postinstall_cmds
6127 postinstall_cmds
='base_file=`basename \${file}`~
6128 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6129 dldir=$destdir/`dirname \$dlpath`~
6130 test -d \$dldir || mkdir -p \$dldir~
6131 $install_prog $dir/$dlname \$dldir/$dlname'
6132 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6133 dlpath=$dir/\$dldll~
6135 shlibpath_overrides_runpath
=yes
6139 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6140 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6141 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
6144 # MinGW DLLs use traditional 'lib' prefix
6145 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6146 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
6147 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
6148 # It is most probably a Windows format PATH printed by
6149 # mingw gcc, but we are running on Cygwin. Gcc prints its search
6150 # path with ; separators, and with drive letters. We can handle the
6151 # drive letters (cygwin fileutils understands them), so leave them,
6152 # especially as we might pass files found there to a mingw objdump,
6153 # which wouldn't understand a cygwinified path. Ahh.
6154 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
6156 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
6160 # pw32 DLLs use 'pw' prefix rather than 'lib'
6161 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
6167 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6170 dynamic_linker
='Win32 ld.exe'
6171 # FIXME: first we should search . and the directory the executable is in
6175 darwin
* | rhapsody
*)
6176 dynamic_linker
="$host_os dyld"
6180 # FIXME: Relying on posixy $() will cause problems for
6181 # cross-compilation, but unfortunately the echo tests do not
6182 # yet detect zsh echo's removal of \ escapes.
6183 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6184 soname_spec
='${libname}${release}${major}$shared_ext'
6185 shlibpath_overrides_runpath
=yes
6186 shlibpath_var
=DYLD_LIBRARY_PATH
6187 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
6188 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6189 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
6190 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"`
6192 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
6199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6200 soname_spec
='${libname}${release}${shared_ext}$major'
6201 shlibpath_var
=LD_LIBRARY_PATH
6209 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6210 version_type
=freebsd-
$objformat
6211 case $version_type in
6213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6218 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6222 shlibpath_var
=LD_LIBRARY_PATH
6225 shlibpath_overrides_runpath
=yes
6227 freebsd3.01
* | freebsdelf3.01
*)
6228 shlibpath_overrides_runpath
=yes
6229 hardcode_into_libs
=yes
6232 shlibpath_overrides_runpath
=no
6233 hardcode_into_libs
=yes
6242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6243 soname_spec
='${libname}${release}${shared_ext}$major'
6244 shlibpath_var
=LD_LIBRARY_PATH
6245 hardcode_into_libs
=yes
6248 hpux9
* | hpux10
* | hpux11
*)
6249 # Give a soname corresponding to the major version so that dld.sl refuses to
6250 # link against other versions.
6257 hardcode_into_libs
=yes
6258 dynamic_linker
="$host_os dld.so"
6259 shlibpath_var
=LD_LIBRARY_PATH
6260 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6262 soname_spec
='${libname}${release}${shared_ext}$major'
6263 if test "X$HPUX_IA64_MODE" = X32
; then
6264 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6266 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
6268 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6272 hardcode_into_libs
=yes
6273 dynamic_linker
="$host_os dld.sl"
6274 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
6275 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6277 soname_spec
='${libname}${release}${shared_ext}$major'
6278 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6279 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6283 dynamic_linker
="$host_os dld.sl"
6284 shlibpath_var
=SHLIB_PATH
6285 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
6286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6287 soname_spec
='${libname}${release}${shared_ext}$major'
6290 # HP-UX runs *really* slowly unless shared libraries are mode 555.
6291 postinstall_cmds
='chmod 555 $lib'
6294 irix5
* | irix6
* | nonstopux
*)
6296 nonstopux
*) version_type
=nonstopux
;;
6298 if test "$lt_cv_prog_gnu_ld" = yes; then
6306 soname_spec
='${libname}${release}${shared_ext}$major'
6307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6309 irix5
* | nonstopux
*)
6313 case $LD in # libtool.m4 will add one of these switches to LD
6314 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
6315 libsuff
= shlibsuff
= libmagic
=32-bit;;
6316 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
6317 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
6318 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
6319 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
6320 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
6324 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
6325 shlibpath_overrides_runpath
=no
6326 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6327 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
6328 hardcode_into_libs
=yes
6331 # No shared lib support for Linux oldld, aout, or coff.
6332 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
6336 # This must be Linux ELF.
6341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6342 soname_spec
='${libname}${release}${shared_ext}$major'
6343 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6344 shlibpath_var
=LD_LIBRARY_PATH
6345 shlibpath_overrides_runpath
=no
6346 # This implies no fast_install, which is unacceptable.
6347 # Some rework will be needed to allow for fast_install
6348 # before this can be enabled.
6349 hardcode_into_libs
=yes
6351 # We used to test for /lib/ld.so.1 and disable shared libraries on
6352 # powerpc, because MkLinux only supported shared libraries with the
6353 # GNU dynamic linker. Since this was broken with cross compilers,
6354 # most powerpc-linux boxes support dynamic linking these days and
6355 # people can always --disable-shared, the test was removed, and we
6356 # assume the GNU/Linux dynamic linker is in use.
6357 dynamic_linker
='GNU/Linux ld.so'
6364 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6366 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6367 dynamic_linker
='NetBSD (a.out) ld.so'
6369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
6370 soname_spec
='${libname}${release}${shared_ext}$major'
6371 dynamic_linker
='NetBSD ld.elf_so'
6373 shlibpath_var
=LD_LIBRARY_PATH
6374 shlibpath_overrides_runpath
=yes
6375 hardcode_into_libs
=yes
6380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6381 shlibpath_var
=LD_LIBRARY_PATH
6382 shlibpath_overrides_runpath
=yes
6389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6390 soname_spec
='${libname}${release}${shared_ext}$major'
6391 shlibpath_var
=LD_LIBRARY_PATH
6392 shlibpath_overrides_runpath
=yes
6399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6400 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6401 shlibpath_var
=LD_LIBRARY_PATH
6402 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6404 openbsd2.
[89] | openbsd2.
[89].
*)
6405 shlibpath_overrides_runpath
=no
6408 shlibpath_overrides_runpath
=yes
6412 shlibpath_overrides_runpath
=yes
6417 libname_spec
='$name'
6420 library_names_spec
='$libname${shared_ext} $libname.a'
6421 dynamic_linker
='OS/2 ld.exe'
6422 shlibpath_var
=LIBPATH
6425 osf3
* | osf4
* | osf5
*)
6429 soname_spec
='${libname}${release}${shared_ext}$major'
6430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6431 shlibpath_var
=LD_LIBRARY_PATH
6432 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6433 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
6438 soname_spec
='${libname}${release}${shared_ext}$major'
6439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6440 shlibpath_var
=LD_LIBRARY_PATH
6447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6448 soname_spec
='${libname}${release}${shared_ext}$major'
6449 shlibpath_var
=LD_LIBRARY_PATH
6450 shlibpath_overrides_runpath
=yes
6451 hardcode_into_libs
=yes
6452 # ldd complains unless libraries are executable
6453 postinstall_cmds
='chmod +x $lib'
6458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6459 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6460 shlibpath_var
=LD_LIBRARY_PATH
6461 shlibpath_overrides_runpath
=yes
6462 if test "$with_gnu_ld" = yes; then
6468 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6471 soname_spec
='${libname}${release}${shared_ext}$major'
6472 shlibpath_var
=LD_LIBRARY_PATH
6473 case $host_vendor in
6475 shlibpath_overrides_runpath
=no
6477 export_dynamic_flag_spec
='${wl}-Blargedynsym'
6478 runpath_var
=LD_RUN_PATH
6486 shlibpath_overrides_runpath
=no
6487 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
6493 if test -d /usr
/nec
;then
6495 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6496 soname_spec
='$libname${shared_ext}.$major'
6497 shlibpath_var
=LD_LIBRARY_PATH
6503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6504 soname_spec
='${libname}${release}${shared_ext}$major'
6505 shlibpath_var
=LD_LIBRARY_PATH
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
6513 $as_echo "$dynamic_linker" >&6; }
6514 test "$dynamic_linker" = no
&& can_build_shared
=no
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time library path" >&5
6518 $as_echo_n "checking which variable specifies run-time library path... " >&6; }
6519 if test "${libltdl_cv_shlibpath_var+set}" = set; then :
6520 $as_echo_n "(cached) " >&6
6522 libltdl_cv_shlibpath_var
="$shlibpath_var"
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibpath_var" >&5
6525 $as_echo "$libltdl_cv_shlibpath_var" >&6; }
6526 if test -n "$libltdl_cv_shlibpath_var"; then
6528 cat >>confdefs.h
<<_ACEOF
6529 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
6536 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
6539 # See if the user has requested runtime debugging.
6540 LIBGCJDEBUG
="disable"
6542 # Check whether --enable-libgcj-debug was given.
6543 if test "${enable_libgcj_debug+set}" = set; then :
6544 enableval
=$enable_libgcj_debug; if test "$enable_libgcj_debug" = yes; then
6546 $as_echo "#define __GCJ_DEBUG 1" >>confdefs.h
6548 LIBGCJDEBUG
="enable"
6554 # Check whether --with-escher was given.
6555 if test "${with_escher+set}" = set; then :
6556 withval
=$with_escher;
6559 case "$with_escher" in
6567 as_fn_error
"Please supply an absolute path to Escher library" "$LINENO" 5
6574 # Determine which AWT peer libraries to build
6575 # Check whether --enable-java-awt was given.
6576 if test "${enable_java_awt+set}" = set; then :
6577 enableval
=$enable_java_awt;
6581 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
6586 # The default toolkit to use is the first one specified.
6590 for peer
in $peerlibs ; do
6593 if test "$no_x" = yes; then
6594 echo "*** xlib peers requested but no X library available" 1>&2
6598 if test -z "$TOOLKIT"; then
6599 TOOLKIT
=gnu.awt.xlib.XToolkit
6604 if test "$no_x" = yes; then
6605 echo "*** gtk peers requested but no X library available" 1>&2
6609 if test -z "$TOOLKIT"; then
6610 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
6615 if test "$no_x" = yes; then
6616 # Perhaps we should admit the possibility of embedded Qt.
6617 echo "*** Qt peers requested but no X library available" 1>&2
6621 if test -z "$TOOLKIT"; then
6622 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
6628 if test -z "$TOOLKIT"; then
6629 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
6640 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
6645 if test "$use_xlib_awt" = yes; then
6653 if test "$use_x_awt" = yes; then
6663 cat >>confdefs.h
<<_ACEOF
6664 #define AWT_TOOLKIT "$TOOLKIT"
6669 cat >>confdefs.h
<<_ACEOF
6670 #define LIBGCJ_PREFIX "$prefix"
6674 # Create standard.omit based on decisions we just made.
6675 cp $srcdir/standard.omit.
in standard.omit
6676 if test "$use_xlib_awt" != yes; then
6677 echo gnu
/awt
/xlib
>> standard.omit
6678 echo gnu
/gcj
/xlib
>> standard.omit
6680 if test "$use_x_awt" != yes; then
6681 echo gnu
/java
/awt
/peer
/x
>> standard.omit
6684 # Tools that need to be compiled against classpath's tools classes
6685 : > vm-tools-packages
6686 for package
in gnu
/gcj
/tools
/gc_analyze
; do
6687 echo $package >> standard.omit
6688 echo $package >> vm-tools-packages
6691 if test -z "${with_multisubdir}"; then
6694 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
6699 # Which gcj and host gcj (for ecjx) do we use?
6701 host_exeext
=${ac_exeext}
6703 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
6704 if test -n "${with_cross_host}"; then
6705 # We are being configured with a cross compiler. We can't
6706 # use ac_exeext, because that is for the target platform.
6709 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
6710 case "${with_cross_host}" in
6712 cross_host_exeext
=.exe
6715 host_exeext
=${cross_host_exeext}
6716 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
6717 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
6718 # Ordinary cross (host!=target and host=build)
6721 # Canadian cross (host!=target and host!=build)
6728 # We are being configured with a native or crossed-native compiler
6729 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
6730 if test x
"$build" = x
"$host"; then
6731 # True native build (host=target and host=build)
6734 # Crossed-native build (host=target and host!=build)
6741 libgcjdir
=`${PWDCMD-pwd}`
6744 # Just in case there is a comma in the build dir, quote it for the
6745 # sed command below.
6747 *[,\\]*) qlibgcjdir
=`echo "$libgcjdir" | sed 's:[,\\]:\\&:g'`;;
6748 *) qlibgcjdir
=$libgcjdir;;
6750 GCJ
=`echo "$GCJ" | sed "s, -B, -B$qlibgcjdir/&,"`
6753 GCJ
=$GCJ" -B$libgcjdir/"
6756 case "${which_gcj}" in
6758 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
6761 if test "x${with_newlib}" = "xyes"; then
6762 # FIXME (comment): Why is this needed?
6765 GCJH
='$(target_noncanonical)-gcjh'
6778 # Create it, so that compile/link tests don't fail
6779 test -f libgcj.spec ||
touch libgcj.spec
6783 # Set up to configure Classpath.
6784 # FIXME: no supported way to pass args in autoconf.
6785 # Disable tool wrappers to avoid ltdl.h configure check.
6786 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
6787 ac_configure_args
="$ac_configure_args --disable-load-library"
6788 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
6789 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
6790 dir1
=`cd $srcdir && pwd`
6792 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
6793 ac_configure_args
="$ac_configure_args --disable-core-jni"
6794 ac_configure_args
="$ac_configure_args --disable-examples"
6795 ac_configure_args
="$ac_configure_args --with-glibj=build"
6796 if test "$plugin_enabled" != yes; then
6797 ac_configure_args
="$ac_configure_args --disable-plugin"
6799 if test "$gconf_enabled" != yes; then
6800 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
6801 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
6803 if test "$use_gtk_awt" != yes; then
6804 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
6806 if test "$use_qt_awt" != yes; then
6807 ac_configure_args
="$ac_configure_args --disable-qt-peer"
6809 # We need this as qt is disabled by default in classpath.
6810 ac_configure_args
="$ac_configure_args --enable-qt-peer"
6812 if test "$use_x_awt" != yes; then
6813 ac_configure_args
="$ac_configure_args --without-escher"
6815 # We need this as escher is disabled by default in classpath.
6816 if test "$use_escher" != true
; then
6817 as_fn_error
"Please supply an absolute path to the Escher library" "$LINENO" 5
6819 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
6822 if test "x$BUILD_GJDOC" = xno
; then
6823 ac_configure_args
="$ac_configure_args --disable-gjdoc"
6825 # -Werror causes unavoidable problems in code using alsa.
6826 ac_configure_args
="$ac_configure_args --disable-regen-headers"
6827 ac_configure_args
="$ac_configure_args --disable-Werror"
6829 # Only use libltdl for non-newlib builds.
6830 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
6831 case $enable_ltdl_convenience in
6832 no
) as_fn_error
"this package needs a convenience libltdl" "$LINENO" 5 ;;
6833 "") enable_ltdl_convenience
=yes
6834 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
6836 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
6837 LTDLINCL
='-I${top_srcdir}/''libltdl'
6838 # For backwards non-gettext consistent compatibility...
6847 $as_echo "#define USE_LTDL 1" >>confdefs.h
6849 # Sigh. Libtool's macro doesn't do the right thing.
6850 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
6851 # FIXME: this is a hack.
6852 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
6853 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6861 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6866 macro_version
='2.2.6'
6867 macro_revision
='1.3012'
6881 ltmain
="$ac_aux_dir/ltmain.sh"
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6884 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6885 if test "${ac_cv_path_SED+set}" = set; then :
6886 $as_echo_n "(cached) " >&6
6888 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
6889 for ac_i
in 1 2 3 4 5 6 7; do
6890 ac_script
="$ac_script$as_nl$ac_script"
6892 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
6893 { ac_script
=; unset ac_script
;}
6894 if test -z "$SED"; then
6895 ac_path_SED_found
=false
6896 # Loop through the user's path and test for each of PROGNAME-LIST
6897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir
=.
6902 for ac_prog
in sed gsed
; do
6903 for ac_exec_ext
in '' $ac_executable_extensions; do
6904 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6905 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6906 # Check for GNU ac_path_SED and select it if it is found.
6907 # Check for GNU $ac_path_SED
6908 case `"$ac_path_SED" --version 2>&1` in
6910 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6913 $as_echo_n 0123456789 >"conftest.in"
6916 cat "conftest.in" "conftest.in" >"conftest.tmp"
6917 mv "conftest.tmp" "conftest.in"
6918 cp "conftest.in" "conftest.nl"
6919 $as_echo '' >> "conftest.nl"
6920 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6921 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6922 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6923 if test $ac_count -gt ${ac_path_SED_max-0}; then
6924 # Best one so far, save it but keep looking for a better one
6925 ac_cv_path_SED
="$ac_path_SED"
6926 ac_path_SED_max
=$ac_count
6928 # 10*(2^10) chars as input seems more than enough
6929 test $ac_count -gt 10 && break
6931 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6934 $ac_path_SED_found && break 3
6939 if test -z "$ac_cv_path_SED"; then
6940 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6948 $as_echo "$ac_cv_path_SED" >&6; }
6949 SED
="$ac_cv_path_SED"
6952 test -z "$SED" && SED
=sed
6953 Xsed
="$SED -e 1s/^X//"
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6966 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6967 if test "${ac_cv_path_GREP+set}" = set; then :
6968 $as_echo_n "(cached) " >&6
6970 if test -z "$GREP"; then
6971 ac_path_GREP_found
=false
6972 # Loop through the user's path and test for each of PROGNAME-LIST
6973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6974 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6977 test -z "$as_dir" && as_dir
=.
6978 for ac_prog
in grep ggrep
; do
6979 for ac_exec_ext
in '' $ac_executable_extensions; do
6980 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6981 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6982 # Check for GNU ac_path_GREP and select it if it is found.
6983 # Check for GNU $ac_path_GREP
6984 case `"$ac_path_GREP" --version 2>&1` in
6986 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6989 $as_echo_n 0123456789 >"conftest.in"
6992 cat "conftest.in" "conftest.in" >"conftest.tmp"
6993 mv "conftest.tmp" "conftest.in"
6994 cp "conftest.in" "conftest.nl"
6995 $as_echo 'GREP' >> "conftest.nl"
6996 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6997 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6998 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6999 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7000 # Best one so far, save it but keep looking for a better one
7001 ac_cv_path_GREP
="$ac_path_GREP"
7002 ac_path_GREP_max
=$ac_count
7004 # 10*(2^10) chars as input seems more than enough
7005 test $ac_count -gt 10 && break
7007 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7010 $ac_path_GREP_found && break 3
7015 if test -z "$ac_cv_path_GREP"; then
7016 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7019 ac_cv_path_GREP
=$GREP
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7024 $as_echo "$ac_cv_path_GREP" >&6; }
7025 GREP
="$ac_cv_path_GREP"
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7029 $as_echo_n "checking for egrep... " >&6; }
7030 if test "${ac_cv_path_EGREP+set}" = set; then :
7031 $as_echo_n "(cached) " >&6
7033 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7034 then ac_cv_path_EGREP
="$GREP -E"
7036 if test -z "$EGREP"; then
7037 ac_path_EGREP_found
=false
7038 # Loop through the user's path and test for each of PROGNAME-LIST
7039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7040 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7043 test -z "$as_dir" && as_dir
=.
7044 for ac_prog
in egrep; do
7045 for ac_exec_ext
in '' $ac_executable_extensions; do
7046 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7047 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7048 # Check for GNU ac_path_EGREP and select it if it is found.
7049 # Check for GNU $ac_path_EGREP
7050 case `"$ac_path_EGREP" --version 2>&1` in
7052 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7055 $as_echo_n 0123456789 >"conftest.in"
7058 cat "conftest.in" "conftest.in" >"conftest.tmp"
7059 mv "conftest.tmp" "conftest.in"
7060 cp "conftest.in" "conftest.nl"
7061 $as_echo 'EGREP' >> "conftest.nl"
7062 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7063 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7064 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7065 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7066 # Best one so far, save it but keep looking for a better one
7067 ac_cv_path_EGREP
="$ac_path_EGREP"
7068 ac_path_EGREP_max
=$ac_count
7070 # 10*(2^10) chars as input seems more than enough
7071 test $ac_count -gt 10 && break
7073 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7076 $ac_path_EGREP_found && break 3
7081 if test -z "$ac_cv_path_EGREP"; then
7082 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7085 ac_cv_path_EGREP
=$EGREP
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7091 $as_echo "$ac_cv_path_EGREP" >&6; }
7092 EGREP
="$ac_cv_path_EGREP"
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7096 $as_echo_n "checking for fgrep... " >&6; }
7097 if test "${ac_cv_path_FGREP+set}" = set; then :
7098 $as_echo_n "(cached) " >&6
7100 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
7101 then ac_cv_path_FGREP
="$GREP -F"
7103 if test -z "$FGREP"; then
7104 ac_path_FGREP_found
=false
7105 # Loop through the user's path and test for each of PROGNAME-LIST
7106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7107 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7110 test -z "$as_dir" && as_dir
=.
7111 for ac_prog
in fgrep
; do
7112 for ac_exec_ext
in '' $ac_executable_extensions; do
7113 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7114 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
7115 # Check for GNU ac_path_FGREP and select it if it is found.
7116 # Check for GNU $ac_path_FGREP
7117 case `"$ac_path_FGREP" --version 2>&1` in
7119 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7122 $as_echo_n 0123456789 >"conftest.in"
7125 cat "conftest.in" "conftest.in" >"conftest.tmp"
7126 mv "conftest.tmp" "conftest.in"
7127 cp "conftest.in" "conftest.nl"
7128 $as_echo 'FGREP' >> "conftest.nl"
7129 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7130 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7131 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7132 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7133 # Best one so far, save it but keep looking for a better one
7134 ac_cv_path_FGREP
="$ac_path_FGREP"
7135 ac_path_FGREP_max
=$ac_count
7137 # 10*(2^10) chars as input seems more than enough
7138 test $ac_count -gt 10 && break
7140 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7143 $ac_path_FGREP_found && break 3
7148 if test -z "$ac_cv_path_FGREP"; then
7149 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7152 ac_cv_path_FGREP
=$FGREP
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7158 $as_echo "$ac_cv_path_FGREP" >&6; }
7159 FGREP
="$ac_cv_path_FGREP"
7162 test -z "$GREP" && GREP
=grep
7182 # Check whether --with-gnu-ld was given.
7183 if test "${with_gnu_ld+set}" = set; then :
7184 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
7190 if test "$GCC" = yes; then
7191 # Check if gcc -print-prog-name=ld gives a path.
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7193 $as_echo_n "checking for ld used by $CC... " >&6; }
7196 # gcc leaves a trailing carriage return which upsets mingw
7197 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7199 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7202 # Accept absolute paths.
7204 re_direlt
='/[^/][^/]*/\.\./'
7205 # Canonicalize the pathname of ld
7206 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7207 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
7208 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7210 test -z "$LD" && LD
="$ac_prog"
7213 # If it fails, then pretend we aren't using GCC.
7217 # If it is relative, then search for the first ld in PATH.
7221 elif test "$with_gnu_ld" = yes; then
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7223 $as_echo_n "checking for GNU ld... " >&6; }
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7226 $as_echo_n "checking for non-GNU ld... " >&6; }
7228 if test "${lt_cv_path_LD+set}" = set; then :
7229 $as_echo_n "(cached) " >&6
7231 if test -z "$LD"; then
7232 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7233 for ac_dir
in $PATH; do
7235 test -z "$ac_dir" && ac_dir
=.
7236 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7237 lt_cv_path_LD
="$ac_dir/$ac_prog"
7238 # Check to see if the program is GNU ld. I'd rather use --version,
7239 # but apparently some variants of GNU ld only accept -v.
7240 # Break only if it was the GNU/non-GNU ld that we prefer.
7241 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7242 *GNU
* |
*'with BFD'*)
7243 test "$with_gnu_ld" != no
&& break
7246 test "$with_gnu_ld" != yes && break
7253 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
7258 if test -n "$LD"; then
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7260 $as_echo "$LD" >&6; }
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7263 $as_echo "no" >&6; }
7265 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7267 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7268 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
7269 $as_echo_n "(cached) " >&6
7271 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7272 case `$LD -v 2>&1 </dev/null` in
7273 *GNU
* |
*'with BFD'*)
7274 lt_cv_prog_gnu_ld
=yes
7277 lt_cv_prog_gnu_ld
=no
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7282 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7283 with_gnu_ld
=$lt_cv_prog_gnu_ld
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7294 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7295 if test "${lt_cv_path_NM+set}" = set; then :
7296 $as_echo_n "(cached) " >&6
7298 if test -n "$NM"; then
7299 # Let the user override the test.
7302 lt_nm_to_check
="${ac_tool_prefix}nm"
7303 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7304 lt_nm_to_check
="$lt_nm_to_check nm"
7306 for lt_tmp_nm
in $lt_nm_to_check; do
7307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7308 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7310 test -z "$ac_dir" && ac_dir
=.
7311 tmp_nm
="$ac_dir/$lt_tmp_nm"
7312 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
7313 # Check to see if the nm accepts a BSD-compat flag.
7314 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7315 # nm: unknown option "B" ignored
7316 # Tru64's nm complains that /dev/null is an invalid object file
7317 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7318 */dev
/null
* |
*'Invalid file or object type'*)
7319 lt_cv_path_NM
="$tmp_nm -B"
7323 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7325 lt_cv_path_NM
="$tmp_nm -p"
7329 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7330 continue # so that we can try to find one that supports BSD flags
7339 : ${lt_cv_path_NM=no}
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7343 $as_echo "$lt_cv_path_NM" >&6; }
7344 if test "$lt_cv_path_NM" != "no"; then
7347 # Didn't find any BSD compatible name lister, look for dumpbin.
7348 if test -n "$ac_tool_prefix"; then
7349 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
7351 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7352 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7354 $as_echo_n "checking for $ac_word... " >&6; }
7355 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7356 $as_echo_n "(cached) " >&6
7358 if test -n "$DUMPBIN"; then
7359 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7365 test -z "$as_dir" && as_dir
=.
7366 for ac_exec_ext
in '' $ac_executable_extensions; do
7367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7368 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7378 DUMPBIN
=$ac_cv_prog_DUMPBIN
7379 if test -n "$DUMPBIN"; then
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7381 $as_echo "$DUMPBIN" >&6; }
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7384 $as_echo "no" >&6; }
7388 test -n "$DUMPBIN" && break
7391 if test -z "$DUMPBIN"; then
7392 ac_ct_DUMPBIN
=$DUMPBIN
7393 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
7395 # Extract the first word of "$ac_prog", so it can be a program name with args.
7396 set dummy
$ac_prog; ac_word
=$2
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7398 $as_echo_n "checking for $ac_word... " >&6; }
7399 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7400 $as_echo_n "(cached) " >&6
7402 if test -n "$ac_ct_DUMPBIN"; then
7403 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7409 test -z "$as_dir" && as_dir
=.
7410 for ac_exec_ext
in '' $ac_executable_extensions; do
7411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7412 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7422 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7423 if test -n "$ac_ct_DUMPBIN"; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7425 $as_echo "$ac_ct_DUMPBIN" >&6; }
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7428 $as_echo "no" >&6; }
7432 test -n "$ac_ct_DUMPBIN" && break
7435 if test "x$ac_ct_DUMPBIN" = x
; then
7438 case $cross_compiling:$ac_tool_warned in
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7442 ac_tool_warned
=yes ;;
7444 DUMPBIN
=$ac_ct_DUMPBIN
7449 if test "$DUMPBIN" != ":"; then
7453 test -z "$NM" && NM
=nm
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7461 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7462 if test "${lt_cv_nm_interface+set}" = set; then :
7463 $as_echo_n "(cached) " >&6
7465 lt_cv_nm_interface
="BSD nm"
7466 echo "int some_variable = 0;" > conftest.
$ac_ext
7467 (eval echo "\"\$as_me:7467: $ac_compile\"" >&5)
7468 (eval "$ac_compile" 2>conftest.err
)
7469 cat conftest.err
>&5
7470 (eval echo "\"\$as_me:7470: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7471 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7472 cat conftest.err
>&5
7473 (eval echo "\"\$as_me:7473: output\"" >&5)
7474 cat conftest.out
>&5
7475 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7476 lt_cv_nm_interface
="MS dumpbin"
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7481 $as_echo "$lt_cv_nm_interface" >&6; }
7483 # find the maximum length of command line arguments
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7485 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7486 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7487 $as_echo_n "(cached) " >&6
7494 # On DJGPP, this test can blow up pretty badly due to problems in libc
7495 # (any single argument exceeding 2000 bytes causes a buffer overrun
7496 # during glob expansion). Even if it were fixed, the result of this
7497 # check would be larger than it should be.
7498 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7502 # Under GNU Hurd, this test is not required because there is
7503 # no limit to the length of command line arguments.
7504 # Libtool will interpret -1 as no limit whatsoever
7505 lt_cv_sys_max_cmd_len
=-1;
7508 cygwin
* | mingw
* | cegcc
*)
7509 # On Win9x/ME, this test blows up -- it succeeds, but takes
7510 # about 5 minutes as the teststring grows exponentially.
7511 # Worse, since 9x/ME are not pre-emptively multitasking,
7512 # you end up with a "frozen" computer, even though with patience
7513 # the test eventually succeeds (with a max line length of 256k).
7514 # Instead, let's just punt: use the minimum linelength reported by
7515 # all of the supported platforms: 8192 (on NT/2K/XP).
7516 lt_cv_sys_max_cmd_len
=8192;
7520 # On AmigaOS with pdksh, this test takes hours, literally.
7521 # So we just punt and use a minimum line length of 8192.
7522 lt_cv_sys_max_cmd_len
=8192;
7525 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7526 # This has been around since 386BSD, at least. Likely further.
7527 if test -x /sbin
/sysctl
; then
7528 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7529 elif test -x /usr
/sbin
/sysctl
; then
7530 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7532 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7534 # And add a safety zone
7535 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7536 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7540 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7541 lt_cv_sys_max_cmd_len
=196608
7545 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7546 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7547 # nice to cause kernel panics so lets avoid the loop below.
7548 # First set a reasonable default.
7549 lt_cv_sys_max_cmd_len
=16384
7551 if test -x /sbin
/sysconfig
; then
7552 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7553 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7558 lt_cv_sys_max_cmd_len
=102400
7560 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7561 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7562 if test -n "$kargmax"; then
7563 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7565 lt_cv_sys_max_cmd_len
=32768
7569 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7570 if test -n "$lt_cv_sys_max_cmd_len"; then
7571 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7572 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7574 # Make teststring a little bigger before we do anything with it.
7575 # a 1K string should be a reasonable start.
7576 for i
in 1 2 3 4 5 6 7 8 ; do
7577 teststring
=$teststring$teststring
7579 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7580 # If test is not a shell built-in, we'll probably end up computing a
7581 # maximum length that is only half of the actual maximum length, but
7583 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
7584 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
7585 test $i != 17 # 1/2 MB should be enough
7588 teststring
=$teststring$teststring
7590 # Only check the string length outside the loop.
7591 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7593 # Add a significant safety factor because C++ compilers can tack on
7594 # massive amounts of additional arguments before passing them to the
7595 # linker. It appears as though 1/2 is a usable value.
7596 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7603 if test -n $lt_cv_sys_max_cmd_len ; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7605 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7608 $as_echo "none" >&6; }
7610 max_cmd_len
=$lt_cv_sys_max_cmd_len
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7622 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7623 # Try some XSI features
7626 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7628 && eval 'test $(( 1 + 1 )) -eq 2 \
7629 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7632 $as_echo "$xsi_shell" >&6; }
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7636 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7638 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7640 && lt_shell_append=yes
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7642 $as_echo "$lt_shell_append" >&6; }
7645 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7655 # test EBCDIC or ASCII
7656 case `echo X|tr X '\101'` in
7657 A) # ASCII based system
7658 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7659 lt_SP2NL='tr \040 \012'
7660 lt_NL2SP='tr \015\012 \040\040'
7662 *) # EBCDIC based system
7663 lt_SP2NL='tr \100 \n'
7664 lt_NL2SP='tr \r\n \100\100'
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7677 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7678 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7679 $as_echo_n "(cached
) " >&6
7681 lt_cv_ld_reload_flag='-r'
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7684 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7685 reload_flag=$lt_cv_ld_reload_flag
7686 case $reload_flag in
7688 *) reload_flag=" $reload_flag" ;;
7690 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7693 if test "$GCC" = yes; then
7694 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7696 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7709 if test -n "$ac_tool_prefix"; then
7710 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7711 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7713 $as_echo_n "checking
for $ac_word...
" >&6; }
7714 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7715 $as_echo_n "(cached
) " >&6
7717 if test -n "$OBJDUMP"; then
7718 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724 test -z "$as_dir" && as_dir=.
7725 for ac_exec_ext in '' $ac_executable_extensions; do
7726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7727 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7728 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7737 OBJDUMP=$ac_cv_prog_OBJDUMP
7738 if test -n "$OBJDUMP"; then
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7740 $as_echo "$OBJDUMP" >&6; }
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7743 $as_echo "no
" >&6; }
7748 if test -z "$ac_cv_prog_OBJDUMP"; then
7749 ac_ct_OBJDUMP=$OBJDUMP
7750 # Extract the first word of "objdump
", so it can be a program name with args.
7751 set dummy objdump; ac_word=$2
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7753 $as_echo_n "checking
for $ac_word...
" >&6; }
7754 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7755 $as_echo_n "(cached
) " >&6
7757 if test -n "$ac_ct_OBJDUMP"; then
7758 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7764 test -z "$as_dir" && as_dir=.
7765 for ac_exec_ext in '' $ac_executable_extensions; do
7766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7767 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7777 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7778 if test -n "$ac_ct_OBJDUMP"; then
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7780 $as_echo "$ac_ct_OBJDUMP" >&6; }
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7783 $as_echo "no
" >&6; }
7786 if test "x
$ac_ct_OBJDUMP" = x; then
7789 case $cross_compiling:$ac_tool_warned in
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7792 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7793 ac_tool_warned=yes ;;
7795 OBJDUMP=$ac_ct_OBJDUMP
7798 OBJDUMP="$ac_cv_prog_OBJDUMP"
7801 test -z "$OBJDUMP" && OBJDUMP=objdump
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7812 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7813 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7814 $as_echo_n "(cached
) " >&6
7816 lt_cv_file_magic_cmd='$MAGIC_CMD'
7817 lt_cv_file_magic_test_file=
7818 lt_cv_deplibs_check_method='unknown'
7819 # Need to set the preceding variable on all platforms that support
7820 # interlibrary dependencies.
7821 # 'none' -- dependencies not supported.
7822 # `unknown' -- same as none, but documents that we really don't know.
7823 # 'pass_all' -- all dependencies passed with no checks.
7824 # 'test_compile' -- check by making test program.
7825 # 'file_magic [[regex]]' -- check by looking for files in library path
7826 # which responds to the $file_magic_cmd with a given extended regex.
7827 # If you have `file' or equivalent on your system and you're not sure
7828 # whether `pass_all' will *always* work, you probably want this one.
7832 lt_cv_deplibs_check_method=pass_all
7836 lt_cv_deplibs_check_method=pass_all
7840 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7841 lt_cv_file_magic_cmd='/usr/bin/file -L'
7842 lt_cv_file_magic_test_file=/shlib/libc.so
7846 # func_win32_libid is a shell function defined in ltmain.sh
7847 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7848 lt_cv_file_magic_cmd='func_win32_libid'
7852 # Base MSYS/MinGW do not provide the 'file' command needed by
7853 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7854 # unless we find 'file', for example because we are cross-compiling.
7855 if ( file / ) >/dev/null 2>&1; then
7856 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7857 lt_cv_file_magic_cmd='func_win32_libid'
7859 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7860 lt_cv_file_magic_cmd='$OBJDUMP -f'
7865 # use the weaker test based on 'objdump'. See mingw*.
7866 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7867 lt_cv_file_magic_cmd='$OBJDUMP -f'
7870 darwin* | rhapsody*)
7871 lt_cv_deplibs_check_method=pass_all
7874 freebsd* | dragonfly*)
7875 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7878 # Not sure whether the presence of OpenBSD here was a mistake.
7879 # Let's accept both of them until this is cleared up.
7880 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7881 lt_cv_file_magic_cmd=/usr/bin/file
7882 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7886 lt_cv_deplibs_check_method=pass_all
7891 lt_cv_deplibs_check_method=pass_all
7894 hpux10.20* | hpux11*)
7895 lt_cv_file_magic_cmd=/usr/bin/file
7898 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7899 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7902 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]'
7903 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7906 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7907 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7913 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7914 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7917 irix5* | irix6* | nonstopux*)
7919 *-32|*"-32 ") libmagic=32-bit;;
7920 *-n32|*"-n32 ") libmagic=N32;;
7921 *-64|*"-64 ") libmagic=64-bit;;
7922 *) libmagic=never-match;;
7924 lt_cv_deplibs_check_method=pass_all
7927 # This must be Linux ELF.
7928 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7929 lt_cv_deplibs_check_method=pass_all
7933 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7934 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7936 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7941 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7942 lt_cv_file_magic_cmd=/usr/bin/file
7943 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7947 lt_cv_deplibs_check_method=pass_all
7951 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7952 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7954 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7958 osf3* | osf4* | osf5*)
7959 lt_cv_deplibs_check_method=pass_all
7963 lt_cv_deplibs_check_method=pass_all
7967 lt_cv_deplibs_check_method=pass_all
7970 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7971 lt_cv_deplibs_check_method=pass_all
7975 case $host_vendor in
7977 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]'
7978 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7981 lt_cv_deplibs_check_method=pass_all
7984 lt_cv_file_magic_cmd='/bin/file'
7985 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7988 lt_cv_file_magic_cmd='/bin/file'
7989 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7990 lt_cv_file_magic_test_file=/lib/libc.so
7993 lt_cv_deplibs_check_method=pass_all
7996 lt_cv_deplibs_check_method=pass_all
8002 lt_cv_deplibs_check_method=pass_all
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
8008 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8009 file_magic_cmd=$lt_cv_file_magic_cmd
8010 deplibs_check_method=$lt_cv_deplibs_check_method
8011 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8024 if test -n "$ac_tool_prefix"; then
8025 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8026 set dummy ${ac_tool_prefix}ar; ac_word=$2
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8028 $as_echo_n "checking
for $ac_word...
" >&6; }
8029 if test "${ac_cv_prog_AR+set}" = set; then :
8030 $as_echo_n "(cached
) " >&6
8032 if test -n "$AR"; then
8033 ac_cv_prog_AR="$AR" # Let the user override the test.
8035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8039 test -z "$as_dir" && as_dir=.
8040 for ac_exec_ext in '' $ac_executable_extensions; do
8041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8042 ac_cv_prog_AR="${ac_tool_prefix}ar"
8043 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8053 if test -n "$AR"; then
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8055 $as_echo "$AR" >&6; }
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8058 $as_echo "no
" >&6; }
8063 if test -z "$ac_cv_prog_AR"; then
8065 # Extract the first word of "ar", so it can be a program name with args.
8066 set dummy ar; ac_word=$2
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8068 $as_echo_n "checking
for $ac_word...
" >&6; }
8069 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
8070 $as_echo_n "(cached
) " >&6
8072 if test -n "$ac_ct_AR"; then
8073 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8079 test -z "$as_dir" && as_dir=.
8080 for ac_exec_ext in '' $ac_executable_extensions; do
8081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8082 ac_cv_prog_ac_ct_AR="ar"
8083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8092 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8093 if test -n "$ac_ct_AR"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
8095 $as_echo "$ac_ct_AR" >&6; }
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8098 $as_echo "no
" >&6; }
8101 if test "x
$ac_ct_AR" = x; then
8104 case $cross_compiling:$ac_tool_warned in
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8107 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8108 ac_tool_warned=yes ;;
8116 test -z "$AR" && AR=ar
8117 test -z "$AR_FLAGS" && AR_FLAGS=cru
8129 if test -n "$ac_tool_prefix"; then
8130 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
8131 set dummy ${ac_tool_prefix}strip; ac_word=$2
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8133 $as_echo_n "checking
for $ac_word...
" >&6; }
8134 if test "${ac_cv_prog_STRIP+set}" = set; then :
8135 $as_echo_n "(cached
) " >&6
8137 if test -n "$STRIP"; then
8138 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144 test -z "$as_dir" && as_dir=.
8145 for ac_exec_ext in '' $ac_executable_extensions; do
8146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8147 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
8148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8157 STRIP=$ac_cv_prog_STRIP
8158 if test -n "$STRIP"; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8160 $as_echo "$STRIP" >&6; }
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8163 $as_echo "no
" >&6; }
8168 if test -z "$ac_cv_prog_STRIP"; then
8170 # Extract the first word of "strip
", so it can be a program name with args.
8171 set dummy strip; ac_word=$2
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8173 $as_echo_n "checking
for $ac_word...
" >&6; }
8174 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8175 $as_echo_n "(cached
) " >&6
8177 if test -n "$ac_ct_STRIP"; then
8178 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8184 test -z "$as_dir" && as_dir=.
8185 for ac_exec_ext in '' $ac_executable_extensions; do
8186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8187 ac_cv_prog_ac_ct_STRIP="strip
"
8188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8197 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8198 if test -n "$ac_ct_STRIP"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
8200 $as_echo "$ac_ct_STRIP" >&6; }
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8203 $as_echo "no
" >&6; }
8206 if test "x
$ac_ct_STRIP" = x; then
8209 case $cross_compiling:$ac_tool_warned in
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8212 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8213 ac_tool_warned=yes ;;
8218 STRIP="$ac_cv_prog_STRIP"
8221 test -z "$STRIP" && STRIP=:
8228 if test -n "$ac_tool_prefix"; then
8229 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
8230 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8232 $as_echo_n "checking
for $ac_word...
" >&6; }
8233 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8234 $as_echo_n "(cached
) " >&6
8236 if test -n "$RANLIB"; then
8237 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8243 test -z "$as_dir" && as_dir=.
8244 for ac_exec_ext in '' $ac_executable_extensions; do
8245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8246 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
8247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8256 RANLIB=$ac_cv_prog_RANLIB
8257 if test -n "$RANLIB"; then
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8259 $as_echo "$RANLIB" >&6; }
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8262 $as_echo "no
" >&6; }
8267 if test -z "$ac_cv_prog_RANLIB"; then
8268 ac_ct_RANLIB=$RANLIB
8269 # Extract the first word of "ranlib
", so it can be a program name with args.
8270 set dummy ranlib; ac_word=$2
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8272 $as_echo_n "checking
for $ac_word...
" >&6; }
8273 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8274 $as_echo_n "(cached
) " >&6
8276 if test -n "$ac_ct_RANLIB"; then
8277 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8283 test -z "$as_dir" && as_dir=.
8284 for ac_exec_ext in '' $ac_executable_extensions; do
8285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8286 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8287 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8296 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8297 if test -n "$ac_ct_RANLIB"; then
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8299 $as_echo "$ac_ct_RANLIB" >&6; }
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8302 $as_echo "no
" >&6; }
8305 if test "x
$ac_ct_RANLIB" = x; then
8308 case $cross_compiling:$ac_tool_warned in
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8311 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8312 ac_tool_warned=yes ;;
8314 RANLIB=$ac_ct_RANLIB
8317 RANLIB="$ac_cv_prog_RANLIB"
8320 test -z "$RANLIB" && RANLIB=:
8327 # Determine commands to create old-style static archives.
8328 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8329 old_postinstall_cmds='chmod 644 $oldlib'
8330 old_postuninstall_cmds=
8332 if test -n "$RANLIB"; then
8335 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8338 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8341 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8377 # If no C compiler was specified, use CC.
8380 # If no C compiler flags were specified, use CFLAGS.
8381 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8383 # Allow CC to be a program name with arguments.
8387 # Check for command to grab the raw symbol name followed by C symbol from nm.
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8389 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8390 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8391 $as_echo_n "(cached
) " >&6
8394 # These are sane defaults that work on at least a few old systems.
8395 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8397 # Character class describing NM global symbol codes.
8398 symcode='[BCDEGRST]'
8400 # Regexp to match symbols that can be accessed directly from C.
8401 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8403 # Define system-specific variables.
8408 cygwin* | mingw* | pw32* | cegcc*)
8409 symcode='[ABCDGISTW]'
8412 if test "$host_cpu" = ia64; then
8413 symcode='[ABCDEGRST]'
8417 symcode='[BCDEGRST]'
8420 symcode='[BCDEGQRST]'
8431 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8439 # If we're using GNU nm, then use its standard symbol codes.
8440 case `$NM -V 2>&1` in
8441 *GNU* | *'with BFD'*)
8442 symcode='[ABCDGIRSTW]' ;;
8445 # Transform an extracted symbol line into a proper C declaration.
8446 # Some systems (esp. on ia64) link data and code symbols differently,
8447 # so use this general approach.
8448 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8450 # Transform an extracted symbol line into symbol name and symbol address
8451 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8452 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'"
8454 # Handle CRLF in mingw tool chain
8458 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8462 # Try without a prefix underscore, then with it.
8463 for ac_symprfx in "" "_
"; do
8465 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8466 symxfrm="\\1 $ac_symprfx\\2 \\2"
8468 # Write the raw and C identifiers.
8469 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8470 # Fake it for dumpbin and say T for any non-static function
8471 # and D for any global variable.
8472 # Also find C++ and __fastcall symbols from MSVC++,
8473 # which start with @ or ?.
8474 lt_cv_sys_global_symbol_pipe="$AWK '"\
8475 " {last_section=section; section=\$ 3};"\
8476 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8477 " \$ 0!~/External *\|/{next};"\
8478 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8479 " {if(hide[section]) next};"\
8480 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8481 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8482 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8483 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8484 " ' prfx
=^
$ac_symprfx"
8486 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8489 # Check to see that the pipe works correctly.
8493 cat > conftest.$ac_ext <<_LT_EOF
8498 void nm_test_func(void);
8499 void nm_test_func(void){}
8503 int main(){nm_test_var='a';nm_test_func();return(0);}
8506 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8507 (eval $ac_compile) 2>&5
8509 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8510 test $ac_status = 0; }; then
8511 # Now try to grab the symbols.
8513 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
8514 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8516 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8517 test $ac_status = 0; } && test -s "$nlist"; then
8518 # Try sorting and uniquifying the output.
8519 if sort "$nlist" | uniq > "$nlist"T; then
8520 mv -f "$nlist"T "$nlist"
8525 # Make sure that we snagged all the symbols we need.
8526 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8527 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8528 cat <<_LT_EOF > conftest.$ac_ext
8534 # Now generate the symbol file.
8535 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8537 cat <<_LT_EOF >> conftest.$ac_ext
8539 /* The mapping between symbol names and symbols. */
8544 lt__PROGRAM__LTX_preloaded_symbols[] =
8546 { "@PROGRAM@
", (void *) 0 },
8548 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8549 cat <<\_LT_EOF >> conftest.$ac_ext
8553 /* This works around a problem in FreeBSD linker */
8554 #ifdef FREEBSD_WORKAROUND
8555 static const void *lt_preloaded_setup() {
8556 return lt__PROGRAM__LTX_preloaded_symbols;
8564 # Now try linking the two files.
8565 mv conftest.$ac_objext conftstm.$ac_objext
8566 lt_save_LIBS="$LIBS"
8567 lt_save_CFLAGS="$CFLAGS"
8568 LIBS="conftstm.
$ac_objext"
8569 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8570 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8571 (eval $ac_link) 2>&5
8573 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8574 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8577 LIBS="$lt_save_LIBS"
8578 CFLAGS="$lt_save_CFLAGS"
8580 echo "cannot
find nm_test_func
in $nlist" >&5
8583 echo "cannot
find nm_test_var
in $nlist" >&5
8586 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8589 echo "$progname: failed program was
:" >&5
8590 cat conftest.$ac_ext >&5
8592 rm -rf conftest* conftst*
8594 # Do not use the global_symbol_pipe unless it works.
8595 if test "$pipe_works" = yes; then
8598 lt_cv_sys_global_symbol_pipe=
8604 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8605 lt_cv_sys_global_symbol_to_cdecl=
8607 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8609 $as_echo "failed
" >&6; }
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8612 $as_echo "ok
" >&6; }
8637 # Check whether --enable-libtool-lock was given.
8638 if test "${enable_libtool_lock+set}" = set; then :
8639 enableval=$enable_libtool_lock;
8642 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8644 # Some flags need to be propagated to the compiler or linker for good
8648 # Find out which ABI we are using.
8649 echo 'int i;' > conftest.$ac_ext
8650 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8651 (eval $ac_compile) 2>&5
8653 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8654 test $ac_status = 0; }; then
8655 case `/usr/bin/file conftest.$ac_objext` in
8667 # Find out which ABI we are using.
8668 echo '#line 8668 "configure
"' > conftest.$ac_ext
8669 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8670 (eval $ac_compile) 2>&5
8672 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8673 test $ac_status = 0; }; then
8674 if test "$lt_cv_prog_gnu_ld" = yes; then
8675 case `/usr/bin/file conftest.$ac_objext` in
8677 LD="${LD-ld} -melf32bsmip"
8680 LD="${LD-ld} -melf32bmipn32"
8683 LD="${LD-ld} -melf64bmip"
8687 case `/usr/bin/file conftest.$ac_objext` in
8703 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8704 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8705 # Find out which ABI we are using.
8706 echo 'int i;' > conftest.$ac_ext
8707 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8708 (eval $ac_compile) 2>&5
8710 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8711 test $ac_status = 0; }; then
8712 case `/usr/bin/file conftest.o` in
8715 x86_64-*kfreebsd*-gnu)
8716 LD="${LD-ld} -m elf_i386_fbsd
"
8719 LD="${LD-ld} -m elf_i386
"
8721 ppc64-*linux*|powerpc64-*linux*)
8722 LD="${LD-ld} -m elf32ppclinux
"
8725 LD="${LD-ld} -m elf_s390
"
8728 LD="${LD-ld} -m elf32_sparc
"
8734 x86_64-*kfreebsd*-gnu)
8735 LD="${LD-ld} -m elf_x86_64_fbsd
"
8738 LD="${LD-ld} -m elf_x86_64
"
8740 ppc*-*linux*|powerpc*-*linux*)
8741 LD="${LD-ld} -m elf64ppc
"
8743 s390*-*linux*|s390*-*tpf*)
8744 LD="${LD-ld} -m elf64_s390
"
8747 LD="${LD-ld} -m elf64_sparc
"
8757 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8758 SAVE_CFLAGS="$CFLAGS"
8759 CFLAGS="$CFLAGS -belf"
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8761 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8762 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8763 $as_echo_n "(cached
) " >&6
8766 ac_cpp='$CPP $CPPFLAGS'
8767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8771 if test x$gcc_no_link = xyes; then
8772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8775 /* end confdefs.h. */
8785 if ac_fn_c_try_link "$LINENO"; then :
8786 lt_cv_cc_needs_belf=yes
8788 lt_cv_cc_needs_belf=no
8790 rm -f core conftest.err conftest.$ac_objext \
8791 conftest$ac_exeext conftest.$ac_ext
8793 ac_cpp='$CPP $CPPFLAGS'
8794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8800 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8801 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8802 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8803 CFLAGS="$SAVE_CFLAGS"
8807 # Find out which ABI we are using.
8808 echo 'int i;' > conftest.$ac_ext
8809 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8810 (eval $ac_compile) 2>&5
8812 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8813 test $ac_status = 0; }; then
8814 case `/usr/bin/file conftest.o` in
8816 case $lt_cv_prog_gnu_ld in
8817 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8819 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8831 need_locks="$enable_libtool_lock"
8835 rhapsody* | darwin*)
8836 if test -n "$ac_tool_prefix"; then
8837 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8838 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8840 $as_echo_n "checking
for $ac_word...
" >&6; }
8841 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8842 $as_echo_n "(cached
) " >&6
8844 if test -n "$DSYMUTIL"; then
8845 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8851 test -z "$as_dir" && as_dir=.
8852 for ac_exec_ext in '' $ac_executable_extensions; do
8853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8854 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8855 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8864 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8865 if test -n "$DSYMUTIL"; then
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8867 $as_echo "$DSYMUTIL" >&6; }
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8870 $as_echo "no
" >&6; }
8875 if test -z "$ac_cv_prog_DSYMUTIL"; then
8876 ac_ct_DSYMUTIL=$DSYMUTIL
8877 # Extract the first word of "dsymutil
", so it can be a program name with args.
8878 set dummy dsymutil; ac_word=$2
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8880 $as_echo_n "checking
for $ac_word...
" >&6; }
8881 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8882 $as_echo_n "(cached
) " >&6
8884 if test -n "$ac_ct_DSYMUTIL"; then
8885 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8891 test -z "$as_dir" && as_dir=.
8892 for ac_exec_ext in '' $ac_executable_extensions; do
8893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8894 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8895 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8904 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8905 if test -n "$ac_ct_DSYMUTIL"; then
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8907 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8910 $as_echo "no
" >&6; }
8913 if test "x
$ac_ct_DSYMUTIL" = x; then
8916 case $cross_compiling:$ac_tool_warned in
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8919 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8920 ac_tool_warned=yes ;;
8922 DSYMUTIL=$ac_ct_DSYMUTIL
8925 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8928 if test -n "$ac_tool_prefix"; then
8929 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8930 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8932 $as_echo_n "checking
for $ac_word...
" >&6; }
8933 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8934 $as_echo_n "(cached
) " >&6
8936 if test -n "$NMEDIT"; then
8937 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8943 test -z "$as_dir" && as_dir=.
8944 for ac_exec_ext in '' $ac_executable_extensions; do
8945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8946 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8947 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8956 NMEDIT=$ac_cv_prog_NMEDIT
8957 if test -n "$NMEDIT"; then
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8959 $as_echo "$NMEDIT" >&6; }
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8962 $as_echo "no
" >&6; }
8967 if test -z "$ac_cv_prog_NMEDIT"; then
8968 ac_ct_NMEDIT=$NMEDIT
8969 # Extract the first word of "nmedit
", so it can be a program name with args.
8970 set dummy nmedit; ac_word=$2
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8972 $as_echo_n "checking
for $ac_word...
" >&6; }
8973 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8974 $as_echo_n "(cached
) " >&6
8976 if test -n "$ac_ct_NMEDIT"; then
8977 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8983 test -z "$as_dir" && as_dir=.
8984 for ac_exec_ext in '' $ac_executable_extensions; do
8985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8986 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8987 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8996 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8997 if test -n "$ac_ct_NMEDIT"; then
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8999 $as_echo "$ac_ct_NMEDIT" >&6; }
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9002 $as_echo "no
" >&6; }
9005 if test "x
$ac_ct_NMEDIT" = x; then
9008 case $cross_compiling:$ac_tool_warned in
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9011 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9012 ac_tool_warned=yes ;;
9014 NMEDIT=$ac_ct_NMEDIT
9017 NMEDIT="$ac_cv_prog_NMEDIT"
9020 if test -n "$ac_tool_prefix"; then
9021 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
9022 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9024 $as_echo_n "checking
for $ac_word...
" >&6; }
9025 if test "${ac_cv_prog_LIPO+set}" = set; then :
9026 $as_echo_n "(cached
) " >&6
9028 if test -n "$LIPO"; then
9029 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9035 test -z "$as_dir" && as_dir=.
9036 for ac_exec_ext in '' $ac_executable_extensions; do
9037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9038 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
9039 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9048 LIPO=$ac_cv_prog_LIPO
9049 if test -n "$LIPO"; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9051 $as_echo "$LIPO" >&6; }
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9054 $as_echo "no
" >&6; }
9059 if test -z "$ac_cv_prog_LIPO"; then
9061 # Extract the first word of "lipo
", so it can be a program name with args.
9062 set dummy lipo; ac_word=$2
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9064 $as_echo_n "checking
for $ac_word...
" >&6; }
9065 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
9066 $as_echo_n "(cached
) " >&6
9068 if test -n "$ac_ct_LIPO"; then
9069 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9075 test -z "$as_dir" && as_dir=.
9076 for ac_exec_ext in '' $ac_executable_extensions; do
9077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9078 ac_cv_prog_ac_ct_LIPO="lipo
"
9079 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9088 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9089 if test -n "$ac_ct_LIPO"; then
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
9091 $as_echo "$ac_ct_LIPO" >&6; }
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9094 $as_echo "no
" >&6; }
9097 if test "x
$ac_ct_LIPO" = x; then
9100 case $cross_compiling:$ac_tool_warned in
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9103 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9104 ac_tool_warned=yes ;;
9109 LIPO="$ac_cv_prog_LIPO"
9112 if test -n "$ac_tool_prefix"; then
9113 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
9114 set dummy ${ac_tool_prefix}otool; ac_word=$2
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9116 $as_echo_n "checking
for $ac_word...
" >&6; }
9117 if test "${ac_cv_prog_OTOOL+set}" = set; then :
9118 $as_echo_n "(cached
) " >&6
9120 if test -n "$OTOOL"; then
9121 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9127 test -z "$as_dir" && as_dir=.
9128 for ac_exec_ext in '' $ac_executable_extensions; do
9129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9130 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
9131 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9140 OTOOL=$ac_cv_prog_OTOOL
9141 if test -n "$OTOOL"; then
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9143 $as_echo "$OTOOL" >&6; }
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9146 $as_echo "no
" >&6; }
9151 if test -z "$ac_cv_prog_OTOOL"; then
9153 # Extract the first word of "otool
", so it can be a program name with args.
9154 set dummy otool; ac_word=$2
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9156 $as_echo_n "checking
for $ac_word...
" >&6; }
9157 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
9158 $as_echo_n "(cached
) " >&6
9160 if test -n "$ac_ct_OTOOL"; then
9161 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9167 test -z "$as_dir" && as_dir=.
9168 for ac_exec_ext in '' $ac_executable_extensions; do
9169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9170 ac_cv_prog_ac_ct_OTOOL="otool
"
9171 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9180 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9181 if test -n "$ac_ct_OTOOL"; then
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
9183 $as_echo "$ac_ct_OTOOL" >&6; }
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9186 $as_echo "no
" >&6; }
9189 if test "x
$ac_ct_OTOOL" = x; then
9192 case $cross_compiling:$ac_tool_warned in
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9195 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9196 ac_tool_warned=yes ;;
9201 OTOOL="$ac_cv_prog_OTOOL"
9204 if test -n "$ac_tool_prefix"; then
9205 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
9206 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9208 $as_echo_n "checking
for $ac_word...
" >&6; }
9209 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
9210 $as_echo_n "(cached
) " >&6
9212 if test -n "$OTOOL64"; then
9213 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9219 test -z "$as_dir" && as_dir=.
9220 for ac_exec_ext in '' $ac_executable_extensions; do
9221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9222 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
9223 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9232 OTOOL64=$ac_cv_prog_OTOOL64
9233 if test -n "$OTOOL64"; then
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
9235 $as_echo "$OTOOL64" >&6; }
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9238 $as_echo "no
" >&6; }
9243 if test -z "$ac_cv_prog_OTOOL64"; then
9244 ac_ct_OTOOL64=$OTOOL64
9245 # Extract the first word of "otool64
", so it can be a program name with args.
9246 set dummy otool64; ac_word=$2
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9248 $as_echo_n "checking
for $ac_word...
" >&6; }
9249 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
9250 $as_echo_n "(cached
) " >&6
9252 if test -n "$ac_ct_OTOOL64"; then
9253 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9259 test -z "$as_dir" && as_dir=.
9260 for ac_exec_ext in '' $ac_executable_extensions; do
9261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9262 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9272 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9273 if test -n "$ac_ct_OTOOL64"; then
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9275 $as_echo "$ac_ct_OTOOL64" >&6; }
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9278 $as_echo "no
" >&6; }
9281 if test "x
$ac_ct_OTOOL64" = x; then
9284 case $cross_compiling:$ac_tool_warned in
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9287 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9288 ac_tool_warned=yes ;;
9290 OTOOL64=$ac_ct_OTOOL64
9293 OTOOL64="$ac_cv_prog_OTOOL64"
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9323 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9324 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
9325 $as_echo_n "(cached
) " >&6
9327 lt_cv_apple_cc_single_mod=no
9328 if test -z "${LT_MULTI_MODULE}"; then
9329 # By default we will add the -single_module flag. You can override
9330 # by either setting the environment variable LT_MULTI_MODULE
9331 # non-empty at configure time, or by adding -multi_module to the
9333 rm -rf libconftest.dylib*
9334 echo "int foo
(void
){return 1;}" > conftest.c
9335 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9336 -dynamiclib -Wl,-single_module conftest.c
" >&5
9337 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9338 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9340 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9341 lt_cv_apple_cc_single_mod=yes
9343 cat conftest.err >&5
9345 rm -rf libconftest.dylib*
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9350 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9352 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9353 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9354 $as_echo_n "(cached
) " >&6
9356 lt_cv_ld_exported_symbols_list=no
9357 save_LDFLAGS=$LDFLAGS
9358 echo "_main
" > conftest.sym
9359 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9360 if test x$gcc_no_link = xyes; then
9361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364 /* end confdefs.h. */
9374 if ac_fn_c_try_link "$LINENO"; then :
9375 lt_cv_ld_exported_symbols_list=yes
9377 lt_cv_ld_exported_symbols_list=no
9379 rm -f core conftest.err conftest.$ac_objext \
9380 conftest$ac_exeext conftest.$ac_ext
9381 LDFLAGS="$save_LDFLAGS"
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9385 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9387 rhapsody* | darwin1.[012])
9388 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9390 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9391 darwin*) # darwin 5.x on
9392 # if running on 10.5 or later, the deployment target defaults
9393 # to the OS version, if on x86, and 10.4, the deployment
9394 # target defaults to 10.4. Don't you love it?
9395 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9396 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9397 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9399 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9401 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9405 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9406 _lt_dar_single_mod='$single_module'
9408 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9409 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9411 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9413 if test "$DSYMUTIL" != ":"; then
9414 _lt_dsymutil='~$DSYMUTIL $lib || :'
9422 ac_cpp='$CPP $CPPFLAGS'
9423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
9427 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
9428 # On Suns, sometimes $CPP names a directory.
9429 if test -n "$CPP" && test -d "$CPP"; then
9432 if test -z "$CPP"; then
9433 if test "${ac_cv_prog_CPP+set}" = set; then :
9434 $as_echo_n "(cached
) " >&6
9436 # Double quotes because CPP needs to be expanded
9437 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
9440 for ac_c_preproc_warn_flag in '' yes
9442 # Use a header file that comes with gcc, so configuring glibc
9443 # with a fresh cross-compiler works.
9444 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9445 # <limits.h> exists even on freestanding compilers.
9446 # On the NeXT, cc -E runs the code through the compiler's parser,
9447 # not just through cpp. "Syntax error
" is here to catch this case.
9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9451 # include <limits.h>
9453 # include <assert.h>
9457 if ac_fn_c_try_cpp "$LINENO"; then :
9460 # Broken: fails on valid input.
9463 rm -f conftest.err conftest.$ac_ext
9465 # OK, works on sane cases. Now check whether nonexistent headers
9466 # can be detected and how.
9467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9469 #include <ac_nonexistent.h>
9471 if ac_fn_c_try_cpp "$LINENO"; then :
9472 # Broken: success on invalid input.
9475 # Passes both tests.
9479 rm -f conftest.err conftest.$ac_ext
9482 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9483 rm -f conftest.err conftest.$ac_ext
9484 if $ac_preproc_ok; then :
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
9497 $as_echo "$CPP" >&6; }
9499 for ac_c_preproc_warn_flag in '' yes
9501 # Use a header file that comes with gcc, so configuring glibc
9502 # with a fresh cross-compiler works.
9503 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9504 # <limits.h> exists even on freestanding compilers.
9505 # On the NeXT, cc -E runs the code through the compiler's parser,
9506 # not just through cpp. "Syntax error
" is here to catch this case.
9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9510 # include <limits.h>
9512 # include <assert.h>
9516 if ac_fn_c_try_cpp "$LINENO"; then :
9519 # Broken: fails on valid input.
9522 rm -f conftest.err conftest.$ac_ext
9524 # OK, works on sane cases. Now check whether nonexistent headers
9525 # can be detected and how.
9526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9527 /* end confdefs.h. */
9528 #include <ac_nonexistent.h>
9530 if ac_fn_c_try_cpp "$LINENO"; then :
9531 # Broken: success on invalid input.
9534 # Passes both tests.
9538 rm -f conftest.err conftest.$ac_ext
9541 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9542 rm -f conftest.err conftest.$ac_ext
9543 if $ac_preproc_ok; then :
9546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
9547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9548 as_fn_error "C preprocessor \"$CPP\" fails sanity check
9549 See \`config.log' for more details.
" "$LINENO" 5; }
9553 ac_cpp='$CPP $CPPFLAGS'
9554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
9560 $as_echo_n "checking
for ANSI C header files...
" >&6; }
9561 if test "${ac_cv_header_stdc+set}" = set; then :
9562 $as_echo_n "(cached
) " >&6
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9579 if ac_fn_c_try_compile "$LINENO"; then :
9580 ac_cv_header_stdc=yes
9582 ac_cv_header_stdc=no
9584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9586 if test $ac_cv_header_stdc = yes; then
9587 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9589 /* end confdefs.h. */
9593 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9594 $EGREP "memchr
" >/dev/null 2>&1; then :
9597 ac_cv_header_stdc=no
9603 if test $ac_cv_header_stdc = yes; then
9604 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9610 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9611 $EGREP "free
" >/dev/null 2>&1; then :
9614 ac_cv_header_stdc=no
9620 if test $ac_cv_header_stdc = yes; then
9621 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9622 if test "$cross_compiling" = yes; then :
9625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9629 #if ((' ' & 0x0FF) == 0x020)
9630 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9631 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9633 # define ISLOWER(c) \
9634 (('a' <= (c) && (c) <= 'i') \
9635 || ('j' <= (c) && (c) <= 'r') \
9636 || ('s' <= (c) && (c) <= 'z'))
9637 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9640 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9645 for (i = 0; i < 256; i++)
9646 if (XOR (islower (i), ISLOWER (i))
9647 || toupper (i) != TOUPPER (i))
9652 if ac_fn_c_try_run "$LINENO"; then :
9655 ac_cv_header_stdc=no
9657 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9658 conftest.$ac_objext conftest.beam conftest.$ac_ext
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
9664 $as_echo "$ac_cv_header_stdc" >&6; }
9665 if test $ac_cv_header_stdc = yes; then
9667 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9671 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9672 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9673 inttypes.h stdint.h unistd.h
9675 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9676 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9678 eval as_val
=\$
$as_ac_Header
9679 if test "x$as_val" = x
""yes; then :
9680 cat >>confdefs.h
<<_ACEOF
9681 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9689 for ac_header
in dlfcn.h
9691 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9693 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
9694 cat >>confdefs.h
<<_ACEOF
9695 #define HAVE_DLFCN_H 1
9705 ac_cpp
='$CXXCPP $CPPFLAGS'
9706 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9707 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9708 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9709 if test -z "$CXX"; then
9710 if test -n "$CCC"; then
9713 if test -n "$ac_tool_prefix"; then
9714 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
9716 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9717 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9719 $as_echo_n "checking for $ac_word... " >&6; }
9720 if test "${ac_cv_prog_CXX+set}" = set; then :
9721 $as_echo_n "(cached) " >&6
9723 if test -n "$CXX"; then
9724 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9730 test -z "$as_dir" && as_dir
=.
9731 for ac_exec_ext
in '' $ac_executable_extensions; do
9732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9733 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
9734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9744 if test -n "$CXX"; then
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
9746 $as_echo "$CXX" >&6; }
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9749 $as_echo "no" >&6; }
9753 test -n "$CXX" && break
9756 if test -z "$CXX"; then
9758 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
9760 # Extract the first word of "$ac_prog", so it can be a program name with args.
9761 set dummy
$ac_prog; ac_word
=$2
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9763 $as_echo_n "checking for $ac_word... " >&6; }
9764 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
9765 $as_echo_n "(cached) " >&6
9767 if test -n "$ac_ct_CXX"; then
9768 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
9770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9774 test -z "$as_dir" && as_dir
=.
9775 for ac_exec_ext
in '' $ac_executable_extensions; do
9776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9777 ac_cv_prog_ac_ct_CXX
="$ac_prog"
9778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9787 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
9788 if test -n "$ac_ct_CXX"; then
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
9790 $as_echo "$ac_ct_CXX" >&6; }
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9793 $as_echo "no" >&6; }
9797 test -n "$ac_ct_CXX" && break
9800 if test "x$ac_ct_CXX" = x
; then
9803 case $cross_compiling:$ac_tool_warned in
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9807 ac_tool_warned
=yes ;;
9815 # Provide some information about the compiler.
9816 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
9819 for ac_option
in --version -v -V -qversion; do
9820 { { ac_try
="$ac_compiler $ac_option >&5"
9822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9823 *) ac_try_echo=$ac_try;;
9825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9826 $as_echo "$ac_try_echo"; } >&5
9827 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9829 if test -s conftest.err; then
9831 ... rest of stderr output deleted ...
9832 10q' conftest.err >conftest.er1
9833 cat conftest.er1 >&5
9834 rm -f conftest.er1 conftest.err
9836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9837 test $ac_status = 0; }
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
9841 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
9842 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
9843 $as_echo_n "(cached) " >&6
9845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9859 if ac_fn_cxx_try_compile "$LINENO"; then :
9864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9865 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
9869 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
9870 if test $ac_compiler_gnu = yes; then
9875 ac_test_CXXFLAGS=${CXXFLAGS+set}
9876 ac_save_CXXFLAGS=$CXXFLAGS
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
9878 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
9879 if test "${ac_cv_prog_cxx_g+set}" = set; then :
9880 $as_echo_n "(cached) " >&6
9882 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
9883 ac_cxx_werror_flag=yes
9886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9887 /* end confdefs.h. */
9897 if ac_fn_cxx_try_compile "$LINENO"; then :
9898 ac_cv_prog_cxx_g=yes
9901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9902 /* end confdefs.h. */
9912 if ac_fn_cxx_try_compile "$LINENO"; then :
9915 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9918 /* end confdefs.h. */
9928 if ac_fn_cxx_try_compile "$LINENO"; then :
9929 ac_cv_prog_cxx_g=yes
9931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9936 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
9939 $as_echo "$ac_cv_prog_cxx_g" >&6; }
9940 if test "$ac_test_CXXFLAGS" = set; then
9941 CXXFLAGS=$ac_save_CXXFLAGS
9942 elif test $ac_cv_prog_cxx_g = yes; then
9943 if test "$GXX" = yes; then
9949 if test "$GXX" = yes; then
9956 ac_cpp='$CPP $CPPFLAGS'
9957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9961 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9962 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
9963 (test "X$CXX" != "Xg++"))) ; then
9965 ac_cpp='$CXXCPP $CPPFLAGS'
9966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
9970 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
9971 if test -z "$CXXCPP"; then
9972 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
9973 $as_echo_n "(cached) " >&6
9975 # Double quotes because CXXCPP needs to be expanded
9976 for CXXCPP in "$CXX -E" "/lib/cpp"
9979 for ac_cxx_preproc_warn_flag in '' yes
9981 # Use a header file that comes with gcc, so configuring glibc
9982 # with a fresh cross-compiler works.
9983 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9984 # <limits.h> exists even on freestanding compilers.
9985 # On the NeXT, cc -E runs the code through the compiler's parser,
9986 # not just through cpp. "Syntax error" is here to catch this case.
9987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9988 /* end confdefs.h. */
9990 # include <limits.h>
9992 # include <assert.h>
9996 if ac_fn_cxx_try_cpp "$LINENO"; then :
9999 # Broken: fails on valid input.
10002 rm -f conftest.err conftest.$ac_ext
10004 # OK, works on sane cases. Now check whether nonexistent headers
10005 # can be detected and how.
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10008 #include <ac_nonexistent.h>
10010 if ac_fn_cxx_try_cpp "$LINENO"; then :
10011 # Broken: success on invalid input.
10014 # Passes both tests.
10018 rm -f conftest.err conftest.$ac_ext
10021 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10022 rm -f conftest.err conftest.
$ac_ext
10023 if $ac_preproc_ok; then :
10028 ac_cv_prog_CXXCPP
=$CXXCPP
10031 CXXCPP
=$ac_cv_prog_CXXCPP
10033 ac_cv_prog_CXXCPP
=$CXXCPP
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
10036 $as_echo "$CXXCPP" >&6; }
10037 ac_preproc_ok
=false
10038 for ac_cxx_preproc_warn_flag
in '' yes
10040 # Use a header file that comes with gcc, so configuring glibc
10041 # with a fresh cross-compiler works.
10042 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10043 # <limits.h> exists even on freestanding compilers.
10044 # On the NeXT, cc -E runs the code through the compiler's parser,
10045 # not just through cpp. "Syntax error" is here to catch this case.
10046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10047 /* end confdefs.h. */
10049 # include <limits.h>
10051 # include <assert.h>
10055 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10058 # Broken: fails on valid input.
10061 rm -f conftest.err conftest.
$ac_ext
10063 # OK, works on sane cases. Now check whether nonexistent headers
10064 # can be detected and how.
10065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10066 /* end confdefs.h. */
10067 #include <ac_nonexistent.h>
10069 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10070 # Broken: success on invalid input.
10073 # Passes both tests.
10077 rm -f conftest.err conftest.
$ac_ext
10080 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10081 rm -f conftest.err conftest.
$ac_ext
10082 if $ac_preproc_ok; then :
10085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10087 _lt_caught_CXX_error
=yes; }
10091 ac_cpp
='$CPP $CPPFLAGS'
10092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10097 _lt_caught_CXX_error
=yes
10109 enable_win32_dll
=no
10112 # Check whether --enable-shared was given.
10113 if test "${enable_shared+set}" = set; then :
10114 enableval
=$enable_shared; p
=${PACKAGE-default}
10116 yes) enable_shared
=yes ;;
10117 no
) enable_shared
=no
;;
10120 # Look at the argument we got. We use all the common list separators.
10121 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10122 for pkg
in $enableval; do
10124 if test "X$pkg" = "X$p"; then
10143 # Check whether --enable-static was given.
10144 if test "${enable_static+set}" = set; then :
10145 enableval
=$enable_static; p
=${PACKAGE-default}
10147 yes) enable_static
=yes ;;
10148 no
) enable_static
=no
;;
10151 # Look at the argument we got. We use all the common list separators.
10152 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10153 for pkg
in $enableval; do
10155 if test "X$pkg" = "X$p"; then
10175 # Check whether --with-pic was given.
10176 if test "${with_pic+set}" = set; then :
10177 withval
=$with_pic; pic_mode
="$withval"
10183 test -z "$pic_mode" && pic_mode
=default
10191 # Check whether --enable-fast-install was given.
10192 if test "${enable_fast_install+set}" = set; then :
10193 enableval
=$enable_fast_install; p
=${PACKAGE-default}
10195 yes) enable_fast_install
=yes ;;
10196 no
) enable_fast_install
=no
;;
10198 enable_fast_install
=no
10199 # Look at the argument we got. We use all the common list separators.
10200 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10201 for pkg
in $enableval; do
10203 if test "X$pkg" = "X$p"; then
10204 enable_fast_install
=yes
10211 enable_fast_install
=yes
10224 # This can be used to rebuild libtool when needed
10225 LIBTOOL_DEPS
="$ltmain"
10227 # Always use our own libtool.
10228 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
10254 test -z "$LN_S" && LN_S
="ln -s"
10269 if test -n "${ZSH_VERSION+set}" ; then
10270 setopt NO_GLOB_SUBST
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10274 $as_echo_n "checking for objdir... " >&6; }
10275 if test "${lt_cv_objdir+set}" = set; then :
10276 $as_echo_n "(cached) " >&6
10278 rm -f .libs
2>/dev
/null
10279 mkdir .libs
2>/dev
/null
10280 if test -d .libs
; then
10283 # MS-DOS does not allow filenames that begin with a dot.
10286 rmdir .libs
2>/dev
/null
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10289 $as_echo "$lt_cv_objdir" >&6; }
10290 objdir
=$lt_cv_objdir
10296 cat >>confdefs.h
<<_ACEOF
10297 #define LT_OBJDIR "$lt_cv_objdir/"
10318 # AIX sometimes has problems with the GCC collect2 program. For some
10319 # reason, if we set the COLLECT_NAMES environment variable, the problems
10320 # vanish in a puff of smoke.
10321 if test "X${COLLECT_NAMES+set}" != Xset
; then
10323 export COLLECT_NAMES
10328 # Sed substitution that helps us do robust quoting. It backslashifies
10329 # metacharacters that are still active within double-quoted strings.
10330 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
10332 # Same as above, but do not quote variable references.
10333 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
10335 # Sed substitution to delay expansion of an escaped shell variable in a
10336 # double_quote_subst'ed string.
10337 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
10339 # Sed substitution to delay expansion of an escaped single quote.
10340 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
10342 # Sed substitution to avoid accidental globbing in evaled expressions
10343 no_glob_subst
='s/\*/\\\*/g'
10345 # Global variables:
10347 can_build_shared
=yes
10349 # All known linkers require a `.a' archive for static linking (except MSVC,
10350 # which needs '.lib').
10353 with_gnu_ld
="$lt_cv_prog_gnu_ld"
10356 old_CFLAGS
="$CFLAGS"
10358 # Set sane defaults for various variables
10359 test -z "$CC" && CC
=cc
10360 test -z "$LTCC" && LTCC
=$CC
10361 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10362 test -z "$LD" && LD
=ld
10363 test -z "$ac_objext" && ac_objext
=o
10365 for cc_temp
in $compiler""; do
10367 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10368 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10373 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10376 # Only perform the check for file, if the check method requires it
10377 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10378 case $deplibs_check_method in
10380 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10382 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10383 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10384 $as_echo_n "(cached) " >&6
10388 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10391 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10392 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10393 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10394 for ac_dir
in $ac_dummy; do
10396 test -z "$ac_dir" && ac_dir
=.
10397 if test -f $ac_dir/${ac_tool_prefix}file; then
10398 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
10399 if test -n "$file_magic_test_file"; then
10400 case $deplibs_check_method in
10402 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10403 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10404 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10405 $EGREP "$file_magic_regex" > /dev
/null
; then
10410 *** Warning: the command libtool uses to detect shared libraries,
10411 *** $file_magic_cmd, produces output that libtool cannot recognize.
10412 *** The result is that libtool may fail to recognize shared libraries
10413 *** as such. This will affect the creation of libtool libraries that
10414 *** depend on shared libraries, but programs linked with such libtool
10415 *** libraries will work regardless of this problem. Nevertheless, you
10416 *** may want to report the problem to your system manager and/or to
10417 *** bug-libtool@gnu.org
10427 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10432 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10433 if test -n "$MAGIC_CMD"; then
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10435 $as_echo "$MAGIC_CMD" >&6; }
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10438 $as_echo "no" >&6; }
10445 if test -z "$lt_cv_path_MAGIC_CMD"; then
10446 if test -n "$ac_tool_prefix"; then
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10448 $as_echo_n "checking for file... " >&6; }
10449 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10450 $as_echo_n "(cached) " >&6
10454 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10457 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10458 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10459 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10460 for ac_dir
in $ac_dummy; do
10462 test -z "$ac_dir" && ac_dir
=.
10463 if test -f $ac_dir/file; then
10464 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
10465 if test -n "$file_magic_test_file"; then
10466 case $deplibs_check_method in
10468 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10469 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10470 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10471 $EGREP "$file_magic_regex" > /dev
/null
; then
10476 *** Warning: the command libtool uses to detect shared libraries,
10477 *** $file_magic_cmd, produces output that libtool cannot recognize.
10478 *** The result is that libtool may fail to recognize shared libraries
10479 *** as such. This will affect the creation of libtool libraries that
10480 *** depend on shared libraries, but programs linked with such libtool
10481 *** libraries will work regardless of this problem. Nevertheless, you
10482 *** may want to report the problem to your system manager and/or to
10483 *** bug-libtool@gnu.org
10493 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10498 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10499 if test -n "$MAGIC_CMD"; then
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10501 $as_echo "$MAGIC_CMD" >&6; }
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10504 $as_echo "no" >&6; }
10517 # Use C for the default configuration in the libtool script
10521 ac_cpp
='$CPP $CPPFLAGS'
10522 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10523 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10524 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10527 # Source file extension for C test sources.
10530 # Object file extension for compiled C test sources.
10534 # Code to be used in simple compile tests
10535 lt_simple_compile_test_code
="int some_variable = 0;"
10537 # Code to be used in simple link tests
10538 lt_simple_link_test_code
='int main(){return(0);}'
10546 # If no C compiler was specified, use CC.
10549 # If no C compiler flags were specified, use CFLAGS.
10550 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10552 # Allow CC to be a program name with arguments.
10555 # Save the default compiler, since it gets overwritten when the other
10556 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10557 compiler_DEFAULT
=$CC
10559 # save warnings/boilerplate of simple test code
10560 ac_outfile
=conftest.
$ac_objext
10561 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10562 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10563 _lt_compiler_boilerplate
=`cat conftest.err`
10566 ac_outfile
=conftest.
$ac_objext
10567 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10568 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10569 _lt_linker_boilerplate
=`cat conftest.err`
10574 ## There is no encapsulation within the following macros, do not change
10575 ## the running order or otherwise move them around unless you know exactly
10576 ## what you are doing...
10577 if test -n "$compiler"; then
10579 lt_prog_compiler_no_builtin_flag
=
10581 if test "$GCC" = yes; then
10582 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10585 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10586 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
10587 $as_echo_n "(cached) " >&6
10589 lt_cv_prog_compiler_rtti_exceptions
=no
10590 ac_outfile
=conftest.
$ac_objext
10591 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10592 lt_compiler_flag
="-fno-rtti -fno-exceptions"
10593 # Insert the option either (1) after the last *FLAGS variable, or
10594 # (2) before a word containing "conftest.", or (3) at the end.
10595 # Note that $ac_compile itself does not contain backslashes and begins
10596 # with a dollar sign (not a hyphen), so the echo should work correctly.
10597 # The option is referenced via a variable to avoid confusing sed.
10598 lt_compile
=`echo "$ac_compile" | $SED \
10599 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10600 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10601 -e 's:$: $lt_compiler_flag:'`
10602 (eval echo "\"\$as_me:10602: $lt_compile\"" >&5)
10603 (eval "$lt_compile" 2>conftest.err
)
10605 cat conftest.err
>&5
10606 echo "$as_me:10606: \$? = $ac_status" >&5
10607 if (exit $ac_status) && test -s "$ac_outfile"; then
10608 # The compiler can only warn and ignore the option if not recognized
10609 # So say no if there are warnings other than the usual output.
10610 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
10611 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10612 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10613 lt_cv_prog_compiler_rtti_exceptions
=yes
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10620 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10622 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
10623 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10635 lt_prog_compiler_wl
=
10636 lt_prog_compiler_pic
=
10637 lt_prog_compiler_static
=
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10640 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10642 if test "$GCC" = yes; then
10643 lt_prog_compiler_wl
='-Wl,'
10644 lt_prog_compiler_static
='-static'
10648 # All AIX code is PIC.
10649 if test "$host_cpu" = ia64
; then
10650 # AIX 5 now supports IA64 processor
10651 lt_prog_compiler_static
='-Bstatic'
10658 # see comment about AmigaOS4 .so support
10659 lt_prog_compiler_pic
='-fPIC'
10662 # FIXME: we need at least 68020 code to build shared libraries, but
10663 # adding the `-m68020' flag to GCC prevents building anything better,
10665 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10670 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10671 # PIC is the default for these OSes.
10674 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10675 # This hack is so that the source file can tell whether it is being
10676 # built for inclusion in a dll (and should export symbols for example).
10677 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10678 # (--disable-auto-import) libraries
10679 lt_prog_compiler_pic
='-DDLL_EXPORT'
10682 darwin
* | rhapsody
*)
10683 # PIC is the default on this platform
10684 # Common symbols not allowed in MH_DYLIB files
10685 lt_prog_compiler_pic
='-fno-common'
10689 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10690 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10691 # sets the default TLS model and affects inlining.
10697 lt_prog_compiler_pic
='-fPIC'
10703 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10704 # Instead, we relocate shared libraries at runtime.
10708 # Just because we use GCC doesn't mean we suddenly get shared libraries
10709 # on systems that don't support them.
10710 lt_prog_compiler_can_build_shared
=no
10715 # QNX uses GNU C++, but need to define -shared option too, otherwise
10716 # it will coredump.
10717 lt_prog_compiler_pic
='-fPIC -shared'
10721 if test -d /usr
/nec
; then
10722 lt_prog_compiler_pic
=-Kconform_pic
10727 lt_prog_compiler_pic
='-fPIC'
10731 # PORTME Check for flag to pass linker flags through the system compiler.
10734 lt_prog_compiler_wl
='-Wl,'
10735 if test "$host_cpu" = ia64
; then
10736 # AIX 5 now supports IA64 processor
10737 lt_prog_compiler_static
='-Bstatic'
10739 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10743 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10744 # This hack is so that the source file can tell whether it is being
10745 # built for inclusion in a dll (and should export symbols for example).
10746 lt_prog_compiler_pic
='-DDLL_EXPORT'
10749 hpux9
* | hpux10
* | hpux11
*)
10750 lt_prog_compiler_wl
='-Wl,'
10751 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10752 # not for PA HP-UX.
10758 lt_prog_compiler_pic
='+Z'
10761 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10762 lt_prog_compiler_static
='${wl}-a ${wl}archive'
10765 irix5
* | irix6
* | nonstopux
*)
10766 lt_prog_compiler_wl
='-Wl,'
10767 # PIC (with -KPIC) is the default.
10768 lt_prog_compiler_static
='-non_shared'
10771 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10772 case $cc_basename in
10773 # old Intel for x86_64 which still supported -KPIC.
10775 lt_prog_compiler_wl
='-Wl,'
10776 lt_prog_compiler_pic
='-KPIC'
10777 lt_prog_compiler_static
='-static'
10779 # icc used to be incompatible with GCC.
10780 # ICC 10 doesn't accept -KPIC any more.
10782 lt_prog_compiler_wl
='-Wl,'
10783 lt_prog_compiler_pic
='-fPIC'
10784 lt_prog_compiler_static
='-static'
10786 # Lahey Fortran 8.1.
10788 lt_prog_compiler_wl
='-Wl,'
10789 lt_prog_compiler_pic
='--shared'
10790 lt_prog_compiler_static
='--static'
10792 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
10793 # Portland Group compilers (*not* the Pentium gcc compiler,
10794 # which looks to be a dead project)
10795 lt_prog_compiler_wl
='-Wl,'
10796 lt_prog_compiler_pic
='-fpic'
10797 lt_prog_compiler_static
='-Bstatic'
10800 lt_prog_compiler_wl
='-Wl,'
10801 # All Alpha code is PIC.
10802 lt_prog_compiler_static
='-non_shared'
10805 # IBM XL C 8.0/Fortran 10.1 on PPC
10806 lt_prog_compiler_wl
='-Wl,'
10807 lt_prog_compiler_pic
='-qpic'
10808 lt_prog_compiler_static
='-qstaticlink'
10811 case `$CC -V 2>&1 | sed 5q` in
10814 lt_prog_compiler_pic
='-KPIC'
10815 lt_prog_compiler_static
='-Bstatic'
10816 lt_prog_compiler_wl
='-Wl,'
10819 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10820 lt_prog_compiler_pic
='-KPIC'
10821 lt_prog_compiler_static
='-Bstatic'
10822 lt_prog_compiler_wl
=''
10830 lt_prog_compiler_pic
='-KPIC'
10831 lt_prog_compiler_static
='-Bstatic'
10835 # QNX uses GNU C++, but need to define -shared option too, otherwise
10836 # it will coredump.
10837 lt_prog_compiler_pic
='-fPIC -shared'
10840 osf3
* | osf4
* | osf5
*)
10841 lt_prog_compiler_wl
='-Wl,'
10842 # All OSF/1 code is PIC.
10843 lt_prog_compiler_static
='-non_shared'
10847 lt_prog_compiler_static
='-non_shared'
10851 lt_prog_compiler_pic
='-KPIC'
10852 lt_prog_compiler_static
='-Bstatic'
10853 case $cc_basename in
10854 f77
* | f90
* | f95
*)
10855 lt_prog_compiler_wl
='-Qoption ld ';;
10857 lt_prog_compiler_wl
='-Wl,';;
10862 lt_prog_compiler_wl
='-Qoption ld '
10863 lt_prog_compiler_pic
='-PIC'
10864 lt_prog_compiler_static
='-Bstatic'
10867 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10868 lt_prog_compiler_wl
='-Wl,'
10869 lt_prog_compiler_pic
='-KPIC'
10870 lt_prog_compiler_static
='-Bstatic'
10874 if test -d /usr
/nec
;then
10875 lt_prog_compiler_pic
='-Kconform_pic'
10876 lt_prog_compiler_static
='-Bstatic'
10880 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10881 lt_prog_compiler_wl
='-Wl,'
10882 lt_prog_compiler_pic
='-KPIC'
10883 lt_prog_compiler_static
='-Bstatic'
10887 lt_prog_compiler_wl
='-Wl,'
10888 lt_prog_compiler_can_build_shared
=no
10892 lt_prog_compiler_pic
='-pic'
10893 lt_prog_compiler_static
='-Bstatic'
10897 lt_prog_compiler_can_build_shared
=no
10903 # For platforms which do not support PIC, -DPIC is meaningless:
10905 lt_prog_compiler_pic
=
10908 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10912 $as_echo "$lt_prog_compiler_pic" >&6; }
10920 # Check to make sure the PIC flag actually works.
10922 if test -n "$lt_prog_compiler_pic"; then
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10924 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10925 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
10926 $as_echo_n "(cached) " >&6
10928 lt_cv_prog_compiler_pic_works
=no
10929 ac_outfile
=conftest.
$ac_objext
10930 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10931 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10932 # Insert the option either (1) after the last *FLAGS variable, or
10933 # (2) before a word containing "conftest.", or (3) at the end.
10934 # Note that $ac_compile itself does not contain backslashes and begins
10935 # with a dollar sign (not a hyphen), so the echo should work correctly.
10936 # The option is referenced via a variable to avoid confusing sed.
10937 lt_compile
=`echo "$ac_compile" | $SED \
10938 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10939 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10940 -e 's:$: $lt_compiler_flag:'`
10941 (eval echo "\"\$as_me:10941: $lt_compile\"" >&5)
10942 (eval "$lt_compile" 2>conftest.err
)
10944 cat conftest.err
>&5
10945 echo "$as_me:10945: \$? = $ac_status" >&5
10946 if (exit $ac_status) && test -s "$ac_outfile"; then
10947 # The compiler can only warn and ignore the option if not recognized
10948 # So say no if there are warnings other than the usual output.
10949 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
10950 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10951 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10952 lt_cv_prog_compiler_pic_works
=yes
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10959 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10961 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10962 case $lt_prog_compiler_pic in
10964 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10967 lt_prog_compiler_pic
=
10968 lt_prog_compiler_can_build_shared
=no
10979 # Check to make sure the static flag actually works.
10981 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10983 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10984 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
10985 $as_echo_n "(cached) " >&6
10987 lt_cv_prog_compiler_static_works
=no
10988 save_LDFLAGS
="$LDFLAGS"
10989 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10990 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10991 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10992 # The linker can only warn and ignore the option if not recognized
10993 # So say no if there are warnings
10994 if test -s conftest.err
; then
10995 # Append any errors to the config.log.
10996 cat conftest.err
1>&5
10997 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
10998 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10999 if diff conftest.exp conftest.er2
>/dev
/null
; then
11000 lt_cv_prog_compiler_static_works
=yes
11003 lt_cv_prog_compiler_static_works
=yes
11007 LDFLAGS
="$save_LDFLAGS"
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11011 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11013 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
11016 lt_prog_compiler_static
=
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11026 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11027 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
11028 $as_echo_n "(cached) " >&6
11030 lt_cv_prog_compiler_c_o
=no
11031 $RM -r conftest
2>/dev
/null
11035 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11037 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11038 # Insert the option either (1) after the last *FLAGS variable, or
11039 # (2) before a word containing "conftest.", or (3) at the end.
11040 # Note that $ac_compile itself does not contain backslashes and begins
11041 # with a dollar sign (not a hyphen), so the echo should work correctly.
11042 lt_compile
=`echo "$ac_compile" | $SED \
11043 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11044 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11045 -e 's:$: $lt_compiler_flag:'`
11046 (eval echo "\"\$as_me:11046: $lt_compile\"" >&5)
11047 (eval "$lt_compile" 2>out
/conftest.err
)
11049 cat out
/conftest.err
>&5
11050 echo "$as_me:11050: \$? = $ac_status" >&5
11051 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11053 # The compiler can only warn and ignore the option if not recognized
11054 # So say no if there are warnings
11055 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11056 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11057 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11058 lt_cv_prog_compiler_c_o
=yes
11063 # SGI C++ compiler will create directory out/ii_files/ for
11064 # template instantiation
11065 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11066 $RM out
/* && rmdir out
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11073 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11081 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11082 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
11083 $as_echo_n "(cached) " >&6
11085 lt_cv_prog_compiler_c_o
=no
11086 $RM -r conftest
2>/dev
/null
11090 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11092 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11093 # Insert the option either (1) after the last *FLAGS variable, or
11094 # (2) before a word containing "conftest.", or (3) at the end.
11095 # Note that $ac_compile itself does not contain backslashes and begins
11096 # with a dollar sign (not a hyphen), so the echo should work correctly.
11097 lt_compile
=`echo "$ac_compile" | $SED \
11098 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11099 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11100 -e 's:$: $lt_compiler_flag:'`
11101 (eval echo "\"\$as_me:11101: $lt_compile\"" >&5)
11102 (eval "$lt_compile" 2>out
/conftest.err
)
11104 cat out
/conftest.err
>&5
11105 echo "$as_me:11105: \$? = $ac_status" >&5
11106 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11108 # The compiler can only warn and ignore the option if not recognized
11109 # So say no if there are warnings
11110 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11111 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11112 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11113 lt_cv_prog_compiler_c_o
=yes
11118 # SGI C++ compiler will create directory out/ii_files/ for
11119 # template instantiation
11120 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11121 $RM out
/* && rmdir out
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11128 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11133 hard_links
="nottested"
11134 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
11135 # do not overwrite the value of need_locks provided by the user
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11137 $as_echo_n "checking if we can lock with hard links... " >&6; }
11140 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11142 ln conftest.a conftest.b
2>&5 || hard_links
=no
11143 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11145 $as_echo "$hard_links" >&6; }
11146 if test "$hard_links" = no
; then
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11148 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11161 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11164 allow_undefined_flag
=
11165 always_export_symbols
=no
11167 archive_expsym_cmds
=
11168 compiler_needs_object
=no
11169 enable_shared_with_static_runtimes
=no
11170 export_dynamic_flag_spec
=
11171 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11172 hardcode_automatic
=no
11174 hardcode_direct_absolute
=no
11175 hardcode_libdir_flag_spec
=
11176 hardcode_libdir_flag_spec_ld
=
11177 hardcode_libdir_separator
=
11178 hardcode_minus_L
=no
11179 hardcode_shlibpath_var
=unsupported
11181 link_all_deplibs
=unknown
11183 module_expsym_cmds
=
11184 old_archive_from_new_cmds
=
11185 old_archive_from_expsyms_cmds
=
11186 thread_safe_flag_spec
=
11187 whole_archive_flag_spec
=
11188 # include_expsyms should be a list of space-separated symbols to be *always*
11189 # included in the symbol list
11191 # exclude_expsyms can be an extended regexp of symbols to exclude
11192 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11193 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11194 # as well as any symbol that contains `d'.
11195 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11196 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11197 # platforms (ab)use it in PIC code, but their linkers get confused if
11198 # the symbol is explicitly referenced. Since portable code cannot
11199 # rely on this symbol name, it's probably fine to never include it in
11200 # preloaded symbol tables.
11201 # Exclude shared library initialization/finalization symbols.
11202 extract_expsyms_cmds
=
11205 cygwin
* | mingw
* | pw32
* | cegcc
*)
11206 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11207 # When not using gcc, we currently assume that we are using
11208 # Microsoft Visual C++.
11209 if test "$GCC" != yes; then
11214 # we just hope/assume this is gcc and not c89 (= MSVC++)
11223 if test "$with_gnu_ld" = yes; then
11224 # If archive_cmds runs LD, not CC, wlarc should be empty
11227 # Set some defaults for GNU ld with shared library support. These
11228 # are reset later if shared libraries are not supported. Putting them
11229 # here allows them to be overridden if necessary.
11230 runpath_var
=LD_RUN_PATH
11231 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11232 export_dynamic_flag_spec
='${wl}--export-dynamic'
11233 # ancient GNU ld didn't support --whole-archive et. al.
11234 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
11235 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11237 whole_archive_flag_spec
=
11239 supports_anon_versioning
=no
11240 case `$LD -v 2>&1` in
11241 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
11242 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11243 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11244 *\
2.11.
*) ;; # other 2.11 versions
11245 *) supports_anon_versioning
=yes ;;
11248 # See if GNU ld supports shared libraries.
11251 # On AIX/PPC, the GNU linker is very broken
11252 if test "$host_cpu" != ia64
; then
11256 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11257 *** to be unable to reliably create shared libraries on AIX.
11258 *** Therefore, libtool is disabling shared libraries support. If you
11259 *** really care for shared libraries, you may want to modify your PATH
11260 *** so that a non-GNU linker is found, and then restart.
11269 # see comment about AmigaOS4 .so support
11270 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11271 archive_expsym_cmds
=''
11274 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)'
11275 hardcode_libdir_flag_spec
='-L$libdir'
11276 hardcode_minus_L
=yes
11282 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11283 allow_undefined_flag
=unsupported
11284 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11285 # support --undefined. This deserves some investigation. FIXME
11286 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11292 cygwin
* | mingw
* | pw32
* | cegcc
*)
11293 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11294 # as there is no search path for DLLs.
11295 hardcode_libdir_flag_spec
='-L$libdir'
11296 allow_undefined_flag
=unsupported
11297 always_export_symbols
=no
11298 enable_shared_with_static_runtimes
=yes
11299 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11301 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11302 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11303 # If the export-symbols file already is a .def file (1st line
11304 # is EXPORTS), use it as is; otherwise, prepend...
11305 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11306 cp $export_symbols $output_objdir/$soname.def;
11308 echo EXPORTS > $output_objdir/$soname.def;
11309 cat $export_symbols >> $output_objdir/$soname.def;
11311 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11319 hardcode_shlibpath_var
=no
11320 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11321 export_dynamic_flag_spec
='${wl}-E'
11322 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11323 # Instead, shared libraries are loaded at an image base (0x10000000 by
11324 # default) and relocated if they conflict, which is a slow very memory
11325 # consuming and fragmenting process. To avoid this, we pick a random,
11326 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11327 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11328 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11329 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'
11332 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11334 if test "$host_os" = linux-dietlibc
; then
11335 case $cc_basename in
11336 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11339 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11340 && test "$tmp_diet" = no
11343 tmp_sharedflag
='-shared'
11344 case $cc_basename,$host_cpu in
11345 pgcc
*) # Portland Group C compiler
11346 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'
11347 tmp_addflag
=' $pic_flag'
11349 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
11350 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'
11351 tmp_addflag
=' $pic_flag -Mnomain' ;;
11352 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11353 tmp_addflag
=' -i_dynamic' ;;
11354 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11355 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11356 ifc
* | ifort
*) # Intel Fortran compiler
11357 tmp_addflag
=' -nofor_main' ;;
11358 lf95
*) # Lahey Fortran 8.1
11359 whole_archive_flag_spec
=
11360 tmp_sharedflag
='--shared' ;;
11361 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11362 tmp_sharedflag
='-qmkshrobj'
11365 case `$CC -V 2>&1 | sed 5q` in
11366 *Sun\ C
*) # Sun C 5.9
11367 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'
11368 compiler_needs_object
=yes
11369 tmp_sharedflag
='-G' ;;
11370 *Sun\ F
*) # Sun Fortran 8.3
11371 tmp_sharedflag
='-G' ;;
11373 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11375 if test "x$supports_anon_versioning" = xyes
; then
11376 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11377 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11378 echo "local: *; };" >> $output_objdir/$libname.ver~
11379 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11382 case $cc_basename in
11384 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11385 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11386 hardcode_libdir_flag_spec
=
11387 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
11388 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11389 if test "x$supports_anon_versioning" = xyes
; then
11390 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11391 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11392 echo "local: *; };" >> $output_objdir/$libname.ver~
11393 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11403 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11404 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11407 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11408 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11413 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11417 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11418 *** create shared libraries on Solaris systems. Therefore, libtool
11419 *** is disabling shared libraries support. We urge you to upgrade GNU
11420 *** binutils to release 2.9.1 or newer. Another option is to modify
11421 *** your PATH or compiler configuration so that the native linker is
11422 *** used, and then restart.
11425 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11426 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11427 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11433 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11434 case `$LD -v 2>&1` in
11435 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11439 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11440 *** reliably create shared libraries on SCO systems. Therefore, libtool
11441 *** is disabling shared libraries support. We urge you to upgrade GNU
11442 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11443 *** your PATH or compiler configuration so that the native linker is
11444 *** used, and then restart.
11449 # For security reasons, it is highly recommended that you always
11450 # use absolute paths for naming shared libraries, and exclude the
11451 # DT_RUNPATH tag from executables and libraries. But doing so
11452 # requires that you compile everything twice, which is a pain.
11453 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11454 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11455 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11456 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11465 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11467 hardcode_direct
=yes
11468 hardcode_shlibpath_var
=no
11472 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11473 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11474 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11481 if test "$ld_shlibs" = no
; then
11483 hardcode_libdir_flag_spec
=
11484 export_dynamic_flag_spec
=
11485 whole_archive_flag_spec
=
11488 # PORTME fill in a description of your system's linker (not GNU ld)
11491 allow_undefined_flag
=unsupported
11492 always_export_symbols
=yes
11493 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'
11494 # Note: this linker hardcodes the directories in LIBPATH if there
11495 # are no directories specified by -L.
11496 hardcode_minus_L
=yes
11497 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11498 # Neither direct hardcoding nor static linking is supported with a
11500 hardcode_direct
=unsupported
11505 if test "$host_cpu" = ia64
; then
11506 # On IA64, the linker does run time linking by default, so we don't
11507 # have to do anything special.
11508 aix_use_runtimelinking
=no
11509 exp_sym_flag
='-Bexport'
11512 # If we're using GNU nm, then we don't want the "-C" option.
11513 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11514 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11515 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'
11517 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'
11519 aix_use_runtimelinking
=no
11521 # Test if we are trying to use run time linking or normal
11522 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11523 # need to do runtime linking.
11524 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11525 for ld_flag
in $LDFLAGS; do
11526 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11527 aix_use_runtimelinking
=yes
11534 exp_sym_flag
='-bexport'
11535 no_entry_flag
='-bnoentry'
11538 # When large executables or shared objects are built, AIX ld can
11539 # have problems creating the table of contents. If linking a library
11540 # or program results in "error TOC overflow" add -mminimal-toc to
11541 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11542 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11545 hardcode_direct
=yes
11546 hardcode_direct_absolute
=yes
11547 hardcode_libdir_separator
=':'
11548 link_all_deplibs
=yes
11549 file_list_spec
='${wl}-f,'
11551 if test "$GCC" = yes; then
11552 case $host_os in aix4.
[012]|aix4.
[012].
*)
11553 # We only want to do this on AIX 4.2 and lower, the check
11554 # below for broken collect2 doesn't work under 4.3+
11555 collect2name
=`${CC} -print-prog-name=collect2`
11556 if test -f "$collect2name" &&
11557 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11559 # We have reworked collect2
11562 # We have old collect2
11563 hardcode_direct
=unsupported
11564 # It fails to find uninstalled libraries when the uninstalled
11565 # path is not listed in the libpath. Setting hardcode_minus_L
11566 # to unsupported forces relinking
11567 hardcode_minus_L
=yes
11568 hardcode_libdir_flag_spec
='-L$libdir'
11569 hardcode_libdir_separator
=
11573 shared_flag
='-shared'
11574 if test "$aix_use_runtimelinking" = yes; then
11575 shared_flag
="$shared_flag "'${wl}-G'
11579 if test "$host_cpu" = ia64
; then
11580 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11581 # chokes on -Wl,-G. The following line is correct:
11584 if test "$aix_use_runtimelinking" = yes; then
11585 shared_flag
='${wl}-G'
11587 shared_flag
='${wl}-bM:SRE'
11592 export_dynamic_flag_spec
='${wl}-bexpall'
11593 # It seems that -bexpall does not export symbols beginning with
11594 # underscore (_), so it is better to generate a list of symbols to export.
11595 always_export_symbols
=yes
11596 if test "$aix_use_runtimelinking" = yes; then
11597 # Warning - without using the other runtime loading flags (-brtl),
11598 # -berok will link without error, but may produce a broken library.
11599 allow_undefined_flag
='-berok'
11600 # Determine the default libpath from the value encoded in an
11601 # empty executable.
11602 if test x
$gcc_no_link = xyes
; then
11603 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11616 if ac_fn_c_try_link
"$LINENO"; then :
11618 lt_aix_libpath_sed
='
11619 /Import File Strings/,/^$/ {
11625 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11626 # Check for a 64-bit object if we didn't find anything.
11627 if test -z "$aix_libpath"; then
11628 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11631 rm -f core conftest.err conftest.
$ac_objext \
11632 conftest
$ac_exeext conftest.
$ac_ext
11633 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11635 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11636 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"
11638 if test "$host_cpu" = ia64
; then
11639 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
11640 allow_undefined_flag
="-z nodefs"
11641 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"
11643 # Determine the default libpath from the value encoded in an
11644 # empty executable.
11645 if test x
$gcc_no_link = xyes
; then
11646 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11649 /* end confdefs.h. */
11659 if ac_fn_c_try_link
"$LINENO"; then :
11661 lt_aix_libpath_sed
='
11662 /Import File Strings/,/^$/ {
11668 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11669 # Check for a 64-bit object if we didn't find anything.
11670 if test -z "$aix_libpath"; then
11671 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11674 rm -f core conftest.err conftest.
$ac_objext \
11675 conftest
$ac_exeext conftest.
$ac_ext
11676 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11678 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11679 # Warning - without using the other run time loading flags,
11680 # -berok will link without error, but may produce a broken library.
11681 no_undefined_flag
=' ${wl}-bernotok'
11682 allow_undefined_flag
=' ${wl}-berok'
11683 # Exported symbols can be pulled into shared objects from archives
11684 whole_archive_flag_spec
='$convenience'
11685 archive_cmds_need_lc
=yes
11686 # This is similar to how AIX traditionally builds its shared libraries.
11687 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'
11695 # see comment about AmigaOS4 .so support
11696 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11697 archive_expsym_cmds
=''
11700 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)'
11701 hardcode_libdir_flag_spec
='-L$libdir'
11702 hardcode_minus_L
=yes
11708 export_dynamic_flag_spec
=-rdynamic
11711 cygwin
* | mingw
* | pw32
* | cegcc
*)
11712 # When not using gcc, we currently assume that we are using
11713 # Microsoft Visual C++.
11714 # hardcode_libdir_flag_spec is actually meaningless, as there is
11715 # no search path for DLLs.
11716 hardcode_libdir_flag_spec
=' '
11717 allow_undefined_flag
=unsupported
11718 # Tell ltmain to make .lib files, not .a files.
11720 # Tell ltmain to make .dll files, not .so files.
11722 # FIXME: Setting linknames here is a bad hack.
11723 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11724 # The linker will automatically build a .lib file if we build a DLL.
11725 old_archive_from_new_cmds
='true'
11726 # FIXME: Should let the user specify the lib program.
11727 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11728 fix_srcfile_path
='`cygpath -w "$srcfile"`'
11729 enable_shared_with_static_runtimes
=yes
11732 darwin
* | rhapsody
*)
11735 archive_cmds_need_lc
=no
11737 hardcode_automatic
=yes
11738 hardcode_shlibpath_var
=unsupported
11739 whole_archive_flag_spec
=''
11740 link_all_deplibs
=yes
11741 allow_undefined_flag
="$_lt_dar_allow_undefined"
11742 case $cc_basename in
11743 ifort
*) _lt_dar_can_shared
=yes ;;
11744 *) _lt_dar_can_shared
=$GCC ;;
11746 if test "$_lt_dar_can_shared" = "yes"; then
11747 output_verbose_link_cmd
=echo
11748 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11749 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11750 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}"
11751 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}"
11760 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11761 hardcode_libdir_flag_spec
='-L$libdir'
11762 hardcode_shlibpath_var
=no
11769 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11770 # support. Future versions do this automatically, but an explicit c++rt0.o
11771 # does not break anything, and helps significantly (at the cost of a little
11774 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11775 hardcode_libdir_flag_spec
='-R$libdir'
11776 hardcode_direct
=yes
11777 hardcode_shlibpath_var
=no
11780 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11782 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11783 hardcode_direct
=yes
11784 hardcode_minus_L
=yes
11785 hardcode_shlibpath_var
=no
11788 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11789 freebsd
* | dragonfly
*)
11790 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11791 hardcode_libdir_flag_spec
='-R$libdir'
11792 hardcode_direct
=yes
11793 hardcode_shlibpath_var
=no
11797 if test "$GCC" = yes; then
11798 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'
11800 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'
11802 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11803 hardcode_libdir_separator
=:
11804 hardcode_direct
=yes
11806 # hardcode_minus_L: Not really in the search PATH,
11807 # but as the default location of the library.
11808 hardcode_minus_L
=yes
11809 export_dynamic_flag_spec
='${wl}-E'
11813 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11814 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11816 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11818 if test "$with_gnu_ld" = no
; then
11819 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11820 hardcode_libdir_flag_spec_ld
='+b $libdir'
11821 hardcode_libdir_separator
=:
11822 hardcode_direct
=yes
11823 hardcode_direct_absolute
=yes
11824 export_dynamic_flag_spec
='${wl}-E'
11825 # hardcode_minus_L: Not really in the search PATH,
11826 # but as the default location of the library.
11827 hardcode_minus_L
=yes
11832 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11835 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11838 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11841 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11847 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11850 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11853 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11857 if test "$with_gnu_ld" = no
; then
11858 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11859 hardcode_libdir_separator
=:
11864 hardcode_shlibpath_var
=no
11867 hardcode_direct
=yes
11868 hardcode_direct_absolute
=yes
11869 export_dynamic_flag_spec
='${wl}-E'
11871 # hardcode_minus_L: Not really in the search PATH,
11872 # but as the default location of the library.
11873 hardcode_minus_L
=yes
11879 irix5
* | irix6
* | nonstopux
*)
11880 if test "$GCC" = yes; then
11881 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'
11882 # Try to use the -exported_symbol ld option, if it does not
11883 # work, assume that -exports_file does not work either and
11884 # implicitly export all symbols.
11885 save_LDFLAGS
="$LDFLAGS"
11886 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11887 if test x
$gcc_no_link = xyes
; then
11888 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11891 /* end confdefs.h. */
11894 if ac_fn_c_try_link
"$LINENO"; then :
11895 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'
11898 rm -f core conftest.err conftest.
$ac_objext \
11899 conftest
$ac_exeext conftest.
$ac_ext
11900 LDFLAGS
="$save_LDFLAGS"
11902 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'
11903 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'
11905 archive_cmds_need_lc
='no'
11906 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11907 hardcode_libdir_separator
=:
11909 link_all_deplibs
=yes
11913 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11914 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11916 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11918 hardcode_libdir_flag_spec
='-R$libdir'
11919 hardcode_direct
=yes
11920 hardcode_shlibpath_var
=no
11924 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11925 hardcode_direct
=yes
11926 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11927 hardcode_libdir_separator
=:
11928 hardcode_shlibpath_var
=no
11935 if test -f /usr
/libexec
/ld.so
; then
11936 hardcode_direct
=yes
11937 hardcode_shlibpath_var
=no
11938 hardcode_direct_absolute
=yes
11939 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11940 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11941 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11942 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11943 export_dynamic_flag_spec
='${wl}-E'
11946 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11947 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11948 hardcode_libdir_flag_spec
='-R$libdir'
11951 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11952 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11962 hardcode_libdir_flag_spec
='-L$libdir'
11963 hardcode_minus_L
=yes
11964 allow_undefined_flag
=unsupported
11965 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'
11966 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11970 if test "$GCC" = yes; then
11971 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11972 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'
11974 allow_undefined_flag
=' -expect_unresolved \*'
11975 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'
11977 archive_cmds_need_lc
='no'
11978 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11979 hardcode_libdir_separator
=:
11982 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11983 if test "$GCC" = yes; then
11984 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11985 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'
11986 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11988 allow_undefined_flag
=' -expect_unresolved \*'
11989 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'
11990 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~
11991 $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'
11993 # Both c and cxx compiler support -rpath directly
11994 hardcode_libdir_flag_spec
='-rpath $libdir'
11996 archive_cmds_need_lc
='no'
11997 hardcode_libdir_separator
=:
12001 no_undefined_flag
=' -z defs'
12002 if test "$GCC" = yes; then
12004 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12005 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12006 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12008 case `$CC -V 2>&1` in
12011 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12012 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12013 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12017 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12018 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12019 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12023 hardcode_libdir_flag_spec
='-R$libdir'
12024 hardcode_shlibpath_var
=no
12026 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12028 # The compiler driver will combine and reorder linker options,
12029 # but understands `-z linker_flag'. GCC discards it without `$wl',
12030 # but is careful enough not to reorder.
12031 # Supported since Solaris 2.6 (maybe 2.5.1?)
12032 if test "$GCC" = yes; then
12033 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12035 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12039 link_all_deplibs
=yes
12043 if test "x$host_vendor" = xsequent
; then
12044 # Use $CC to link under sequent, because it throws in some extra .o
12045 # files that make .init and .fini sections work.
12046 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12048 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12050 hardcode_libdir_flag_spec
='-L$libdir'
12051 hardcode_direct
=yes
12052 hardcode_minus_L
=yes
12053 hardcode_shlibpath_var
=no
12057 case $host_vendor in
12059 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12060 hardcode_direct
=yes # is this really true???
12063 ## LD is ld it makes a PLAMLIB
12064 ## CC just makes a GrossModule.
12065 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12066 reload_cmds
='$CC -r -o $output$reload_objs'
12070 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12071 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12074 runpath_var
='LD_RUN_PATH'
12075 hardcode_shlibpath_var
=no
12079 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12080 hardcode_shlibpath_var
=no
12081 export_dynamic_flag_spec
='-Bexport'
12085 if test -d /usr
/nec
; then
12086 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12087 hardcode_shlibpath_var
=no
12088 runpath_var
=LD_RUN_PATH
12089 hardcode_runpath_var
=yes
12094 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12095 no_undefined_flag
='${wl}-z,text'
12096 archive_cmds_need_lc
=no
12097 hardcode_shlibpath_var
=no
12098 runpath_var
='LD_RUN_PATH'
12100 if test "$GCC" = yes; then
12101 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12102 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12104 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12105 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12109 sysv5
* | sco3.2v5
* | sco5v6
*)
12110 # Note: We can NOT use -z defs as we might desire, because we do not
12111 # link with -lc, and that would cause any symbols used from libc to
12112 # always be unresolved, which means just about no library would
12113 # ever link correctly. If we're not using GNU ld we use -z text
12114 # though, which does catch some bad symbols but isn't as heavy-handed
12116 no_undefined_flag
='${wl}-z,text'
12117 allow_undefined_flag
='${wl}-z,nodefs'
12118 archive_cmds_need_lc
=no
12119 hardcode_shlibpath_var
=no
12120 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
12121 hardcode_libdir_separator
=':'
12122 link_all_deplibs
=yes
12123 export_dynamic_flag_spec
='${wl}-Bexport'
12124 runpath_var
='LD_RUN_PATH'
12126 if test "$GCC" = yes; then
12127 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12128 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12130 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12131 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12136 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12137 hardcode_libdir_flag_spec
='-L$libdir'
12138 hardcode_shlibpath_var
=no
12146 if test x
$host_vendor = xsni
; then
12148 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12149 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12156 $as_echo "$ld_shlibs" >&6; }
12157 test "$ld_shlibs" = no
&& can_build_shared
=no
12159 with_gnu_ld
=$with_gnu_ld
12176 # Do we need to explicitly link libc?
12178 case "x$archive_cmds_need_lc" in
12180 # Assume -lc should be added
12181 archive_cmds_need_lc
=yes
12183 if test "$enable_shared" = yes && test "$GCC" = yes; then
12184 case $archive_cmds in
12186 # FIXME: we may have to deal with multi-command sequences.
12189 # Test whether the compiler implicitly links with -lc since on some
12190 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12191 # to ld, don't add -lc before -lgcc.
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12193 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12194 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
12195 $as_echo_n "(cached) " >&6
12198 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12201 (eval $ac_compile) 2>&5
12203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12204 test $ac_status = 0; } 2>conftest.err
; then
12207 libobjs
=conftest.
$ac_objext
12209 wl
=$lt_prog_compiler_wl
12210 pic_flag
=$lt_prog_compiler_pic
12216 lt_save_allow_undefined_flag
=$allow_undefined_flag
12217 allow_undefined_flag
=
12218 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12219 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12222 test $ac_status = 0; }
12224 lt_cv_archive_cmds_need_lc
=no
12226 lt_cv_archive_cmds_need_lc
=yes
12228 allow_undefined_flag
=$lt_save_allow_undefined_flag
12230 cat conftest.err
1>&5
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12236 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12237 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12401 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12403 if test "$GCC" = yes; then
12405 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
12406 *) lt_awk_arg
="/^libraries:/" ;;
12408 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12409 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
12410 # if the path contains ";" then we assume it to be the separator
12411 # otherwise default to the standard path separator (i.e. ":") - it is
12412 # assumed that no part of a normal pathname contains ";" but that should
12413 # okay in the real world where ";" in dirpaths is itself problematic.
12414 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
12416 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12418 # Ok, now we have the path, separated by spaces, we can step through it
12419 # and add multilib dir if necessary.
12420 lt_tmp_lt_search_path_spec
=
12421 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12422 for lt_sys_path
in $lt_search_path_spec; do
12423 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12424 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12426 test -d "$lt_sys_path" && \
12427 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12430 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
12431 BEGIN {RS=" "; FS="/|\n";} {
12434 for (lt_i = NF; lt_i > 0; lt_i--) {
12435 if ($lt_i != "" && $lt_i != ".") {
12436 if ($lt_i == "..") {
12439 if (lt_count == 0) {
12440 lt_foo="/" $lt_i lt_foo;
12447 if (lt_foo != "") { lt_freq[lt_foo]++; }
12448 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12450 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
12452 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12454 library_names_spec
=
12455 libname_spec
='lib$name'
12459 postuninstall_cmds
=
12463 shlibpath_overrides_runpath
=unknown
12465 dynamic_linker
="$host_os ld.so"
12466 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12467 need_lib_prefix
=unknown
12468 hardcode_into_libs
=no
12470 # when you set need_version to no, make sure it does not cause -set_version
12471 # flags to be left without arguments
12472 need_version
=unknown
12477 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12478 shlibpath_var
=LIBPATH
12480 # AIX 3 has no versioning support, so we append a major version to the name.
12481 soname_spec
='${libname}${release}${shared_ext}$major'
12488 hardcode_into_libs
=yes
12489 if test "$host_cpu" = ia64
; then
12490 # AIX 5 supports IA64
12491 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12492 shlibpath_var
=LD_LIBRARY_PATH
12494 # With GCC up to 2.95.x, collect2 would create an import file
12495 # for dependence libraries. The import file would start with
12496 # the line `#! .'. This would cause the generated library to
12497 # depend on `.', always an invalid library. This was fixed in
12498 # development snapshots of GCC prior to 3.0.
12500 aix4 | aix4.
[01] | aix4.
[01].
*)
12501 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12503 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12506 can_build_shared
=no
12510 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12511 # soname into executable. Probably we can add versioning support to
12512 # collect2, so additional links can be useful in future.
12513 if test "$aix_use_runtimelinking" = yes; then
12514 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12515 # instead of lib<name>.a to let people know that these are not
12516 # typical AIX shared libraries.
12517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12519 # We preserve .a as extension for shared libraries through AIX4.2
12520 # and later when we are not doing run time linking.
12521 library_names_spec
='${libname}${release}.a $libname.a'
12522 soname_spec
='${libname}${release}${shared_ext}$major'
12524 shlibpath_var
=LIBPATH
12531 # Since July 2007 AmigaOS4 officially supports .so libraries.
12532 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12536 library_names_spec
='$libname.ixlibrary $libname.a'
12537 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12538 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'
12544 library_names_spec
='${libname}${shared_ext}'
12545 dynamic_linker
="$host_os ld.so"
12546 shlibpath_var
=LIBRARY_PATH
12552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12553 soname_spec
='${libname}${release}${shared_ext}$major'
12554 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12555 shlibpath_var
=LD_LIBRARY_PATH
12556 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12557 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12558 # the default ld.so.conf also contains /usr/contrib/lib and
12559 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12560 # libtool to hard-code these into programs
12563 cygwin
* | mingw
* | pw32
* | cegcc
*)
12564 version_type
=windows
12569 case $GCC,$host_os in
12570 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
12571 library_names_spec
='$libname.dll.a'
12572 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12573 postinstall_cmds
='base_file=`basename \${file}`~
12574 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12575 dldir=$destdir/`dirname \$dlpath`~
12576 test -d \$dldir || mkdir -p \$dldir~
12577 $install_prog $dir/$dlname \$dldir/$dlname~
12578 chmod a+x \$dldir/$dlname~
12579 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12580 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12582 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12583 dlpath=$dir/\$dldll~
12585 shlibpath_overrides_runpath
=yes
12589 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12590 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12591 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12594 # MinGW DLLs use traditional 'lib' prefix
12595 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12596 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12597 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12598 # It is most probably a Windows format PATH printed by
12599 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12600 # path with ; separators, and with drive letters. We can handle the
12601 # drive letters (cygwin fileutils understands them), so leave them,
12602 # especially as we might pass files found there to a mingw objdump,
12603 # which wouldn't understand a cygwinified path. Ahh.
12604 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12606 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12610 # pw32 DLLs use 'pw' prefix rather than 'lib'
12611 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12617 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12620 dynamic_linker
='Win32 ld.exe'
12621 # FIXME: first we should search . and the directory the executable is in
12625 darwin
* | rhapsody
*)
12626 dynamic_linker
="$host_os dyld"
12627 version_type
=darwin
12630 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12631 soname_spec
='${libname}${release}${major}$shared_ext'
12632 shlibpath_overrides_runpath
=yes
12633 shlibpath_var
=DYLD_LIBRARY_PATH
12634 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12636 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12637 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12645 soname_spec
='${libname}${release}${shared_ext}$major'
12646 shlibpath_var
=LD_LIBRARY_PATH
12653 freebsd
* | dragonfly
*)
12654 # DragonFly does not have aout. When/if they implement a new
12655 # versioning mechanism, adjust this.
12656 if test -x /usr
/bin
/objformat
; then
12657 objformat
=`/usr/bin/objformat`
12660 freebsd
[123]*) objformat
=aout
;;
12661 *) objformat
=elf
;;
12664 version_type
=freebsd-
$objformat
12665 case $version_type in
12667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12672 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12676 shlibpath_var
=LD_LIBRARY_PATH
12679 shlibpath_overrides_runpath
=yes
12681 freebsd3.
[01]* | freebsdelf3.
[01]*)
12682 shlibpath_overrides_runpath
=yes
12683 hardcode_into_libs
=yes
12685 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12686 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12687 shlibpath_overrides_runpath
=no
12688 hardcode_into_libs
=yes
12690 *) # from 4.6 on, and DragonFly
12691 shlibpath_overrides_runpath
=yes
12692 hardcode_into_libs
=yes
12701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12702 soname_spec
='${libname}${release}${shared_ext}$major'
12703 shlibpath_var
=LD_LIBRARY_PATH
12704 hardcode_into_libs
=yes
12707 hpux9
* | hpux10
* | hpux11
*)
12708 # Give a soname corresponding to the major version so that dld.sl refuses to
12709 # link against other versions.
12716 hardcode_into_libs
=yes
12717 dynamic_linker
="$host_os dld.so"
12718 shlibpath_var
=LD_LIBRARY_PATH
12719 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12721 soname_spec
='${libname}${release}${shared_ext}$major'
12722 if test "X$HPUX_IA64_MODE" = X32
; then
12723 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12725 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12727 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12731 hardcode_into_libs
=yes
12732 dynamic_linker
="$host_os dld.sl"
12733 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12734 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12736 soname_spec
='${libname}${release}${shared_ext}$major'
12737 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12738 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12742 dynamic_linker
="$host_os dld.sl"
12743 shlibpath_var
=SHLIB_PATH
12744 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12746 soname_spec
='${libname}${release}${shared_ext}$major'
12749 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12750 postinstall_cmds
='chmod 555 $lib'
12757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12758 soname_spec
='${libname}${release}${shared_ext}$major'
12759 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12760 shlibpath_var
=LD_LIBRARY_PATH
12761 shlibpath_overrides_runpath
=no
12762 hardcode_into_libs
=yes
12765 irix5
* | irix6
* | nonstopux
*)
12767 nonstopux
*) version_type
=nonstopux
;;
12769 if test "$lt_cv_prog_gnu_ld" = yes; then
12777 soname_spec
='${libname}${release}${shared_ext}$major'
12778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12780 irix5
* | nonstopux
*)
12781 libsuff
= shlibsuff
=
12784 case $LD in # libtool.m4 will add one of these switches to LD
12785 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12786 libsuff
= shlibsuff
= libmagic
=32-bit;;
12787 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12788 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12789 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12790 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12791 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12795 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12796 shlibpath_overrides_runpath
=no
12797 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12798 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12799 hardcode_into_libs
=yes
12802 # No shared lib support for Linux oldld, aout, or coff.
12803 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12807 # This must be Linux ELF.
12808 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12813 soname_spec
='${libname}${release}${shared_ext}$major'
12814 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12815 shlibpath_var
=LD_LIBRARY_PATH
12816 shlibpath_overrides_runpath
=no
12818 # Some binutils ld are patched to set DT_RUNPATH
12819 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
12820 $as_echo_n "(cached) " >&6
12822 lt_cv_shlibpath_overrides_runpath
=no
12823 save_LDFLAGS
=$LDFLAGS
12824 save_libdir
=$libdir
12825 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12826 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12827 if test x
$gcc_no_link = xyes
; then
12828 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12831 /* end confdefs.h. */
12841 if ac_fn_c_try_link
"$LINENO"; then :
12842 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12843 lt_cv_shlibpath_overrides_runpath
=yes
12846 rm -f core conftest.err conftest.
$ac_objext \
12847 conftest
$ac_exeext conftest.
$ac_ext
12848 LDFLAGS
=$save_LDFLAGS
12849 libdir
=$save_libdir
12853 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12855 # This implies no fast_install, which is unacceptable.
12856 # Some rework will be needed to allow for fast_install
12857 # before this can be enabled.
12858 hardcode_into_libs
=yes
12860 # Append ld.so.conf contents to the search path
12861 if test -f /etc
/ld.so.conf
; then
12862 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' ' '`
12863 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12866 # We used to test for /lib/ld.so.1 and disable shared libraries on
12867 # powerpc, because MkLinux only supported shared libraries with the
12868 # GNU dynamic linker. Since this was broken with cross compilers,
12869 # most powerpc-linux boxes support dynamic linking these days and
12870 # people can always --disable-shared, the test was removed, and we
12871 # assume the GNU/Linux dynamic linker is in use.
12872 dynamic_linker
='GNU/Linux ld.so'
12879 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12881 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12882 dynamic_linker
='NetBSD (a.out) ld.so'
12884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12885 soname_spec
='${libname}${release}${shared_ext}$major'
12886 dynamic_linker
='NetBSD ld.elf_so'
12888 shlibpath_var
=LD_LIBRARY_PATH
12889 shlibpath_overrides_runpath
=yes
12890 hardcode_into_libs
=yes
12895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12896 shlibpath_var
=LD_LIBRARY_PATH
12897 shlibpath_overrides_runpath
=yes
12904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12905 soname_spec
='${libname}${release}${shared_ext}$major'
12906 shlibpath_var
=LD_LIBRARY_PATH
12907 shlibpath_overrides_runpath
=no
12908 hardcode_into_libs
=yes
12909 dynamic_linker
='ldqnx.so'
12914 sys_lib_dlsearch_path_spec
="/usr/lib"
12916 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12918 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12919 *) need_version
=no
;;
12921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12922 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12923 shlibpath_var
=LD_LIBRARY_PATH
12924 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12926 openbsd2.
[89] | openbsd2.
[89].
*)
12927 shlibpath_overrides_runpath
=no
12930 shlibpath_overrides_runpath
=yes
12934 shlibpath_overrides_runpath
=yes
12939 libname_spec
='$name'
12942 library_names_spec
='$libname${shared_ext} $libname.a'
12943 dynamic_linker
='OS/2 ld.exe'
12944 shlibpath_var
=LIBPATH
12947 osf3
* | osf4
* | osf5
*)
12951 soname_spec
='${libname}${release}${shared_ext}$major'
12952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12953 shlibpath_var
=LD_LIBRARY_PATH
12954 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12955 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12967 soname_spec
='${libname}${release}${shared_ext}$major'
12968 shlibpath_var
=LD_LIBRARY_PATH
12969 shlibpath_overrides_runpath
=yes
12970 hardcode_into_libs
=yes
12971 # ldd complains unless libraries are executable
12972 postinstall_cmds
='chmod +x $lib'
12977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12978 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12979 shlibpath_var
=LD_LIBRARY_PATH
12980 shlibpath_overrides_runpath
=yes
12981 if test "$with_gnu_ld" = yes; then
12989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12990 soname_spec
='${libname}${release}${shared_ext}$major'
12991 shlibpath_var
=LD_LIBRARY_PATH
12992 case $host_vendor in
12994 shlibpath_overrides_runpath
=no
12996 runpath_var
=LD_RUN_PATH
13004 shlibpath_overrides_runpath
=no
13005 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13011 if test -d /usr
/nec
;then
13013 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13014 soname_spec
='$libname${shared_ext}.$major'
13015 shlibpath_var
=LD_LIBRARY_PATH
13019 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13020 version_type
=freebsd-elf
13023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13024 soname_spec
='${libname}${release}${shared_ext}$major'
13025 shlibpath_var
=LD_LIBRARY_PATH
13026 shlibpath_overrides_runpath
=yes
13027 hardcode_into_libs
=yes
13028 if test "$with_gnu_ld" = yes; then
13029 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13031 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13034 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13038 sys_lib_dlsearch_path_spec
='/usr/lib'
13042 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13047 shlibpath_var
=LD_LIBRARY_PATH
13048 shlibpath_overrides_runpath
=no
13049 hardcode_into_libs
=yes
13054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13055 soname_spec
='${libname}${release}${shared_ext}$major'
13056 shlibpath_var
=LD_LIBRARY_PATH
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13064 $as_echo "$dynamic_linker" >&6; }
13065 test "$dynamic_linker" = no
&& can_build_shared
=no
13067 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13068 if test "$GCC" = yes; then
13069 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13072 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13073 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13075 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13076 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13166 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13168 if test -n "$hardcode_libdir_flag_spec" ||
13169 test -n "$runpath_var" ||
13170 test "X$hardcode_automatic" = "Xyes" ; then
13172 # We can hardcode non-existent directories.
13173 if test "$hardcode_direct" != no
&&
13174 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13175 # have to relink, otherwise we might link with an installed library
13176 # when we should be linking with a yet-to-be-installed one
13177 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13178 test "$hardcode_minus_L" != no
; then
13179 # Linking always hardcodes the temporary library directory.
13180 hardcode_action
=relink
13182 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13183 hardcode_action
=immediate
13186 # We cannot hardcode anything, or else we can only hardcode existing
13188 hardcode_action
=unsupported
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13191 $as_echo "$hardcode_action" >&6; }
13193 if test "$hardcode_action" = relink ||
13194 test "$inherit_rpath" = yes; then
13195 # Fast installation is not supported
13196 enable_fast_install
=no
13197 elif test "$shlibpath_overrides_runpath" = yes ||
13198 test "$enable_shared" = no
; then
13199 # Fast installation is not necessary
13200 enable_fast_install
=needless
13208 if test "x$enable_dlopen" != xyes
; then
13209 enable_dlopen
=unknown
13210 enable_dlopen_self
=unknown
13211 enable_dlopen_self_static
=unknown
13218 lt_cv_dlopen
="load_add_on"
13220 lt_cv_dlopen_self
=yes
13223 mingw
* | pw32
* | cegcc
*)
13224 lt_cv_dlopen
="LoadLibrary"
13229 lt_cv_dlopen
="dlopen"
13234 # if libdl is installed we need to link against it
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13236 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13237 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13238 $as_echo_n "(cached) " >&6
13240 ac_check_lib_save_LIBS
=$LIBS
13242 if test x
$gcc_no_link = xyes
; then
13243 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13248 /* Override any GCC internal prototype to avoid an error.
13249 Use char because int might match the return type of a GCC
13250 builtin and then its argument prototype would still apply. */
13263 if ac_fn_c_try_link
"$LINENO"; then :
13264 ac_cv_lib_dl_dlopen
=yes
13266 ac_cv_lib_dl_dlopen
=no
13268 rm -f core conftest.err conftest.
$ac_objext \
13269 conftest
$ac_exeext conftest.
$ac_ext
13270 LIBS
=$ac_check_lib_save_LIBS
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13273 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13274 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13275 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13278 lt_cv_dlopen
="dyld"
13280 lt_cv_dlopen_self
=yes
13287 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13288 if test "x$ac_cv_func_shl_load" = x
""yes; then :
13289 lt_cv_dlopen
="shl_load"
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13292 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13293 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
13294 $as_echo_n "(cached) " >&6
13296 ac_check_lib_save_LIBS
=$LIBS
13298 if test x
$gcc_no_link = xyes
; then
13299 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13304 /* Override any GCC internal prototype to avoid an error.
13305 Use char because int might match the return type of a GCC
13306 builtin and then its argument prototype would still apply. */
13314 return shl_load ();
13319 if ac_fn_c_try_link
"$LINENO"; then :
13320 ac_cv_lib_dld_shl_load
=yes
13322 ac_cv_lib_dld_shl_load
=no
13324 rm -f core conftest.err conftest.
$ac_objext \
13325 conftest
$ac_exeext conftest.
$ac_ext
13326 LIBS
=$ac_check_lib_save_LIBS
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13329 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13330 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
13331 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
13333 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13334 if test "x$ac_cv_func_dlopen" = x
""yes; then :
13335 lt_cv_dlopen
="dlopen"
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13338 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13339 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13340 $as_echo_n "(cached) " >&6
13342 ac_check_lib_save_LIBS
=$LIBS
13344 if test x
$gcc_no_link = xyes
; then
13345 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13348 /* end confdefs.h. */
13350 /* Override any GCC internal prototype to avoid an error.
13351 Use char because int might match the return type of a GCC
13352 builtin and then its argument prototype would still apply. */
13365 if ac_fn_c_try_link
"$LINENO"; then :
13366 ac_cv_lib_dl_dlopen
=yes
13368 ac_cv_lib_dl_dlopen
=no
13370 rm -f core conftest.err conftest.
$ac_objext \
13371 conftest
$ac_exeext conftest.
$ac_ext
13372 LIBS
=$ac_check_lib_save_LIBS
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13375 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13376 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13377 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13380 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13381 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
13382 $as_echo_n "(cached) " >&6
13384 ac_check_lib_save_LIBS
=$LIBS
13385 LIBS
="-lsvld $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_svld_dlopen
=yes
13410 ac_cv_lib_svld_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_svld_dlopen" >&5
13417 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13418 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
13419 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13422 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13423 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
13424 $as_echo_n "(cached) " >&6
13426 ac_check_lib_save_LIBS
=$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. */
13444 return dld_link ();
13449 if ac_fn_c_try_link
"$LINENO"; then :
13450 ac_cv_lib_dld_dld_link
=yes
13452 ac_cv_lib_dld_dld_link
=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_dld_dld_link" >&5
13459 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13460 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
13461 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13482 if test "x$lt_cv_dlopen" != xno
; then
13488 case $lt_cv_dlopen in
13490 save_CPPFLAGS
="$CPPFLAGS"
13491 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13493 save_LDFLAGS
="$LDFLAGS"
13494 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13497 LIBS
="$lt_cv_dlopen_libs $LIBS"
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13500 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13501 if test "${lt_cv_dlopen_self+set}" = set; then :
13502 $as_echo_n "(cached) " >&6
13504 if test "$cross_compiling" = yes; then :
13505 lt_cv_dlopen_self
=cross
13507 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13508 lt_status
=$lt_dlunknown
13509 cat > conftest.
$ac_ext <<_LT_EOF
13510 #line 13510 "configure"
13511 #include "confdefs.h"
13520 # define LT_DLGLOBAL RTLD_GLOBAL
13523 # define LT_DLGLOBAL DL_GLOBAL
13525 # define LT_DLGLOBAL 0
13529 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13530 find out it does not work in some platform. */
13531 #ifndef LT_DLLAZY_OR_NOW
13533 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13536 # define LT_DLLAZY_OR_NOW DL_LAZY
13539 # define LT_DLLAZY_OR_NOW RTLD_NOW
13542 # define LT_DLLAZY_OR_NOW DL_NOW
13544 # define LT_DLLAZY_OR_NOW 0
13551 void fnord() { int i=42;}
13554 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13555 int status = $lt_dlunknown;
13559 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13560 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13561 /* dlclose (self); */
13569 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13570 (eval $ac_link) 2>&5
13572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13573 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13574 (.
/conftest
; exit; ) >&5 2>/dev
/null
13576 case x
$lt_status in
13577 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13578 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13579 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13582 # compilation failed
13583 lt_cv_dlopen_self
=no
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13591 $as_echo "$lt_cv_dlopen_self" >&6; }
13593 if test "x$lt_cv_dlopen_self" = xyes
; then
13594 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13596 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13597 if test "${lt_cv_dlopen_self_static+set}" = set; then :
13598 $as_echo_n "(cached) " >&6
13600 if test "$cross_compiling" = yes; then :
13601 lt_cv_dlopen_self_static
=cross
13603 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13604 lt_status
=$lt_dlunknown
13605 cat > conftest.
$ac_ext <<_LT_EOF
13606 #line 13606 "configure"
13607 #include "confdefs.h"
13616 # define LT_DLGLOBAL RTLD_GLOBAL
13619 # define LT_DLGLOBAL DL_GLOBAL
13621 # define LT_DLGLOBAL 0
13625 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13626 find out it does not work in some platform. */
13627 #ifndef LT_DLLAZY_OR_NOW
13629 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13632 # define LT_DLLAZY_OR_NOW DL_LAZY
13635 # define LT_DLLAZY_OR_NOW RTLD_NOW
13638 # define LT_DLLAZY_OR_NOW DL_NOW
13640 # define LT_DLLAZY_OR_NOW 0
13647 void fnord() { int i=42;}
13650 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13651 int status = $lt_dlunknown;
13655 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13656 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13657 /* dlclose (self); */
13665 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13666 (eval $ac_link) 2>&5
13668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13669 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13670 (.
/conftest
; exit; ) >&5 2>/dev
/null
13672 case x
$lt_status in
13673 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13674 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13675 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13678 # compilation failed
13679 lt_cv_dlopen_self_static
=no
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13687 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13690 CPPFLAGS
="$save_CPPFLAGS"
13691 LDFLAGS
="$save_LDFLAGS"
13696 case $lt_cv_dlopen_self in
13697 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13698 *) enable_dlopen_self
=unknown
;;
13701 case $lt_cv_dlopen_self_static in
13702 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13703 *) enable_dlopen_self_static
=unknown
;;
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13726 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13727 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13728 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13729 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13731 $as_echo "yes" >&6; }
13733 # FIXME - insert some real tests, host_os isn't really good enough
13736 if test -n "$STRIP" ; then
13737 striplib
="$STRIP -x"
13738 old_striplib
="$STRIP -S"
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13740 $as_echo "yes" >&6; }
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13743 $as_echo "no" >&6; }
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13748 $as_echo "no" >&6; }
13764 # Report which library types will actually be built
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13766 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13768 $as_echo "$can_build_shared" >&6; }
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13771 $as_echo_n "checking whether to build shared libraries... " >&6; }
13772 test "$can_build_shared" = "no" && enable_shared
=no
13774 # On AIX, shared libraries and static libraries use the same namespace, and
13775 # are all built from PIC.
13778 test "$enable_shared" = yes && enable_static
=no
13779 if test -n "$RANLIB"; then
13780 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13781 postinstall_cmds
='$RANLIB $lib'
13786 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13787 test "$enable_shared" = yes && enable_static
=no
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13792 $as_echo "$enable_shared" >&6; }
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13795 $as_echo_n "checking whether to build static libraries... " >&6; }
13796 # Make sure either enable_shared or enable_static is yes.
13797 test "$enable_shared" = yes || enable_static
=yes
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13799 $as_echo "$enable_static" >&6; }
13806 ac_cpp
='$CPP $CPPFLAGS'
13807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13815 ac_cpp
='$CXXCPP $CPPFLAGS'
13816 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13817 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13818 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13820 archive_cmds_need_lc_CXX
=no
13821 allow_undefined_flag_CXX
=
13822 always_export_symbols_CXX
=no
13823 archive_expsym_cmds_CXX
=
13824 compiler_needs_object_CXX
=no
13825 export_dynamic_flag_spec_CXX
=
13826 hardcode_direct_CXX
=no
13827 hardcode_direct_absolute_CXX
=no
13828 hardcode_libdir_flag_spec_CXX
=
13829 hardcode_libdir_flag_spec_ld_CXX
=
13830 hardcode_libdir_separator_CXX
=
13831 hardcode_minus_L_CXX
=no
13832 hardcode_shlibpath_var_CXX
=unsupported
13833 hardcode_automatic_CXX
=no
13834 inherit_rpath_CXX
=no
13836 module_expsym_cmds_CXX
=
13837 link_all_deplibs_CXX
=unknown
13838 old_archive_cmds_CXX
=$old_archive_cmds
13839 no_undefined_flag_CXX
=
13840 whole_archive_flag_spec_CXX
=
13841 enable_shared_with_static_runtimes_CXX
=no
13843 # Source file extension for C++ test sources.
13846 # Object file extension for compiled C++ test sources.
13850 # No sense in running all these tests if we already determined that
13851 # the CXX compiler isn't working. Some variables (like enable_shared)
13852 # are currently assumed to apply to all compilers on this platform,
13853 # and will be corrupted by setting them based on a non-working compiler.
13854 if test "$_lt_caught_CXX_error" != yes; then
13855 # Code to be used in simple compile tests
13856 lt_simple_compile_test_code
="int some_variable = 0;"
13858 # Code to be used in simple link tests
13859 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13861 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13868 # If no C compiler was specified, use CC.
13871 # If no C compiler flags were specified, use CFLAGS.
13872 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13874 # Allow CC to be a program name with arguments.
13878 # save warnings/boilerplate of simple test code
13879 ac_outfile
=conftest.
$ac_objext
13880 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13881 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13882 _lt_compiler_boilerplate
=`cat conftest.err`
13885 ac_outfile
=conftest.
$ac_objext
13886 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13887 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13888 _lt_linker_boilerplate
=`cat conftest.err`
13892 # Allow CC to be a program name with arguments.
13897 lt_save_with_gnu_ld
=$with_gnu_ld
13898 lt_save_path_LD
=$lt_cv_path_LD
13899 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13900 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13902 $as_unset lt_cv_prog_gnu_ld
13904 if test -n "${lt_cv_path_LDCXX+set}"; then
13905 lt_cv_path_LD
=$lt_cv_path_LDCXX
13907 $as_unset lt_cv_path_LD
13909 test -z "${LDCXX+set}" || LD
=$LDCXX
13913 for cc_temp
in $compiler""; do
13915 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13916 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13921 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13924 if test -n "$compiler"; then
13925 # We don't want -fno-exception when compiling C++ code, so set the
13926 # no_builtin_flag separately
13927 if test "$GXX" = yes; then
13928 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13930 lt_prog_compiler_no_builtin_flag_CXX
=
13933 if test "$GXX" = yes; then
13934 # Set up default GNU C++ configuration
13938 # Check whether --with-gnu-ld was given.
13939 if test "${with_gnu_ld+set}" = set; then :
13940 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13946 if test "$GCC" = yes; then
13947 # Check if gcc -print-prog-name=ld gives a path.
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13949 $as_echo_n "checking for ld used by $CC... " >&6; }
13952 # gcc leaves a trailing carriage return which upsets mingw
13953 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13955 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13958 # Accept absolute paths.
13960 re_direlt
='/[^/][^/]*/\.\./'
13961 # Canonicalize the pathname of ld
13962 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13963 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13964 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13966 test -z "$LD" && LD
="$ac_prog"
13969 # If it fails, then pretend we aren't using GCC.
13973 # If it is relative, then search for the first ld in PATH.
13974 with_gnu_ld
=unknown
13977 elif test "$with_gnu_ld" = yes; then
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13979 $as_echo_n "checking for GNU ld... " >&6; }
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13982 $as_echo_n "checking for non-GNU ld... " >&6; }
13984 if test "${lt_cv_path_LD+set}" = set; then :
13985 $as_echo_n "(cached) " >&6
13987 if test -z "$LD"; then
13988 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13989 for ac_dir
in $PATH; do
13991 test -z "$ac_dir" && ac_dir
=.
13992 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13993 lt_cv_path_LD
="$ac_dir/$ac_prog"
13994 # Check to see if the program is GNU ld. I'd rather use --version,
13995 # but apparently some variants of GNU ld only accept -v.
13996 # Break only if it was the GNU/non-GNU ld that we prefer.
13997 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13998 *GNU
* |
*'with BFD'*)
13999 test "$with_gnu_ld" != no
&& break
14002 test "$with_gnu_ld" != yes && break
14009 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
14013 LD
="$lt_cv_path_LD"
14014 if test -n "$LD"; then
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14016 $as_echo "$LD" >&6; }
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14019 $as_echo "no" >&6; }
14021 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14023 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14024 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14025 $as_echo_n "(cached) " >&6
14027 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14028 case `$LD -v 2>&1 </dev/null` in
14029 *GNU
* |
*'with BFD'*)
14030 lt_cv_prog_gnu_ld
=yes
14033 lt_cv_prog_gnu_ld
=no
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14038 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14039 with_gnu_ld
=$lt_cv_prog_gnu_ld
14047 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14048 # archiving commands below assume that GNU ld is being used.
14049 if test "$with_gnu_ld" = yes; then
14050 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14051 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'
14053 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14054 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14056 # If archive_cmds runs LD, not CC, wlarc should be empty
14057 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14058 # investigate it a little bit more. (MM)
14061 # ancient GNU ld didn't support --whole-archive et. al.
14062 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14063 $GREP 'no-whole-archive' > /dev
/null
; then
14064 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14066 whole_archive_flag_spec_CXX
=
14072 # A generic and very simple default shared library creation
14073 # command for GNU C++ for the case where it uses the native
14074 # linker, instead of GNU ld. If possible, this setting should
14075 # overridden to take advantage of the native linker features on
14076 # the platform it is being used on.
14077 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14080 # Commands to make compiler produce verbose output that lists
14081 # what "hidden" libraries, object files and flags are used when
14082 # linking a shared library.
14083 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
14091 # PORTME: fill in a description of your system's C++ link characteristics
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14093 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14097 # FIXME: insert proper C++ library support
14101 if test "$host_cpu" = ia64
; then
14102 # On IA64, the linker does run time linking by default, so we don't
14103 # have to do anything special.
14104 aix_use_runtimelinking
=no
14105 exp_sym_flag
='-Bexport'
14108 aix_use_runtimelinking
=no
14110 # Test if we are trying to use run time linking or normal
14111 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14112 # need to do runtime linking.
14113 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14114 for ld_flag
in $LDFLAGS; do
14117 aix_use_runtimelinking
=yes
14125 exp_sym_flag
='-bexport'
14126 no_entry_flag
='-bnoentry'
14129 # When large executables or shared objects are built, AIX ld can
14130 # have problems creating the table of contents. If linking a library
14131 # or program results in "error TOC overflow" add -mminimal-toc to
14132 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14133 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14135 archive_cmds_CXX
=''
14136 hardcode_direct_CXX
=yes
14137 hardcode_direct_absolute_CXX
=yes
14138 hardcode_libdir_separator_CXX
=':'
14139 link_all_deplibs_CXX
=yes
14140 file_list_spec_CXX
='${wl}-f,'
14142 if test "$GXX" = yes; then
14143 case $host_os in aix4.
[012]|aix4.
[012].
*)
14144 # We only want to do this on AIX 4.2 and lower, the check
14145 # below for broken collect2 doesn't work under 4.3+
14146 collect2name
=`${CC} -print-prog-name=collect2`
14147 if test -f "$collect2name" &&
14148 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14150 # We have reworked collect2
14153 # We have old collect2
14154 hardcode_direct_CXX
=unsupported
14155 # It fails to find uninstalled libraries when the uninstalled
14156 # path is not listed in the libpath. Setting hardcode_minus_L
14157 # to unsupported forces relinking
14158 hardcode_minus_L_CXX
=yes
14159 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14160 hardcode_libdir_separator_CXX
=
14163 shared_flag
='-shared'
14164 if test "$aix_use_runtimelinking" = yes; then
14165 shared_flag
="$shared_flag "'${wl}-G'
14169 if test "$host_cpu" = ia64
; then
14170 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14171 # chokes on -Wl,-G. The following line is correct:
14174 if test "$aix_use_runtimelinking" = yes; then
14175 shared_flag
='${wl}-G'
14177 shared_flag
='${wl}-bM:SRE'
14182 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14183 # It seems that -bexpall does not export symbols beginning with
14184 # underscore (_), so it is better to generate a list of symbols to
14186 always_export_symbols_CXX
=yes
14187 if test "$aix_use_runtimelinking" = yes; then
14188 # Warning - without using the other runtime loading flags (-brtl),
14189 # -berok will link without error, but may produce a broken library.
14190 allow_undefined_flag_CXX
='-berok'
14191 # Determine the default libpath from the value encoded in an empty
14193 if test x
$gcc_no_link = xyes
; then
14194 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14207 if ac_fn_cxx_try_link
"$LINENO"; then :
14209 lt_aix_libpath_sed
='
14210 /Import File Strings/,/^$/ {
14216 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14217 # Check for a 64-bit object if we didn't find anything.
14218 if test -z "$aix_libpath"; then
14219 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14222 rm -f core conftest.err conftest.
$ac_objext \
14223 conftest
$ac_exeext conftest.
$ac_ext
14224 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14226 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14228 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"
14230 if test "$host_cpu" = ia64
; then
14231 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14232 allow_undefined_flag_CXX
="-z nodefs"
14233 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"
14235 # Determine the default libpath from the value encoded in an
14236 # empty executable.
14237 if test x
$gcc_no_link = xyes
; then
14238 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14251 if ac_fn_cxx_try_link
"$LINENO"; then :
14253 lt_aix_libpath_sed
='
14254 /Import File Strings/,/^$/ {
14260 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14261 # Check for a 64-bit object if we didn't find anything.
14262 if test -z "$aix_libpath"; then
14263 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14266 rm -f core conftest.err conftest.
$ac_objext \
14267 conftest
$ac_exeext conftest.
$ac_ext
14268 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14270 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14271 # Warning - without using the other run time loading flags,
14272 # -berok will link without error, but may produce a broken library.
14273 no_undefined_flag_CXX
=' ${wl}-bernotok'
14274 allow_undefined_flag_CXX
=' ${wl}-berok'
14275 # Exported symbols can be pulled into shared objects from archives
14276 whole_archive_flag_spec_CXX
='$convenience'
14277 archive_cmds_need_lc_CXX
=yes
14278 # This is similar to how AIX traditionally builds its shared
14280 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'
14286 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14287 allow_undefined_flag_CXX
=unsupported
14288 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14289 # support --undefined. This deserves some investigation. FIXME
14290 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14297 case $cc_basename in
14299 # FIXME: insert proper C++ library support
14305 cygwin
* | mingw
* | pw32
* | cegcc
*)
14306 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14307 # as there is no search path for DLLs.
14308 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14309 allow_undefined_flag_CXX
=unsupported
14310 always_export_symbols_CXX
=no
14311 enable_shared_with_static_runtimes_CXX
=yes
14313 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14314 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'
14315 # If the export-symbols file already is a .def file (1st line
14316 # is EXPORTS), use it as is; otherwise, prepend...
14317 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14318 cp $export_symbols $output_objdir/$soname.def;
14320 echo EXPORTS > $output_objdir/$soname.def;
14321 cat $export_symbols >> $output_objdir/$soname.def;
14323 $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'
14328 darwin
* | rhapsody
*)
14331 archive_cmds_need_lc_CXX
=no
14332 hardcode_direct_CXX
=no
14333 hardcode_automatic_CXX
=yes
14334 hardcode_shlibpath_var_CXX
=unsupported
14335 whole_archive_flag_spec_CXX
=''
14336 link_all_deplibs_CXX
=yes
14337 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14338 case $cc_basename in
14339 ifort
*) _lt_dar_can_shared
=yes ;;
14340 *) _lt_dar_can_shared
=$GCC ;;
14342 if test "$_lt_dar_can_shared" = "yes"; then
14343 output_verbose_link_cmd
=echo
14344 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}"
14345 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14346 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}"
14347 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}"
14348 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14349 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}"
14350 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}"
14360 case $cc_basename in
14362 # FIXME: insert proper C++ library support
14366 # Green Hills C++ Compiler
14367 # FIXME: insert proper C++ library support
14371 # FIXME: insert proper C++ library support
14378 # C++ shared libraries reported to be fairly broken before
14384 archive_cmds_need_lc_CXX
=no
14387 freebsd
* | dragonfly
*)
14388 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14397 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14398 hardcode_libdir_separator_CXX
=:
14399 export_dynamic_flag_spec_CXX
='${wl}-E'
14400 hardcode_direct_CXX
=yes
14401 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14402 # but as the default
14403 # location of the library.
14405 case $cc_basename in
14407 # FIXME: insert proper C++ library support
14411 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'
14412 # Commands to make compiler produce verbose output that lists
14413 # what "hidden" libraries, object files and flags are used when
14414 # linking a shared library.
14416 # There doesn't appear to be a way to prevent this compiler from
14417 # explicitly linking system object files so we need to strip them
14418 # from the output so that they don't get included in the library
14420 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'
14423 if test "$GXX" = yes; then
14424 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'
14426 # FIXME: insert proper C++ library support
14434 if test $with_gnu_ld = no
; then
14435 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14436 hardcode_libdir_separator_CXX
=:
14442 export_dynamic_flag_spec_CXX
='${wl}-E'
14448 hardcode_direct_CXX
=no
14449 hardcode_shlibpath_var_CXX
=no
14452 hardcode_direct_CXX
=yes
14453 hardcode_direct_absolute_CXX
=yes
14454 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14455 # but as the default
14456 # location of the library.
14460 case $cc_basename in
14462 # FIXME: insert proper C++ library support
14468 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14471 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14474 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14477 # Commands to make compiler produce verbose output that lists
14478 # what "hidden" libraries, object files and flags are used when
14479 # linking a shared library.
14481 # There doesn't appear to be a way to prevent this compiler from
14482 # explicitly linking system object files so we need to strip them
14483 # from the output so that they don't get included in the library
14485 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'
14488 if test "$GXX" = yes; then
14489 if test $with_gnu_ld = no
; then
14492 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14495 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14498 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'
14503 # FIXME: insert proper C++ library support
14511 hardcode_direct_CXX
=no
14512 hardcode_shlibpath_var_CXX
=no
14513 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14514 export_dynamic_flag_spec_CXX
='${wl}-E'
14515 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14516 # Instead, shared libraries are loaded at an image base (0x10000000 by
14517 # default) and relocated if they conflict, which is a slow very memory
14518 # consuming and fragmenting process. To avoid this, we pick a random,
14519 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14520 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14521 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'
14522 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'
14525 case $cc_basename in
14528 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'
14530 # Archives containing C++ object files must be created using
14531 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14532 # necessary to make sure instantiated templates are included
14534 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14537 if test "$GXX" = yes; then
14538 if test "$with_gnu_ld" = no
; then
14539 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'
14541 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'
14544 link_all_deplibs_CXX
=yes
14547 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14548 hardcode_libdir_separator_CXX
=:
14549 inherit_rpath_CXX
=yes
14552 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14553 case $cc_basename in
14555 # Kuck and Associates, Inc. (KAI) C++ Compiler
14557 # KCC will only create a shared library if the output file
14558 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14559 # to its proper name (with version) after linking.
14560 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'
14561 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'
14562 # Commands to make compiler produce verbose output that lists
14563 # what "hidden" libraries, object files and flags are used when
14564 # linking a shared library.
14566 # There doesn't appear to be a way to prevent this compiler from
14567 # explicitly linking system object files so we need to strip them
14568 # from the output so that they don't get included in the library
14570 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'
14572 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14573 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14575 # Archives containing C++ object files must be created using
14576 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14577 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14582 # version 8.0 and above of icpc choke on multiply defined symbols
14583 # if we add $predep_objects and $postdep_objects, however 7.1 and
14584 # earlier do not add the objects themselves.
14585 case `$CC -V 2>&1` in
14587 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14588 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'
14590 *) # Version 8.0 or newer
14593 ia64
*) tmp_idyn
=' -i_dynamic';;
14595 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14596 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'
14599 archive_cmds_need_lc_CXX
=no
14600 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14601 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14602 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14605 # Portland Group C++ compiler
14607 *pgCC\
[1-5]* |
*pgcpp\
[1-5]*)
14608 prelink_cmds_CXX
='tpldir=Template.dir~
14610 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14611 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14612 old_archive_cmds_CXX
='tpldir=Template.dir~
14614 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14615 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14617 archive_cmds_CXX
='tpldir=Template.dir~
14619 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14620 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14621 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14623 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14624 $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'
14626 *) # Version 6 will use weak symbols
14627 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14628 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'
14632 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14633 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14634 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'
14638 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14639 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'
14641 runpath_var
=LD_RUN_PATH
14642 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14643 hardcode_libdir_separator_CXX
=:
14645 # Commands to make compiler produce verbose output that lists
14646 # what "hidden" libraries, object files and flags are used when
14647 # linking a shared library.
14649 # There doesn't appear to be a way to prevent this compiler from
14650 # explicitly linking system object files so we need to strip them
14651 # from the output so that they don't get included in the library
14653 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'
14656 # IBM XL 8.0 on PPC, with GNU ld
14657 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14658 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14659 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14660 if test "x$supports_anon_versioning" = xyes
; then
14661 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14662 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14663 echo "local: *; };" >> $output_objdir/$libname.ver~
14664 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14668 case `$CC -V 2>&1 | sed 5q` in
14671 no_undefined_flag_CXX
=' -zdefs'
14672 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14673 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'
14674 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14675 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'
14676 compiler_needs_object_CXX
=yes
14678 # Not sure whether something based on
14679 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14681 output_verbose_link_cmd
='echo'
14683 # Archives containing C++ object files must be created using
14684 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14685 # necessary to make sure instantiated templates are included
14687 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14695 # FIXME: insert proper C++ library support
14700 # FIXME: insert proper C++ library support
14705 case $cc_basename in
14707 # FIXME: insert proper C++ library support
14711 # FIXME: insert proper C++ library support
14718 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14719 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14721 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14722 hardcode_direct_CXX
=yes
14723 hardcode_shlibpath_var_CXX
=no
14725 # Workaround some broken pre-1.5 toolchains
14726 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14734 # C++ shared libraries are fairly broken
14739 if test -f /usr
/libexec
/ld.so
; then
14740 hardcode_direct_CXX
=yes
14741 hardcode_shlibpath_var_CXX
=no
14742 hardcode_direct_absolute_CXX
=yes
14743 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14744 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14745 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14746 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14747 export_dynamic_flag_spec_CXX
='${wl}-E'
14748 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14750 output_verbose_link_cmd
=echo
14756 osf3
* | osf4
* | osf5
*)
14757 case $cc_basename in
14759 # Kuck and Associates, Inc. (KAI) C++ Compiler
14761 # KCC will only create a shared library if the output file
14762 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14763 # to its proper name (with version) after linking.
14764 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'
14766 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14767 hardcode_libdir_separator_CXX
=:
14769 # Archives containing C++ object files must be created using
14770 # the KAI C++ compiler.
14772 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14773 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14777 # Rational C++ 2.4.1
14778 # FIXME: insert proper C++ library support
14784 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14785 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'
14786 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14789 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14790 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'
14791 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14792 echo "-hidden">> $lib.exp~
14793 $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~
14795 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14799 hardcode_libdir_separator_CXX
=:
14801 # Commands to make compiler produce verbose output that lists
14802 # what "hidden" libraries, object files and flags are used when
14803 # linking a shared library.
14805 # There doesn't appear to be a way to prevent this compiler from
14806 # explicitly linking system object files so we need to strip them
14807 # from the output so that they don't get included in the library
14809 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'
14812 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14813 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14816 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'
14819 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'
14823 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14824 hardcode_libdir_separator_CXX
=:
14826 # Commands to make compiler produce verbose output that lists
14827 # what "hidden" libraries, object files and flags are used when
14828 # linking a shared library.
14829 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
14832 # FIXME: insert proper C++ library support
14840 # FIXME: insert proper C++ library support
14845 case $cc_basename in
14848 # FIXME: insert proper C++ library support
14853 # FIXME: insert proper C++ library support
14857 # FIXME: insert proper C++ library support
14864 case $cc_basename in
14866 # Sun C++ 4.2, 5.x and Centerline C++
14867 archive_cmds_need_lc_CXX
=yes
14868 no_undefined_flag_CXX
=' -zdefs'
14869 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14870 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14871 $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'
14873 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14874 hardcode_shlibpath_var_CXX
=no
14876 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14878 # The compiler driver will combine and reorder linker options,
14879 # but understands `-z linker_flag'.
14880 # Supported since Solaris 2.6 (maybe 2.5.1?)
14881 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14884 link_all_deplibs_CXX
=yes
14886 output_verbose_link_cmd
='echo'
14888 # Archives containing C++ object files must be created using
14889 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14890 # necessary to make sure instantiated templates are included
14892 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14895 # Green Hills C++ Compiler
14896 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14898 # The C++ compiler must be used to create the archive.
14899 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14902 # GNU C++ compiler with Solaris linker
14903 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14904 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14905 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14906 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14907 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14908 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14910 # Commands to make compiler produce verbose output that lists
14911 # what "hidden" libraries, object files and flags are used when
14912 # linking a shared library.
14913 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
14915 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14917 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14918 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14919 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14921 # Commands to make compiler produce verbose output that lists
14922 # what "hidden" libraries, object files and flags are used when
14923 # linking a shared library.
14924 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
14927 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14929 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14931 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14939 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14940 no_undefined_flag_CXX
='${wl}-z,text'
14941 archive_cmds_need_lc_CXX
=no
14942 hardcode_shlibpath_var_CXX
=no
14943 runpath_var
='LD_RUN_PATH'
14945 case $cc_basename in
14947 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14948 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14951 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14952 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14957 sysv5
* | sco3.2v5
* | sco5v6
*)
14958 # Note: We can NOT use -z defs as we might desire, because we do not
14959 # link with -lc, and that would cause any symbols used from libc to
14960 # always be unresolved, which means just about no library would
14961 # ever link correctly. If we're not using GNU ld we use -z text
14962 # though, which does catch some bad symbols but isn't as heavy-handed
14964 no_undefined_flag_CXX
='${wl}-z,text'
14965 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14966 archive_cmds_need_lc_CXX
=no
14967 hardcode_shlibpath_var_CXX
=no
14968 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14969 hardcode_libdir_separator_CXX
=':'
14970 link_all_deplibs_CXX
=yes
14971 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14972 runpath_var
='LD_RUN_PATH'
14974 case $cc_basename in
14976 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14977 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14980 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14981 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14987 case $cc_basename in
14989 # NonStop-UX NCC 3.20
14990 # FIXME: insert proper C++ library support
14994 # FIXME: insert proper C++ library support
15001 # FIXME: insert proper C++ library support
15006 # FIXME: insert proper C++ library support
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15012 $as_echo "$ld_shlibs_CXX" >&6; }
15013 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15019 ## There is no encapsulation within the following macros, do not change
15020 ## the running order or otherwise move them around unless you know exactly
15021 ## what you are doing...
15022 # Dependencies to place before and after the object being linked:
15023 predep_objects_CXX
=
15024 postdep_objects_CXX
=
15027 compiler_lib_search_path_CXX
=
15029 cat > conftest.
$ac_ext <<_LT_EOF
15033 Foo (void) { a = 0; }
15039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15040 (eval $ac_compile) 2>&5
15042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15043 test $ac_status = 0; }; then
15044 # Parse the compiler output and extract the necessary
15045 # objects, libraries and library flags.
15047 # Sentinel used to keep track of whether or not we are before
15048 # the conftest object file.
15049 pre_test_object_deps_done
=no
15051 for p
in `eval "$output_verbose_link_cmd"`; do
15055 # Some compilers place space between "-{L,R}" and the path.
15056 # Remove the space.
15057 if test $p = "-L" ||
15058 test $p = "-R"; then
15065 if test "$pre_test_object_deps_done" = no
; then
15068 # Internal compiler library paths should come after those
15069 # provided the user. The postdeps already come after the
15070 # user supplied libs so there is no need to process them.
15071 if test -z "$compiler_lib_search_path_CXX"; then
15072 compiler_lib_search_path_CXX
="${prev}${p}"
15074 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
15077 # The "-l" case would never come before the object being
15078 # linked, so don't bother handling this case.
15081 if test -z "$postdeps_CXX"; then
15082 postdeps_CXX
="${prev}${p}"
15084 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
15090 # This assumes that the test object file only shows up
15091 # once in the compiler output.
15092 if test "$p" = "conftest.$objext"; then
15093 pre_test_object_deps_done
=yes
15097 if test "$pre_test_object_deps_done" = no
; then
15098 if test -z "$predep_objects_CXX"; then
15099 predep_objects_CXX
="$p"
15101 predep_objects_CXX
="$predep_objects_CXX $p"
15104 if test -z "$postdep_objects_CXX"; then
15105 postdep_objects_CXX
="$p"
15107 postdep_objects_CXX
="$postdep_objects_CXX $p"
15112 *) ;; # Ignore the rest.
15120 echo "libtool.m4: error: problem compiling CXX test program"
15123 $RM -f confest.
$objext
15125 # PORTME: override above test on systems where it is broken
15128 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15129 # hack all around it, let's just trust "g++" to DTRT.
15130 predep_objects_CXX
=
15131 postdep_objects_CXX
=
15136 case `$CC -V 2>&1 | sed 5q` in
15140 # The more standards-conforming stlport4 library is
15141 # incompatible with the Cstd library. Avoid specifying
15142 # it if it's in CXXFLAGS. Ignore libCrun as
15143 # -library=stlport4 depends on it.
15144 case " $CXX $CXXFLAGS " in
15145 *" -library=stlport4 "*)
15146 solaris_use_stlport4
=yes
15150 if test "$solaris_use_stlport4" != yes; then
15151 postdeps_CXX
='-library=Cstd -library=Crun'
15158 case $cc_basename in
15160 # The more standards-conforming stlport4 library is
15161 # incompatible with the Cstd library. Avoid specifying
15162 # it if it's in CXXFLAGS. Ignore libCrun as
15163 # -library=stlport4 depends on it.
15164 case " $CXX $CXXFLAGS " in
15165 *" -library=stlport4 "*)
15166 solaris_use_stlport4
=yes
15170 # Adding this requires a known-good setup of shared libraries for
15171 # Sun compiler versions before 5.6, else PIC objects from an old
15172 # archive will be linked into the output, leading to subtle bugs.
15173 if test "$solaris_use_stlport4" != yes; then
15174 postdeps_CXX
='-library=Cstd -library=Crun'
15182 case " $postdeps_CXX " in
15183 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15185 compiler_lib_search_dirs_CXX
=
15186 if test -n "${compiler_lib_search_path_CXX}"; then
15187 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15220 lt_prog_compiler_wl_CXX
=
15221 lt_prog_compiler_pic_CXX
=
15222 lt_prog_compiler_static_CXX
=
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15225 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15227 # C++ specific cases for pic, static, wl, etc.
15228 if test "$GXX" = yes; then
15229 lt_prog_compiler_wl_CXX
='-Wl,'
15230 lt_prog_compiler_static_CXX
='-static'
15234 # All AIX code is PIC.
15235 if test "$host_cpu" = ia64
; then
15236 # AIX 5 now supports IA64 processor
15237 lt_prog_compiler_static_CXX
='-Bstatic'
15244 # see comment about AmigaOS4 .so support
15245 lt_prog_compiler_pic_CXX
='-fPIC'
15248 # FIXME: we need at least 68020 code to build shared libraries, but
15249 # adding the `-m68020' flag to GCC prevents building anything better,
15251 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15256 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15257 # PIC is the default for these OSes.
15259 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15260 # This hack is so that the source file can tell whether it is being
15261 # built for inclusion in a dll (and should export symbols for example).
15262 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15263 # (--disable-auto-import) libraries
15264 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15266 darwin
* | rhapsody
*)
15267 # PIC is the default on this platform
15268 # Common symbols not allowed in MH_DYLIB files
15269 lt_prog_compiler_pic_CXX
='-fno-common'
15272 # DJGPP does not support shared libraries at all
15273 lt_prog_compiler_pic_CXX
=
15276 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15277 # Instead, we relocate shared libraries at runtime.
15280 if test -d /usr
/nec
; then
15281 lt_prog_compiler_pic_CXX
=-Kconform_pic
15285 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15286 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15287 # sets the default TLS model and affects inlining.
15292 lt_prog_compiler_pic_CXX
='-fPIC'
15297 # QNX uses GNU C++, but need to define -shared option too, otherwise
15298 # it will coredump.
15299 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15302 lt_prog_compiler_pic_CXX
='-fPIC'
15308 # All AIX code is PIC.
15309 if test "$host_cpu" = ia64
; then
15310 # AIX 5 now supports IA64 processor
15311 lt_prog_compiler_static_CXX
='-Bstatic'
15313 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15317 case $cc_basename in
15319 # Green Hills C++ Compiler
15320 # _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"
15325 case $cc_basename in
15327 lt_prog_compiler_pic_CXX
='-KPIC'
15330 # Green Hills C++ Compiler
15331 lt_prog_compiler_pic_CXX
='-pic'
15337 freebsd
* | dragonfly
*)
15338 # FreeBSD uses GNU C++
15340 hpux9
* | hpux10
* | hpux11
*)
15341 case $cc_basename in
15343 lt_prog_compiler_wl_CXX
='-Wl,'
15344 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15345 if test "$host_cpu" != ia64
; then
15346 lt_prog_compiler_pic_CXX
='+Z'
15350 lt_prog_compiler_wl_CXX
='-Wl,'
15351 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15357 lt_prog_compiler_pic_CXX
='+Z'
15366 # This is c89, which is MS Visual C++ (no shared libs)
15367 # Anyone wants to do a port?
15369 irix5
* | irix6
* | nonstopux
*)
15370 case $cc_basename in
15372 lt_prog_compiler_wl_CXX
='-Wl,'
15373 lt_prog_compiler_static_CXX
='-non_shared'
15374 # CC pic flag -KPIC is the default.
15380 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15381 case $cc_basename in
15384 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15385 lt_prog_compiler_pic_CXX
='-fPIC'
15388 # old Intel C++ for x86_64 which still supported -KPIC.
15389 lt_prog_compiler_wl_CXX
='-Wl,'
15390 lt_prog_compiler_pic_CXX
='-KPIC'
15391 lt_prog_compiler_static_CXX
='-static'
15394 # Intel C++, used to be incompatible with GCC.
15395 # ICC 10 doesn't accept -KPIC any more.
15396 lt_prog_compiler_wl_CXX
='-Wl,'
15397 lt_prog_compiler_pic_CXX
='-fPIC'
15398 lt_prog_compiler_static_CXX
='-static'
15401 # Portland Group C++ compiler
15402 lt_prog_compiler_wl_CXX
='-Wl,'
15403 lt_prog_compiler_pic_CXX
='-fpic'
15404 lt_prog_compiler_static_CXX
='-Bstatic'
15408 # Make sure the PIC flag is empty. It appears that all Alpha
15409 # Linux and Compaq Tru64 Unix objects are PIC.
15410 lt_prog_compiler_pic_CXX
=
15411 lt_prog_compiler_static_CXX
='-non_shared'
15414 # IBM XL 8.0 on PPC
15415 lt_prog_compiler_wl_CXX
='-Wl,'
15416 lt_prog_compiler_pic_CXX
='-qpic'
15417 lt_prog_compiler_static_CXX
='-qstaticlink'
15420 case `$CC -V 2>&1 | sed 5q` in
15423 lt_prog_compiler_pic_CXX
='-KPIC'
15424 lt_prog_compiler_static_CXX
='-Bstatic'
15425 lt_prog_compiler_wl_CXX
='-Qoption ld '
15436 case $cc_basename in
15438 lt_prog_compiler_pic_CXX
='-W c,exportall'
15447 # QNX uses GNU C++, but need to define -shared option too, otherwise
15448 # it will coredump.
15449 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15451 osf3
* | osf4
* | osf5
*)
15452 case $cc_basename in
15454 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15457 # Rational C++ 2.4.1
15458 lt_prog_compiler_pic_CXX
='-pic'
15461 # Digital/Compaq C++
15462 lt_prog_compiler_wl_CXX
='-Wl,'
15463 # Make sure the PIC flag is empty. It appears that all Alpha
15464 # Linux and Compaq Tru64 Unix objects are PIC.
15465 lt_prog_compiler_pic_CXX
=
15466 lt_prog_compiler_static_CXX
='-non_shared'
15475 case $cc_basename in
15477 # Sun C++ 4.2, 5.x and Centerline C++
15478 lt_prog_compiler_pic_CXX
='-KPIC'
15479 lt_prog_compiler_static_CXX
='-Bstatic'
15480 lt_prog_compiler_wl_CXX
='-Qoption ld '
15483 # Green Hills C++ Compiler
15484 lt_prog_compiler_pic_CXX
='-PIC'
15491 case $cc_basename in
15494 lt_prog_compiler_pic_CXX
='-pic'
15495 lt_prog_compiler_static_CXX
='-Bstatic'
15499 lt_prog_compiler_pic_CXX
='-pic'
15505 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15506 case $cc_basename in
15508 lt_prog_compiler_wl_CXX
='-Wl,'
15509 lt_prog_compiler_pic_CXX
='-KPIC'
15510 lt_prog_compiler_static_CXX
='-Bstatic'
15515 case $cc_basename in
15517 # NonStop-UX NCC 3.20
15518 lt_prog_compiler_pic_CXX
='-KPIC'
15527 lt_prog_compiler_can_build_shared_CXX
=no
15533 # For platforms which do not support PIC, -DPIC is meaningless:
15535 lt_prog_compiler_pic_CXX
=
15538 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15542 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15547 # Check to make sure the PIC flag actually works.
15549 if test -n "$lt_prog_compiler_pic_CXX"; then
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15551 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15552 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15553 $as_echo_n "(cached) " >&6
15555 lt_cv_prog_compiler_pic_works_CXX
=no
15556 ac_outfile
=conftest.
$ac_objext
15557 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15558 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15559 # Insert the option either (1) after the last *FLAGS variable, or
15560 # (2) before a word containing "conftest.", or (3) at the end.
15561 # Note that $ac_compile itself does not contain backslashes and begins
15562 # with a dollar sign (not a hyphen), so the echo should work correctly.
15563 # The option is referenced via a variable to avoid confusing sed.
15564 lt_compile
=`echo "$ac_compile" | $SED \
15565 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15566 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15567 -e 's:$: $lt_compiler_flag:'`
15568 (eval echo "\"\$as_me:15568: $lt_compile\"" >&5)
15569 (eval "$lt_compile" 2>conftest.err
)
15571 cat conftest.err
>&5
15572 echo "$as_me:15572: \$? = $ac_status" >&5
15573 if (exit $ac_status) && test -s "$ac_outfile"; then
15574 # The compiler can only warn and ignore the option if not recognized
15575 # So say no if there are warnings other than the usual output.
15576 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15577 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15578 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15579 lt_cv_prog_compiler_pic_works_CXX
=yes
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15586 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15588 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15589 case $lt_prog_compiler_pic_CXX in
15591 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15594 lt_prog_compiler_pic_CXX
=
15595 lt_prog_compiler_can_build_shared_CXX
=no
15603 # Check to make sure the static flag actually works.
15605 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15607 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15608 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15609 $as_echo_n "(cached) " >&6
15611 lt_cv_prog_compiler_static_works_CXX
=no
15612 save_LDFLAGS
="$LDFLAGS"
15613 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15614 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15615 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15616 # The linker can only warn and ignore the option if not recognized
15617 # So say no if there are warnings
15618 if test -s conftest.err
; then
15619 # Append any errors to the config.log.
15620 cat conftest.err
1>&5
15621 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15622 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15623 if diff conftest.exp conftest.er2
>/dev
/null
; then
15624 lt_cv_prog_compiler_static_works_CXX
=yes
15627 lt_cv_prog_compiler_static_works_CXX
=yes
15631 LDFLAGS
="$save_LDFLAGS"
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15635 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15637 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15640 lt_prog_compiler_static_CXX
=
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15647 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15648 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15649 $as_echo_n "(cached) " >&6
15651 lt_cv_prog_compiler_c_o_CXX
=no
15652 $RM -r conftest
2>/dev
/null
15656 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15658 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15659 # Insert the option either (1) after the last *FLAGS variable, or
15660 # (2) before a word containing "conftest.", or (3) at the end.
15661 # Note that $ac_compile itself does not contain backslashes and begins
15662 # with a dollar sign (not a hyphen), so the echo should work correctly.
15663 lt_compile
=`echo "$ac_compile" | $SED \
15664 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15665 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15666 -e 's:$: $lt_compiler_flag:'`
15667 (eval echo "\"\$as_me:15667: $lt_compile\"" >&5)
15668 (eval "$lt_compile" 2>out
/conftest.err
)
15670 cat out
/conftest.err
>&5
15671 echo "$as_me:15671: \$? = $ac_status" >&5
15672 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15674 # The compiler can only warn and ignore the option if not recognized
15675 # So say no if there are warnings
15676 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15677 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15678 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15679 lt_cv_prog_compiler_c_o_CXX
=yes
15684 # SGI C++ compiler will create directory out/ii_files/ for
15685 # template instantiation
15686 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15687 $RM out
/* && rmdir out
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15694 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15699 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15700 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15701 $as_echo_n "(cached) " >&6
15703 lt_cv_prog_compiler_c_o_CXX
=no
15704 $RM -r conftest
2>/dev
/null
15708 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15710 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15711 # Insert the option either (1) after the last *FLAGS variable, or
15712 # (2) before a word containing "conftest.", or (3) at the end.
15713 # Note that $ac_compile itself does not contain backslashes and begins
15714 # with a dollar sign (not a hyphen), so the echo should work correctly.
15715 lt_compile
=`echo "$ac_compile" | $SED \
15716 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15717 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15718 -e 's:$: $lt_compiler_flag:'`
15719 (eval echo "\"\$as_me:15719: $lt_compile\"" >&5)
15720 (eval "$lt_compile" 2>out
/conftest.err
)
15722 cat out
/conftest.err
>&5
15723 echo "$as_me:15723: \$? = $ac_status" >&5
15724 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15726 # The compiler can only warn and ignore the option if not recognized
15727 # So say no if there are warnings
15728 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15729 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15730 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15731 lt_cv_prog_compiler_c_o_CXX
=yes
15736 # SGI C++ compiler will create directory out/ii_files/ for
15737 # template instantiation
15738 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15739 $RM out
/* && rmdir out
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15746 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15751 hard_links
="nottested"
15752 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15753 # do not overwrite the value of need_locks provided by the user
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15755 $as_echo_n "checking if we can lock with hard links... " >&6; }
15758 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15760 ln conftest.a conftest.b
2>&5 || hard_links
=no
15761 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15763 $as_echo "$hard_links" >&6; }
15764 if test "$hard_links" = no
; then
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15766 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15776 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15778 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15781 # If we're using GNU nm, then we don't want the "-C" option.
15782 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15783 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15784 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'
15786 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'
15790 export_symbols_cmds_CXX
="$ltdll_cmds"
15792 cygwin
* | mingw
* | cegcc
*)
15793 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'
15796 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15799 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15802 $as_echo "$ld_shlibs_CXX" >&6; }
15803 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15805 with_gnu_ld_CXX
=$with_gnu_ld
15813 # Do we need to explicitly link libc?
15815 case "x$archive_cmds_need_lc_CXX" in
15817 # Assume -lc should be added
15818 archive_cmds_need_lc_CXX
=yes
15820 if test "$enable_shared" = yes && test "$GCC" = yes; then
15821 case $archive_cmds_CXX in
15823 # FIXME: we may have to deal with multi-command sequences.
15826 # Test whether the compiler implicitly links with -lc since on some
15827 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15828 # to ld, don't add -lc before -lgcc.
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15830 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15831 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15832 $as_echo_n "(cached) " >&6
15835 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15837 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15838 (eval $ac_compile) 2>&5
15840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15841 test $ac_status = 0; } 2>conftest.err
; then
15844 libobjs
=conftest.
$ac_objext
15846 wl
=$lt_prog_compiler_wl_CXX
15847 pic_flag
=$lt_prog_compiler_pic_CXX
15853 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15854 allow_undefined_flag_CXX
=
15855 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15856 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15859 test $ac_status = 0; }
15861 lt_cv_archive_cmds_need_lc_CXX
=no
15863 lt_cv_archive_cmds_need_lc_CXX
=yes
15865 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15867 cat conftest.err
1>&5
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15873 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15874 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15945 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15947 library_names_spec
=
15948 libname_spec
='lib$name'
15952 postuninstall_cmds
=
15956 shlibpath_overrides_runpath
=unknown
15958 dynamic_linker
="$host_os ld.so"
15959 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15960 need_lib_prefix
=unknown
15961 hardcode_into_libs
=no
15963 # when you set need_version to no, make sure it does not cause -set_version
15964 # flags to be left without arguments
15965 need_version
=unknown
15970 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15971 shlibpath_var
=LIBPATH
15973 # AIX 3 has no versioning support, so we append a major version to the name.
15974 soname_spec
='${libname}${release}${shared_ext}$major'
15981 hardcode_into_libs
=yes
15982 if test "$host_cpu" = ia64
; then
15983 # AIX 5 supports IA64
15984 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15985 shlibpath_var
=LD_LIBRARY_PATH
15987 # With GCC up to 2.95.x, collect2 would create an import file
15988 # for dependence libraries. The import file would start with
15989 # the line `#! .'. This would cause the generated library to
15990 # depend on `.', always an invalid library. This was fixed in
15991 # development snapshots of GCC prior to 3.0.
15993 aix4 | aix4.
[01] | aix4.
[01].
*)
15994 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15996 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15999 can_build_shared
=no
16003 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16004 # soname into executable. Probably we can add versioning support to
16005 # collect2, so additional links can be useful in future.
16006 if test "$aix_use_runtimelinking" = yes; then
16007 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16008 # instead of lib<name>.a to let people know that these are not
16009 # typical AIX shared libraries.
16010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16012 # We preserve .a as extension for shared libraries through AIX4.2
16013 # and later when we are not doing run time linking.
16014 library_names_spec
='${libname}${release}.a $libname.a'
16015 soname_spec
='${libname}${release}${shared_ext}$major'
16017 shlibpath_var
=LIBPATH
16024 # Since July 2007 AmigaOS4 officially supports .so libraries.
16025 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16029 library_names_spec
='$libname.ixlibrary $libname.a'
16030 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16031 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'
16037 library_names_spec
='${libname}${shared_ext}'
16038 dynamic_linker
="$host_os ld.so"
16039 shlibpath_var
=LIBRARY_PATH
16045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16046 soname_spec
='${libname}${release}${shared_ext}$major'
16047 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16048 shlibpath_var
=LD_LIBRARY_PATH
16049 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16050 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16051 # the default ld.so.conf also contains /usr/contrib/lib and
16052 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16053 # libtool to hard-code these into programs
16056 cygwin
* | mingw
* | pw32
* | cegcc
*)
16057 version_type
=windows
16062 case $GCC,$host_os in
16063 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
16064 library_names_spec
='$libname.dll.a'
16065 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16066 postinstall_cmds
='base_file=`basename \${file}`~
16067 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16068 dldir=$destdir/`dirname \$dlpath`~
16069 test -d \$dldir || mkdir -p \$dldir~
16070 $install_prog $dir/$dlname \$dldir/$dlname~
16071 chmod a+x \$dldir/$dlname~
16072 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16073 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16075 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16076 dlpath=$dir/\$dldll~
16078 shlibpath_overrides_runpath
=yes
16082 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16083 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16084 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16087 # MinGW DLLs use traditional 'lib' prefix
16088 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16089 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16090 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
16091 # It is most probably a Windows format PATH printed by
16092 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16093 # path with ; separators, and with drive letters. We can handle the
16094 # drive letters (cygwin fileutils understands them), so leave them,
16095 # especially as we might pass files found there to a mingw objdump,
16096 # which wouldn't understand a cygwinified path. Ahh.
16097 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16099 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16103 # pw32 DLLs use 'pw' prefix rather than 'lib'
16104 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16110 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16113 dynamic_linker
='Win32 ld.exe'
16114 # FIXME: first we should search . and the directory the executable is in
16118 darwin
* | rhapsody
*)
16119 dynamic_linker
="$host_os dyld"
16120 version_type
=darwin
16123 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16124 soname_spec
='${libname}${release}${major}$shared_ext'
16125 shlibpath_overrides_runpath
=yes
16126 shlibpath_var
=DYLD_LIBRARY_PATH
16127 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16129 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16137 soname_spec
='${libname}${release}${shared_ext}$major'
16138 shlibpath_var
=LD_LIBRARY_PATH
16145 freebsd
* | dragonfly
*)
16146 # DragonFly does not have aout. When/if they implement a new
16147 # versioning mechanism, adjust this.
16148 if test -x /usr
/bin
/objformat
; then
16149 objformat
=`/usr/bin/objformat`
16152 freebsd
[123]*) objformat
=aout
;;
16153 *) objformat
=elf
;;
16156 version_type
=freebsd-
$objformat
16157 case $version_type in
16159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16164 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16168 shlibpath_var
=LD_LIBRARY_PATH
16171 shlibpath_overrides_runpath
=yes
16173 freebsd3.
[01]* | freebsdelf3.
[01]*)
16174 shlibpath_overrides_runpath
=yes
16175 hardcode_into_libs
=yes
16177 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16178 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16179 shlibpath_overrides_runpath
=no
16180 hardcode_into_libs
=yes
16182 *) # from 4.6 on, and DragonFly
16183 shlibpath_overrides_runpath
=yes
16184 hardcode_into_libs
=yes
16193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16194 soname_spec
='${libname}${release}${shared_ext}$major'
16195 shlibpath_var
=LD_LIBRARY_PATH
16196 hardcode_into_libs
=yes
16199 hpux9
* | hpux10
* | hpux11
*)
16200 # Give a soname corresponding to the major version so that dld.sl refuses to
16201 # link against other versions.
16208 hardcode_into_libs
=yes
16209 dynamic_linker
="$host_os dld.so"
16210 shlibpath_var
=LD_LIBRARY_PATH
16211 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16213 soname_spec
='${libname}${release}${shared_ext}$major'
16214 if test "X$HPUX_IA64_MODE" = X32
; then
16215 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16217 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16219 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16223 hardcode_into_libs
=yes
16224 dynamic_linker
="$host_os dld.sl"
16225 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16226 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16228 soname_spec
='${libname}${release}${shared_ext}$major'
16229 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16230 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16234 dynamic_linker
="$host_os dld.sl"
16235 shlibpath_var
=SHLIB_PATH
16236 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16238 soname_spec
='${libname}${release}${shared_ext}$major'
16241 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16242 postinstall_cmds
='chmod 555 $lib'
16249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16250 soname_spec
='${libname}${release}${shared_ext}$major'
16251 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16252 shlibpath_var
=LD_LIBRARY_PATH
16253 shlibpath_overrides_runpath
=no
16254 hardcode_into_libs
=yes
16257 irix5
* | irix6
* | nonstopux
*)
16259 nonstopux
*) version_type
=nonstopux
;;
16261 if test "$lt_cv_prog_gnu_ld" = yes; then
16269 soname_spec
='${libname}${release}${shared_ext}$major'
16270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16272 irix5
* | nonstopux
*)
16273 libsuff
= shlibsuff
=
16276 case $LD in # libtool.m4 will add one of these switches to LD
16277 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16278 libsuff
= shlibsuff
= libmagic
=32-bit;;
16279 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16280 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16281 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16282 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16283 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16287 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16288 shlibpath_overrides_runpath
=no
16289 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16290 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16291 hardcode_into_libs
=yes
16294 # No shared lib support for Linux oldld, aout, or coff.
16295 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16299 # This must be Linux ELF.
16300 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16305 soname_spec
='${libname}${release}${shared_ext}$major'
16306 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16307 shlibpath_var
=LD_LIBRARY_PATH
16308 shlibpath_overrides_runpath
=no
16310 # Some binutils ld are patched to set DT_RUNPATH
16311 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16312 $as_echo_n "(cached) " >&6
16314 lt_cv_shlibpath_overrides_runpath
=no
16315 save_LDFLAGS
=$LDFLAGS
16316 save_libdir
=$libdir
16317 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16318 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16319 if test x
$gcc_no_link = xyes
; then
16320 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16323 /* end confdefs.h. */
16333 if ac_fn_cxx_try_link
"$LINENO"; then :
16334 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16335 lt_cv_shlibpath_overrides_runpath
=yes
16338 rm -f core conftest.err conftest.
$ac_objext \
16339 conftest
$ac_exeext conftest.
$ac_ext
16340 LDFLAGS
=$save_LDFLAGS
16341 libdir
=$save_libdir
16345 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16347 # This implies no fast_install, which is unacceptable.
16348 # Some rework will be needed to allow for fast_install
16349 # before this can be enabled.
16350 hardcode_into_libs
=yes
16352 # Append ld.so.conf contents to the search path
16353 if test -f /etc
/ld.so.conf
; then
16354 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' ' '`
16355 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16358 # We used to test for /lib/ld.so.1 and disable shared libraries on
16359 # powerpc, because MkLinux only supported shared libraries with the
16360 # GNU dynamic linker. Since this was broken with cross compilers,
16361 # most powerpc-linux boxes support dynamic linking these days and
16362 # people can always --disable-shared, the test was removed, and we
16363 # assume the GNU/Linux dynamic linker is in use.
16364 dynamic_linker
='GNU/Linux ld.so'
16371 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16373 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16374 dynamic_linker
='NetBSD (a.out) ld.so'
16376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16377 soname_spec
='${libname}${release}${shared_ext}$major'
16378 dynamic_linker
='NetBSD ld.elf_so'
16380 shlibpath_var
=LD_LIBRARY_PATH
16381 shlibpath_overrides_runpath
=yes
16382 hardcode_into_libs
=yes
16387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16388 shlibpath_var
=LD_LIBRARY_PATH
16389 shlibpath_overrides_runpath
=yes
16396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16397 soname_spec
='${libname}${release}${shared_ext}$major'
16398 shlibpath_var
=LD_LIBRARY_PATH
16399 shlibpath_overrides_runpath
=no
16400 hardcode_into_libs
=yes
16401 dynamic_linker
='ldqnx.so'
16406 sys_lib_dlsearch_path_spec
="/usr/lib"
16408 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16410 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16411 *) need_version
=no
;;
16413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16414 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16415 shlibpath_var
=LD_LIBRARY_PATH
16416 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16418 openbsd2.
[89] | openbsd2.
[89].
*)
16419 shlibpath_overrides_runpath
=no
16422 shlibpath_overrides_runpath
=yes
16426 shlibpath_overrides_runpath
=yes
16431 libname_spec
='$name'
16434 library_names_spec
='$libname${shared_ext} $libname.a'
16435 dynamic_linker
='OS/2 ld.exe'
16436 shlibpath_var
=LIBPATH
16439 osf3
* | osf4
* | osf5
*)
16443 soname_spec
='${libname}${release}${shared_ext}$major'
16444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16445 shlibpath_var
=LD_LIBRARY_PATH
16446 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16447 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16459 soname_spec
='${libname}${release}${shared_ext}$major'
16460 shlibpath_var
=LD_LIBRARY_PATH
16461 shlibpath_overrides_runpath
=yes
16462 hardcode_into_libs
=yes
16463 # ldd complains unless libraries are executable
16464 postinstall_cmds
='chmod +x $lib'
16469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16470 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16471 shlibpath_var
=LD_LIBRARY_PATH
16472 shlibpath_overrides_runpath
=yes
16473 if test "$with_gnu_ld" = yes; then
16481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16482 soname_spec
='${libname}${release}${shared_ext}$major'
16483 shlibpath_var
=LD_LIBRARY_PATH
16484 case $host_vendor in
16486 shlibpath_overrides_runpath
=no
16488 runpath_var
=LD_RUN_PATH
16496 shlibpath_overrides_runpath
=no
16497 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16503 if test -d /usr
/nec
;then
16505 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16506 soname_spec
='$libname${shared_ext}.$major'
16507 shlibpath_var
=LD_LIBRARY_PATH
16511 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16512 version_type
=freebsd-elf
16515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16516 soname_spec
='${libname}${release}${shared_ext}$major'
16517 shlibpath_var
=LD_LIBRARY_PATH
16518 shlibpath_overrides_runpath
=yes
16519 hardcode_into_libs
=yes
16520 if test "$with_gnu_ld" = yes; then
16521 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16523 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16526 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16530 sys_lib_dlsearch_path_spec
='/usr/lib'
16534 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16539 shlibpath_var
=LD_LIBRARY_PATH
16540 shlibpath_overrides_runpath
=no
16541 hardcode_into_libs
=yes
16546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16547 soname_spec
='${libname}${release}${shared_ext}$major'
16548 shlibpath_var
=LD_LIBRARY_PATH
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16556 $as_echo "$dynamic_linker" >&6; }
16557 test "$dynamic_linker" = no
&& can_build_shared
=no
16559 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16560 if test "$GCC" = yes; then
16561 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16564 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16565 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16567 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16568 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16607 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16608 hardcode_action_CXX
=
16609 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16610 test -n "$runpath_var_CXX" ||
16611 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16613 # We can hardcode non-existent directories.
16614 if test "$hardcode_direct_CXX" != no
&&
16615 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16616 # have to relink, otherwise we might link with an installed library
16617 # when we should be linking with a yet-to-be-installed one
16618 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16619 test "$hardcode_minus_L_CXX" != no
; then
16620 # Linking always hardcodes the temporary library directory.
16621 hardcode_action_CXX
=relink
16623 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16624 hardcode_action_CXX
=immediate
16627 # We cannot hardcode anything, or else we can only hardcode existing
16629 hardcode_action_CXX
=unsupported
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16632 $as_echo "$hardcode_action_CXX" >&6; }
16634 if test "$hardcode_action_CXX" = relink ||
16635 test "$inherit_rpath_CXX" = yes; then
16636 # Fast installation is not supported
16637 enable_fast_install
=no
16638 elif test "$shlibpath_overrides_runpath" = yes ||
16639 test "$enable_shared" = no
; then
16640 # Fast installation is not necessary
16641 enable_fast_install
=needless
16650 fi # test -n "$compiler"
16656 with_gnu_ld
=$lt_save_with_gnu_ld
16657 lt_cv_path_LDCXX
=$lt_cv_path_LD
16658 lt_cv_path_LD
=$lt_save_path_LD
16659 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16660 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16661 fi # test "$_lt_caught_CXX_error" != yes
16664 ac_cpp
='$CPP $CPPFLAGS'
16665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16681 ac_config_commands
="$ac_config_commands libtool"
16686 # Only expand once:
16692 # Extract the first word of "$ac_prog", so it can be a program name with args.
16693 set dummy
$ac_prog; ac_word
=$2
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16695 $as_echo_n "checking for $ac_word... " >&6; }
16696 if test "${ac_cv_prog_GCJ+set}" = set; then :
16697 $as_echo_n "(cached) " >&6
16699 if test -n "$GCJ"; then
16700 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16703 for as_dir
in $PATH
16706 test -z "$as_dir" && as_dir
=.
16707 for ac_exec_ext
in '' $ac_executable_extensions; do
16708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16709 ac_cv_prog_GCJ
="$ac_prog"
16710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16719 GCJ
=$ac_cv_prog_GCJ
16720 if test -n "$GCJ"; then
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
16722 $as_echo "$GCJ" >&6; }
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16725 $as_echo "no" >&6; }
16729 test -n "$GCJ" && break
16731 test -n "$GCJ" || GCJ
="gcj"
16733 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
16734 if test "x${GCJFLAGS-unset}" = xunset
; then
16739 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16742 $as_echo_n "checking dependency style of $depcc... " >&6; }
16743 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
16744 $as_echo_n "(cached) " >&6
16746 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16747 # We make a subdir and do the tests there. Otherwise we can end up
16748 # making bogus files that we don't know about and never remove. For
16749 # instance it was reported that on HP-UX the gcc test will end up
16750 # making a dummy file named `D' -- because `-MD' means `put the output
16753 # Copy depcomp to subdir because otherwise we won't find it if we're
16754 # using a relative directory.
16755 cp "$am_depcomp" conftest.dir
16757 # We will build objects and dependencies in a subdirectory because
16758 # it helps to detect inapplicable dependency modes. For instance
16759 # both Tru64's cc and ICC support -MD to output dependencies as a
16760 # side effect of compilation, but ICC will put the dependencies in
16761 # the current directory while Tru64 will put them in the object
16765 am_cv_GCJ_dependencies_compiler_type
=none
16766 if test "$am_compiler_list" = ""; then
16767 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16769 am__universal
=false
16772 for depmode
in $am_compiler_list; do
16773 # Setup a source with many dependencies, because some compilers
16774 # like to wrap large dependency lists on column 80 (with \), and
16775 # we should not choose a depcomp mode which is confused by this.
16777 # We need to recreate these files for each test, as the compiler may
16778 # overwrite some of them when testing with obscure command lines.
16779 # This happens at least with the AIX C compiler.
16781 for i
in 1 2 3 4 5 6; do
16782 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
16783 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16784 # Solaris 8's {/usr,}/bin/sh.
16785 touch sub
/conftst
$i.h
16787 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16789 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16790 # mode. It turns out that the SunPro C++ compiler does not properly
16791 # handle `-M -o', and we need to detect this. Also, some Intel
16792 # versions had trouble with output in subdirs
16793 am__obj
=sub
/conftest.
${OBJEXT-o}
16794 am__minus_obj
="-o $am__obj"
16797 # This depmode causes a compiler race in universal mode.
16798 test "$am__universal" = false ||
continue
16801 # after this tag, mechanisms are not by side-effect, so they'll
16802 # only be used when explicitly requested
16803 if test "x$enable_dependency_tracking" = xyes
; then
16809 msvisualcpp | msvcmsys
)
16810 # This compiler won't grok `-c -o', but also, the minuso test has
16811 # not run yet. These depmodes are late enough in the game, and
16812 # so weak that their functioning should not be impacted.
16813 am__obj
=conftest.
${OBJEXT-o}
16818 if depmode
=$depmode \
16819 source=sub
/conftest.c object
=$am__obj \
16820 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
16821 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
16822 >/dev
/null
2>conftest.err
&&
16823 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16824 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16825 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
16826 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
16827 # icc doesn't choke on unknown options, it will just issue warnings
16828 # or remarks (even with -Werror). So we grep stderr for any message
16829 # that says an option was ignored or not supported.
16830 # When given -MP, icc 7.0 and 7.1 complain thusly:
16831 # icc: Command line warning: ignoring option '-M'; no argument required
16832 # The diagnosis changed in icc 8.0:
16833 # icc: Command line remark: option '-MP' not supported
16834 if (grep 'ignoring option' conftest.err ||
16835 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
16836 am_cv_GCJ_dependencies_compiler_type
=$depmode
16843 rm -rf conftest.dir
16845 am_cv_GCJ_dependencies_compiler_type
=none
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
16850 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
16851 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
16854 test "x$enable_dependency_tracking" != xno \
16855 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
16856 am__fastdepGCJ_TRUE
=
16857 am__fastdepGCJ_FALSE
='#'
16859 am__fastdepGCJ_TRUE
='#'
16860 am__fastdepGCJ_FALSE
=
16867 # Extract the first word of "$ac_prog", so it can be a program name with args.
16868 set dummy
$ac_prog; ac_word
=$2
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16870 $as_echo_n "checking for $ac_word... " >&6; }
16871 if test "${ac_cv_prog_GCJ+set}" = set; then :
16872 $as_echo_n "(cached) " >&6
16874 if test -n "$GCJ"; then
16875 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16878 for as_dir
in $PATH
16881 test -z "$as_dir" && as_dir
=.
16882 for ac_exec_ext
in '' $ac_executable_extensions; do
16883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16884 ac_cv_prog_GCJ
="$ac_prog"
16885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16894 GCJ
=$ac_cv_prog_GCJ
16895 if test -n "$GCJ"; then
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
16897 $as_echo "$GCJ" >&6; }
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16900 $as_echo "no" >&6; }
16904 test -n "$GCJ" && break
16906 test -n "$GCJ" || GCJ
="gcj"
16908 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
16909 if test "x${GCJFLAGS-unset}" = xunset
; then
16914 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16917 $as_echo_n "checking dependency style of $depcc... " >&6; }
16918 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
16919 $as_echo_n "(cached) " >&6
16921 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16922 # We make a subdir and do the tests there. Otherwise we can end up
16923 # making bogus files that we don't know about and never remove. For
16924 # instance it was reported that on HP-UX the gcc test will end up
16925 # making a dummy file named `D' -- because `-MD' means `put the output
16928 # Copy depcomp to subdir because otherwise we won't find it if we're
16929 # using a relative directory.
16930 cp "$am_depcomp" conftest.dir
16932 # We will build objects and dependencies in a subdirectory because
16933 # it helps to detect inapplicable dependency modes. For instance
16934 # both Tru64's cc and ICC support -MD to output dependencies as a
16935 # side effect of compilation, but ICC will put the dependencies in
16936 # the current directory while Tru64 will put them in the object
16940 am_cv_GCJ_dependencies_compiler_type
=none
16941 if test "$am_compiler_list" = ""; then
16942 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16944 am__universal
=false
16947 for depmode
in $am_compiler_list; do
16948 # Setup a source with many dependencies, because some compilers
16949 # like to wrap large dependency lists on column 80 (with \), and
16950 # we should not choose a depcomp mode which is confused by this.
16952 # We need to recreate these files for each test, as the compiler may
16953 # overwrite some of them when testing with obscure command lines.
16954 # This happens at least with the AIX C compiler.
16956 for i
in 1 2 3 4 5 6; do
16957 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
16958 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16959 # Solaris 8's {/usr,}/bin/sh.
16960 touch sub
/conftst
$i.h
16962 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16964 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16965 # mode. It turns out that the SunPro C++ compiler does not properly
16966 # handle `-M -o', and we need to detect this. Also, some Intel
16967 # versions had trouble with output in subdirs
16968 am__obj
=sub
/conftest.
${OBJEXT-o}
16969 am__minus_obj
="-o $am__obj"
16972 # This depmode causes a compiler race in universal mode.
16973 test "$am__universal" = false ||
continue
16976 # after this tag, mechanisms are not by side-effect, so they'll
16977 # only be used when explicitly requested
16978 if test "x$enable_dependency_tracking" = xyes
; then
16984 msvisualcpp | msvcmsys
)
16985 # This compiler won't grok `-c -o', but also, the minuso test has
16986 # not run yet. These depmodes are late enough in the game, and
16987 # so weak that their functioning should not be impacted.
16988 am__obj
=conftest.
${OBJEXT-o}
16993 if depmode
=$depmode \
16994 source=sub
/conftest.c object
=$am__obj \
16995 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
16996 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
16997 >/dev
/null
2>conftest.err
&&
16998 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16999 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17000 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
17001 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
17002 # icc doesn't choke on unknown options, it will just issue warnings
17003 # or remarks (even with -Werror). So we grep stderr for any message
17004 # that says an option was ignored or not supported.
17005 # When given -MP, icc 7.0 and 7.1 complain thusly:
17006 # icc: Command line warning: ignoring option '-M'; no argument required
17007 # The diagnosis changed in icc 8.0:
17008 # icc: Command line remark: option '-MP' not supported
17009 if (grep 'ignoring option' conftest.err ||
17010 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
17011 am_cv_GCJ_dependencies_compiler_type
=$depmode
17018 rm -rf conftest.dir
17020 am_cv_GCJ_dependencies_compiler_type
=none
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
17025 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
17026 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
17029 test "x$enable_dependency_tracking" != xno \
17030 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
17031 am__fastdepGCJ_TRUE
=
17032 am__fastdepGCJ_FALSE
='#'
17034 am__fastdepGCJ_TRUE
='#'
17035 am__fastdepGCJ_FALSE
=
17042 # Source file extension for Java test sources.
17045 # Object file extension for compiled Java test sources.
17049 # Code to be used in simple compile tests
17050 lt_simple_compile_test_code
="int some_variable = 0;"
17052 # Code to be used in simple link tests
17053 lt_simple_link_test_code
='int main(){return(0);}'
17055 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17062 # If no C compiler was specified, use CC.
17065 # If no C compiler flags were specified, use CFLAGS.
17066 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17068 # Allow CC to be a program name with arguments.
17072 # save warnings/boilerplate of simple test code
17073 ac_outfile
=conftest.
$ac_objext
17074 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17075 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17076 _lt_compiler_boilerplate
=`cat conftest.err`
17079 ac_outfile
=conftest.
$ac_objext
17080 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17081 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17082 _lt_linker_boilerplate
=`cat conftest.err`
17086 # Allow CC to be a program name with arguments.
17090 for cc_temp
in $compiler""; do
17092 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17093 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17098 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17101 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17102 archive_cmds_need_lc_GCJ
=no
17104 old_archive_cmds_GCJ
=$old_archive_cmds
17107 ## There is no encapsulation within the following macros, do not change
17108 ## the running order or otherwise move them around unless you know exactly
17109 ## what you are doing...
17110 if test -n "$compiler"; then
17112 lt_prog_compiler_no_builtin_flag_GCJ
=
17114 if test "$GCC" = yes; then
17115 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17118 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17119 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
17120 $as_echo_n "(cached) " >&6
17122 lt_cv_prog_compiler_rtti_exceptions
=no
17123 ac_outfile
=conftest.
$ac_objext
17124 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17125 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17126 # Insert the option either (1) after the last *FLAGS variable, or
17127 # (2) before a word containing "conftest.", or (3) at the end.
17128 # Note that $ac_compile itself does not contain backslashes and begins
17129 # with a dollar sign (not a hyphen), so the echo should work correctly.
17130 # The option is referenced via a variable to avoid confusing sed.
17131 lt_compile
=`echo "$ac_compile" | $SED \
17132 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17133 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17134 -e 's:$: $lt_compiler_flag:'`
17135 (eval echo "\"\$as_me:17135: $lt_compile\"" >&5)
17136 (eval "$lt_compile" 2>conftest.err
)
17138 cat conftest.err
>&5
17139 echo "$as_me:17139: \$? = $ac_status" >&5
17140 if (exit $ac_status) && test -s "$ac_outfile"; then
17141 # The compiler can only warn and ignore the option if not recognized
17142 # So say no if there are warnings other than the usual output.
17143 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17144 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17145 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17146 lt_cv_prog_compiler_rtti_exceptions
=yes
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17153 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17155 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17156 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17165 lt_prog_compiler_wl_GCJ
=
17166 lt_prog_compiler_pic_GCJ
=
17167 lt_prog_compiler_static_GCJ
=
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17170 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17172 if test "$GCC" = yes; then
17173 lt_prog_compiler_wl_GCJ
='-Wl,'
17174 lt_prog_compiler_static_GCJ
='-static'
17178 # All AIX code is PIC.
17179 if test "$host_cpu" = ia64
; then
17180 # AIX 5 now supports IA64 processor
17181 lt_prog_compiler_static_GCJ
='-Bstatic'
17188 # see comment about AmigaOS4 .so support
17189 lt_prog_compiler_pic_GCJ
='-fPIC'
17192 # FIXME: we need at least 68020 code to build shared libraries, but
17193 # adding the `-m68020' flag to GCC prevents building anything better,
17195 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17200 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17201 # PIC is the default for these OSes.
17204 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
17205 # This hack is so that the source file can tell whether it is being
17206 # built for inclusion in a dll (and should export symbols for example).
17207 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17208 # (--disable-auto-import) libraries
17212 darwin
* | rhapsody
*)
17213 # PIC is the default on this platform
17214 # Common symbols not allowed in MH_DYLIB files
17215 lt_prog_compiler_pic_GCJ
='-fno-common'
17219 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17220 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17221 # sets the default TLS model and affects inlining.
17227 lt_prog_compiler_pic_GCJ
='-fPIC'
17233 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17234 # Instead, we relocate shared libraries at runtime.
17238 # Just because we use GCC doesn't mean we suddenly get shared libraries
17239 # on systems that don't support them.
17240 lt_prog_compiler_can_build_shared_GCJ
=no
17245 # QNX uses GNU C++, but need to define -shared option too, otherwise
17246 # it will coredump.
17247 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
17251 if test -d /usr
/nec
; then
17252 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17257 lt_prog_compiler_pic_GCJ
='-fPIC'
17261 # PORTME Check for flag to pass linker flags through the system compiler.
17264 lt_prog_compiler_wl_GCJ
='-Wl,'
17265 if test "$host_cpu" = ia64
; then
17266 # AIX 5 now supports IA64 processor
17267 lt_prog_compiler_static_GCJ
='-Bstatic'
17269 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17273 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
17274 # This hack is so that the source file can tell whether it is being
17275 # built for inclusion in a dll (and should export symbols for example).
17279 hpux9
* | hpux10
* | hpux11
*)
17280 lt_prog_compiler_wl_GCJ
='-Wl,'
17281 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17282 # not for PA HP-UX.
17288 lt_prog_compiler_pic_GCJ
='+Z'
17291 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17292 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17295 irix5
* | irix6
* | nonstopux
*)
17296 lt_prog_compiler_wl_GCJ
='-Wl,'
17297 # PIC (with -KPIC) is the default.
17298 lt_prog_compiler_static_GCJ
='-non_shared'
17301 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
17302 case $cc_basename in
17303 # old Intel for x86_64 which still supported -KPIC.
17305 lt_prog_compiler_wl_GCJ
='-Wl,'
17306 lt_prog_compiler_pic_GCJ
='-KPIC'
17307 lt_prog_compiler_static_GCJ
='-static'
17309 # icc used to be incompatible with GCC.
17310 # ICC 10 doesn't accept -KPIC any more.
17312 lt_prog_compiler_wl_GCJ
='-Wl,'
17313 lt_prog_compiler_pic_GCJ
='-fPIC'
17314 lt_prog_compiler_static_GCJ
='-static'
17316 # Lahey Fortran 8.1.
17318 lt_prog_compiler_wl_GCJ
='-Wl,'
17319 lt_prog_compiler_pic_GCJ
='--shared'
17320 lt_prog_compiler_static_GCJ
='--static'
17322 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17323 # Portland Group compilers (*not* the Pentium gcc compiler,
17324 # which looks to be a dead project)
17325 lt_prog_compiler_wl_GCJ
='-Wl,'
17326 lt_prog_compiler_pic_GCJ
='-fpic'
17327 lt_prog_compiler_static_GCJ
='-Bstatic'
17330 lt_prog_compiler_wl_GCJ
='-Wl,'
17331 # All Alpha code is PIC.
17332 lt_prog_compiler_static_GCJ
='-non_shared'
17335 # IBM XL C 8.0/Fortran 10.1 on PPC
17336 lt_prog_compiler_wl_GCJ
='-Wl,'
17337 lt_prog_compiler_pic_GCJ
='-qpic'
17338 lt_prog_compiler_static_GCJ
='-qstaticlink'
17341 case `$CC -V 2>&1 | sed 5q` in
17344 lt_prog_compiler_pic_GCJ
='-KPIC'
17345 lt_prog_compiler_static_GCJ
='-Bstatic'
17346 lt_prog_compiler_wl_GCJ
='-Wl,'
17349 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17350 lt_prog_compiler_pic_GCJ
='-KPIC'
17351 lt_prog_compiler_static_GCJ
='-Bstatic'
17352 lt_prog_compiler_wl_GCJ
=''
17360 lt_prog_compiler_pic_GCJ
='-KPIC'
17361 lt_prog_compiler_static_GCJ
='-Bstatic'
17365 # QNX uses GNU C++, but need to define -shared option too, otherwise
17366 # it will coredump.
17367 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
17370 osf3
* | osf4
* | osf5
*)
17371 lt_prog_compiler_wl_GCJ
='-Wl,'
17372 # All OSF/1 code is PIC.
17373 lt_prog_compiler_static_GCJ
='-non_shared'
17377 lt_prog_compiler_static_GCJ
='-non_shared'
17381 lt_prog_compiler_pic_GCJ
='-KPIC'
17382 lt_prog_compiler_static_GCJ
='-Bstatic'
17383 case $cc_basename in
17384 f77
* | f90
* | f95
*)
17385 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17387 lt_prog_compiler_wl_GCJ
='-Wl,';;
17392 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17393 lt_prog_compiler_pic_GCJ
='-PIC'
17394 lt_prog_compiler_static_GCJ
='-Bstatic'
17397 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17398 lt_prog_compiler_wl_GCJ
='-Wl,'
17399 lt_prog_compiler_pic_GCJ
='-KPIC'
17400 lt_prog_compiler_static_GCJ
='-Bstatic'
17404 if test -d /usr
/nec
;then
17405 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17406 lt_prog_compiler_static_GCJ
='-Bstatic'
17410 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17411 lt_prog_compiler_wl_GCJ
='-Wl,'
17412 lt_prog_compiler_pic_GCJ
='-KPIC'
17413 lt_prog_compiler_static_GCJ
='-Bstatic'
17417 lt_prog_compiler_wl_GCJ
='-Wl,'
17418 lt_prog_compiler_can_build_shared_GCJ
=no
17422 lt_prog_compiler_pic_GCJ
='-pic'
17423 lt_prog_compiler_static_GCJ
='-Bstatic'
17427 lt_prog_compiler_can_build_shared_GCJ
=no
17433 # For platforms which do not support PIC, -DPIC is meaningless:
17435 lt_prog_compiler_pic_GCJ
=
17438 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
17442 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17447 # Check to make sure the PIC flag actually works.
17449 if test -n "$lt_prog_compiler_pic_GCJ"; then
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17451 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17452 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then :
17453 $as_echo_n "(cached) " >&6
17455 lt_cv_prog_compiler_pic_works_GCJ
=no
17456 ac_outfile
=conftest.
$ac_objext
17457 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17458 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17459 # Insert the option either (1) after the last *FLAGS variable, or
17460 # (2) before a word containing "conftest.", or (3) at the end.
17461 # Note that $ac_compile itself does not contain backslashes and begins
17462 # with a dollar sign (not a hyphen), so the echo should work correctly.
17463 # The option is referenced via a variable to avoid confusing sed.
17464 lt_compile
=`echo "$ac_compile" | $SED \
17465 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17466 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17467 -e 's:$: $lt_compiler_flag:'`
17468 (eval echo "\"\$as_me:17468: $lt_compile\"" >&5)
17469 (eval "$lt_compile" 2>conftest.err
)
17471 cat conftest.err
>&5
17472 echo "$as_me:17472: \$? = $ac_status" >&5
17473 if (exit $ac_status) && test -s "$ac_outfile"; then
17474 # The compiler can only warn and ignore the option if not recognized
17475 # So say no if there are warnings other than the usual output.
17476 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17477 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17478 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17479 lt_cv_prog_compiler_pic_works_GCJ
=yes
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17486 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17488 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17489 case $lt_prog_compiler_pic_GCJ in
17491 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17494 lt_prog_compiler_pic_GCJ
=
17495 lt_prog_compiler_can_build_shared_GCJ
=no
17503 # Check to make sure the static flag actually works.
17505 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17507 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17508 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then :
17509 $as_echo_n "(cached) " >&6
17511 lt_cv_prog_compiler_static_works_GCJ
=no
17512 save_LDFLAGS
="$LDFLAGS"
17513 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17514 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17515 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17516 # The linker can only warn and ignore the option if not recognized
17517 # So say no if there are warnings
17518 if test -s conftest.err
; then
17519 # Append any errors to the config.log.
17520 cat conftest.err
1>&5
17521 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17522 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17523 if diff conftest.exp conftest.er2
>/dev
/null
; then
17524 lt_cv_prog_compiler_static_works_GCJ
=yes
17527 lt_cv_prog_compiler_static_works_GCJ
=yes
17531 LDFLAGS
="$save_LDFLAGS"
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17535 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17537 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17540 lt_prog_compiler_static_GCJ
=
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17547 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17548 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17549 $as_echo_n "(cached) " >&6
17551 lt_cv_prog_compiler_c_o_GCJ
=no
17552 $RM -r conftest
2>/dev
/null
17556 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17558 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17559 # Insert the option either (1) after the last *FLAGS variable, or
17560 # (2) before a word containing "conftest.", or (3) at the end.
17561 # Note that $ac_compile itself does not contain backslashes and begins
17562 # with a dollar sign (not a hyphen), so the echo should work correctly.
17563 lt_compile
=`echo "$ac_compile" | $SED \
17564 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17565 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17566 -e 's:$: $lt_compiler_flag:'`
17567 (eval echo "\"\$as_me:17567: $lt_compile\"" >&5)
17568 (eval "$lt_compile" 2>out
/conftest.err
)
17570 cat out
/conftest.err
>&5
17571 echo "$as_me:17571: \$? = $ac_status" >&5
17572 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17574 # The compiler can only warn and ignore the option if not recognized
17575 # So say no if there are warnings
17576 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17577 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17578 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17579 lt_cv_prog_compiler_c_o_GCJ
=yes
17584 # SGI C++ compiler will create directory out/ii_files/ for
17585 # template instantiation
17586 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17587 $RM out
/* && rmdir out
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17594 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17599 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17600 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17601 $as_echo_n "(cached) " >&6
17603 lt_cv_prog_compiler_c_o_GCJ
=no
17604 $RM -r conftest
2>/dev
/null
17608 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17610 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17611 # Insert the option either (1) after the last *FLAGS variable, or
17612 # (2) before a word containing "conftest.", or (3) at the end.
17613 # Note that $ac_compile itself does not contain backslashes and begins
17614 # with a dollar sign (not a hyphen), so the echo should work correctly.
17615 lt_compile
=`echo "$ac_compile" | $SED \
17616 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17617 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17618 -e 's:$: $lt_compiler_flag:'`
17619 (eval echo "\"\$as_me:17619: $lt_compile\"" >&5)
17620 (eval "$lt_compile" 2>out
/conftest.err
)
17622 cat out
/conftest.err
>&5
17623 echo "$as_me:17623: \$? = $ac_status" >&5
17624 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17626 # The compiler can only warn and ignore the option if not recognized
17627 # So say no if there are warnings
17628 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17629 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17630 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17631 lt_cv_prog_compiler_c_o_GCJ
=yes
17636 # SGI C++ compiler will create directory out/ii_files/ for
17637 # template instantiation
17638 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17639 $RM out
/* && rmdir out
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17646 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17651 hard_links
="nottested"
17652 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17653 # do not overwrite the value of need_locks provided by the user
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17655 $as_echo_n "checking if we can lock with hard links... " >&6; }
17658 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17660 ln conftest.a conftest.b
2>&5 || hard_links
=no
17661 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17663 $as_echo "$hard_links" >&6; }
17664 if test "$hard_links" = no
; then
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17666 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17676 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17679 allow_undefined_flag_GCJ
=
17680 always_export_symbols_GCJ
=no
17682 archive_expsym_cmds_GCJ
=
17683 compiler_needs_object_GCJ
=no
17684 enable_shared_with_static_runtimes_GCJ
=no
17685 export_dynamic_flag_spec_GCJ
=
17686 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17687 hardcode_automatic_GCJ
=no
17688 hardcode_direct_GCJ
=no
17689 hardcode_direct_absolute_GCJ
=no
17690 hardcode_libdir_flag_spec_GCJ
=
17691 hardcode_libdir_flag_spec_ld_GCJ
=
17692 hardcode_libdir_separator_GCJ
=
17693 hardcode_minus_L_GCJ
=no
17694 hardcode_shlibpath_var_GCJ
=unsupported
17695 inherit_rpath_GCJ
=no
17696 link_all_deplibs_GCJ
=unknown
17698 module_expsym_cmds_GCJ
=
17699 old_archive_from_new_cmds_GCJ
=
17700 old_archive_from_expsyms_cmds_GCJ
=
17701 thread_safe_flag_spec_GCJ
=
17702 whole_archive_flag_spec_GCJ
=
17703 # include_expsyms should be a list of space-separated symbols to be *always*
17704 # included in the symbol list
17705 include_expsyms_GCJ
=
17706 # exclude_expsyms can be an extended regexp of symbols to exclude
17707 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17708 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17709 # as well as any symbol that contains `d'.
17710 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17711 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17712 # platforms (ab)use it in PIC code, but their linkers get confused if
17713 # the symbol is explicitly referenced. Since portable code cannot
17714 # rely on this symbol name, it's probably fine to never include it in
17715 # preloaded symbol tables.
17716 # Exclude shared library initialization/finalization symbols.
17717 extract_expsyms_cmds
=
17720 cygwin
* | mingw
* | pw32
* | cegcc
*)
17721 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17722 # When not using gcc, we currently assume that we are using
17723 # Microsoft Visual C++.
17724 if test "$GCC" != yes; then
17729 # we just hope/assume this is gcc and not c89 (= MSVC++)
17738 if test "$with_gnu_ld" = yes; then
17739 # If archive_cmds runs LD, not CC, wlarc should be empty
17742 # Set some defaults for GNU ld with shared library support. These
17743 # are reset later if shared libraries are not supported. Putting them
17744 # here allows them to be overridden if necessary.
17745 runpath_var
=LD_RUN_PATH
17746 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17747 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17748 # ancient GNU ld didn't support --whole-archive et. al.
17749 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
17750 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17752 whole_archive_flag_spec_GCJ
=
17754 supports_anon_versioning
=no
17755 case `$LD -v 2>&1` in
17756 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17757 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17758 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17759 *\
2.11.
*) ;; # other 2.11 versions
17760 *) supports_anon_versioning
=yes ;;
17763 # See if GNU ld supports shared libraries.
17766 # On AIX/PPC, the GNU linker is very broken
17767 if test "$host_cpu" != ia64
; then
17771 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17772 *** to be unable to reliably create shared libraries on AIX.
17773 *** Therefore, libtool is disabling shared libraries support. If you
17774 *** really care for shared libraries, you may want to modify your PATH
17775 *** so that a non-GNU linker is found, and then restart.
17784 # see comment about AmigaOS4 .so support
17785 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17786 archive_expsym_cmds_GCJ
=''
17789 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)'
17790 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17791 hardcode_minus_L_GCJ
=yes
17797 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17798 allow_undefined_flag_GCJ
=unsupported
17799 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17800 # support --undefined. This deserves some investigation. FIXME
17801 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17807 cygwin
* | mingw
* | pw32
* | cegcc
*)
17808 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17809 # as there is no search path for DLLs.
17810 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17811 allow_undefined_flag_GCJ
=unsupported
17812 always_export_symbols_GCJ
=no
17813 enable_shared_with_static_runtimes_GCJ
=yes
17814 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17816 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
17817 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17818 # If the export-symbols file already is a .def file (1st line
17819 # is EXPORTS), use it as is; otherwise, prepend...
17820 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17821 cp $export_symbols $output_objdir/$soname.def;
17823 echo EXPORTS > $output_objdir/$soname.def;
17824 cat $export_symbols >> $output_objdir/$soname.def;
17826 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17833 hardcode_direct_GCJ
=no
17834 hardcode_shlibpath_var_GCJ
=no
17835 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17836 export_dynamic_flag_spec_GCJ
='${wl}-E'
17837 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17838 # Instead, shared libraries are loaded at an image base (0x10000000 by
17839 # default) and relocated if they conflict, which is a slow very memory
17840 # consuming and fragmenting process. To avoid this, we pick a random,
17841 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17842 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17843 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'
17844 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'
17847 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
17849 if test "$host_os" = linux-dietlibc
; then
17850 case $cc_basename in
17851 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
17854 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
17855 && test "$tmp_diet" = no
17858 tmp_sharedflag
='-shared'
17859 case $cc_basename,$host_cpu in
17860 pgcc
*) # Portland Group C compiler
17861 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'
17862 tmp_addflag
=' $pic_flag'
17864 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17865 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'
17866 tmp_addflag
=' $pic_flag -Mnomain' ;;
17867 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17868 tmp_addflag
=' -i_dynamic' ;;
17869 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17870 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17871 ifc
* | ifort
*) # Intel Fortran compiler
17872 tmp_addflag
=' -nofor_main' ;;
17873 lf95
*) # Lahey Fortran 8.1
17874 whole_archive_flag_spec_GCJ
=
17875 tmp_sharedflag
='--shared' ;;
17876 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
17877 tmp_sharedflag
='-qmkshrobj'
17880 case `$CC -V 2>&1 | sed 5q` in
17881 *Sun\ C
*) # Sun C 5.9
17882 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'
17883 compiler_needs_object_GCJ
=yes
17884 tmp_sharedflag
='-G' ;;
17885 *Sun\ F
*) # Sun Fortran 8.3
17886 tmp_sharedflag
='-G' ;;
17888 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17890 if test "x$supports_anon_versioning" = xyes
; then
17891 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
17892 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17893 echo "local: *; };" >> $output_objdir/$libname.ver~
17894 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17897 case $cc_basename in
17899 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
17900 whole_archive_flag_spec_GCJ
='--whole-archive$convenience --no-whole-archive'
17901 hardcode_libdir_flag_spec_GCJ
=
17902 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17903 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
17904 if test "x$supports_anon_versioning" = xyes
; then
17905 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
17906 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17907 echo "local: *; };" >> $output_objdir/$libname.ver~
17908 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
17918 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17919 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17922 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17923 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17928 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
17932 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17933 *** create shared libraries on Solaris systems. Therefore, libtool
17934 *** is disabling shared libraries support. We urge you to upgrade GNU
17935 *** binutils to release 2.9.1 or newer. Another option is to modify
17936 *** your PATH or compiler configuration so that the native linker is
17937 *** used, and then restart.
17940 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17941 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17942 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17948 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17949 case `$LD -v 2>&1` in
17950 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17954 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17955 *** reliably create shared libraries on SCO systems. Therefore, libtool
17956 *** is disabling shared libraries support. We urge you to upgrade GNU
17957 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17958 *** your PATH or compiler configuration so that the native linker is
17959 *** used, and then restart.
17964 # For security reasons, it is highly recommended that you always
17965 # use absolute paths for naming shared libraries, and exclude the
17966 # DT_RUNPATH tag from executables and libraries. But doing so
17967 # requires that you compile everything twice, which is a pain.
17968 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17969 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17970 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17971 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17980 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17982 hardcode_direct_GCJ
=yes
17983 hardcode_shlibpath_var_GCJ
=no
17987 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17988 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17989 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17996 if test "$ld_shlibs_GCJ" = no
; then
17998 hardcode_libdir_flag_spec_GCJ
=
17999 export_dynamic_flag_spec_GCJ
=
18000 whole_archive_flag_spec_GCJ
=
18003 # PORTME fill in a description of your system's linker (not GNU ld)
18006 allow_undefined_flag_GCJ
=unsupported
18007 always_export_symbols_GCJ
=yes
18008 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'
18009 # Note: this linker hardcodes the directories in LIBPATH if there
18010 # are no directories specified by -L.
18011 hardcode_minus_L_GCJ
=yes
18012 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18013 # Neither direct hardcoding nor static linking is supported with a
18015 hardcode_direct_GCJ
=unsupported
18020 if test "$host_cpu" = ia64
; then
18021 # On IA64, the linker does run time linking by default, so we don't
18022 # have to do anything special.
18023 aix_use_runtimelinking
=no
18024 exp_sym_flag
='-Bexport'
18027 # If we're using GNU nm, then we don't want the "-C" option.
18028 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18029 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
18030 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'
18032 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'
18034 aix_use_runtimelinking
=no
18036 # Test if we are trying to use run time linking or normal
18037 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18038 # need to do runtime linking.
18039 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
18040 for ld_flag
in $LDFLAGS; do
18041 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18042 aix_use_runtimelinking
=yes
18049 exp_sym_flag
='-bexport'
18050 no_entry_flag
='-bnoentry'
18053 # When large executables or shared objects are built, AIX ld can
18054 # have problems creating the table of contents. If linking a library
18055 # or program results in "error TOC overflow" add -mminimal-toc to
18056 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18057 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18059 archive_cmds_GCJ
=''
18060 hardcode_direct_GCJ
=yes
18061 hardcode_direct_absolute_GCJ
=yes
18062 hardcode_libdir_separator_GCJ
=':'
18063 link_all_deplibs_GCJ
=yes
18064 file_list_spec_GCJ
='${wl}-f,'
18066 if test "$GCC" = yes; then
18067 case $host_os in aix4.
[012]|aix4.
[012].
*)
18068 # We only want to do this on AIX 4.2 and lower, the check
18069 # below for broken collect2 doesn't work under 4.3+
18070 collect2name
=`${CC} -print-prog-name=collect2`
18071 if test -f "$collect2name" &&
18072 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
18074 # We have reworked collect2
18077 # We have old collect2
18078 hardcode_direct_GCJ
=unsupported
18079 # It fails to find uninstalled libraries when the uninstalled
18080 # path is not listed in the libpath. Setting hardcode_minus_L
18081 # to unsupported forces relinking
18082 hardcode_minus_L_GCJ
=yes
18083 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18084 hardcode_libdir_separator_GCJ
=
18088 shared_flag
='-shared'
18089 if test "$aix_use_runtimelinking" = yes; then
18090 shared_flag
="$shared_flag "'${wl}-G'
18094 if test "$host_cpu" = ia64
; then
18095 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18096 # chokes on -Wl,-G. The following line is correct:
18099 if test "$aix_use_runtimelinking" = yes; then
18100 shared_flag
='${wl}-G'
18102 shared_flag
='${wl}-bM:SRE'
18107 export_dynamic_flag_spec_GCJ
='${wl}-bexpall'
18108 # It seems that -bexpall does not export symbols beginning with
18109 # underscore (_), so it is better to generate a list of symbols to export.
18110 always_export_symbols_GCJ
=yes
18111 if test "$aix_use_runtimelinking" = yes; then
18112 # Warning - without using the other runtime loading flags (-brtl),
18113 # -berok will link without error, but may produce a broken library.
18114 allow_undefined_flag_GCJ
='-berok'
18115 # Determine the default libpath from the value encoded in an
18116 # empty executable.
18117 if test x
$gcc_no_link = xyes
; then
18118 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h. */
18131 if ac_fn_c_try_link
"$LINENO"; then :
18133 lt_aix_libpath_sed
='
18134 /Import File Strings/,/^$/ {
18140 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18141 # Check for a 64-bit object if we didn't find anything.
18142 if test -z "$aix_libpath"; then
18143 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18146 rm -f core conftest.err conftest.
$ac_objext \
18147 conftest
$ac_exeext conftest.
$ac_ext
18148 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18150 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18151 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"
18153 if test "$host_cpu" = ia64
; then
18154 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
18155 allow_undefined_flag_GCJ
="-z nodefs"
18156 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"
18158 # Determine the default libpath from the value encoded in an
18159 # empty executable.
18160 if test x
$gcc_no_link = xyes
; then
18161 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18164 /* end confdefs.h. */
18174 if ac_fn_c_try_link
"$LINENO"; then :
18176 lt_aix_libpath_sed
='
18177 /Import File Strings/,/^$/ {
18183 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18184 # Check for a 64-bit object if we didn't find anything.
18185 if test -z "$aix_libpath"; then
18186 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18189 rm -f core conftest.err conftest.
$ac_objext \
18190 conftest
$ac_exeext conftest.
$ac_ext
18191 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18193 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18194 # Warning - without using the other run time loading flags,
18195 # -berok will link without error, but may produce a broken library.
18196 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18197 allow_undefined_flag_GCJ
=' ${wl}-berok'
18198 # Exported symbols can be pulled into shared objects from archives
18199 whole_archive_flag_spec_GCJ
='$convenience'
18200 archive_cmds_need_lc_GCJ
=yes
18201 # This is similar to how AIX traditionally builds its shared libraries.
18202 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'
18210 # see comment about AmigaOS4 .so support
18211 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18212 archive_expsym_cmds_GCJ
=''
18215 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)'
18216 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18217 hardcode_minus_L_GCJ
=yes
18223 export_dynamic_flag_spec_GCJ
=-rdynamic
18226 cygwin
* | mingw
* | pw32
* | cegcc
*)
18227 # When not using gcc, we currently assume that we are using
18228 # Microsoft Visual C++.
18229 # hardcode_libdir_flag_spec is actually meaningless, as there is
18230 # no search path for DLLs.
18231 hardcode_libdir_flag_spec_GCJ
=' '
18232 allow_undefined_flag_GCJ
=unsupported
18233 # Tell ltmain to make .lib files, not .a files.
18235 # Tell ltmain to make .dll files, not .so files.
18237 # FIXME: Setting linknames here is a bad hack.
18238 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
18239 # The linker will automatically build a .lib file if we build a DLL.
18240 old_archive_from_new_cmds_GCJ
='true'
18241 # FIXME: Should let the user specify the lib program.
18242 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18243 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18244 enable_shared_with_static_runtimes_GCJ
=yes
18247 darwin
* | rhapsody
*)
18250 archive_cmds_need_lc_GCJ
=no
18251 hardcode_direct_GCJ
=no
18252 hardcode_automatic_GCJ
=yes
18253 hardcode_shlibpath_var_GCJ
=unsupported
18254 whole_archive_flag_spec_GCJ
=''
18255 link_all_deplibs_GCJ
=yes
18256 allow_undefined_flag_GCJ
="$_lt_dar_allow_undefined"
18257 case $cc_basename in
18258 ifort
*) _lt_dar_can_shared
=yes ;;
18259 *) _lt_dar_can_shared
=$GCC ;;
18261 if test "$_lt_dar_can_shared" = "yes"; then
18262 output_verbose_link_cmd
=echo
18263 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}"
18264 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18265 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}"
18266 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}"
18275 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18276 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18277 hardcode_shlibpath_var_GCJ
=no
18284 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18285 # support. Future versions do this automatically, but an explicit c++rt0.o
18286 # does not break anything, and helps significantly (at the cost of a little
18289 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18290 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18291 hardcode_direct_GCJ
=yes
18292 hardcode_shlibpath_var_GCJ
=no
18295 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18297 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18298 hardcode_direct_GCJ
=yes
18299 hardcode_minus_L_GCJ
=yes
18300 hardcode_shlibpath_var_GCJ
=no
18303 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18304 freebsd
* | dragonfly
*)
18305 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18306 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18307 hardcode_direct_GCJ
=yes
18308 hardcode_shlibpath_var_GCJ
=no
18312 if test "$GCC" = yes; then
18313 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'
18315 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'
18317 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18318 hardcode_libdir_separator_GCJ
=:
18319 hardcode_direct_GCJ
=yes
18321 # hardcode_minus_L: Not really in the search PATH,
18322 # but as the default location of the library.
18323 hardcode_minus_L_GCJ
=yes
18324 export_dynamic_flag_spec_GCJ
='${wl}-E'
18328 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18329 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18331 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18333 if test "$with_gnu_ld" = no
; then
18334 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18335 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18336 hardcode_libdir_separator_GCJ
=:
18337 hardcode_direct_GCJ
=yes
18338 hardcode_direct_absolute_GCJ
=yes
18339 export_dynamic_flag_spec_GCJ
='${wl}-E'
18340 # hardcode_minus_L: Not really in the search PATH,
18341 # but as the default location of the library.
18342 hardcode_minus_L_GCJ
=yes
18347 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18350 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18353 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18356 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18362 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18365 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18368 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18372 if test "$with_gnu_ld" = no
; then
18373 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18374 hardcode_libdir_separator_GCJ
=:
18378 hardcode_direct_GCJ
=no
18379 hardcode_shlibpath_var_GCJ
=no
18382 hardcode_direct_GCJ
=yes
18383 hardcode_direct_absolute_GCJ
=yes
18384 export_dynamic_flag_spec_GCJ
='${wl}-E'
18386 # hardcode_minus_L: Not really in the search PATH,
18387 # but as the default location of the library.
18388 hardcode_minus_L_GCJ
=yes
18394 irix5
* | irix6
* | nonstopux
*)
18395 if test "$GCC" = yes; then
18396 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'
18397 # Try to use the -exported_symbol ld option, if it does not
18398 # work, assume that -exports_file does not work either and
18399 # implicitly export all symbols.
18400 save_LDFLAGS
="$LDFLAGS"
18401 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
18402 if test x
$gcc_no_link = xyes
; then
18403 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18406 /* end confdefs.h. */
18409 if ac_fn_c_try_link
"$LINENO"; then :
18410 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'
18413 rm -f core conftest.err conftest.
$ac_objext \
18414 conftest
$ac_exeext conftest.
$ac_ext
18415 LDFLAGS
="$save_LDFLAGS"
18417 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'
18418 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'
18420 archive_cmds_need_lc_GCJ
='no'
18421 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18422 hardcode_libdir_separator_GCJ
=:
18423 inherit_rpath_GCJ
=yes
18424 link_all_deplibs_GCJ
=yes
18428 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18429 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18431 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18433 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18434 hardcode_direct_GCJ
=yes
18435 hardcode_shlibpath_var_GCJ
=no
18439 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18440 hardcode_direct_GCJ
=yes
18441 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18442 hardcode_libdir_separator_GCJ
=:
18443 hardcode_shlibpath_var_GCJ
=no
18450 if test -f /usr
/libexec
/ld.so
; then
18451 hardcode_direct_GCJ
=yes
18452 hardcode_shlibpath_var_GCJ
=no
18453 hardcode_direct_absolute_GCJ
=yes
18454 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18455 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18456 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18457 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18458 export_dynamic_flag_spec_GCJ
='${wl}-E'
18461 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18462 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18463 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18466 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18467 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18477 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18478 hardcode_minus_L_GCJ
=yes
18479 allow_undefined_flag_GCJ
=unsupported
18480 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'
18481 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18485 if test "$GCC" = yes; then
18486 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18487 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'
18489 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18490 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'
18492 archive_cmds_need_lc_GCJ
='no'
18493 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18494 hardcode_libdir_separator_GCJ
=:
18497 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18498 if test "$GCC" = yes; then
18499 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18500 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'
18501 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18503 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18504 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'
18505 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~
18506 $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'
18508 # Both c and cxx compiler support -rpath directly
18509 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18511 archive_cmds_need_lc_GCJ
='no'
18512 hardcode_libdir_separator_GCJ
=:
18516 no_undefined_flag_GCJ
=' -z defs'
18517 if test "$GCC" = yes; then
18519 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18520 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18521 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18523 case `$CC -V 2>&1` in
18526 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18527 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18528 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
18532 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
18533 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18534 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18538 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18539 hardcode_shlibpath_var_GCJ
=no
18541 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18543 # The compiler driver will combine and reorder linker options,
18544 # but understands `-z linker_flag'. GCC discards it without `$wl',
18545 # but is careful enough not to reorder.
18546 # Supported since Solaris 2.6 (maybe 2.5.1?)
18547 if test "$GCC" = yes; then
18548 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18550 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18554 link_all_deplibs_GCJ
=yes
18558 if test "x$host_vendor" = xsequent
; then
18559 # Use $CC to link under sequent, because it throws in some extra .o
18560 # files that make .init and .fini sections work.
18561 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18563 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18565 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18566 hardcode_direct_GCJ
=yes
18567 hardcode_minus_L_GCJ
=yes
18568 hardcode_shlibpath_var_GCJ
=no
18572 case $host_vendor in
18574 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18575 hardcode_direct_GCJ
=yes # is this really true???
18578 ## LD is ld it makes a PLAMLIB
18579 ## CC just makes a GrossModule.
18580 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18581 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18582 hardcode_direct_GCJ
=no
18585 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18586 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18589 runpath_var
='LD_RUN_PATH'
18590 hardcode_shlibpath_var_GCJ
=no
18594 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18595 hardcode_shlibpath_var_GCJ
=no
18596 export_dynamic_flag_spec_GCJ
='-Bexport'
18600 if test -d /usr
/nec
; then
18601 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18602 hardcode_shlibpath_var_GCJ
=no
18603 runpath_var
=LD_RUN_PATH
18604 hardcode_runpath_var
=yes
18609 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18610 no_undefined_flag_GCJ
='${wl}-z,text'
18611 archive_cmds_need_lc_GCJ
=no
18612 hardcode_shlibpath_var_GCJ
=no
18613 runpath_var
='LD_RUN_PATH'
18615 if test "$GCC" = yes; then
18616 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18617 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18619 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18620 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18624 sysv5
* | sco3.2v5
* | sco5v6
*)
18625 # Note: We can NOT use -z defs as we might desire, because we do not
18626 # link with -lc, and that would cause any symbols used from libc to
18627 # always be unresolved, which means just about no library would
18628 # ever link correctly. If we're not using GNU ld we use -z text
18629 # though, which does catch some bad symbols but isn't as heavy-handed
18631 no_undefined_flag_GCJ
='${wl}-z,text'
18632 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18633 archive_cmds_need_lc_GCJ
=no
18634 hardcode_shlibpath_var_GCJ
=no
18635 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
18636 hardcode_libdir_separator_GCJ
=':'
18637 link_all_deplibs_GCJ
=yes
18638 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18639 runpath_var
='LD_RUN_PATH'
18641 if test "$GCC" = yes; then
18642 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18643 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18645 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18646 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18651 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18652 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18653 hardcode_shlibpath_var_GCJ
=no
18661 if test x
$host_vendor = xsni
; then
18663 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18664 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
18671 $as_echo "$ld_shlibs_GCJ" >&6; }
18672 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18674 with_gnu_ld_GCJ
=$with_gnu_ld
18682 # Do we need to explicitly link libc?
18684 case "x$archive_cmds_need_lc_GCJ" in
18686 # Assume -lc should be added
18687 archive_cmds_need_lc_GCJ
=yes
18689 if test "$enable_shared" = yes && test "$GCC" = yes; then
18690 case $archive_cmds_GCJ in
18692 # FIXME: we may have to deal with multi-command sequences.
18695 # Test whether the compiler implicitly links with -lc since on some
18696 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18697 # to ld, don't add -lc before -lgcc.
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18699 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18700 if test "${lt_cv_archive_cmds_need_lc_GCJ+set}" = set; then :
18701 $as_echo_n "(cached) " >&6
18704 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18707 (eval $ac_compile) 2>&5
18709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18710 test $ac_status = 0; } 2>conftest.err
; then
18713 libobjs
=conftest.
$ac_objext
18715 wl
=$lt_prog_compiler_wl_GCJ
18716 pic_flag
=$lt_prog_compiler_pic_GCJ
18722 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18723 allow_undefined_flag_GCJ
=
18724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18725 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18728 test $ac_status = 0; }
18730 lt_cv_archive_cmds_need_lc_GCJ
=no
18732 lt_cv_archive_cmds_need_lc_GCJ
=yes
18734 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18736 cat conftest.err
1>&5
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GCJ" >&5
18742 $as_echo "$lt_cv_archive_cmds_need_lc_GCJ" >&6; }
18743 archive_cmds_need_lc_GCJ
=$lt_cv_archive_cmds_need_lc_GCJ
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18814 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18815 hardcode_action_GCJ
=
18816 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
18817 test -n "$runpath_var_GCJ" ||
18818 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18820 # We can hardcode non-existent directories.
18821 if test "$hardcode_direct_GCJ" != no
&&
18822 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18823 # have to relink, otherwise we might link with an installed library
18824 # when we should be linking with a yet-to-be-installed one
18825 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18826 test "$hardcode_minus_L_GCJ" != no
; then
18827 # Linking always hardcodes the temporary library directory.
18828 hardcode_action_GCJ
=relink
18830 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18831 hardcode_action_GCJ
=immediate
18834 # We cannot hardcode anything, or else we can only hardcode existing
18836 hardcode_action_GCJ
=unsupported
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
18839 $as_echo "$hardcode_action_GCJ" >&6; }
18841 if test "$hardcode_action_GCJ" = relink ||
18842 test "$inherit_rpath_GCJ" = yes; then
18843 # Fast installation is not supported
18844 enable_fast_install
=no
18845 elif test "$shlibpath_overrides_runpath" = yes ||
18846 test "$enable_shared" = no
; then
18847 # Fast installation is not necessary
18848 enable_fast_install
=needless
18859 compiler_GCJ
=${GCJ-gcj}
18861 ac_cpp
='$CPP $CPPFLAGS'
18862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18867 if test "x$CC" != xcc
; then
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
18869 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
18872 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
18874 set dummy
$CC; ac_cc
=`$as_echo "$2" |
18875 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18876 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
18877 $as_echo_n "(cached) " >&6
18879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18880 /* end confdefs.h. */
18890 # Make sure it works both with $CC and with simple cc.
18891 # We do the test twice because some compilers refuse to overwrite an
18892 # existing .o file with -o, though they will create one.
18893 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
18895 if { { case "(($ac_try" in
18896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18897 *) ac_try_echo=$ac_try;;
18899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18900 $as_echo "$ac_try_echo"; } >&5
18901 (eval "$ac_try") 2>&5
18903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18904 test $ac_status = 0; } &&
18905 test -f conftest2.$ac_objext && { { case "(($ac_try" in
18906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18907 *) ac_try_echo
=$ac_try;;
18909 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18910 $as_echo "$ac_try_echo"; } >&5
18911 (eval "$ac_try") 2>&5
18913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18914 test $ac_status = 0; };
18916 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
18917 if test "x$CC" != xcc
; then
18918 # Test first that cc exists at all.
18919 if { ac_try
='cc -c conftest.$ac_ext >&5'
18920 { { case "(($ac_try" in
18921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18922 *) ac_try_echo=$ac_try;;
18924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18925 $as_echo "$ac_try_echo"; } >&5
18926 (eval "$ac_try") 2>&5
18928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18929 test $ac_status = 0; }; }; then
18930 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
18932 if { { case "(($ac_try" in
18933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18934 *) ac_try_echo
=$ac_try;;
18936 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18937 $as_echo "$ac_try_echo"; } >&5
18938 (eval "$ac_try") 2>&5
18940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18941 test $ac_status = 0; } &&
18942 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
18943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18944 *) ac_try_echo=$ac_try;;
18946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18947 $as_echo "$ac_try_echo"; } >&5
18948 (eval "$ac_try") 2>&5
18950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18951 test $ac_status = 0; };
18956 # cc exists but doesn't like -o.
18957 eval ac_cv_prog_cc_${ac_cc}_c_o=no
18962 eval ac_cv_prog_cc_${ac_cc}_c_o=no
18964 rm -f core conftest*
18967 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18969 $as_echo "yes" >&6; }
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18972 $as_echo "no" >&6; }
18974 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
18978 # FIXME: we rely on the cache variable name because
18979 # there is no other way.
18981 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18982 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
18983 if test "$am_t" != yes; then
18984 # Losing compiler, so override with the script.
18985 # FIXME: It is wrong to rewrite CC.
18986 # But if we don't then we get into trouble of one sort or another.
18987 # A longer-term fix would be to have automake use am__CC in this case,
18988 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18989 CC="$am_aux_dir/compile $CC"
18996 subdirs="$subdirs classpath libltdl"
18999 # The -no-testsuite modules omit the test subdir.
19000 if test -d $srcdir/testsuite; then
19002 TESTSUBDIR_FALSE='#'
19004 TESTSUBDIR_TRUE='#'
19009 # Should the runtime set system properties by examining the
19010 # environment variable GCJ_PROPERTIES?
19011 # Check whether --enable-getenv-properties was given.
19012 if test "${enable_getenv_properties+set}" = set; then :
19013 enableval=$enable_getenv_properties;
19017 # Whether GCJ_PROPERTIES is used depends on the target.
19018 if test -z "$enable_getenv_properties"; then
19019 enable_getenv_properties=${enable_getenv_properties_default-yes}
19021 if test "$enable_getenv_properties" = no; then
19023 $as_echo "#define DISABLE_GETENV_PROPERTIES 1" >>confdefs.h
19027 # Whether we should use arguments to main()
19028 if test -z "$enable_main_args"; then
19029 enable_main_args=${enable_main_args_default-yes}
19031 if test "$enable_main_args" = no; then
19033 $as_echo "#define DISABLE_MAIN_ARGS 1" >>confdefs.h
19038 # Should we use hashtable-based synchronization?
19039 # Currently works only for Linux X86/ia64
19040 # Typically faster and more space-efficient
19041 # Check whether --enable-hash-synchronization was given.
19042 if test "${enable_hash_synchronization+set}" = set; then :
19043 enableval=$enable_hash_synchronization;
19047 if test -z "$enable_hash_synchronization"; then
19048 enable_hash_synchronization=$enable_hash_synchronization_default
19056 # Check whether --with-ecj-jar was given.
19057 if test "${with_ecj_jar+set}" = set; then :
19058 withval=$with_ecj_jar; ECJ_JAR=$withval
19060 if test -f $multi_basedir/ecj.jar; then
19061 ECJ_BUILD_JAR=$multi_basedir/ecj.jar
19062 ECJ_JAR='$(jardir)/ecj.jar'
19063 install_ecj_jar=yes
19069 if test "$ECJ_JAR" != ""; then
19071 BUILD_ECJ1_FALSE='#'
19073 BUILD_ECJ1_TRUE='#'
19077 if test $install_ecj_jar = yes; then
19078 INSTALL_ECJ_JAR_TRUE=
19079 INSTALL_ECJ_JAR_FALSE='#'
19081 INSTALL_ECJ_JAR_TRUE='#'
19082 INSTALL_ECJ_JAR_FALSE=
19087 # Check whether --with-java-home was given.
19088 if test "${with_java_home+set}" = set; then :
19089 withval=$with_java_home; JAVA_HOME="${withval}"
19094 if test ! -z "$JAVA_HOME"; then
19095 JAVA_HOME_SET_TRUE=
19096 JAVA_HOME_SET_FALSE='#'
19098 JAVA_HOME_SET_TRUE='#'
19099 JAVA_HOME_SET_FALSE=
19104 suppress_libgcj_bc=no
19105 # Check whether --enable-libgcj-bc was given.
19106 if test "${enable_libgcj_bc+set}" = set; then :
19107 enableval=$enable_libgcj_bc; if test "$enable_libgcj_bc" = "no"; then
19108 suppress_libgcj_bc=yes
19112 if test "$suppress_libgcj_bc" = "yes"; then
19113 SUPPRESS_LIBGCJ_BC_TRUE=
19114 SUPPRESS_LIBGCJ_BC_FALSE='#'
19116 SUPPRESS_LIBGCJ_BC_TRUE='#'
19117 SUPPRESS_LIBGCJ_BC_FALSE=
19121 build_libgcj_reduced_reflection=no
19122 # Check whether --enable-reduced-reflection was given.
19123 if test "${enable_reduced_reflection+set}" = set; then :
19124 enableval=$enable_reduced_reflection; if test "$enable_reduced_reflection" = "yes"; then
19125 build_libgcj_reduced_reflection=yes
19129 if test "$build_libgcj_reduced_reflection" = "yes"; then
19130 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE=
19131 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE='#'
19133 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE='#'
19134 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE=
19138 # What is the native OS API for MinGW?
19140 # Check whether --with-win32-nlsapi was given.
19141 if test "${with_win32_nlsapi+set}" = set; then :
19142 withval=$with_win32_nlsapi; case "${withval}" in
19143 ansi) with_win32_nlsapi=ansi ;;
19144 unicows) with_win32_nlsapi=unicows ;;
19145 unicode) with_win32_nlsapi=unicode ;;
19146 *) as_fn_error "Bad value ${withval} for --with-win32-nlsapi." "$LINENO" 5 ;;
19149 with_win32_nlsapi=ansi
19153 case "${with_win32_nlsapi}" in
19156 $as_echo "#define MINGW_LIBGCJ_UNICODE 1" >>confdefs.h
19161 # configure.host sets slow_pthread_self if the synchronization code should
19162 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
19163 if test "${slow_pthread_self}" = "yes"; then
19165 $as_echo "#define SLOW_PTHREAD_SELF 1" >>confdefs.h
19169 # Check for gc debugging. This option is handled both here and in the GC.
19170 # Check whether --enable-gc-debug was given.
19171 if test "${enable_gc_debug+set}" = set; then :
19172 enableval=$enable_gc_debug; if test "$enable_gc_debug" = "yes"; then
19174 $as_echo "#define LIBGCJ_GC_DEBUG 1" >>confdefs.h
19180 # See if the user has the interpreter included.
19181 # Check whether --enable-interpreter was given.
19182 if test "${enable_interpreter+set}" = set; then :
19183 enableval=$enable_interpreter; if test "$enable_interpreter" = yes; then
19184 # This can also be set in configure.host.
19185 libgcj_interpreter=yes
19186 elif test "$enable_interpreter" = no; then
19187 libgcj_interpreter=no
19192 if test "$libgcj_interpreter" = yes; then
19194 $as_echo "#define INTERPRETER 1" >>confdefs.h
19197 INTERPRETER="$libgcj_interpreter"
19199 if test "$libgcj_interpreter" = yes; then
19201 INTERPRETER_FALSE='#'
19203 INTERPRETER_TRUE='#'
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
19209 $as_echo_n "checking for exception model to use... " >&6; }
19211 ac_cpp='$CXXCPP $CPPFLAGS'
19212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19216 # Check whether --enable-sjlj-exceptions was given.
19217 if test "${enable_sjlj_exceptions+set}" = set; then :
19218 enableval=$enable_sjlj_exceptions; :
19220 cat > conftest.$ac_ext << EOF
19221 #line 19221 "configure"
19222 struct S { ~S(); };
19230 old_CXXFLAGS="$CXXFLAGS"
19232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19233 (eval $ac_compile) 2>&5
19235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19236 test $ac_status = 0; }; then
19237 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
19238 enable_sjlj_exceptions=yes
19239 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
19240 enable_sjlj_exceptions=no
19241 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
19243 enable_sjlj_exceptions=no
19246 CXXFLAGS="$old_CXXFLAGS"
19250 if test x$enable_sjlj_exceptions = xyes; then
19252 $as_echo "#define SJLJ_EXCEPTIONS 1" >>confdefs.h
19254 ac_exception_model_name=sjlj
19255 elif test x$enable_sjlj_exceptions = xno; then
19256 ac_exception_model_name="call frame"
19258 as_fn_error "unable to detect exception model" "$LINENO" 5
19261 ac_cpp='$CPP $CPPFLAGS'
19262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
19267 $as_echo "$ac_exception_model_name" >&6; }
19269 # If we are non using SJLJ exceptions, and this host does not have support
19270 # for unwinding from a signal handler, enable checked dereferences and divides.
19271 if test $can_unwind_signal = no && test $enable_sjlj_exceptions = no; then
19272 CHECKREFSPEC=-fcheck-references
19273 DIVIDESPEC=-fuse-divide-subroutine
19277 # See if the user wants to disable java.net. This is the mildly
19278 # ugly way that we admit that target-side configuration sucks.
19279 # Check whether --enable-java-net was given.
19280 if test "${enable_java_net+set}" = set; then :
19281 enableval=$enable_java_net;
19285 # Whether java.net is built by default can depend on the target.
19286 if test -z "$enable_java_net"; then
19287 enable_java_net=${enable_java_net_default-yes}
19289 if test "$enable_java_net" = no; then
19291 $as_echo "#define DISABLE_JAVA_NET 1" >>confdefs.h
19295 # See if the user wants to configure without libffi. Some
19296 # architectures don't support it, and default values are set in
19299 # Check whether --with-libffi was given.
19300 if test "${with_libffi+set}" = set; then :
19301 withval=$with_libffi; :
19303 with_libffi=${with_libffi_default-yes}
19309 if test "$with_libffi" != no; then
19311 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
19313 LIBFFI=../libffi/libffi_convenience.la
19314 LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I../libffi/include'
19319 # See if the user wants to disable JVMPI support.
19320 # Check whether --enable-jvmpi was given.
19321 if test "${enable_jvmpi+set}" = set; then :
19322 enableval=$enable_jvmpi;
19326 if test "$enable_jvmpi" != no; then
19328 $as_echo "#define ENABLE_JVMPI 1" >>confdefs.h
19332 # If the target is an eCos system, use the appropriate eCos
19334 # FIXME: this should not be a local option but a global target
19335 # system; at present there is no eCos target.
19336 TARGET_ECOS=${PROCESS-"no"}
19338 # Check whether --with-ecos was given.
19339 if test "${with_ecos+set}" = set; then :
19340 withval=$with_ecos; TARGET_ECOS="$with_ecos"
19345 case "$TARGET_ECOS" in
19346 no) case "$host" in
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 'ld' is at least 2.13" >&5
19353 $as_echo_n "checking whether 'ld' is at least 2.13... " >&6; }
19354 LD_PROG=`$CC --print-prog-name=ld
`
19355 LD_VERSION=`$LD_PROG --version`
19356 LD_VERSION_MAJOR=`echo "$LD_VERSION" |
head -1 | cut
-d '.' -f 1 | cut
-d ' ' -f 4`
19357 LD_VERSION_MINOR=`echo "$LD_VERSION" |
head -1 | cut
-d '.' -f 2`
19358 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
19361 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \>= 13 > /dev/null; then
19365 if test "x$LD_OK" != x; then
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
19367 $as_echo "yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6; }
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
19370 $as_echo "no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6; }
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
19372 $as_echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
19374 $as_echo "#define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1" >>confdefs.h
19389 $as_echo "#define ECOS 1" >>confdefs.h
19395 ac_config_links="$ac_config_links include/platform.h:include/$PLATFORMH"
19398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19400 #include <stdint.h>
19403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19404 $EGREP "uint32_t" >/dev/null 2>&1; then :
19406 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
19411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19412 /* end confdefs.h. */
19413 #include <inttypes.h>
19416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19417 $EGREP "uint32_t" >/dev/null 2>&1; then :
19419 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
19424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19425 /* end confdefs.h. */
19426 #include <sys/types.h>
19429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19430 $EGREP "u_int32_t" >/dev/null 2>&1; then :
19432 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
19437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19438 /* end confdefs.h. */
19439 #include <sys/config.h>
19442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19443 $EGREP "u_int32_t" >/dev/null 2>&1; then :
19445 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
19451 if test "$PLATFORM" = Win32; then
19452 USING_WIN32_PLATFORM_TRUE=
19453 USING_WIN32_PLATFORM_FALSE='#'
19455 USING_WIN32_PLATFORM_TRUE='#'
19456 USING_WIN32_PLATFORM_FALSE=
19459 if test "$PLATFORM" = Posix || test "$PLATFORM" = Ecos; then
19460 USING_POSIX_PLATFORM_TRUE=
19461 USING_POSIX_PLATFORM_FALSE='#'
19463 USING_POSIX_PLATFORM_TRUE='#'
19464 USING_POSIX_PLATFORM_FALSE=
19469 *-darwin*) DARWIN_CRT=true ;;
19470 *) DARWIN_CRT=false ;;
19472 if $DARWIN_CRT; then
19473 USING_DARWIN_CRT_TRUE=
19474 USING_DARWIN_CRT_FALSE='#'
19476 USING_DARWIN_CRT_TRUE='#'
19477 USING_DARWIN_CRT_FALSE=
19481 # This may not be defined in a non-ANS conformant embedded system.
19482 # FIXME: Should these case a runtime exception in that case?
19483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19484 /* end confdefs.h. */
19488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19489 $EGREP "localtime" >/dev/null 2>&1; then :
19491 $as_echo "#define HAVE_LOCALTIME 1" >>confdefs.h
19497 # Create the subdirectory for natFile.cc, or the attempt
19498 # to create the link will fail.
19499 test -d java || mkdir java
19500 test -d java/io || mkdir java/io
19501 test -d gnu || mkdir gnu
19502 ac_config_links="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
19505 # Likewise for natConcreteProcess.cc.
19506 test -d java/lang || mkdir java/lang
19507 ac_config_links="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
19510 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
19511 test -d java/net || mkdir java/net
19512 ac_config_links="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
19514 ac_config_links="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
19517 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
19518 test -d gnu/java || mkdir gnu/java
19519 test -d gnu/java/net || mkdir gnu/java/net
19520 ac_config_links="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
19522 ac_config_links="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
19525 # Likewise for natVMPipe.cc and natVMSelector.cc.
19526 test -d gnu/java/nio || mkdir gnu/java/nio
19527 ac_config_links="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
19529 ac_config_links="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
19532 # Likewise for natFileChannelImpl.cc
19533 test -d gnu/java/nio/channels || mkdir gnu/java/nio/channels
19534 ac_config_links="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
19537 # Likewise for natVMSecureRandom.cc
19538 test -d gnu/java/security || mkdir gnu/java/security
19539 test -d gnu/java/security/jce || mkdir gnu/java/security/jce
19540 test -d gnu/java/security/jce/prng || mkdir gnu/java/security/jce/prng
19541 ac_config_links="$ac_config_links gnu/java/security/jce/prng/natVMSecureRandom.cc:gnu/java/security/jce/prng/natVMSecureRandom${FILE-${PLATFORM}}.cc"
19546 SYSTEMSPEC="-lgdi32 -lws2_32"
19547 if test "${with_win32_nlsapi}" = "unicows"; then
19548 SYSTEMSPEC="-lunicows $SYSTEMSPEC"
19558 # Check whether --with-system-zlib was given.
19559 if test "${with_system_zlib+set}" = set; then :
19560 withval=$with_system_zlib;
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19569 $as_echo_n "checking for X... " >&6; }
19572 # Check whether --with-x was given.
19573 if test "${with_x+set}" = set; then :
19577 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19578 if test "x$with_x" = xno; then
19579 # The user explicitly disabled X.
19582 case $x_includes,$x_libraries in #(
19583 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
19584 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
19585 $as_echo_n "(cached) " >&6
19587 # One or both of the vars are not set, and there is no cached value.
19588 ac_x_includes=no ac_x_libraries=no
19589 rm -f -r conftest.dir
19590 if mkdir conftest.dir; then
19592 cat >Imakefile <<'_ACEOF'
19594 @echo incroot='${INCROOT}'
19596 @echo usrlibdir='${USRLIBDIR}'
19598 @echo libdir='${LIBDIR}'
19600 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
19601 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19602 for ac_var in incroot usrlibdir libdir; do
19603 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
19605 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19606 for ac_extension in a so sl dylib la dll; do
19607 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19608 test -f "$ac_im_libdir/libX11.$ac_extension"; then
19609 ac_im_usrlibdir=$ac_im_libdir; break
19612 # Screen out bogus values from the imake configuration. They are
19613 # bogus both because they are the default anyway, and because
19614 # using them would break gcc on systems where it needs fixed includes.
19615 case $ac_im_incroot in
19616 /usr/include) ac_x_includes= ;;
19617 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19619 case $ac_im_usrlibdir in
19620 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
19621 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19625 rm -f -r conftest.dir
19628 # Standard set of common directories for X headers.
19629 # Check X11 before X11Rn because it is often a symlink to the current release.
19643 /usr/local/X11/include
19644 /usr/local/X11R7/include
19645 /usr/local/X11R6/include
19646 /usr/local/X11R5/include
19647 /usr/local/X11R4/include
19649 /usr/local/include/X11
19650 /usr/local/include/X11R7
19651 /usr/local/include/X11R6
19652 /usr/local/include/X11R5
19653 /usr/local/include/X11R4
19657 /usr/XFree86/include/X11
19661 /usr/unsupported/include
19662 /usr/athena/include
19663 /usr/local/x11r5/include
19664 /usr/lpp/Xamples/include
19666 /usr/openwin/include
19667 /usr/openwin/share/include'
19669 if test "$ac_x_includes" = no; then
19670 # Guess where to find include files, by looking for Xlib.h.
19671 # First, try using that file with no special directory specified.
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19674 #include <X11/Xlib.h>
19676 if ac_fn_c_try_cpp "$LINENO"; then :
19677 # We can compile using X headers with no special include directory.
19680 for ac_dir in $ac_x_header_dirs; do
19681 if test -r "$ac_dir/X11/Xlib.h"; then
19682 ac_x_includes=$ac_dir
19687 rm -f conftest.err conftest.$ac_ext
19688 fi # $ac_x_includes = no
19690 if test "$ac_x_libraries" = no; then
19691 # Check for the libraries.
19692 # See if we find them without any special options.
19693 # Don't add to $LIBS permanently.
19696 if test x$gcc_no_link = xyes; then
19697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h. */
19701 #include <X11/Xlib.h>
19710 if ac_fn_c_try_link "$LINENO"; then :
19712 # We can link X programs with no special library path.
19716 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
19718 # Don't even attempt the hair of trying to link an X program!
19719 for ac_extension in a so sl dylib la dll; do
19720 if test -r "$ac_dir/libX11.$ac_extension"; then
19721 ac_x_libraries=$ac_dir
19727 rm -f core conftest.err conftest.$ac_objext \
19728 conftest$ac_exeext conftest.$ac_ext
19729 fi # $ac_x_libraries = no
19731 case $ac_x_includes,$ac_x_libraries in #(
19732 no,* | *,no | *\'*)
19733 # Didn't find X, or a directory has "'" in its name.
19734 ac_cv_have_x="have_x=no";; #(
19736 # Record where we found X for the cache.
19737 ac_cv_have_x="have_x=yes\
19738 ac_x_includes='$ac_x_includes'\
19739 ac_x_libraries='$ac_x_libraries'"
19745 eval "$ac_cv_have_x"
19748 if test "$have_x" != yes; then
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19750 $as_echo "$have_x" >&6; }
19753 # If each of the values was on the command line, it overrides each guess.
19754 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
19755 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
19756 # Update the cache value to reflect the command line values.
19757 ac_cv_have_x="have_x=yes\
19758 ac_x_includes='$x_includes'\
19759 ac_x_libraries='$x_libraries'"
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
19761 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19764 if test "$no_x" = yes; then
19765 # Not all programs may use this symbol, but it does not hurt to define it.
19767 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
19769 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
19771 if test -n "$x_includes"; then
19772 X_CFLAGS="$X_CFLAGS -I$x_includes"
19775 # It would also be nice to do this for all -L options, not just this one.
19776 if test -n "$x_libraries"; then
19777 X_LIBS="$X_LIBS -L$x_libraries"
19778 # For Solaris; some versions of Sun CC require a space after -R and
19779 # others require no space. Words are not sufficient . . . .
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
19781 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
19782 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
19783 ac_xsave_c_werror_flag=$ac_c_werror_flag
19784 ac_c_werror_flag=yes
19785 if test x$gcc_no_link = xyes; then
19786 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19789 /* end confdefs.h. */
19799 if ac_fn_c_try_link "$LINENO"; then :
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19801 $as_echo "no" >&6; }
19802 X_LIBS="$X_LIBS -R$x_libraries"
19804 LIBS="$ac_xsave_LIBS -R $x_libraries"
19805 if test x$gcc_no_link = xyes; then
19806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19809 /* end confdefs.h. */
19819 if ac_fn_c_try_link "$LINENO"; then :
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19821 $as_echo "yes" >&6; }
19822 X_LIBS="$X_LIBS -R $x_libraries"
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
19825 $as_echo "neither works" >&6; }
19827 rm -f core conftest.err conftest.$ac_objext \
19828 conftest$ac_exeext conftest.$ac_ext
19830 rm -f core conftest.err conftest.$ac_objext \
19831 conftest$ac_exeext conftest.$ac_ext
19832 ac_c_werror_flag=$ac_xsave_c_werror_flag
19833 LIBS=$ac_xsave_LIBS
19836 # Check for system-dependent libraries X programs must link with.
19837 # Do this before checking for the system-independent R6 libraries
19838 # (-lICE), since we may need -lsocket or whatever for X linking.
19840 if test "$ISC" = yes; then
19841 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
19843 # Martyn Johnson says this is needed for Ultrix, if the X
19844 # libraries were built with DECnet support. And Karl Berry says
19845 # the Alpha needs dnet_stub (dnet does not exist).
19846 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
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. */
19853 /* Override any GCC internal prototype to avoid an error.
19854 Use char because int might match the return type of a GCC
19855 builtin and then its argument prototype would still apply. */
19859 char XOpenDisplay ();
19863 return XOpenDisplay ();
19868 if ac_fn_c_try_link "$LINENO"; then :
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
19872 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
19873 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
19874 $as_echo_n "(cached) " >&6
19876 ac_check_lib_save_LIBS=$LIBS
19877 LIBS="-ldnet $LIBS"
19878 if test x$gcc_no_link = xyes; then
19879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19882 /* end confdefs.h. */
19884 /* Override any GCC internal prototype to avoid an error.
19885 Use char because int might match the return type of a GCC
19886 builtin and then its argument prototype would still apply. */
19894 return dnet_ntoa ();
19899 if ac_fn_c_try_link "$LINENO"; then :
19900 ac_cv_lib_dnet_dnet_ntoa=yes
19902 ac_cv_lib_dnet_dnet_ntoa=no
19904 rm -f core conftest.err conftest.$ac_objext \
19905 conftest$ac_exeext conftest.$ac_ext
19906 LIBS=$ac_check_lib_save_LIBS
19908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19909 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19910 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
19911 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
19914 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
19916 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
19917 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
19918 $as_echo_n "(cached) " >&6
19920 ac_check_lib_save_LIBS=$LIBS
19921 LIBS="-ldnet_stub $LIBS"
19922 if test x$gcc_no_link = xyes; then
19923 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19926 /* end confdefs.h. */
19928 /* Override any GCC internal prototype to avoid an error.
19929 Use char because int might match the return type of a GCC
19930 builtin and then its argument prototype would still apply. */
19938 return dnet_ntoa ();
19943 if ac_fn_c_try_link "$LINENO"; then :
19944 ac_cv_lib_dnet_stub_dnet_ntoa=yes
19946 ac_cv_lib_dnet_stub_dnet_ntoa=no
19948 rm -f core conftest.err conftest.$ac_objext \
19949 conftest$ac_exeext conftest.$ac_ext
19950 LIBS=$ac_check_lib_save_LIBS
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19953 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19954 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
19955 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
19960 rm -f core conftest.err conftest.$ac_objext \
19961 conftest$ac_exeext conftest.$ac_ext
19962 LIBS="$ac_xsave_LIBS"
19964 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19965 # to get the SysV transport functions.
19966 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19968 # The nsl library prevents programs from opening the X display
19969 # on Irix 5.2, according to T.E. Dickey.
19970 # The functions gethostbyname, getservbyname, and inet_addr are
19971 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19972 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
19973 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
19977 if test $ac_cv_func_gethostbyname = no; then
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
19979 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
19980 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
19981 $as_echo_n "(cached) " >&6
19983 ac_check_lib_save_LIBS=$LIBS
19985 if test x$gcc_no_link = xyes; then
19986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19989 /* end confdefs.h. */
19991 /* Override any GCC internal prototype to avoid an error.
19992 Use char because int might match the return type of a GCC
19993 builtin and then its argument prototype would still apply. */
19997 char gethostbyname ();
20001 return gethostbyname ();
20006 if ac_fn_c_try_link "$LINENO"; then :
20007 ac_cv_lib_nsl_gethostbyname=yes
20009 ac_cv_lib_nsl_gethostbyname=no
20011 rm -f core conftest.err conftest.$ac_objext \
20012 conftest$ac_exeext conftest.$ac_ext
20013 LIBS=$ac_check_lib_save_LIBS
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20016 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20017 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
20018 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20021 if test $ac_cv_lib_nsl_gethostbyname = no; then
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
20023 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20024 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
20025 $as_echo_n "(cached) " >&6
20027 ac_check_lib_save_LIBS=$LIBS
20029 if test x$gcc_no_link = xyes; then
20030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20033 /* end confdefs.h. */
20035 /* Override any GCC internal prototype to avoid an error.
20036 Use char because int might match the return type of a GCC
20037 builtin and then its argument prototype would still apply. */
20041 char gethostbyname ();
20045 return gethostbyname ();
20050 if ac_fn_c_try_link "$LINENO"; then :
20051 ac_cv_lib_bsd_gethostbyname=yes
20053 ac_cv_lib_bsd_gethostbyname=no
20055 rm -f core conftest.err conftest.$ac_objext \
20056 conftest$ac_exeext conftest.$ac_ext
20057 LIBS=$ac_check_lib_save_LIBS
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
20060 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
20061 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
20062 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20068 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20069 # socket/setsockopt and other routines are undefined under SCO ODT
20070 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20071 # on later versions), says Simon Leinen: it contains gethostby*
20072 # variants that don't use the name server (or something). -lsocket
20073 # must be given before -lnsl if both are needed. We assume that
20074 # if connect needs -lnsl, so does gethostbyname.
20075 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
20076 if test "x$ac_cv_func_connect" = x""yes; then :
20080 if test $ac_cv_func_connect = no; then
20081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
20082 $as_echo_n "checking for connect in -lsocket... " >&6; }
20083 if test "${ac_cv_lib_socket_connect+set}" = set; then :
20084 $as_echo_n "(cached) " >&6
20086 ac_check_lib_save_LIBS=$LIBS
20087 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20088 if test x$gcc_no_link = xyes; then
20089 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20092 /* end confdefs.h. */
20094 /* Override any GCC internal prototype to avoid an error.
20095 Use char because int might match the return type of a GCC
20096 builtin and then its argument prototype would still apply. */
20109 if ac_fn_c_try_link "$LINENO"; then :
20110 ac_cv_lib_socket_connect=yes
20112 ac_cv_lib_socket_connect=no
20114 rm -f core conftest.err conftest.$ac_objext \
20115 conftest$ac_exeext conftest.$ac_ext
20116 LIBS=$ac_check_lib_save_LIBS
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
20119 $as_echo "$ac_cv_lib_socket_connect" >&6; }
20120 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
20121 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20126 # Guillermo Gomez says -lposix is necessary on A/UX.
20127 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
20128 if test "x$ac_cv_func_remove" = x""yes; then :
20132 if test $ac_cv_func_remove = no; then
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
20134 $as_echo_n "checking for remove in -lposix... " >&6; }
20135 if test "${ac_cv_lib_posix_remove+set}" = set; then :
20136 $as_echo_n "(cached) " >&6
20138 ac_check_lib_save_LIBS=$LIBS
20139 LIBS="-lposix $LIBS"
20140 if test x$gcc_no_link = xyes; then
20141 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20144 /* end confdefs.h. */
20146 /* Override any GCC internal prototype to avoid an error.
20147 Use char because int might match the return type of a GCC
20148 builtin and then its argument prototype would still apply. */
20161 if ac_fn_c_try_link "$LINENO"; then :
20162 ac_cv_lib_posix_remove=yes
20164 ac_cv_lib_posix_remove=no
20166 rm -f core conftest.err conftest.$ac_objext \
20167 conftest$ac_exeext conftest.$ac_ext
20168 LIBS=$ac_check_lib_save_LIBS
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
20171 $as_echo "$ac_cv_lib_posix_remove" >&6; }
20172 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
20173 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20178 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20179 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
20180 if test "x$ac_cv_func_shmat" = x""yes; then :
20184 if test $ac_cv_func_shmat = no; then
20185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
20186 $as_echo_n "checking for shmat in -lipc... " >&6; }
20187 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
20188 $as_echo_n "(cached) " >&6
20190 ac_check_lib_save_LIBS=$LIBS
20192 if test x$gcc_no_link = xyes; then
20193 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20196 /* end confdefs.h. */
20198 /* Override any GCC internal prototype to avoid an error.
20199 Use char because int might match the return type of a GCC
20200 builtin and then its argument prototype would still apply. */
20213 if ac_fn_c_try_link "$LINENO"; then :
20214 ac_cv_lib_ipc_shmat=yes
20216 ac_cv_lib_ipc_shmat=no
20218 rm -f core conftest.err conftest.$ac_objext \
20219 conftest$ac_exeext conftest.$ac_ext
20220 LIBS=$ac_check_lib_save_LIBS
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
20223 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
20224 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
20225 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20231 # Check for libraries that X11R6 Xt/Xaw programs need.
20232 ac_save_LDFLAGS=$LDFLAGS
20233 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
20234 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20235 # check for ICE first), but we must link in the order -lSM -lICE or
20236 # we get undefined symbols. So assume we have SM if we have ICE.
20237 # These have to be linked with before -lX11, unlike the other
20238 # libraries we check for below, so use a different variable.
20239 # John Interrante, Karl Berry
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
20241 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
20242 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
20243 $as_echo_n "(cached) " >&6
20245 ac_check_lib_save_LIBS=$LIBS
20246 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
20247 if test x$gcc_no_link = xyes; then
20248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20251 /* end confdefs.h. */
20253 /* Override any GCC internal prototype to avoid an error.
20254 Use char because int might match the return type of a GCC
20255 builtin and then its argument prototype would still apply. */
20259 char IceConnectionNumber ();
20263 return IceConnectionNumber ();
20268 if ac_fn_c_try_link "$LINENO"; then :
20269 ac_cv_lib_ICE_IceConnectionNumber=yes
20271 ac_cv_lib_ICE_IceConnectionNumber=no
20273 rm -f core conftest.err conftest.$ac_objext \
20274 conftest$ac_exeext conftest.$ac_ext
20275 LIBS=$ac_check_lib_save_LIBS
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20278 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20279 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
20280 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
20283 LDFLAGS=$ac_save_LDFLAGS
20288 # FIXME: this should be _libs on some hosts.
20291 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20294 # extra LD Flags which are required for targets
20297 # For now we have to disable it on darwin[8-9] because it slows down
20298 # the linking phase. A possible bug in ld?
20299 # on Darwin -single_module speeds up loading of the dynamic libraries.
20300 extra_ldflags_libjava=-Wl,-single_module
20303 extra_gij_ldflags=-Wl,-allow_stack_execute
20306 # Some of the ARM unwinder code is actually in libstdc++. We
20307 # could in principle replicate it in libgcj, but it's better to
20308 # have a dependency on libstdc++.
20309 extra_ldflags='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20310 LIBSTDCXXSPEC=-lstdc++
20311 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20321 # Allow the GC to be disabled. Can be useful when debugging.
20322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for garbage collector to use" >&5
20323 $as_echo_n "checking for garbage collector to use... " >&6; }
20324 # Check whether --enable-java-gc was given.
20325 if test "${enable_java_gc+set}" = set; then :
20326 enableval=$enable_java_gc; GC=$enableval
20339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: boehm" >&5
20340 $as_echo "boehm" >&6; }
20341 GCLIBS=../boehm-gc/libgcjgc_convenience.la
20342 JC1GCSPEC='-fuse-boehm-gc'
20343 GCTESTSPEC="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20344 GCINCS='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20347 # The POSIX thread support needs to know this.
20349 $as_echo "#define HAVE_BOEHM_GC 1" >>confdefs.h
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
20354 $as_echo "none" >&6; }
20358 as_fn_error "unrecognized collector \"$GC\"" "$LINENO" 5
20367 ac_config_links="$ac_config_links include/java-gc.h:include/$GCHDR"
20369 if test "$GC" = boehm; then
20370 USING_BOEHMGC_TRUE=
20371 USING_BOEHMGC_FALSE='#'
20373 USING_BOEHMGC_TRUE='#'
20374 USING_BOEHMGC_FALSE=
20377 if test "$GC" = no; then
20379 USING_NOGC_FALSE='#'
20381 USING_NOGC_TRUE='#'
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
20388 $as_echo_n "checking for thread model used by GCC... " >&6; }
20389 THREADS=`$CC -v 2>&1 |
sed -n 's/^Thread model: //p'`
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS" >&5
20391 $as_echo "$THREADS" >&6; }
20394 no | none | single)
20397 aix | posix | posix95 | pthreads)
20402 $as_echo "#define LINUX_THREADS 1" >>confdefs.h
20409 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
20410 as_fn_error "thread package $THREADS not yet supported" "$LINENO" 5
20413 as_fn_error "$THREADS is an unknown thread package" "$LINENO" 5
20424 THREADSTARTFILESPEC=
20429 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20431 *-*-freebsd[1234]*)
20432 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20433 # merely adds pthread_* functions) but it does have a -pthread switch
20434 # which is required at link-time to select -lc_r *instead* of -lc.
20435 THREADLDFLAGS=-pthread
20436 # Don't set THREADSPEC here as might be expected since -pthread is
20437 # not processed when found within a spec file, it must come from
20438 # the command line. For now, the user must provide the -pthread
20439 # switch to link code compiled with gcj. In future, consider adding
20440 # support for weak references to pthread_* functions ala gthr.h API.
20441 THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20444 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20445 # systems which support threads and -lpthread.
20446 THREADLDFLAGS=-pthread
20447 THREADSPEC=-lpthread
20449 alpha*-dec-osf* | hppa*-hp-hpux*)
20450 THREADCXXFLAGS=-pthread
20451 # boehm-gc needs some functions from librt, so link that too.
20452 THREADLIBS='-lpthread -lrt'
20453 THREADSPEC='-lpthread -lrt'
20456 THREADLIBS=-lpthread
20457 THREADSPEC=-lpthread
20460 THREADH=posix-threads.h
20461 # MIT pthreads doesn't seem to have the mutexattr functions.
20462 # But for now we don't check for it. We just assume you aren't
20463 # using MIT pthreads.
20465 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20468 # If we're using the Boehm GC, then we happen to know that it
20469 # defines _REENTRANT, so we don't bother. Eww.
20470 if test "$GC" != boehm; then
20472 $as_echo "#define _REENTRANT 1" >>confdefs.h
20476 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
20481 THREADH=win32-threads.h
20482 THREADCXXFLAGS=-mthreads
20483 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20484 # But we do not want the executables created to be dependent on
20485 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20486 # exception handling contexts. The following kludge achieves this effect
20487 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20488 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20489 # A workaround is to explicitly use -mthreads while linking Java programs.
20490 # See PR libgcj/28263.
20492 # FIXME: In Java we are able to detect thread death at the end of
20493 # Thread.run() so we should be able to clean up the exception handling
20494 # contexts ourselves.
20495 THREADSTARTFILESPEC='crtmt%O%s'
20499 THREADH=no-threads.h
20502 ac_config_links="$ac_config_links include/java-threads.h:include/$THREADH"
20511 if test "$THREADS" = posix; then
20512 USING_POSIX_THREADS_TRUE=
20513 USING_POSIX_THREADS_FALSE='#'
20515 USING_POSIX_THREADS_TRUE='#'
20516 USING_POSIX_THREADS_FALSE=
20519 if test "$THREADS" = win32; then
20520 USING_WIN32_THREADS_TRUE=
20521 USING_WIN32_THREADS_FALSE='#'
20523 USING_WIN32_THREADS_TRUE='#'
20524 USING_WIN32_THREADS_FALSE=
20527 if test "$THREADS" = none; then
20528 USING_NO_THREADS_TRUE=
20529 USING_NO_THREADS_FALSE='#'
20531 USING_NO_THREADS_TRUE='#'
20532 USING_NO_THREADS_FALSE=
20535 if test "$enable_shared" != yes; then
20538 if test "$use_libgcj_bc" = yes; then
20539 USE_LIBGCJ_BC_TRUE=
20540 USE_LIBGCJ_BC_FALSE='#'
20542 USE_LIBGCJ_BC_TRUE='#'
20543 USE_LIBGCJ_BC_FALSE=
20547 if test -d sysdep; then true; else mkdir sysdep; fi
20548 ac_config_links="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20550 ac_config_links="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20552 ac_config_links="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20555 LIBGCJ_SPEC="%{s-bc-abi:} -lgcj"
20556 if test "$use_libgcj_bc" = yes; then
20557 LIBGCJ_SPEC="%{static|static-libgcj|!s-bc-abi:-lgcj;:-lgcj_bc}"
20558 LIBGCJ_BC_SPEC="%{findirect-dispatch:-fPIC}"
20564 # Hash synchronization is only useful with posix threads right now.
20565 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20566 HASH_SYNC_SPEC=-fhash-synchronization
20568 $as_echo "#define JV_HASH_SYNCHRONIZATION 1" >>confdefs.h
20573 if test "$GCC" = yes; then
20575 USING_GCC_FALSE='#'
20582 # We're in the tree with gcc, and need to include some of its headers.
20583 GCC_UNWIND_INCLUDE='-I$(multi_basedir)/./libjava/../gcc'
20585 if test "x${with_newlib}" = "xyes"; then
20586 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20587 # may not work correctly, because the compiler may not be able to
20588 # link executables.
20590 # We assume newlib. This lets us hard-code the functions we know
20593 $as_echo "#define HAVE_MEMMOVE 1" >>confdefs.h
20596 $as_echo "#define HAVE_MEMCPY 1" >>confdefs.h
20599 $as_echo "#define HAVE_TIME 1" >>confdefs.h
20602 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
20605 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
20608 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
20610 # This is only for POSIX threads.
20612 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20615 # Assume we do not have getuid and friends.
20617 $as_echo "#define NO_GETUID 1" >>confdefs.h
20621 for ac_func in strerror_r select fstat open fsync sleep opendir \
20622 localtime_r getpwuid_r getcwd \
20623 access stat lstat mkdir rename rmdir unlink utime chmod readlink \
20624 nl_langinfo setlocale \
20625 inet_pton uname inet_ntoa \
20626 getrlimit sigaction ftruncate mmap \
20629 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20631 eval as_val=\$$as_ac_var
20632 if test "x$as_val" = x""yes; then :
20633 cat >>confdefs.h <<_ACEOF
20634 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20640 for ac_func in inet_aton inet_addr
20642 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20643 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20644 eval as_val=\$$as_ac_var
20645 if test "x$as_val" = x""yes; then :
20646 cat >>confdefs.h <<_ACEOF
20647 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20653 for ac_header in unistd.h dlfcn.h sys/resource.h
20655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20656 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20657 eval as_val=\$$as_ac_Header
20658 if test "x$as_val" = x""yes; then :
20659 cat >>confdefs.h <<_ACEOF
20660 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20667 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
20668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
20669 $as_echo_n "checking for dladdr in -ldl... " >&6; }
20670 if test "${ac_cv_lib_dl_dladdr+set}" = set; then :
20671 $as_echo_n "(cached) " >&6
20673 ac_check_lib_save_LIBS=$LIBS
20675 if test x$gcc_no_link = xyes; then
20676 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20679 /* end confdefs.h. */
20681 /* Override any GCC internal prototype to avoid an error.
20682 Use char because int might match the return type of a GCC
20683 builtin and then its argument prototype would still apply. */
20696 if ac_fn_c_try_link "$LINENO"; then :
20697 ac_cv_lib_dl_dladdr=yes
20699 ac_cv_lib_dl_dladdr=no
20701 rm -f core conftest.err conftest.$ac_objext \
20702 conftest$ac_exeext conftest.$ac_ext
20703 LIBS=$ac_check_lib_save_LIBS
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
20706 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
20707 if test "x$ac_cv_lib_dl_dladdr" = x""yes; then :
20710 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldld" >&5
20715 $as_echo_n "checking for dladdr in -ldld... " >&6; }
20716 if test "${ac_cv_lib_dld_dladdr+set}" = set; then :
20717 $as_echo_n "(cached) " >&6
20719 ac_check_lib_save_LIBS=$LIBS
20721 if test x$gcc_no_link = xyes; then
20722 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20725 /* end confdefs.h. */
20727 /* Override any GCC internal prototype to avoid an error.
20728 Use char because int might match the return type of a GCC
20729 builtin and then its argument prototype would still apply. */
20742 if ac_fn_c_try_link "$LINENO"; then :
20743 ac_cv_lib_dld_dladdr=yes
20745 ac_cv_lib_dld_dladdr=no
20747 rm -f core conftest.err conftest.$ac_objext \
20748 conftest$ac_exeext conftest.$ac_ext
20749 LIBS=$ac_check_lib_save_LIBS
20751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dladdr" >&5
20752 $as_echo "$ac_cv_lib_dld_dladdr" >&6; }
20753 if test "x$ac_cv_lib_dld_dladdr" = x""yes; then :
20756 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
20763 if test x"$cross_compiling" = x"no"; then
20764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/exe" >&5
20765 $as_echo_n "checking for /proc/self/exe... " >&6; }
20766 if test "${ac_cv_file__proc_self_exe+set}" = set; then :
20767 $as_echo_n "(cached) " >&6
20769 test "$cross_compiling" = yes &&
20770 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
20771 if test -r "/proc/self/exe"; then
20772 ac_cv_file__proc_self_exe=yes
20774 ac_cv_file__proc_self_exe=no
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_exe" >&5
20778 $as_echo "$ac_cv_file__proc_self_exe" >&6; }
20779 if test "x$ac_cv_file__proc_self_exe" = x""yes; then :
20781 cat >>confdefs.h <<_ACEOF
20782 #define HAVE__PROC_SELF_EXE 1
20786 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/maps" >&5
20791 $as_echo_n "checking for /proc/self/maps... " >&6; }
20792 if test "${ac_cv_file__proc_self_maps+set}" = set; then :
20793 $as_echo_n "(cached) " >&6
20795 test "$cross_compiling" = yes &&
20796 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
20797 if test -r "/proc/self/maps"; then
20798 ac_cv_file__proc_self_maps=yes
20800 ac_cv_file__proc_self_maps=no
20803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_maps" >&5
20804 $as_echo "$ac_cv_file__proc_self_maps" >&6; }
20805 if test "x$ac_cv_file__proc_self_maps" = x""yes; then :
20807 cat >>confdefs.h <<_ACEOF
20808 #define HAVE__PROC_SELF_MAPS 1
20812 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
20820 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
20823 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
20830 if test "X$prefix" = "XNONE"; then
20831 acl_final_prefix="$ac_default_prefix"
20833 acl_final_prefix="$prefix"
20835 if test "X$exec_prefix" = "XNONE"; then
20836 acl_final_exec_prefix='${prefix}'
20838 acl_final_exec_prefix="$exec_prefix"
20840 acl_save_prefix="$prefix"
20841 prefix="$acl_final_prefix"
20842 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
20843 prefix="$acl_save_prefix"
20846 # Check whether --with-gnu-ld was given.
20847 if test "${with_gnu_ld+set}" = set; then :
20848 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20853 # Prepare PATH_SEPARATOR.
20854 # The user is always right.
20855 if test "${PATH_SEPARATOR+set}" != set; then
20856 echo "#! /bin/sh" >conf$$.sh
20857 echo "exit 0" >>conf$$.sh
20859 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20867 if test "$GCC" = yes; then
20868 # Check if gcc -print-prog-name=ld gives a path.
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
20870 $as_echo_n "checking for ld used by GCC... " >&6; }
20873 # gcc leaves a trailing carriage return which upsets mingw
20874 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
20876 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
20879 # Accept absolute paths.
20880 [\\/]* | [A-Za-z]:[\\/]*)
20881 re_direlt='/[^/][^/]*/\.\./'
20882 # Canonicalize the path of ld
20883 ac_prog=`echo $ac_prog|
sed 's%\\\\%/%g'`
20884 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
20885 ac_prog=`echo $ac_prog|
sed "s%$re_direlt%/%"`
20887 test -z "$LD" && LD="$ac_prog"
20890 # If it fails, then pretend we aren't using GCC.
20894 # If it is relative, then search for the first ld in PATH.
20895 with_gnu_ld=unknown
20898 elif test "$with_gnu_ld" = yes; then
20899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20900 $as_echo_n "checking for GNU ld... " >&6; }
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20903 $as_echo_n "checking for non-GNU ld... " >&6; }
20905 if test "${acl_cv_path_LD+set}" = set; then :
20906 $as_echo_n "(cached) " >&6
20908 if test -z "$LD"; then
20909 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
20910 for ac_dir in $PATH; do
20911 test -z "$ac_dir" && ac_dir=.
20912 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20913 acl_cv_path_LD="$ac_dir/$ac_prog"
20914 # Check to see if the program is GNU ld. I'd rather use --version,
20915 # but apparently some GNU ld's only accept -v.
20916 # Break only if it was the GNU/non-GNU ld that we prefer.
20917 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
20918 test "$with_gnu_ld" != no && break
20920 test "$with_gnu_ld" != yes && break
20926 acl_cv_path_LD="$LD" # Let the user override the test with a path.
20930 LD="$acl_cv_path_LD"
20931 if test -n "$LD"; then
20932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20933 $as_echo "$LD" >&6; }
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20936 $as_echo "no" >&6; }
20938 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20940 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20941 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
20942 $as_echo_n "(cached) " >&6
20944 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
20945 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
20946 acl_cv_prog_gnu_ld=yes
20948 acl_cv_prog_gnu_ld=no
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
20952 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
20953 with_gnu_ld=$acl_cv_prog_gnu_ld
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
20958 $as_echo_n "checking for shared library run path origin... " >&6; }
20959 if test "${acl_cv_rpath+set}" = set; then :
20960 $as_echo_n "(cached) " >&6
20963 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
20964 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
20966 rm -f ./conftest.sh
20970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
20971 $as_echo "$acl_cv_rpath" >&6; }
20973 libext="$acl_cv_libext"
20974 shlibext="$acl_cv_shlibext"
20975 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
20976 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
20977 hardcode_direct="$acl_cv_hardcode_direct"
20978 hardcode_minus_L="$acl_cv_hardcode_minus_L"
20979 # Check whether --enable-rpath was given.
20980 if test "${enable_rpath+set}" = set; then :
20981 enableval=$enable_rpath; :
20995 acl_save_prefix="$prefix"
20996 prefix="$acl_final_prefix"
20997 acl_save_exec_prefix="$exec_prefix"
20998 exec_prefix="$acl_final_exec_prefix"
21000 eval additional_includedir=\"$includedir\"
21001 eval additional_libdir=\"$libdir\"
21003 exec_prefix="$acl_save_exec_prefix"
21004 prefix="$acl_save_prefix"
21007 # Check whether --with-libiconv-prefix was given.
21008 if test "${with_libiconv_prefix+set}" = set; then :
21009 withval=$with_libiconv_prefix;
21010 if test "X$withval" = "Xno"; then
21013 if test "X$withval" = "X"; then
21015 acl_save_prefix="$prefix"
21016 prefix="$acl_final_prefix"
21017 acl_save_exec_prefix="$exec_prefix"
21018 exec_prefix="$acl_final_exec_prefix"
21020 eval additional_includedir=\"$includedir\"
21021 eval additional_libdir=\"$libdir\"
21023 exec_prefix="$acl_save_exec_prefix"
21024 prefix="$acl_save_prefix"
21027 additional_includedir="$withval/include"
21028 additional_libdir="$withval/lib"
21039 names_already_handled=
21040 names_next_round='iconv '
21041 while test -n "$names_next_round"; do
21042 names_this_round="$names_next_round"
21044 for name in $names_this_round; do
21046 for n in $names_already_handled; do
21047 if test "$n" = "$name"; then
21048 already_handled=yes
21052 if test -z "$already_handled"; then
21053 names_already_handled="$names_already_handled $name"
21054 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21055 eval value=\"\$HAVE_LIB$uppername\"
21056 if test -n "$value"; then
21057 if test "$value" = yes; then
21058 eval value=\"\$LIB$uppername\"
21059 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
21060 eval value=\"\$LTLIB$uppername\"
21061 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
21070 if test $use_additional = yes; then
21071 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21072 found_dir="$additional_libdir"
21073 found_so="$additional_libdir/lib$name.$shlibext"
21074 if test -f "$additional_libdir/lib$name.la"; then
21075 found_la="$additional_libdir/lib$name.la"
21078 if test -f "$additional_libdir/lib$name.$libext"; then
21079 found_dir="$additional_libdir"
21080 found_a="$additional_libdir/lib$name.$libext"
21081 if test -f "$additional_libdir/lib$name.la"; then
21082 found_la="$additional_libdir/lib$name.la"
21087 if test "X$found_dir" = "X"; then
21088 for x in $LDFLAGS $LTLIBICONV; do
21090 acl_save_prefix="$prefix"
21091 prefix="$acl_final_prefix"
21092 acl_save_exec_prefix="$exec_prefix"
21093 exec_prefix="$acl_final_exec_prefix"
21095 exec_prefix="$acl_save_exec_prefix"
21096 prefix="$acl_save_prefix"
21100 dir=`echo "X$x" |
sed -e 's/^X-L//'`
21101 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21103 found_so="$dir/lib$name.$shlibext"
21104 if test -f "$dir/lib$name.la"; then
21105 found_la="$dir/lib$name.la"
21108 if test -f "$dir/lib$name.$libext"; then
21110 found_a="$dir/lib$name.$libext"
21111 if test -f "$dir/lib$name.la"; then
21112 found_la="$dir/lib$name.la"
21118 if test "X$found_dir" != "X"; then
21123 if test "X$found_dir" != "X"; then
21124 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21125 if test "X$found_so" != "X"; then
21126 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
21127 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21130 for x in $ltrpathdirs; do
21131 if test "X$x" = "X$found_dir"; then
21136 if test -z "$haveit"; then
21137 ltrpathdirs="$ltrpathdirs $found_dir"
21139 if test "$hardcode_direct" = yes; then
21140 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21142 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
21143 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21145 for x in $rpathdirs; do
21146 if test "X$x" = "X$found_dir"; then
21151 if test -z "$haveit"; then
21152 rpathdirs="$rpathdirs $found_dir"
21156 for x in $LDFLAGS $LIBICONV; do
21158 acl_save_prefix="$prefix"
21159 prefix="$acl_final_prefix"
21160 acl_save_exec_prefix="$exec_prefix"
21161 exec_prefix="$acl_final_exec_prefix"
21163 exec_prefix="$acl_save_exec_prefix"
21164 prefix="$acl_save_prefix"
21166 if test "X$x" = "X-L$found_dir"; then
21171 if test -z "$haveit"; then
21172 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21174 if test "$hardcode_minus_L" != no; then
21175 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21177 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21183 if test "X$found_a" != "X"; then
21184 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
21186 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21189 additional_includedir=
21190 case "$found_dir" in
21192 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e 's,/lib/*$,,'`
21193 additional_includedir="$basedir/include"
21196 if test "X$additional_includedir" != "X"; then
21197 if test "X$additional_includedir" != "X/usr/include"; then
21199 if test "X$additional_includedir" = "X/usr/local/include"; then
21200 if test -n "$GCC"; then
21202 linux*) haveit=yes;;
21206 if test -z "$haveit"; then
21207 for x in $CPPFLAGS $INCICONV; do
21209 acl_save_prefix="$prefix"
21210 prefix="$acl_final_prefix"
21211 acl_save_exec_prefix="$exec_prefix"
21212 exec_prefix="$acl_final_exec_prefix"
21214 exec_prefix="$acl_save_exec_prefix"
21215 prefix="$acl_save_prefix"
21217 if test "X$x" = "X-I$additional_includedir"; then
21222 if test -z "$haveit"; then
21223 if test -d "$additional_includedir"; then
21224 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21230 if test -n "$found_la"; then
21231 save_libdir="$libdir"
21232 case "$found_la" in
21233 */* | *\\*) . "$found_la" ;;
21234 *) . "./$found_la" ;;
21236 libdir="$save_libdir"
21237 for dep in $dependency_libs; do
21240 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
21241 if test "X$additional_libdir" != "X/usr/lib"; then
21243 if test "X$additional_libdir" = "X/usr/local/lib"; then
21244 if test -n "$GCC"; then
21246 linux*) haveit=yes;;
21250 if test -z "$haveit"; then
21252 for x in $LDFLAGS $LIBICONV; do
21254 acl_save_prefix="$prefix"
21255 prefix="$acl_final_prefix"
21256 acl_save_exec_prefix="$exec_prefix"
21257 exec_prefix="$acl_final_exec_prefix"
21259 exec_prefix="$acl_save_exec_prefix"
21260 prefix="$acl_save_prefix"
21262 if test "X$x" = "X-L$additional_libdir"; then
21267 if test -z "$haveit"; then
21268 if test -d "$additional_libdir"; then
21269 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21273 for x in $LDFLAGS $LTLIBICONV; do
21275 acl_save_prefix="$prefix"
21276 prefix="$acl_final_prefix"
21277 acl_save_exec_prefix="$exec_prefix"
21278 exec_prefix="$acl_final_exec_prefix"
21280 exec_prefix="$acl_save_exec_prefix"
21281 prefix="$acl_save_prefix"
21283 if test "X$x" = "X-L$additional_libdir"; then
21288 if test -z "$haveit"; then
21289 if test -d "$additional_libdir"; then
21290 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21297 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
21298 if test "$enable_rpath" != no; then
21300 for x in $rpathdirs; do
21301 if test "X$x" = "X$dir"; then
21306 if test -z "$haveit"; then
21307 rpathdirs="$rpathdirs $dir"
21310 for x in $ltrpathdirs; do
21311 if test "X$x" = "X$dir"; then
21316 if test -z "$haveit"; then
21317 ltrpathdirs="$ltrpathdirs $dir"
21322 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
21325 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21328 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
21329 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21335 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21336 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21342 if test "X$rpathdirs" != "X"; then
21343 if test -n "$hardcode_libdir_separator"; then
21345 for found_dir in $rpathdirs; do
21346 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
21348 acl_save_libdir="$libdir"
21350 eval flag=\"$hardcode_libdir_flag_spec\"
21351 libdir="$acl_save_libdir"
21352 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21354 for found_dir in $rpathdirs; do
21355 acl_save_libdir="$libdir"
21356 libdir="$found_dir"
21357 eval flag=\"$hardcode_libdir_flag_spec\"
21358 libdir="$acl_save_libdir"
21359 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21363 if test "X$ltrpathdirs" != "X"; then
21364 for found_dir in $ltrpathdirs; do
21365 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21375 am_save_CPPFLAGS="$CPPFLAGS"
21377 for element in $INCICONV; do
21379 for x in $CPPFLAGS; do
21381 acl_save_prefix="$prefix"
21382 prefix="$acl_final_prefix"
21383 acl_save_exec_prefix="$exec_prefix"
21384 exec_prefix="$acl_final_exec_prefix"
21386 exec_prefix="$acl_save_exec_prefix"
21387 prefix="$acl_save_prefix"
21389 if test "X$x" = "X$element"; then
21394 if test -z "$haveit"; then
21395 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
21401 $as_echo_n "checking for iconv... " >&6; }
21402 if test "${am_cv_func_iconv+set}" = set; then :
21403 $as_echo_n "(cached) " >&6
21406 am_cv_func_iconv="no, consider installing GNU libiconv"
21408 if test x$gcc_no_link = xyes; then
21409 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21412 /* end confdefs.h. */
21413 #include <stdlib.h>
21418 iconv_t cd = iconv_open("","");
21419 iconv(cd,NULL,NULL,NULL,NULL);
21425 if ac_fn_c_try_link "$LINENO"; then :
21426 am_cv_func_iconv=yes
21428 rm -f core conftest.err conftest.$ac_objext \
21429 conftest$ac_exeext conftest.$ac_ext
21430 if test "$am_cv_func_iconv" != yes; then
21431 am_save_LIBS="$LIBS"
21432 LIBS="$LIBS $LIBICONV"
21433 if test x$gcc_no_link = xyes; then
21434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21437 /* end confdefs.h. */
21438 #include <stdlib.h>
21443 iconv_t cd = iconv_open("","");
21444 iconv(cd,NULL,NULL,NULL,NULL);
21450 if ac_fn_c_try_link "$LINENO"; then :
21451 am_cv_lib_iconv=yes
21452 am_cv_func_iconv=yes
21454 rm -f core conftest.err conftest.$ac_objext \
21455 conftest$ac_exeext conftest.$ac_ext
21456 LIBS="$am_save_LIBS"
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
21461 $as_echo "$am_cv_func_iconv" >&6; }
21462 if test "$am_cv_func_iconv" = yes; then
21464 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
21467 if test "$am_cv_lib_iconv" = yes; then
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
21469 $as_echo_n "checking how to link with libiconv... " >&6; }
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
21471 $as_echo "$LIBICONV" >&6; }
21473 CPPFLAGS="$am_save_CPPFLAGS"
21480 if test "$am_cv_func_iconv" = yes; then
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
21482 $as_echo_n "checking for iconv declaration... " >&6; }
21483 if test "${am_cv_proto_iconv+set}" = set; then :
21484 $as_echo_n "(cached) " >&6
21487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21488 /* end confdefs.h. */
21490 #include <stdlib.h>
21496 #if defined(__STDC__) || defined(__cplusplus)
21497 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21510 if ac_fn_c_try_compile "$LINENO"; then :
21511 am_cv_proto_iconv_arg1=""
21513 am_cv_proto_iconv_arg1="const"
21515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21516 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);"
21519 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" |
tr -s ' ' |
sed -e 's/( /(/'`
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
21521 }$am_cv_proto_iconv" >&5
21523 }$am_cv_proto_iconv" >&6; }
21525 cat >>confdefs.h <<_ACEOF
21526 #define ICONV_CONST $am_cv_proto_iconv_arg1
21532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21533 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21534 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
21535 $as_echo_n "(cached) " >&6
21537 if test x$gcc_no_link = xyes; then
21538 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21541 /* end confdefs.h. */
21542 #include <locale.h>
21551 if ac_fn_c_try_link "$LINENO"; then :
21552 am_cv_val_LC_MESSAGES=yes
21554 am_cv_val_LC_MESSAGES=no
21556 rm -f core conftest.err conftest.$ac_objext \
21557 conftest$ac_exeext conftest.$ac_ext
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
21560 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
21561 if test $am_cv_val_LC_MESSAGES = yes; then
21563 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21568 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
21569 if test "${ac_cv_struct_tm+set}" = set; then :
21570 $as_echo_n "(cached) " >&6
21572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21573 /* end confdefs.h. */
21574 #include <sys/types.h>
21581 int *p = &tm.tm_sec;
21587 if ac_fn_c_try_compile "$LINENO"; then :
21588 ac_cv_struct_tm=time.h
21590 ac_cv_struct_tm=sys/time.h
21592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
21595 $as_echo "$ac_cv_struct_tm" >&6; }
21596 if test $ac_cv_struct_tm = sys/time.h; then
21598 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
21602 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
21603 #include <$ac_cv_struct_tm>
21606 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then :
21608 cat >>confdefs.h <<_ACEOF
21609 #define HAVE_STRUCT_TM_TM_ZONE 1
21615 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
21617 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
21620 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
21622 if test "x$ac_cv_have_decl_tzname" = x""yes; then :
21628 cat >>confdefs.h <<_ACEOF
21629 #define HAVE_DECL_TZNAME $ac_have_decl
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
21633 $as_echo_n "checking for tzname... " >&6; }
21634 if test "${ac_cv_var_tzname+set}" = set; then :
21635 $as_echo_n "(cached) " >&6
21637 if test x$gcc_no_link = xyes; then
21638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21641 /* end confdefs.h. */
21643 #if !HAVE_DECL_TZNAME
21644 extern char *tzname[];
21650 return tzname[0][0];
21655 if ac_fn_c_try_link "$LINENO"; then :
21656 ac_cv_var_tzname=yes
21658 ac_cv_var_tzname=no
21660 rm -f core conftest.err conftest.$ac_objext \
21661 conftest$ac_exeext conftest.$ac_ext
21663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
21664 $as_echo "$ac_cv_var_tzname" >&6; }
21665 if test $ac_cv_var_tzname = yes; then
21667 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21673 for ac_func in gethostbyname_r
21675 ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r"
21676 if test "x$ac_cv_func_gethostbyname_r" = x""yes; then :
21677 cat >>confdefs.h <<_ACEOF
21678 #define HAVE_GETHOSTBYNAME_R 1
21682 $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
21684 # There are two different kinds of gethostbyname_r.
21685 # We look for the one that returns `int
'.
21686 # Hopefully this check is robust enough.
21687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21688 /* end confdefs.h. */
21692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21693 $EGREP "int.*gethostbyname_r" >/dev/null 2>&1; then :
21696 $as_echo "#define GETHOSTBYNAME_R_RETURNS_INT 1" >>confdefs.h
21702 case " $GCINCS " in
21703 *" -D_REENTRANT "*) ;;
21705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
21706 $as_echo_n "checking whether gethostbyname_r declaration requires -D_REENTRANT... " >&6; }
21707 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then :
21708 $as_echo_n "(cached) " >&6
21711 ac_cpp='$CXXCPP $CPPFLAGS'
21712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
21713 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
21714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21717 /* end confdefs.h. */
21722 gethostbyname_r("", 0, 0);
21727 if ac_fn_cxx_try_compile "$LINENO"; then :
21728 libjava_cv_gethostbyname_r_needs_reentrant=no
21730 CPPFLAGS_SAVE="$CPPFLAGS"
21731 CPPFLAGS="$CPPFLAGS -D_REENTRANT"
21732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21733 /* end confdefs.h. */
21738 gethostbyname_r("", 0, 0);
21743 if ac_fn_cxx_try_compile "$LINENO"; then :
21744 libjava_cv_gethostbyname_r_needs_reentrant=yes
21746 libjava_cv_gethostbyname_r_needs_reentrant=fail
21748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21749 CPPFLAGS="$CPPFLAGS_SAVE"
21752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21754 ac_cpp='$CPP $CPPFLAGS'
21755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
21756 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
21757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
21762 $as_echo "$libjava_cv_gethostbyname_r_needs_reentrant" >&6; }
21763 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes; then
21765 $as_echo "#define _REENTRANT 1" >>confdefs.h
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct hostent_data" >&5
21772 $as_echo_n "checking for struct hostent_data... " >&6; }
21773 if test "${libjava_cv_struct_hostent_data+set}" = set; then :
21774 $as_echo_n "(cached) " >&6
21776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21777 /* end confdefs.h. */
21779 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
21780 # define _REENTRANT 1
21786 struct hostent_data data;
21791 if ac_fn_c_try_compile "$LINENO"; then :
21792 libjava_cv_struct_hostent_data=yes
21794 libjava_cv_struct_hostent_data=no
21796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_struct_hostent_data" >&5
21799 $as_echo "$libjava_cv_struct_hostent_data" >&6; }
21800 if test "x$libjava_cv_struct_hostent_data" = xyes; then
21802 $as_echo "#define HAVE_STRUCT_HOSTENT_DATA 1" >>confdefs.h
21810 # FIXME: libjava source code expects to find a prototype for
21811 # gethostbyaddr_r in netdb.h. The outer check ensures that
21812 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
21813 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
21814 # linkage check is enough, yet C++ code requires proper prototypes.)
21815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21816 /* end confdefs.h. */
21820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21821 $EGREP "gethostbyaddr_r" >/dev/null 2>&1; then :
21823 for ac_func in gethostbyaddr_r
21825 ac_fn_c_check_func "$LINENO" "gethostbyaddr_r" "ac_cv_func_gethostbyaddr_r"
21826 if test "x$ac_cv_func_gethostbyaddr_r" = x""yes; then :
21827 cat >>confdefs.h <<_ACEOF
21828 #define HAVE_GETHOSTBYADDR_R 1
21832 $as_echo "#define HAVE_GETHOSTBYADDR_R 1" >>confdefs.h
21834 # There are two different kinds of gethostbyaddr_r.
21835 # We look for the one that returns `int'.
21836 # Hopefully this check is robust enough.
21837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21838 /* end confdefs.h. */
21842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21843 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then :
21846 $as_echo "#define GETHOSTBYADDR_R_RETURNS_INT 1" >>confdefs.h
21858 for ac_func
in gethostname
21860 ac_fn_c_check_func
"$LINENO" "gethostname" "ac_cv_func_gethostname"
21861 if test "x$ac_cv_func_gethostname" = x
""yes; then :
21862 cat >>confdefs.h
<<_ACEOF
21863 #define HAVE_GETHOSTNAME 1
21867 $as_echo "#define HAVE_GETHOSTNAME 1" >>confdefs.h
21869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21870 /* end confdefs.h. */
21871 #include <unistd.h>
21874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21875 $EGREP "gethostname" >/dev
/null
2>&1; then :
21878 $as_echo "#define HAVE_GETHOSTNAME_DECL 1" >>confdefs.h
21887 for ac_func
in usleep
21889 ac_fn_c_check_func
"$LINENO" "usleep" "ac_cv_func_usleep"
21890 if test "x$ac_cv_func_usleep" = x
""yes; then :
21891 cat >>confdefs.h
<<_ACEOF
21892 #define HAVE_USLEEP 1
21895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21896 /* end confdefs.h. */
21897 #include <unistd.h>
21900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21901 $EGREP "usleep" >/dev
/null
2>&1; then :
21904 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
21913 # Look for these functions in the thread library, but only bother
21914 # if using POSIX threads.
21915 if test "$THREADS" = posix
; then
21917 LIBS
="$LIBS $THREADLIBS"
21919 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
21920 # Solaris 7 the name librt is preferred.
21921 for ac_func
in sched_yield
21923 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
21924 if test "x$ac_cv_func_sched_yield" = x
""yes; then :
21925 cat >>confdefs.h
<<_ACEOF
21926 #define HAVE_SCHED_YIELD 1
21931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
21932 $as_echo_n "checking for sched_yield in -lrt... " >&6; }
21933 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then :
21934 $as_echo_n "(cached) " >&6
21936 ac_check_lib_save_LIBS
=$LIBS
21938 if test x
$gcc_no_link = xyes
; then
21939 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21942 /* end confdefs.h. */
21944 /* Override any GCC internal prototype to avoid an error.
21945 Use char because int might match the return type of a GCC
21946 builtin and then its argument prototype would still apply. */
21950 char sched_yield ();
21954 return sched_yield ();
21959 if ac_fn_c_try_link
"$LINENO"; then :
21960 ac_cv_lib_rt_sched_yield
=yes
21962 ac_cv_lib_rt_sched_yield
=no
21964 rm -f core conftest.err conftest.
$ac_objext \
21965 conftest
$ac_exeext conftest.
$ac_ext
21966 LIBS
=$ac_check_lib_save_LIBS
21968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
21969 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
21970 if test "x$ac_cv_lib_rt_sched_yield" = x
""yes; then :
21972 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
21974 THREADLIBS
="$THREADLIBS -lrt"
21975 THREADSPEC
="$THREADSPEC -lrt"
21978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
21979 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
21980 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
21981 $as_echo_n "(cached) " >&6
21983 ac_check_lib_save_LIBS
=$LIBS
21984 LIBS
="-lposix4 $LIBS"
21985 if test x
$gcc_no_link = xyes
; then
21986 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21989 /* end confdefs.h. */
21991 /* Override any GCC internal prototype to avoid an error.
21992 Use char because int might match the return type of a GCC
21993 builtin and then its argument prototype would still apply. */
21997 char sched_yield ();
22001 return sched_yield ();
22006 if ac_fn_c_try_link
"$LINENO"; then :
22007 ac_cv_lib_posix4_sched_yield
=yes
22009 ac_cv_lib_posix4_sched_yield
=no
22011 rm -f core conftest.err conftest.
$ac_objext \
22012 conftest
$ac_exeext conftest.
$ac_ext
22013 LIBS
=$ac_check_lib_save_LIBS
22015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
22016 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
22017 if test "x$ac_cv_lib_posix4_sched_yield" = x
""yes; then :
22019 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22021 THREADLIBS
="$THREADLIBS -lposix4"
22022 THREADSPEC
="$THREADSPEC -lposix4"
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
22032 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
22033 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
22034 $as_echo_n "(cached) " >&6
22036 ac_check_lib_save_LIBS
=$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 clock_gettime ();
22054 return clock_gettime ();
22059 if ac_fn_c_try_link
"$LINENO"; then :
22060 ac_cv_lib_rt_clock_gettime
=yes
22062 ac_cv_lib_rt_clock_gettime
=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_rt_clock_gettime" >&5
22069 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
22070 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
22073 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
22075 case "$THREADSPEC" in
22078 THREADSPEC
="$THREADSPEC -lrt"
22079 THREADLIBS
="$THREADLIBS -lrt"
22087 # We can save a little space at runtime if the mutex has m_count
22088 # or __m_count. This is a nice hack for Linux.
22089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22090 /* end confdefs.h. */
22091 #include <pthread.h>
22096 extern pthread_mutex_t *mutex; int q = mutex->m_count;
22102 if ac_fn_c_try_compile
"$LINENO"; then :
22104 $as_echo "#define PTHREAD_MUTEX_HAVE_M_COUNT 1" >>confdefs.h
22108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22109 /* end confdefs.h. */
22110 #include <pthread.h>
22115 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
22121 if ac_fn_c_try_compile
"$LINENO"; then :
22123 $as_echo "#define PTHREAD_MUTEX_HAVE___M_COUNT 1" >>confdefs.h
22126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22131 # We require a way to get the time.
22133 for ac_func
in gettimeofday
time ftime
22135 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22136 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22137 eval as_val
=\$
$as_ac_var
22138 if test "x$as_val" = x
""yes; then :
22139 cat >>confdefs.h
<<_ACEOF
22140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22146 if test "$time_found" = no
; then
22147 as_fn_error
"no function found to get the time" "$LINENO" 5
22150 for ac_func
in memmove
22152 ac_fn_c_check_func
"$LINENO" "memmove" "ac_cv_func_memmove"
22153 if test "x$ac_cv_func_memmove" = x
""yes; then :
22154 cat >>confdefs.h
<<_ACEOF
22155 #define HAVE_MEMMOVE 1
22162 # We require memcpy.
22164 for ac_func
in memcpy
22166 ac_fn_c_check_func
"$LINENO" "memcpy" "ac_cv_func_memcpy"
22167 if test "x$ac_cv_func_memcpy" = x
""yes; then :
22168 cat >>confdefs.h
<<_ACEOF
22169 #define HAVE_MEMCPY 1
22175 if test "$memcpy_found" = no
; then
22176 as_fn_error
"memcpy is required" "$LINENO" 5
22178 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
22180 $as_echo_n "checking for dlopen in -ldl... " >&6; }
22181 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
22182 $as_echo_n "(cached) " >&6
22184 ac_check_lib_save_LIBS
=$LIBS
22186 if test x
$gcc_no_link = xyes
; then
22187 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22190 /* end confdefs.h. */
22192 /* Override any GCC internal prototype to avoid an error.
22193 Use char because int might match the return type of a GCC
22194 builtin and then its argument prototype would still apply. */
22207 if ac_fn_c_try_link
"$LINENO"; then :
22208 ac_cv_lib_dl_dlopen
=yes
22210 ac_cv_lib_dl_dlopen
=no
22212 rm -f core conftest.err conftest.
$ac_objext \
22213 conftest
$ac_exeext conftest.
$ac_ext
22214 LIBS
=$ac_check_lib_save_LIBS
22216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
22217 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
22218 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
22221 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldld" >&5
22226 $as_echo_n "checking for dlopen in -ldld... " >&6; }
22227 if test "${ac_cv_lib_dld_dlopen+set}" = set; then :
22228 $as_echo_n "(cached) " >&6
22230 ac_check_lib_save_LIBS
=$LIBS
22232 if test x
$gcc_no_link = xyes
; then
22233 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22236 /* end confdefs.h. */
22238 /* Override any GCC internal prototype to avoid an error.
22239 Use char because int might match the return type of a GCC
22240 builtin and then its argument prototype would still apply. */
22253 if ac_fn_c_try_link
"$LINENO"; then :
22254 ac_cv_lib_dld_dlopen
=yes
22256 ac_cv_lib_dld_dlopen
=no
22258 rm -f core conftest.err conftest.
$ac_objext \
22259 conftest
$ac_exeext conftest.
$ac_ext
22260 LIBS
=$ac_check_lib_save_LIBS
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dlopen" >&5
22263 $as_echo "$ac_cv_lib_dld_dlopen" >&6; }
22264 if test "x$ac_cv_lib_dld_dlopen" = x
""yes; then :
22267 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22274 # Some library-finding code we stole from Tcl.
22275 #--------------------------------------------------------------------
22276 # Check for the existence of the -lsocket and -lnsl libraries.
22277 # The order here is important, so that they end up in the right
22278 # order in the command line generated by make. Here are some
22279 # special considerations:
22280 # 1. Use "connect" and "accept" to check for -lsocket, and
22281 # "gethostbyname" to check for -lnsl.
22282 # 2. Use each function name only once: can't redo a check because
22283 # autoconf caches the results of the last check and won't redo it.
22284 # 3. Use -lnsl and -lsocket only if they supply procedures that
22285 # aren't already present in the normal libraries. This is because
22286 # IRIX 5.2 has libraries, but they aren't needed and they're
22287 # bogus: they goof up name resolution if used.
22288 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
22289 # To get around this problem, check for both libraries together
22290 # if -lsocket doesn't work by itself.
22291 #--------------------------------------------------------------------
22293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
22294 $as_echo_n "checking for socket libraries... " >&6; }
22295 if test "${gcj_cv_lib_sockets+set}" = set; then :
22296 $as_echo_n "(cached) " >&6
22298 gcj_cv_lib_sockets
=
22300 unset ac_cv_func_connect
22301 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
22302 if test "x$ac_cv_func_connect" = x
""yes; then :
22308 if test "$gcj_checkSocket" = 1; then
22309 unset ac_cv_func_connect
22310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
22311 $as_echo_n "checking for main in -lsocket... " >&6; }
22312 if test "${ac_cv_lib_socket_main+set}" = set; then :
22313 $as_echo_n "(cached) " >&6
22315 ac_check_lib_save_LIBS
=$LIBS
22316 LIBS
="-lsocket $LIBS"
22317 if test x
$gcc_no_link = xyes
; then
22318 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22321 /* end confdefs.h. */
22332 if ac_fn_c_try_link
"$LINENO"; then :
22333 ac_cv_lib_socket_main
=yes
22335 ac_cv_lib_socket_main
=no
22337 rm -f core conftest.err conftest.
$ac_objext \
22338 conftest
$ac_exeext conftest.
$ac_ext
22339 LIBS
=$ac_check_lib_save_LIBS
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
22342 $as_echo "$ac_cv_lib_socket_main" >&6; }
22343 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
22344 gcj_cv_lib_sockets
="-lsocket"
22350 if test "$gcj_checkBoth" = 1; then
22352 LIBS
="$LIBS -lsocket -lnsl"
22353 unset ac_cv_func_accept
22354 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
22355 if test "x$ac_cv_func_accept" = x
""yes; then :
22357 gcj_cv_lib_sockets
="-lsocket -lnsl"
22360 unset ac_cv_func_accept
22363 unset ac_cv_func_gethostbyname
22365 LIBS
="$LIBS $gcj_cv_lib_sockets"
22366 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22367 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
22371 $as_echo_n "checking for main in -lnsl... " >&6; }
22372 if test "${ac_cv_lib_nsl_main+set}" = set; then :
22373 $as_echo_n "(cached) " >&6
22375 ac_check_lib_save_LIBS
=$LIBS
22377 if test x
$gcc_no_link = xyes
; then
22378 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22381 /* end confdefs.h. */
22392 if ac_fn_c_try_link
"$LINENO"; then :
22393 ac_cv_lib_nsl_main
=yes
22395 ac_cv_lib_nsl_main
=no
22397 rm -f core conftest.err conftest.
$ac_objext \
22398 conftest
$ac_exeext conftest.
$ac_ext
22399 LIBS
=$ac_check_lib_save_LIBS
22401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
22402 $as_echo "$ac_cv_lib_nsl_main" >&6; }
22403 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
22404 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
22409 unset ac_cv_func_gethostbyname
22413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcj_cv_lib_sockets" >&5
22414 $as_echo "$gcj_cv_lib_sockets" >&6; }
22415 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
22417 if test "$with_system_zlib" = yes; then
22418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22419 $as_echo_n "checking for deflate in -lz... " >&6; }
22420 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22421 $as_echo_n "(cached) " >&6
22423 ac_check_lib_save_LIBS
=$LIBS
22425 if test x
$gcc_no_link = xyes
; then
22426 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22429 /* end confdefs.h. */
22431 /* Override any GCC internal prototype to avoid an error.
22432 Use char because int might match the return type of a GCC
22433 builtin and then its argument prototype would still apply. */
22446 if ac_fn_c_try_link
"$LINENO"; then :
22447 ac_cv_lib_z_deflate
=yes
22449 ac_cv_lib_z_deflate
=no
22451 rm -f core conftest.err conftest.
$ac_objext \
22452 conftest
$ac_exeext conftest.
$ac_ext
22453 LIBS
=$ac_check_lib_save_LIBS
22455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22456 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22457 if test "x$ac_cv_lib_z_deflate" = x
""yes; then :
22465 # Test for Gtk stuff, if asked for.
22466 if test "$use_gtk_awt" = yes; then
22470 if test -z "$PKG_CONFIG"; then
22471 # Extract the first word of "pkg-config", so it can be a program name with args.
22472 set dummy pkg-config
; ac_word
=$2
22473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22474 $as_echo_n "checking for $ac_word... " >&6; }
22475 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22476 $as_echo_n "(cached) " >&6
22478 case $PKG_CONFIG in
22480 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22484 for as_dir
in $PATH
22487 test -z "$as_dir" && as_dir
=.
22488 for ac_exec_ext
in '' $ac_executable_extensions; do
22489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22490 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22498 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22502 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22503 if test -n "$PKG_CONFIG"; then
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22505 $as_echo "$PKG_CONFIG" >&6; }
22507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22508 $as_echo "no" >&6; }
22514 if test "$PKG_CONFIG" = "no" ; then
22515 echo "*** The pkg-config script could not be found. Make sure it is"
22516 echo "*** in your path, or set the PKG_CONFIG environment variable"
22517 echo "*** to the full path to pkg-config."
22518 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22520 PKG_CONFIG_MIN_VERSION
=0.9.0
22521 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.4" >&5
22523 $as_echo_n "checking for gtk+-2.0 >= 2.4... " >&6; }
22525 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22527 $as_echo "yes" >&6; }
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
22531 $as_echo_n "checking GTK_CFLAGS... " >&6; }
22532 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
22534 $as_echo "$GTK_CFLAGS" >&6; }
22536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
22537 $as_echo_n "checking GTK_LIBS... " >&6; }
22538 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
22540 $as_echo "$GTK_LIBS" >&6; }
22544 ## If we have a custom action on failure, don't print errors, but
22545 ## do set a variable so people can do so.
22546 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
22547 echo $GTK_PKG_ERRORS
22553 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22554 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22558 if test $succeeded = yes; then
22561 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
22570 if test -z "$PKG_CONFIG"; then
22571 # Extract the first word of "pkg-config", so it can be a program name with args.
22572 set dummy pkg-config
; ac_word
=$2
22573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22574 $as_echo_n "checking for $ac_word... " >&6; }
22575 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22576 $as_echo_n "(cached) " >&6
22578 case $PKG_CONFIG in
22580 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22584 for as_dir
in $PATH
22587 test -z "$as_dir" && as_dir
=.
22588 for ac_exec_ext
in '' $ac_executable_extensions; do
22589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22590 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22598 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22602 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22603 if test -n "$PKG_CONFIG"; then
22604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22605 $as_echo "$PKG_CONFIG" >&6; }
22607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22608 $as_echo "no" >&6; }
22614 if test "$PKG_CONFIG" = "no" ; then
22615 echo "*** The pkg-config script could not be found. Make sure it is"
22616 echo "*** in your path, or set the PKG_CONFIG environment variable"
22617 echo "*** to the full path to pkg-config."
22618 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22620 PKG_CONFIG_MIN_VERSION
=0.9.0
22621 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
22623 $as_echo_n "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... " >&6; }
22625 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22627 $as_echo "yes" >&6; }
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
22631 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
22632 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
22634 $as_echo "$GLIB_CFLAGS" >&6; }
22636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
22637 $as_echo_n "checking GLIB_LIBS... " >&6; }
22638 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
22640 $as_echo "$GLIB_LIBS" >&6; }
22644 ## If we have a custom action on failure, don't print errors, but
22645 ## do set a variable so people can do so.
22646 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22647 echo $GLIB_PKG_ERRORS
22653 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22654 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22658 if test $succeeded = yes; then
22661 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
22670 if test -z "$PKG_CONFIG"; then
22671 # Extract the first word of "pkg-config", so it can be a program name with args.
22672 set dummy pkg-config
; ac_word
=$2
22673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22674 $as_echo_n "checking for $ac_word... " >&6; }
22675 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22676 $as_echo_n "(cached) " >&6
22678 case $PKG_CONFIG in
22680 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22684 for as_dir
in $PATH
22687 test -z "$as_dir" && as_dir
=.
22688 for ac_exec_ext
in '' $ac_executable_extensions; do
22689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22690 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22698 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22702 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22703 if test -n "$PKG_CONFIG"; then
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22705 $as_echo "$PKG_CONFIG" >&6; }
22707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22708 $as_echo "no" >&6; }
22714 if test "$PKG_CONFIG" = "no" ; then
22715 echo "*** The pkg-config script could not be found. Make sure it is"
22716 echo "*** in your path, or set the PKG_CONFIG environment variable"
22717 echo "*** to the full path to pkg-config."
22718 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22720 PKG_CONFIG_MIN_VERSION
=0.9.0
22721 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libart-2.0 >= 2.1" >&5
22723 $as_echo_n "checking for libart-2.0 >= 2.1... " >&6; }
22725 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
22726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22727 $as_echo "yes" >&6; }
22730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_CFLAGS" >&5
22731 $as_echo_n "checking LIBART_CFLAGS... " >&6; }
22732 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_CFLAGS" >&5
22734 $as_echo "$LIBART_CFLAGS" >&6; }
22736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_LIBS" >&5
22737 $as_echo_n "checking LIBART_LIBS... " >&6; }
22738 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
22739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_LIBS" >&5
22740 $as_echo "$LIBART_LIBS" >&6; }
22744 ## If we have a custom action on failure, don't print errors, but
22745 ## do set a variable so people can do so.
22746 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
22747 echo $LIBART_PKG_ERRORS
22753 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22754 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22758 if test $succeeded = yes; then
22761 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
22767 # We require the XTest Extension to support java.awt.Robot.
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
22769 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
22770 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
22771 $as_echo_n "(cached) " >&6
22773 ac_check_lib_save_LIBS
=$LIBS
22774 LIBS
="-lXtst ${X_LIBS} $LIBS"
22775 if test x
$gcc_no_link = xyes
; then
22776 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22779 /* end confdefs.h. */
22781 /* Override any GCC internal prototype to avoid an error.
22782 Use char because int might match the return type of a GCC
22783 builtin and then its argument prototype would still apply. */
22787 char XTestQueryExtension ();
22791 return XTestQueryExtension ();
22796 if ac_fn_c_try_link
"$LINENO"; then :
22797 ac_cv_lib_Xtst_XTestQueryExtension
=yes
22799 ac_cv_lib_Xtst_XTestQueryExtension
=no
22801 rm -f core conftest.err conftest.
$ac_objext \
22802 conftest
$ac_exeext conftest.
$ac_ext
22803 LIBS
=$ac_check_lib_save_LIBS
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
22806 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
22807 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x
""yes; then :
22810 as_fn_error
"libXtst not found, required by java.awt.Robot" "$LINENO" 5
22815 # On Solaris, and maybe other architectures, the Boehm collector
22817 if test "$GC" = boehm
; then
22820 # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
22821 # libgcj.spec is used, so override here
22822 SYSTEMSPEC
="$SYSTEMSPEC %{!mabi=64:-ldl}"
22825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
22826 $as_echo_n "checking for main in -ldl... " >&6; }
22827 if test "${ac_cv_lib_dl_main+set}" = set; then :
22828 $as_echo_n "(cached) " >&6
22830 ac_check_lib_save_LIBS
=$LIBS
22832 if test x
$gcc_no_link = xyes
; then
22833 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22836 /* end confdefs.h. */
22847 if ac_fn_c_try_link
"$LINENO"; then :
22848 ac_cv_lib_dl_main
=yes
22850 ac_cv_lib_dl_main
=no
22852 rm -f core conftest.err conftest.
$ac_objext \
22853 conftest
$ac_exeext conftest.
$ac_ext
22854 LIBS
=$ac_check_lib_save_LIBS
22856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5
22857 $as_echo "$ac_cv_lib_dl_main" >&6; }
22858 if test "x$ac_cv_lib_dl_main" = x
""yes; then :
22859 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
22867 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
22869 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
22870 *) CLASSPATH_SEPARATOR
=':' ;;
22874 # We must search the source tree for java.lang, since we still don't
22875 # have libgcj.jar nor java/lang/*.class
22876 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
22877 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
22879 # Since some classes depend on this one, we need its source available
22880 # before we can do any GCJ compilation test :-(
22881 if test ! -f gnu
/classpath
/Configuration.java
; then
22882 test -d gnu || mkdir gnu
22883 test -d gnu
/classpath || mkdir gnu
/classpath
22884 # Note that it is not crucial that all the values here be correct.
22885 sed -e "s,@prefix@,$prefix," \
22886 -e "s,@VERSION@,$VERSION," \
22887 -e "s,@LIBDEBUG@,false," \
22888 -e "s,@INIT_LOAD_LIBRARY@,false," \
22889 -e "s,@@,$LIBGCJDEBUG," \
22890 -e "s,@default_toolkit@,$TOOLKIT," \
22891 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
22892 -e "s,@GTK_CAIRO_ENABLED@,false," \
22893 -e "s,@ECJ_JAR@,," \
22894 -e "s,@WANT_NATIVE_BIG_INTEGER@,false," \
22895 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
22896 > gnu
/classpath
/Configuration.java
22897 # We do not want to redirect the output of the grep below to /dev/null,
22898 # but we add /dev/null to the input list so that grep will print the
22899 # filename of Configuration.java in case it finds any matches.
22900 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
22901 as_fn_error
"configure.ac is missing the substitutions above" "$LINENO" 5
22908 # Extract the first word of "$ac_prog", so it can be a program name with args.
22909 set dummy
$ac_prog; ac_word
=$2
22910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22911 $as_echo_n "checking for $ac_word... " >&6; }
22912 if test "${ac_cv_prog_GCJ+set}" = set; then :
22913 $as_echo_n "(cached) " >&6
22915 if test -n "$GCJ"; then
22916 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
22918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22919 for as_dir
in $PATH
22922 test -z "$as_dir" && as_dir
=.
22923 for ac_exec_ext
in '' $ac_executable_extensions; do
22924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22925 ac_cv_prog_GCJ
="$ac_prog"
22926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22935 GCJ
=$ac_cv_prog_GCJ
22936 if test -n "$GCJ"; then
22937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
22938 $as_echo "$GCJ" >&6; }
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22941 $as_echo "no" >&6; }
22945 test -n "$GCJ" && break
22947 test -n "$GCJ" || GCJ
="gcj"
22949 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
22950 if test "x${GCJFLAGS-unset}" = xunset
; then
22955 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
22957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
22958 $as_echo_n "checking dependency style of $depcc... " >&6; }
22959 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
22960 $as_echo_n "(cached) " >&6
22962 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
22963 # We make a subdir and do the tests there. Otherwise we can end up
22964 # making bogus files that we don't know about and never remove. For
22965 # instance it was reported that on HP-UX the gcc test will end up
22966 # making a dummy file named `D' -- because `-MD' means `put the output
22969 # Copy depcomp to subdir because otherwise we won't find it if we're
22970 # using a relative directory.
22971 cp "$am_depcomp" conftest.dir
22973 # We will build objects and dependencies in a subdirectory because
22974 # it helps to detect inapplicable dependency modes. For instance
22975 # both Tru64's cc and ICC support -MD to output dependencies as a
22976 # side effect of compilation, but ICC will put the dependencies in
22977 # the current directory while Tru64 will put them in the object
22981 am_cv_GCJ_dependencies_compiler_type
=none
22982 if test "$am_compiler_list" = ""; then
22983 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
22985 am__universal
=false
22988 for depmode
in $am_compiler_list; do
22989 # Setup a source with many dependencies, because some compilers
22990 # like to wrap large dependency lists on column 80 (with \), and
22991 # we should not choose a depcomp mode which is confused by this.
22993 # We need to recreate these files for each test, as the compiler may
22994 # overwrite some of them when testing with obscure command lines.
22995 # This happens at least with the AIX C compiler.
22997 for i
in 1 2 3 4 5 6; do
22998 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
22999 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
23000 # Solaris 8's {/usr,}/bin/sh.
23001 touch sub
/conftst
$i.h
23003 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
23005 # We check with `-c' and `-o' for the sake of the "dashmstdout"
23006 # mode. It turns out that the SunPro C++ compiler does not properly
23007 # handle `-M -o', and we need to detect this. Also, some Intel
23008 # versions had trouble with output in subdirs
23009 am__obj
=sub
/conftest.
${OBJEXT-o}
23010 am__minus_obj
="-o $am__obj"
23013 # This depmode causes a compiler race in universal mode.
23014 test "$am__universal" = false ||
continue
23017 # after this tag, mechanisms are not by side-effect, so they'll
23018 # only be used when explicitly requested
23019 if test "x$enable_dependency_tracking" = xyes
; then
23025 msvisualcpp | msvcmsys
)
23026 # This compiler won't grok `-c -o', but also, the minuso test has
23027 # not run yet. These depmodes are late enough in the game, and
23028 # so weak that their functioning should not be impacted.
23029 am__obj
=conftest.
${OBJEXT-o}
23034 if depmode
=$depmode \
23035 source=sub
/conftest.c object
=$am__obj \
23036 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
23037 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
23038 >/dev
/null
2>conftest.err
&&
23039 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23040 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23041 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
23042 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
23043 # icc doesn't choke on unknown options, it will just issue warnings
23044 # or remarks (even with -Werror). So we grep stderr for any message
23045 # that says an option was ignored or not supported.
23046 # When given -MP, icc 7.0 and 7.1 complain thusly:
23047 # icc: Command line warning: ignoring option '-M'; no argument required
23048 # The diagnosis changed in icc 8.0:
23049 # icc: Command line remark: option '-MP' not supported
23050 if (grep 'ignoring option' conftest.err ||
23051 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
23052 am_cv_GCJ_dependencies_compiler_type
=$depmode
23059 rm -rf conftest.dir
23061 am_cv_GCJ_dependencies_compiler_type
=none
23065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
23066 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
23067 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
23070 test "x$enable_dependency_tracking" != xno \
23071 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
23072 am__fastdepGCJ_TRUE
=
23073 am__fastdepGCJ_FALSE
='#'
23075 am__fastdepGCJ_TRUE
='#'
23076 am__fastdepGCJ_FALSE
=
23083 rm -f gnu
/classpath
/Configuration.java
23085 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
23087 # The cast to long int works around a bug in the HP C Compiler
23088 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23089 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23090 # This bug is HP SR number 8606223364.
23091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
23092 $as_echo_n "checking size of void *... " >&6; }
23093 if test "${ac_cv_sizeof_void_p+set}" = set; then :
23094 $as_echo_n "(cached) " >&6
23096 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
23099 if test "$ac_cv_type_void_p" = yes; then
23100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23102 { as_fn_set_status
77
23103 as_fn_error
"cannot compute sizeof (void *)
23104 See \`config.log' for more details." "$LINENO" 5; }; }
23106 ac_cv_sizeof_void_p
=0
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
23112 $as_echo "$ac_cv_sizeof_void_p" >&6; }
23116 cat >>confdefs.h
<<_ACEOF
23117 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
23123 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
23124 if test "${ac_cv_c_bigendian+set}" = set; then :
23125 $as_echo_n "(cached) " >&6
23127 ac_cv_c_bigendian
=unknown
23128 # See if we're dealing with a universal compiler.
23129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23130 /* end confdefs.h. */
23131 #ifndef __APPLE_CC__
23132 not a universal capable compiler
23137 if ac_fn_c_try_compile
"$LINENO"; then :
23139 # Check for potential -arch flags. It is not universal unless
23140 # there are at least two -arch flags with different values.
23143 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
23144 if test -n "$ac_prev"; then
23146 i?
86 | x86_64 | ppc | ppc64
)
23147 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
23150 ac_cv_c_bigendian
=universal
23156 elif test "x$ac_word" = "x-arch"; then
23161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23162 if test $ac_cv_c_bigendian = unknown
; then
23163 # See if sys/param.h defines the BYTE_ORDER macro.
23164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23165 /* end confdefs.h. */
23166 #include <sys/types.h>
23167 #include <sys/param.h>
23172 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
23173 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
23175 bogus endian macros
23182 if ac_fn_c_try_compile
"$LINENO"; then :
23183 # It does; now see whether it defined to BIG_ENDIAN or not.
23184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23185 /* end confdefs.h. */
23186 #include <sys/types.h>
23187 #include <sys/param.h>
23192 #if BYTE_ORDER != BIG_ENDIAN
23200 if ac_fn_c_try_compile
"$LINENO"; then :
23201 ac_cv_c_bigendian
=yes
23203 ac_cv_c_bigendian
=no
23205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23209 if test $ac_cv_c_bigendian = unknown
; then
23210 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
23211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23212 /* end confdefs.h. */
23213 #include <limits.h>
23218 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
23219 bogus endian macros
23226 if ac_fn_c_try_compile
"$LINENO"; then :
23227 # It does; now see whether it defined to _BIG_ENDIAN or not.
23228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23229 /* end confdefs.h. */
23230 #include <limits.h>
23235 #ifndef _BIG_ENDIAN
23243 if ac_fn_c_try_compile
"$LINENO"; then :
23244 ac_cv_c_bigendian
=yes
23246 ac_cv_c_bigendian
=no
23248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23252 if test $ac_cv_c_bigendian = unknown
; then
23253 # Compile a test program.
23254 if test "$cross_compiling" = yes; then :
23255 # Try to guess by grepping values from an object file.
23256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23257 /* end confdefs.h. */
23258 short int ascii_mm[] =
23259 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
23260 short int ascii_ii[] =
23261 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
23262 int use_ascii (int i) {
23263 return ascii_mm[i] + ascii_ii[i];
23265 short int ebcdic_ii[] =
23266 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
23267 short int ebcdic_mm[] =
23268 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
23269 int use_ebcdic (int i) {
23270 return ebcdic_mm[i] + ebcdic_ii[i];
23277 return use_ascii (foo) == use_ebcdic (foo);
23282 if ac_fn_c_try_compile
"$LINENO"; then :
23283 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
23284 ac_cv_c_bigendian
=yes
23286 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
23287 if test "$ac_cv_c_bigendian" = unknown
; then
23288 ac_cv_c_bigendian
=no
23290 # finding both strings is unlikely to happen, but who knows?
23291 ac_cv_c_bigendian
=unknown
23295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23298 /* end confdefs.h. */
23299 $ac_includes_default
23304 /* Are we little or big endian? From Harbison&Steele. */
23308 char c[sizeof (long int)];
23311 return u.c[sizeof (long int) - 1] == 1;
23317 if ac_fn_c_try_run
"$LINENO"; then :
23318 ac_cv_c_bigendian
=no
23320 ac_cv_c_bigendian
=yes
23322 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23323 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
23329 $as_echo "$ac_cv_c_bigendian" >&6; }
23330 case $ac_cv_c_bigendian in #(
23332 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
23338 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
23342 as_fn_error
"unknown endianness
23343 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
23351 if test -z "$ZLIBSPEC"; then
23352 # Use zlib from the GCC tree.
23353 ZINCS
='-I$(top_srcdir)/../zlib'
23354 ZLIBS
=..
/zlib
/libzgcj_convenience.la
23357 SYS_ZLIBS
="$ZLIBSPEC"
23369 if test "$NATIVE" = yes; then
23377 if test "$enable_shared" = yes; then
23378 ENABLE_SHARED_TRUE
=
23379 ENABLE_SHARED_FALSE
='#'
23381 ENABLE_SHARED_TRUE
='#'
23382 ENABLE_SHARED_FALSE
=
23385 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
23386 NEEDS_DATA_START_TRUE
=
23387 NEEDS_DATA_START_FALSE
='#'
23389 NEEDS_DATA_START_TRUE
='#'
23390 NEEDS_DATA_START_FALSE
=
23393 if test -z "${with_multisubdir}"; then
23394 INSTALL_BINARIES_TRUE
=
23395 INSTALL_BINARIES_FALSE
='#'
23397 INSTALL_BINARIES_TRUE
='#'
23398 INSTALL_BINARIES_FALSE
=
23403 # Process the option "--enable-version-specific-runtime-libs"
23404 # Calculate toolexeclibdir
23405 case ${version_specific_libs} in
23407 # Need the gcc compiler version to know where to install libraries
23408 # and header files if --enable-version-specific-runtime-libs option
23410 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
23411 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
23412 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
23413 toolexeclibdir
=$toolexecmainlibdir
23416 if test -n "$with_cross_host" &&
23417 test x
"$with_cross_host" != x
"no"; then
23418 # Install a library built with a cross compiler in tooldir, not libdir.
23419 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
23420 toolexecmainlibdir
='$(toolexecdir)/lib'
23422 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
23423 toolexecmainlibdir
='$(libdir)'
23425 multi_os_directory
=`$CC -print-multi-os-directory`
23426 case $multi_os_directory in
23427 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
23428 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
23436 # Determine gcj and libgcj version number.
23437 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
23438 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
23439 GCJVERSION
=$gcjversion
23442 cat >>confdefs.h
<<_ACEOF
23443 #define GCJVERSION "$GCJVERSION"
23447 # Determine where the standard .db file and GNU Classpath JNI
23448 # libraries are found.
23449 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
23450 multi_os_directory
=`$CC -print-multi-os-directory`
23451 case $multi_os_directory in
23453 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
23456 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
23463 $as_echo "#define JV_VERSION \"1.5.0\"" >>confdefs.h
23466 $as_echo "#define JV_API_VERSION \"1.5\"" >>confdefs.h
23470 case "${with_gxx_include_dir}" in
23472 as_fn_error
"--with-gxx-include-dir=[dir] requires a directory" "$LINENO" 5
23475 case "${enable_version_specific_runtime_libs}" in
23476 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
23478 libstdcxx_incdir
='c++/$(gcc_version)'
23479 gxx_include_dir
='include/$(libstdcxx_incdir)'
23480 if test -n "$with_cross_host" &&
23481 test x
"$with_cross_host" != x
"no"; then
23482 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
23484 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
23487 *) gxx_include_dir
=${with_gxx_include_dir} ;;
23493 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
23494 # On that system, sys/ioctl.h will not include sys/filio.h unless
23495 # BSD_COMP is defined; just including sys/filio.h is simpler.
23496 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
23497 # for now. If you change this, you also must update natFile.cc.
23498 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
23499 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
23500 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
23501 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
23502 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
23504 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23505 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23506 eval as_val
=\$
$as_ac_Header
23507 if test "x$as_val" = x
""yes; then :
23508 cat >>confdefs.h
<<_ACEOF
23509 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23516 for ac_header
in inttypes.h
23518 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
23519 if test "x$ac_cv_header_inttypes_h" = x
""yes; then :
23520 cat >>confdefs.h
<<_ACEOF
23521 #define HAVE_INTTYPES_H 1
23525 $as_echo "#define HAVE_INTTYPES_H 1" >>confdefs.h
23528 $as_echo "#define JV_HAVE_INTTYPES_H 1" >>confdefs.h
23536 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
23537 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
23541 cat >>confdefs.h
<<_ACEOF
23542 #define ssize_t int
23547 ac_fn_c_check_type
"$LINENO" "magic_t" "ac_cv_type_magic_t" "
23548 #ifdef HAVE_MAGIC_H
23552 if test "x$ac_cv_type_magic_t" = x
""yes; then :
23555 $as_echo "#define HAVE_MAGIC_T 1" >>confdefs.h
23560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_addr_t" >&5
23561 $as_echo_n "checking for in_addr_t... " >&6; }
23562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23563 /* end confdefs.h. */
23564 #include <sys/types.h>
23566 #include <stdlib.h>
23567 #include <stddef.h>
23569 #if HAVE_NETINET_IN_H
23570 #include <netinet/in.h>
23580 if ac_fn_c_try_compile
"$LINENO"; then :
23582 $as_echo "#define HAVE_IN_ADDR_T 1" >>confdefs.h
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23585 $as_echo "yes" >&6; }
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23588 $as_echo "no" >&6; }
23590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ip_mreq is in netinet/in.h" >&5
23593 $as_echo_n "checking whether struct ip_mreq is in netinet/in.h... " >&6; }
23594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23595 /* end confdefs.h. */
23596 #include <netinet/in.h>
23600 struct ip_mreq mreq;
23605 if ac_fn_c_try_compile
"$LINENO"; then :
23607 $as_echo "#define HAVE_STRUCT_IP_MREQ 1" >>confdefs.h
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23610 $as_echo "yes" >&6; }
23612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23613 $as_echo "no" >&6; }
23615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ipv6_mreq is in netinet/in.h" >&5
23618 $as_echo_n "checking whether struct ipv6_mreq is in netinet/in.h... " >&6; }
23619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23620 /* end confdefs.h. */
23621 #include <netinet/in.h>
23625 struct ipv6_mreq mreq6;
23630 if ac_fn_c_try_compile
"$LINENO"; then :
23632 $as_echo "#define HAVE_STRUCT_IPV6_MREQ 1" >>confdefs.h
23634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23635 $as_echo "yes" >&6; }
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23638 $as_echo "no" >&6; }
23640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
23643 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
23644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23645 /* end confdefs.h. */
23646 #include <netinet/in.h>
23650 struct sockaddr_in6 addr6;
23655 if ac_fn_c_try_compile
"$LINENO"; then :
23657 $as_echo "#define HAVE_INET6 1" >>confdefs.h
23659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23660 $as_echo "yes" >&6; }
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23663 $as_echo "no" >&6; }
23665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t in sys/socket.h" >&5
23668 $as_echo_n "checking for socklen_t in sys/socket.h... " >&6; }
23669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23670 /* end confdefs.h. */
23671 #define _POSIX_PII_SOCKET
23672 #include <sys/types.h>
23673 #include <sys/socket.h>
23682 if ac_fn_c_try_compile
"$LINENO"; then :
23684 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
23686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23687 $as_echo "yes" >&6; }
23689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23690 $as_echo "no" >&6; }
23692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
23695 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
23696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23697 /* end confdefs.h. */
23702 struct tm tim; tim.tm_gmtoff = 0;
23707 if ac_fn_c_try_compile
"$LINENO"; then :
23709 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
23711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23712 $as_echo "yes" >&6; }
23714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23715 $as_echo "no" >&6; }
23716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
23717 $as_echo_n "checking for global timezone variable... " >&6; }
23718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23719 /* end confdefs.h. */
23724 void i(){long z2 = 2*timezone;}
23729 if ac_fn_c_try_compile
"$LINENO"; then :
23731 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
23733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23734 $as_echo "yes" >&6; }
23736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23737 $as_echo "no" >&6; }
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
23739 $as_echo_n "checking for global _timezone variable... " >&6; }
23740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23741 /* end confdefs.h. */
23746 long z2 = _timezone;
23751 if ac_fn_c_try_compile
"$LINENO"; then :
23753 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
23755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23756 $as_echo "yes" >&6; }
23758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23759 $as_echo "no" >&6; }
23761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23767 for ac_prog
in perl
23769 # Extract the first word of "$ac_prog", so it can be a program name with args.
23770 set dummy
$ac_prog; ac_word
=$2
23771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23772 $as_echo_n "checking for $ac_word... " >&6; }
23773 if test "${ac_cv_prog_PERL+set}" = set; then :
23774 $as_echo_n "(cached) " >&6
23776 if test -n "$PERL"; then
23777 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
23779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23780 for as_dir
in $PATH
23783 test -z "$as_dir" && as_dir
=.
23784 for ac_exec_ext
in '' $ac_executable_extensions; do
23785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23786 ac_cv_prog_PERL
="$ac_prog"
23787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23796 PERL
=$ac_cv_prog_PERL
23797 if test -n "$PERL"; then
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
23799 $as_echo "$PERL" >&6; }
23801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23802 $as_echo "no" >&6; }
23806 test -n "$PERL" && break
23808 test -n "$PERL" || PERL
="false"
23812 SIGNAL_HANDLER_AUX
=
23816 SIGNAL_HANDLER
=include
/i386-signal.h
23818 sparc
*-sun-solaris*)
23819 SIGNAL_HANDLER
=include
/sparc-signal.h
23822 # SYSDEP_SOURCES=sysdep/ia64.c
23823 # test -d sysdep || mkdir sysdep
23826 SIGNAL_HANDLER
=include
/pa-signal.h
23829 SIGNAL_HANDLER
=include
/hppa-signal.h
23832 SIGNAL_HANDLER
=include
/dwarf2-signal.h
23835 SIGNAL_HANDLER
=include
/powerpc-signal.h
23838 SIGNAL_HANDLER
=include
/dwarf2-signal.h
23841 SIGNAL_HANDLER
=include
/s390-signal.h
23844 SIGNAL_HANDLER
=include
/x86_64-signal.h
23845 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
23848 SIGNAL_HANDLER
=include
/dwarf2-signal.h
23851 SIGNAL_HANDLER
=include
/sh-signal.h
23854 SIGNAL_HANDLER
=include
/win32-signal.h
23857 SIGNAL_HANDLER
=include
/mips-signal.h
23860 SIGNAL_HANDLER
=include
/dwarf2-signal.h
23862 powerpc
*-*-darwin* | i?
86-*-darwin[912]* | x86_64-
*-darwin[912]*)
23863 SIGNAL_HANDLER
=include
/darwin-signal.h
23866 SIGNAL_HANDLER
=include
/aix-signal.h
23869 SIGNAL_HANDLER
=include
/default-signal.h
23873 # If we're using sjlj exceptions, forget what we just learned.
23874 if test "$enable_sjlj_exceptions" = yes; then
23875 SIGNAL_HANDLER
=include
/default-signal.h
23876 SIGNAL_HANDLER_AUX
=
23881 if test -z "$SIGNAL_HANDLER_AUX"; then
23882 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
23885 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
23888 if test "${multilib}" = "yes"; then
23889 multilib_arg
="--enable-multilib"
23894 # See if we support thread-local storage.
23897 # Check whether --enable-tls was given.
23898 if test "${enable_tls+set}" = set; then :
23899 enableval
=$enable_tls;
23900 case "$enableval" in
23902 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
23910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
23911 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
23912 if test "${gcc_cv_have_tls+set}" = set; then :
23913 $as_echo_n "(cached) " >&6
23916 if test "$cross_compiling" = yes; then :
23917 if test x
$gcc_no_link = xyes
; then
23918 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23921 /* end confdefs.h. */
23922 __thread int a; int b; int main() { return a = b; }
23924 if ac_fn_c_try_link
"$LINENO"; then :
23925 chktls_save_LDFLAGS
="$LDFLAGS"
23928 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
23931 chktls_save_CFLAGS
="$CFLAGS"
23932 CFLAGS
="-fPIC $CFLAGS"
23933 if test x
$gcc_no_link = xyes
; then
23934 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23937 /* end confdefs.h. */
23938 int f() { return 0; }
23940 if ac_fn_c_try_link
"$LINENO"; then :
23941 if test x
$gcc_no_link = xyes
; then
23942 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23945 /* end confdefs.h. */
23946 __thread int a; int b; int f() { return a = b; }
23948 if ac_fn_c_try_link
"$LINENO"; then :
23949 gcc_cv_have_tls
=yes
23953 rm -f core conftest.err conftest.
$ac_objext \
23954 conftest
$ac_exeext conftest.
$ac_ext
23956 gcc_cv_have_tls
=yes
23958 rm -f core conftest.err conftest.
$ac_objext \
23959 conftest
$ac_exeext conftest.
$ac_ext
23960 CFLAGS
="$chktls_save_CFLAGS"
23961 LDFLAGS
="$chktls_save_LDFLAGS"
23965 rm -f core conftest.err conftest.
$ac_objext \
23966 conftest
$ac_exeext conftest.
$ac_ext
23970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23971 /* end confdefs.h. */
23972 __thread int a; int b; int main() { return a = b; }
23974 if ac_fn_c_try_run
"$LINENO"; then :
23975 chktls_save_LDFLAGS
="$LDFLAGS"
23976 LDFLAGS
="-static $LDFLAGS"
23977 if test x
$gcc_no_link = xyes
; then
23978 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23981 /* end confdefs.h. */
23982 int main() { return 0; }
23984 if ac_fn_c_try_link
"$LINENO"; then :
23985 if test "$cross_compiling" = yes; then :
23986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23988 as_fn_error
"cannot run test program while cross compiling
23989 See \`config.log' for more details." "$LINENO" 5; }
23991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23992 /* end confdefs.h. */
23993 __thread int a; int b; int main() { return a = b; }
23995 if ac_fn_c_try_run
"$LINENO"; then :
23996 gcc_cv_have_tls
=yes
24000 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24001 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24005 gcc_cv_have_tls
=yes
24007 rm -f core conftest.err conftest.
$ac_objext \
24008 conftest
$ac_exeext conftest.
$ac_ext
24009 LDFLAGS
="$chktls_save_LDFLAGS"
24010 if test $gcc_cv_have_tls = yes; then
24011 chktls_save_CFLAGS
="$CFLAGS"
24012 thread_CFLAGS
=failed
24013 for flag
in '' '-pthread' '-lpthread'; do
24014 CFLAGS
="$flag $chktls_save_CFLAGS"
24015 if test x
$gcc_no_link = xyes
; then
24016 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24019 /* end confdefs.h. */
24020 #include <pthread.h>
24021 void *g(void *d) { return NULL; }
24025 pthread_t t; pthread_create(&t,NULL,g,NULL);
24030 if ac_fn_c_try_link
"$LINENO"; then :
24031 thread_CFLAGS
="$flag"
24033 rm -f core conftest.err conftest.
$ac_objext \
24034 conftest
$ac_exeext conftest.
$ac_ext
24035 if test "X$thread_CFLAGS" != Xfailed
; then
24039 CFLAGS
="$chktls_save_CFLAGS"
24040 if test "X$thread_CFLAGS" != Xfailed
; then
24041 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
24042 if test "$cross_compiling" = yes; then :
24043 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24045 as_fn_error
"cannot run test program while cross compiling
24046 See \`config.log' for more details." "$LINENO" 5; }
24048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24049 /* end confdefs.h. */
24050 #include <pthread.h>
24052 static int *a_in_other_thread;
24054 thread_func (void *arg)
24056 a_in_other_thread = &a;
24063 void *thread_retval;
24064 int *a_in_main_thread;
24065 if (pthread_create (&thread, (pthread_attr_t *)0,
24066 thread_func, (void *)0))
24068 a_in_main_thread = &a;
24069 if (pthread_join (thread, &thread_retval))
24071 return (a_in_other_thread == a_in_main_thread);
24076 if ac_fn_c_try_run
"$LINENO"; then :
24077 gcc_cv_have_tls
=yes
24081 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24082 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24085 CFLAGS
="$chktls_save_CFLAGS"
24091 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24092 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
24097 $as_echo "$gcc_cv_have_tls" >&6; }
24098 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
24100 $as_echo "#define HAVE_TLS 1" >>confdefs.h
24104 # For _Unwind_GetIPInfo.
24107 # Check whether --with-system-libunwind was given.
24108 if test "${with_system_libunwind+set}" = set; then :
24109 withval
=$with_system_libunwind;
24112 # If system-libunwind was not specifically set, pick a default setting.
24113 if test x
$with_system_libunwind = x
; then
24115 ia64-
*-hpux*) with_system_libunwind
=yes ;;
24116 *) with_system_libunwind
=no
;;
24119 # Based on system-libunwind and target, do we have ipinfo?
24120 if test x
$with_system_libunwind = xyes
; then
24122 ia64-
*-*) have_unwind_getipinfo
=no
;;
24123 *) have_unwind_getipinfo
=yes ;;
24126 # Darwin before version 9 does not have _Unwind_GetIPInfo.
24129 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
24130 *) have_unwind_getipinfo
=yes ;;
24135 if test x
$have_unwind_getipinfo = xyes
; then
24137 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
24142 # See if linker supports anonymous version scripts.
24143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports anonymous version scripts" >&5
24144 $as_echo_n "checking whether ld supports anonymous version scripts... " >&6; }
24145 if test "${libjava_cv_anon_version_script+set}" = set; then :
24146 $as_echo_n "(cached) " >&6
24148 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
24149 libjava_cv_anon_version_script
=no
24150 CFLAGS
="$CFLAGS -fPIC"; LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
24151 echo '{ global: globalsymb*; local: *; };' > conftest.map
24152 if test x
$gcc_no_link = xyes
; then
24153 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24156 /* end confdefs.h. */
24157 void globalsymbol (void) {} void localsymbol (void) {}
24166 if ac_fn_c_try_link
"$LINENO"; then :
24167 libjava_cv_anon_version_script
=yes
24169 rm -f core conftest.err conftest.
$ac_objext \
24170 conftest
$ac_exeext conftest.
$ac_ext
24171 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
24174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_anon_version_script" >&5
24175 $as_echo "$libjava_cv_anon_version_script" >&6; }
24176 if test "$libjava_cv_anon_version_script" = yes; then
24177 ANONVERSCRIPT_TRUE
=
24178 ANONVERSCRIPT_FALSE
='#'
24180 ANONVERSCRIPT_TRUE
='#'
24181 ANONVERSCRIPT_FALSE
=
24185 # Check if linker supports static linking on a per library basis
24186 LD_START_STATIC_SPEC
=
24187 LD_FINISH_STATIC_SPEC
=
24188 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
24189 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
24190 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
24191 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
24197 here
=`${PWDCMD-pwd}`
24200 # We get this from the environment.
24204 # Check whether --with-python-dir was given.
24205 if test "${with_python_dir+set}" = set; then :
24206 withval
=$with_python_dir; with_python_dir
=$withval
24212 if test "x${with_python_dir}" = "x"
24214 # Needed for installing Python modules during make install.
24215 python_mod_dir
="\${prefix}/share/python"
24216 # Needed for substituting into aot-compile*
24217 python_mod_dir_expanded
="${prefix}/share/python"
24219 python_mod_dir
="\${prefix}${with_python_dir}"
24220 python_mod_dir_expanded
="${prefix}${with_python_dir}"
24222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Python modules dir: ${python_mod_dir_expanded}" >&5
24223 $as_echo "Python modules dir: ${python_mod_dir_expanded}" >&6; };
24227 # needed for aot-compile-rpm
24231 # Check whether --enable-aot-compile-rpm was given.
24232 if test "${enable_aot_compile_rpm+set}" = set; then :
24233 enableval
=$enable_aot_compile_rpm; case "${enableval}" in
24234 yes) AOT_RPM_ENABLED
=yes ;;
24235 no
) AOT_RPM_ENABLED
=no
;;
24236 *) as_fn_error
"Unknown argument to enable/disable aot-compile-rpm" "$LINENO" 5 ;;
24243 if test "x${AOT_RPM_ENABLED}" = xyes
; then
24244 INSTALL_AOT_RPM_TRUE
=
24245 INSTALL_AOT_RPM_FALSE
='#'
24247 INSTALL_AOT_RPM_TRUE
='#'
24248 INSTALL_AOT_RPM_FALSE
=
24252 # Check whether --enable-java-home was given.
24253 if test "${enable_java_home+set}" = set; then :
24254 enableval
=$enable_java_home; case "${enableval}" in
24255 yes) JAVA_HOME_ENABLED
=yes ;;
24256 no
) JAVA_HOME_ENABLED
=no
;;
24257 *) as_fn_error
"Unknown argument to enable/disable java-home" "$LINENO" 5 ;;
24260 JAVA_HOME_ENABLED
=no
24264 if test "x${JAVA_HOME_ENABLED}" = xyes
; then
24265 CREATE_JAVA_HOME_TRUE
=
24266 CREATE_JAVA_HOME_FALSE
='#'
24268 CREATE_JAVA_HOME_TRUE
='#'
24269 CREATE_JAVA_HOME_FALSE
=
24273 # Only do these checks if java-home above is enabled.
24274 if test "x${JAVA_HOME_ENABLED}" = xyes
24278 # Check whether --with-gcc-suffix was given.
24279 if test "${with_gcc_suffix+set}" = set; then :
24280 withval
=$with_gcc_suffix; gcc_suffix
=$withval
24285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCC suffix: ${gcc_suffix}" >&5
24286 $as_echo "GCC suffix: ${gcc_suffix}" >&6; }
24290 # Check whether --with-arch-directory was given.
24291 if test "${with_arch_directory+set}" = set; then :
24292 withval
=$with_arch_directory; host_cpu
=$withval
24299 # Check whether --with-os-directory was given.
24300 if test "${with_os_directory+set}" = set; then :
24301 withval
=$with_os_directory; host_os
=$withval
24308 # Check whether --with-origin-name was given.
24309 if test "${with_origin_name+set}" = set; then :
24310 withval
=$with_origin_name; origin_name
=$withval
24312 origin_name
=gcj
${gcc_suffix}
24315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JPackage origin name: ${origin_name}" >&5
24316 $as_echo "JPackage origin name: ${origin_name}" >&6; }
24319 # Check whether --with-arch-suffix was given.
24320 if test "${with_arch_suffix+set}" = set; then :
24321 withval
=$with_arch_suffix; arch_suffix
=$withval
24326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch suffix: ${arch_suffix}" >&5
24327 $as_echo "arch suffix: ${arch_suffix}" >&6; }
24330 # Check whether --with-jvm-root-dir was given.
24331 if test "${with_jvm_root_dir+set}" = set; then :
24332 withval
=$with_jvm_root_dir; jvm_root_dir
=$withval
24334 jvm_root_dir
="\${prefix}/lib/jvm"
24337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM root installation directory: ${jvm_root_dir}" >&5
24338 $as_echo "JVM root installation directory: ${jvm_root_dir}" >&6; }
24341 # Check whether --with-jvm-jar-dir was given.
24342 if test "${with_jvm_jar_dir+set}" = set; then :
24343 withval
=$with_jvm_jar_dir; jvm_jar_dir
=$withval
24345 jvm_jar_dir
=\
${prefix}/lib
/jvm-exports
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JAR root installation directory: ${jvm_jar_dir}" >&5
24349 $as_echo "JAR root installation directory: ${jvm_jar_dir}" >&6; }
24355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Java version: ${JAVA_VERSION}" >&5
24356 $as_echo "Java version: ${JAVA_VERSION}" >&6; }
24359 jre_lnk
=jre-
${JAVA_VERSION}-${origin_name}
24360 sdk_lnk
=java-
${JAVA_VERSION}-${origin_name}
24362 JVM_ROOT_DIR
=${jvm_root_dir}
24364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM ROOT directory: ${JVM_ROOT_DIR}" >&5
24365 $as_echo "JVM ROOT directory: ${JVM_ROOT_DIR}" >&6; }
24367 JVM_JAR_ROOT_DIR
=${jvm_jar_dir}
24369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&5
24370 $as_echo "JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&6; }
24372 JVM_JAR_DIR
=${jvm_jar_dir}
24374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR directory: ${JVM_JAR_DIR}" >&5
24375 $as_echo "JVM JAR directory: ${JVM_JAR_DIR}" >&6; }
24386 SDK_BIN_DIR
=${jvm_root_dir}/bin
24388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK tools directory: ${SDK_BIN_DIR}" >&5
24389 $as_echo "SDK tools directory: ${SDK_BIN_DIR}" >&6; }
24391 SDK_LIB_DIR
=${jvm_root_dir}/lib
24393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK jar directory: ${SDK_LIB_DIR}" >&5
24394 $as_echo "SDK jar directory: ${SDK_LIB_DIR}" >&6; }
24396 SDK_INCLUDE_DIR
=${jvm_root_dir}/include
24398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK include directory: ${SDK_INCLUDE_DIR}" >&5
24399 $as_echo "SDK include directory: ${SDK_INCLUDE_DIR}" >&6; }
24401 JRE_BIN_DIR
=${jvm_root_dir}/${jre_dir}/bin
24403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE tools directory: ${JRE_BIN_DIR}" >&5
24404 $as_echo "JRE tools directory: ${JRE_BIN_DIR}" >&6; }
24406 JRE_LIB_DIR
=${jvm_root_dir}/${jre_dir}/lib
24408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE lib directory: ${JRE_LIB_DIR}" >&5
24409 $as_echo "JRE lib directory: ${JRE_LIB_DIR}" >&6; }
24411 # Find gcj prefix using gcj found in PATH.
24412 gcj_prefix
=`which gcj${gcc_suffix} | sed "s%/bin/gcj${gcc_suffix}%%"`
24414 # Where do the gcj binaries live?
24415 # For jhbuild based builds, they all live in a sibling of bin called
24416 # gcj-bin. Check for gcj-bin first, and use bin otherwise.
24417 GCJ_BIN_DIR
=`if test -d ${gcj_prefix}/gcj-bin; then echo ${gcj_prefix}/gcj-bin; else echo ${gcj_prefix}/bin; fi`
24419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCJ tools directory: ${GCJ_BIN_DIR}" >&5
24420 $as_echo "GCJ tools directory: ${GCJ_BIN_DIR}" >&6; }
24422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host is ${host}" >&5
24423 $as_echo "host is ${host}" >&6; }
24424 if test "x${host_cpu}" = "x"
24427 *-mingw* |
*-cygwin*)
24429 i486-
* | i586-
* | i686-
*)
24434 host_cpu
=${host_cpu};;
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch directory: ${host_cpu}" >&5
24438 $as_echo "arch directory: ${host_cpu}" >&6; }
24442 if test "x${host_os}" = "x"
24445 *-mingw* |
*-cygwin*)
24450 host_os
=${host_os};;
24453 echo os directory
: ${host_os}
24457 # make an expanded $libdir, for substituting into
24458 # scripts (and other non-Makefile things).
24460 if test "x${exec_prefix}" = "xNONE"
24462 lib_exec_prefix
=$prefix
24464 lib_exec_prefix
=$exec_prefix
24466 LIBDIR
=`echo $libdir | sed "s:\\\${exec_prefix}:$lib_exec_prefix:g"`
24470 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"
24473 if test ${multilib} = yes; then
24474 multilib_arg
="--enable-multilib"
24479 ac_config_files
="$ac_config_files scripts/jar"
24481 cat >confcache
<<\_ACEOF
24482 # This file is a shell script that caches the results of configure
24483 # tests run on this system so they can be shared between configure
24484 # scripts and configure runs, see configure's option --config-cache.
24485 # It is not useful on other systems. If it contains results you don't
24486 # want to keep, you may remove or edit it.
24488 # config.status only pays attention to the cache file if you give it
24489 # the --recheck option to rerun configure.
24491 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24492 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24493 # following values.
24497 # The following way of writing the cache mishandles newlines in values,
24498 # but we know of no workaround that is simple, portable, and efficient.
24499 # So, we kill variables containing newlines.
24500 # Ultrix sh set writes to stderr and can't be redirected directly,
24501 # and sets the high bit in the cache file unless we assign to the vars.
24503 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24504 eval ac_val
=\$
$ac_var
24508 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24509 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24512 _ | IFS | as_nl
) ;; #(
24513 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24514 *) { eval $ac_var=; unset $ac_var;} ;;
24520 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24521 *${as_nl}ac_space
=\
*)
24522 # `set' does not quote correctly, so add quotes: double-quote
24523 # substitution turns \\\\ into \\, and sed turns \\ into \.
24526 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24529 # `set' quotes correctly as required by POSIX, so do not add quotes.
24530 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24539 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24541 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24543 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24544 if test -w "$cache_file"; then
24545 test "x$cache_file" != "x/dev/null" &&
24546 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24547 $as_echo "$as_me: updating cache $cache_file" >&6;}
24548 cat confcache
>$cache_file
24550 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24551 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24556 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24557 # Let make expand exec_prefix.
24558 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24560 DEFS
=-DHAVE_CONFIG_H
24564 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24565 # 1. Remove the extension, and $U if already installed.
24566 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24567 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24568 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24569 # will be set to the directory where LIBOBJS objects are built.
24570 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24571 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
24573 LIBOBJS
=$ac_libobjs
24575 LTLIBOBJS
=$ac_ltlibobjs
24578 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
24579 as_fn_error
"conditional \"CREATE_GJDOC\" was never defined.
24580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24582 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
24583 as_fn_error
"conditional \"JAVA_MAINTAINER_MODE\" was never defined.
24584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24586 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24587 as_fn_error
"conditional \"AMDEP\" was never defined.
24588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24590 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24591 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
24592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24594 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24595 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
24596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24598 if test -n "$EXEEXT"; then
24600 am__EXEEXT_FALSE
='#'
24602 am__EXEEXT_TRUE
='#'
24606 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24607 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
24608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24610 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
24611 as_fn_error
"conditional \"XLIB_AWT\" was never defined.
24612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24614 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
24615 as_fn_error
"conditional \"X_AWT\" was never defined.
24616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24618 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
24619 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
24620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24622 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
24623 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
24624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24626 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
24627 as_fn_error
"conditional \"TESTSUBDIR\" was never defined.
24628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24630 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
24631 as_fn_error
"conditional \"BUILD_ECJ1\" was never defined.
24632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24634 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
24635 as_fn_error
"conditional \"INSTALL_ECJ_JAR\" was never defined.
24636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24638 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
24639 as_fn_error
"conditional \"JAVA_HOME_SET\" was never defined.
24640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24642 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
24643 as_fn_error
"conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
24644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24646 if test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE}" && test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE}"; then
24647 as_fn_error
"conditional \"BUILD_LIBGCJ_REDUCED_REFLECTION\" was never defined.
24648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24650 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
24651 as_fn_error
"conditional \"INTERPRETER\" was never defined.
24652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24654 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
24655 as_fn_error
"conditional \"USING_WIN32_PLATFORM\" was never defined.
24656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24658 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
24659 as_fn_error
"conditional \"USING_POSIX_PLATFORM\" was never defined.
24660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24662 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
24663 as_fn_error
"conditional \"USING_DARWIN_CRT\" was never defined.
24664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24666 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
24667 as_fn_error
"conditional \"USING_BOEHMGC\" was never defined.
24668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24670 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
24671 as_fn_error
"conditional \"USING_NOGC\" was never defined.
24672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24674 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
24675 as_fn_error
"conditional \"USING_POSIX_THREADS\" was never defined.
24676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24678 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
24679 as_fn_error
"conditional \"USING_WIN32_THREADS\" was never defined.
24680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24682 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
24683 as_fn_error
"conditional \"USING_NO_THREADS\" was never defined.
24684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24686 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
24687 as_fn_error
"conditional \"USE_LIBGCJ_BC\" was never defined.
24688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24690 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
24691 as_fn_error
"conditional \"USING_GCC\" was never defined.
24692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24694 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
24695 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
24696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24699 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
24700 as_fn_error
"conditional \"NATIVE\" was never defined.
24701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24703 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
24704 as_fn_error
"conditional \"ENABLE_SHARED\" was never defined.
24705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24707 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
24708 as_fn_error
"conditional \"NEEDS_DATA_START\" was never defined.
24709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24711 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
24712 as_fn_error
"conditional \"INSTALL_BINARIES\" was never defined.
24713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24715 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
24716 as_fn_error
"conditional \"ANONVERSCRIPT\" was never defined.
24717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24719 if test -z "${INSTALL_AOT_RPM_TRUE}" && test -z "${INSTALL_AOT_RPM_FALSE}"; then
24720 as_fn_error
"conditional \"INSTALL_AOT_RPM\" was never defined.
24721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24723 if test -z "${CREATE_JAVA_HOME_TRUE}" && test -z "${CREATE_JAVA_HOME_FALSE}"; then
24724 as_fn_error
"conditional \"CREATE_JAVA_HOME\" was never defined.
24725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24728 : ${CONFIG_STATUS=./config.status}
24730 ac_clean_files_save
=$ac_clean_files
24731 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24732 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24733 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24735 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24737 # Generated by $as_me.
24738 # Run this file to recreate the current configuration.
24739 # Compiler output produced by configure, useful for debugging
24740 # configure, is in config.log if it exists.
24743 ac_cs_recheck=false
24746 SHELL=\${CONFIG_SHELL-$SHELL}
24749 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
24750 ## -------------------- ##
24751 ## M4sh Initialization. ##
24752 ## -------------------- ##
24754 # Be more Bourne compatible
24755 DUALCASE
=1; export DUALCASE
# for MKS sh
24756 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24759 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24760 # is contrary to our usage. Disable this feature.
24761 alias -g '${1+"$@"}'='"$@"'
24762 setopt NO_GLOB_SUBST
24764 case `(set -o) 2>/dev/null` in #(
24776 # Printing a long string crashes Solaris 7 /usr/bin/printf.
24777 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24778 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24779 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24780 # Prefer a ksh shell builtin over an external printf program on Solaris,
24781 # but without wasting forks for bash or zsh.
24782 if test -z "$BASH_VERSION$ZSH_VERSION" \
24783 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
24784 as_echo='print
-r --'
24785 as_echo_n='print
-rn --'
24786 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24787 as_echo='printf %s
\n'
24788 as_echo_n='printf %s
'
24790 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24791 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
24792 as_echo_n='/usr
/ucb
/echo -n'
24794 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24795 as_echo_n_body='eval
24799 expr "X$arg" : "X\\(.*\\)$as_nl";
24800 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24802 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
24804 export as_echo_n_body
24805 as_echo_n='sh
-c $as_echo_n_body as_echo
'
24807 export as_echo_body
24808 as_echo='sh
-c $as_echo_body as_echo
'
24811 # The user is always right.
24812 if test "${PATH_SEPARATOR+set}" != set; then
24814 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24815 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24822 # We need space, tab and new line, in precisely that order. Quoting is
24823 # there to prevent editors from complaining about space-tab.
24824 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24825 # splitting by setting IFS to empty value.)
24828 # Find who we are. Look in the path if we contain no directory separator.
24830 *[\\/]* ) as_myself=$0 ;;
24831 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24832 for as_dir in $PATH
24835 test -z "$as_dir" && as_dir=.
24836 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24842 # We did not find ourselves, most probably we were run as `sh COMMAND'
24843 # in which case we are not to be found in the path.
24844 if test "x$as_myself" = x
; then
24847 if test ! -f "$as_myself"; then
24848 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24852 # Unset variables that we do not need and which cause bugs (e.g. in
24853 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
24854 # suppresses any "Segmentation fault" message there. '((' could
24855 # trigger a bug in pdksh 5.2.14.
24856 for as_var
in BASH_ENV ENV MAIL MAILPATH
24857 do eval test x\
${$as_var+set} = xset \
24858 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
24871 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
24874 # as_fn_error ERROR [LINENO LOG_FD]
24875 # ---------------------------------
24876 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24877 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24878 # script with status $?, using 1 if that was 0.
24881 as_status
=$?
; test $as_status -eq 0 && as_status
=1
24883 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
24884 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
24886 $as_echo "$as_me: error: $1" >&2
24887 as_fn_exit
$as_status
24891 # as_fn_set_status STATUS
24892 # -----------------------
24893 # Set $? to STATUS, without forking.
24894 as_fn_set_status
()
24897 } # as_fn_set_status
24899 # as_fn_exit STATUS
24900 # -----------------
24901 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24905 as_fn_set_status
$1
24911 # Portably unset VAR.
24914 { eval $1=; unset $1;}
24916 as_unset
=as_fn_unset
24917 # as_fn_append VAR VALUE
24918 # ----------------------
24919 # Append the text in VALUE to the end of the definition contained in VAR. Take
24920 # advantage of any shell optimizations that allow amortized linear growth over
24921 # repeated appends, instead of the typical quadratic growth present in naive
24923 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
24924 eval 'as_fn_append ()
24935 # as_fn_arith ARG...
24936 # ------------------
24937 # Perform arithmetic evaluation on the ARGs, and store the result in the
24938 # global $as_val. Take advantage of shells that can avoid forks. The arguments
24939 # must be portable across $(()) and expr.
24940 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
24941 eval 'as_fn_arith ()
24948 as_val
=`expr "$@" || test $? -eq 1`
24953 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24954 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24960 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24961 as_basename
=basename
24966 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24972 as_me
=`$as_basename -- "$0" ||
24973 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24974 X"$0" : 'X\(//\)$' \| \
24975 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24977 sed '/^.*\/\([^/][^/]*\)\/*$/{
24991 # Avoid depending upon Character Ranges.
24992 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24993 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24994 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24995 as_cr_digits
='0123456789'
24996 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24998 ECHO_C
= ECHO_N
= ECHO_T
=
24999 case `echo -n x` in #(((((
25001 case `echo 'xy\c'` in
25002 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25004 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
25011 rm -f conf$$ conf$$.exe conf$$.
file
25012 if test -d conf$$.dir
; then
25013 rm -f conf$$.dir
/conf$$.
file
25016 mkdir conf$$.dir
2>/dev
/null
25018 if (echo >conf$$.
file) 2>/dev
/null
; then
25019 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25021 # ... but there are two gotchas:
25022 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25023 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25024 # In both cases, we have to default to `cp -p'.
25025 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25027 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25035 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25036 rmdir conf$$.dir
2>/dev
/null
25041 # Create "$as_dir" as a directory, including parents if necessary.
25046 -*) as_dir
=.
/$as_dir;;
25048 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
25052 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25053 *) as_qdir
=$as_dir;;
25055 as_dirs
="'$as_qdir' $as_dirs"
25056 as_dir
=`$as_dirname -- "$as_dir" ||
25057 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25058 X"$as_dir" : 'X\(//\)[^/]' \| \
25059 X"$as_dir" : 'X\(//\)$' \| \
25060 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25061 $as_echo X"$as_dir" |
25062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25066 /^X\(\/\/\)[^/].*/{
25079 test -d "$as_dir" && break
25081 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25082 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
25086 if mkdir
-p .
2>/dev
/null
; then
25087 as_mkdir_p
='mkdir -p "$as_dir"'
25089 test -d .
/-p && rmdir .
/-p
25093 if test -x / >/dev
/null
2>&1; then
25094 as_test_x
='test -x'
25096 if ls -dL / >/dev
/null
2>&1; then
25103 if test -d "$1"; then
25109 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25110 ???[sx]*):;;*)false;;esac;fi
25114 as_executable_p
=$as_test_x
25116 # Sed expression to map a string onto a valid CPP name.
25117 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25119 # Sed expression to map a string onto a valid variable name.
25120 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25124 ## ----------------------------------- ##
25125 ## Main body of $CONFIG_STATUS script. ##
25126 ## ----------------------------------- ##
25128 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25131 # Save the log message, to keep $0 and so on meaningful, and to
25132 # report actual input values of CONFIG_FILES etc. instead of their
25133 # values after options handling.
25135 This file was extended by libjava $as_me version-unused, which was
25136 generated by GNU Autoconf 2.64. Invocation command line was
25138 CONFIG_FILES = $CONFIG_FILES
25139 CONFIG_HEADERS = $CONFIG_HEADERS
25140 CONFIG_LINKS = $CONFIG_LINKS
25141 CONFIG_COMMANDS = $CONFIG_COMMANDS
25144 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25149 case $ac_config_files in *"
25150 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25153 case $ac_config_headers in *"
25154 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25159 # Files that config.status was made for.
25160 config_files="$ac_config_files"
25161 config_headers="$ac_config_headers"
25162 config_links="$ac_config_links"
25163 config_commands="$ac_config_commands"
25167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25169 \`$as_me' instantiates files and other configuration actions
25170 from templates according to the current configuration. Unless the files
25171 and actions are specified as TAGs, all are instantiated by default.
25173 Usage: $0 [OPTION]... [TAG]...
25175 -h, --help print this help, then exit
25176 -V, --version print version number and configuration settings, then exit
25177 -q, --quiet, --silent
25178 do not print progress messages
25179 -d, --debug don't remove temporary files
25180 --recheck update $as_me by reconfiguring in the same conditions
25181 --file=FILE[:TEMPLATE]
25182 instantiate the configuration file FILE
25183 --header=FILE[:TEMPLATE]
25184 instantiate the configuration header FILE
25186 Configuration files:
25189 Configuration headers:
25192 Configuration links:
25195 Configuration commands:
25198 Report bugs to the package provider."
25201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25203 libjava config.status version-unused
25204 configured by $0, generated by GNU Autoconf 2.64,
25205 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25207 Copyright (C) 2009 Free Software Foundation, Inc.
25208 This config.status script is free software; the Free Software Foundation
25209 gives unlimited permission to copy, distribute and modify it."
25216 test -n "\$AWK" || AWK=awk
25219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25220 # The default lists apply if the user does not specify any file.
25226 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25227 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25238 # Handling of the options.
25239 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25241 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25242 $as_echo "$ac_cs_version"; exit ;;
25243 --debug |
--debu |
--deb |
--de |
--d |
-d )
25245 --file |
--fil |
--fi |
--f )
25248 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25250 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25251 ac_need_defaults
=false
;;
25252 --header |
--heade |
--head |
--hea )
25255 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25257 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25258 ac_need_defaults
=false
;;
25260 # Conflict between --help and --header
25261 as_fn_error
"ambiguous option: \`$1'
25262 Try \`$0 --help' for more information.";;
25263 --help |
--hel |
-h )
25264 $as_echo "$ac_cs_usage"; exit ;;
25265 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25266 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25269 # This is an error.
25270 -*) as_fn_error
"unrecognized option: \`$1'
25271 Try \`$0 --help' for more information." ;;
25273 *) as_fn_append ac_config_targets
" $1"
25274 ac_need_defaults
=false
;;
25280 ac_configure_extra_args
=
25282 if $ac_cs_silent; then
25284 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25289 if \$ac_cs_recheck; then
25290 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25292 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25293 CONFIG_SHELL='$SHELL'
25294 export CONFIG_SHELL
25299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25303 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25304 ## Running $as_me. ##
25310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25318 with_multisubdir="$with_multisubdir"
25319 with_multisrctop="$with_multisrctop"
25320 with_target_subdir="$with_target_subdir"
25321 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25322 multi_basedir="$multi_basedir"
25323 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25326 GFORTRAN="$GFORTRAN"
25328 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25331 # The HP-UX ksh and POSIX shell print the target directory to stdout
25332 # if CDPATH is set.
25333 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25335 sed_quote_subst='$sed_quote_subst'
25336 double_quote_subst='$double_quote_subst'
25337 delay_variable_subst='$delay_variable_subst'
25338 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
25339 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
25340 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
25341 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
25342 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
25343 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
25344 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
25345 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
25346 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
25347 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
25348 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
25349 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
25350 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
25351 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
25352 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
25353 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
25354 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
25355 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
25356 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
25357 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
25358 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
25359 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
25360 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
25361 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
25362 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
25363 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
25364 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
25365 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25366 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
25367 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
25368 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
25369 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
25370 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
25371 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
25372 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
25373 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25374 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25375 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25376 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
25377 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
25378 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
25379 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
25380 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
25381 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
25382 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"`'
25383 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"`'
25384 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
25385 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
25386 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
25387 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
25388 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
25389 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
25390 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
25391 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
25392 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
25393 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
25394 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
25395 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
25396 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
25397 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
25398 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
25399 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
25400 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25401 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25402 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
25403 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
25404 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
25405 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
25406 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
25407 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25408 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25409 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25410 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25411 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25412 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25413 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
25414 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
25415 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
25416 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
25417 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
25418 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
25419 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
25420 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
25421 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
25422 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
25423 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
25424 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
25425 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
25426 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
25427 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
25428 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25429 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
25430 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
25431 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25432 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
25433 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
25434 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
25435 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
25436 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
25437 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
25438 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
25439 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
25440 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
25441 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
25442 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
25443 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25444 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25445 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25446 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
25447 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
25448 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
25449 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
25450 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
25451 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
25452 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
25453 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
25454 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
25455 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
25456 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
25457 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
25458 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
25459 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
25460 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
25461 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
25462 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25463 LD_GCJ='`$ECHO "X$LD_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25464 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25465 old_archive_cmds_GCJ='`$ECHO "X$old_archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25466 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25467 compiler_GCJ='`$ECHO "X$compiler_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25468 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25469 GCC_GCJ='`$ECHO "X$GCC_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25470 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25471 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "X$lt_prog_compiler_no_builtin_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25472 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25473 lt_prog_compiler_wl_GCJ='`$ECHO "X$lt_prog_compiler_wl_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25474 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25475 lt_prog_compiler_pic_GCJ='`$ECHO "X$lt_prog_compiler_pic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25476 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25477 lt_prog_compiler_static_GCJ='`$ECHO "X$lt_prog_compiler_static_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25478 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25479 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "X$lt_cv_prog_compiler_c_o_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25480 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25481 archive_cmds_need_lc_GCJ='`$ECHO "X$archive_cmds_need_lc_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25482 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25483 enable_shared_with_static_runtimes_GCJ='`$ECHO "X$enable_shared_with_static_runtimes_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25484 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25485 export_dynamic_flag_spec_GCJ='`$ECHO "X$export_dynamic_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25486 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25487 whole_archive_flag_spec_GCJ='`$ECHO "X$whole_archive_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25488 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25489 compiler_needs_object_GCJ='`$ECHO "X$compiler_needs_object_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25490 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25491 old_archive_from_new_cmds_GCJ='`$ECHO "X$old_archive_from_new_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25492 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25493 old_archive_from_expsyms_cmds_GCJ='`$ECHO "X$old_archive_from_expsyms_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25494 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25495 archive_cmds_GCJ='`$ECHO "X$archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25496 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25497 archive_expsym_cmds_GCJ='`$ECHO "X$archive_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25498 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25499 module_cmds_GCJ='`$ECHO "X$module_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25500 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25501 module_expsym_cmds_GCJ='`$ECHO "X$module_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25502 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25503 with_gnu_ld_GCJ='`$ECHO "X$with_gnu_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25504 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25505 allow_undefined_flag_GCJ='`$ECHO "X$allow_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25506 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25507 no_undefined_flag_GCJ='`$ECHO "X$no_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25508 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25509 hardcode_libdir_flag_spec_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25510 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25511 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25512 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25513 hardcode_libdir_separator_GCJ='`$ECHO "X$hardcode_libdir_separator_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25514 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25515 hardcode_direct_GCJ='`$ECHO "X$hardcode_direct_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25516 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25517 hardcode_direct_absolute_GCJ='`$ECHO "X$hardcode_direct_absolute_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25518 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25519 hardcode_minus_L_GCJ='`$ECHO "X$hardcode_minus_L_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25520 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25521 hardcode_shlibpath_var_GCJ='`$ECHO "X$hardcode_shlibpath_var_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25522 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25523 hardcode_automatic_GCJ='`$ECHO "X$hardcode_automatic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25524 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25525 inherit_rpath_GCJ='`$ECHO "X$inherit_rpath_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25526 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25527 link_all_deplibs_GCJ='`$ECHO "X$link_all_deplibs_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25528 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25529 fix_srcfile_path_GCJ='`$ECHO "X$fix_srcfile_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25530 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25531 always_export_symbols_GCJ='`$ECHO "X$always_export_symbols_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25532 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25533 export_symbols_cmds_GCJ='`$ECHO "X$export_symbols_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25534 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25535 exclude_expsyms_GCJ='`$ECHO "X$exclude_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25536 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25537 include_expsyms_GCJ='`$ECHO "X$include_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25538 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25539 prelink_cmds_GCJ='`$ECHO "X$prelink_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25540 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25541 file_list_spec_GCJ='`$ECHO "X$file_list_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25542 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25543 hardcode_action_GCJ='`$ECHO "X$hardcode_action_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25544 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25545 compiler_lib_search_dirs_GCJ='`$ECHO "X$compiler_lib_search_dirs_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25546 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25547 predep_objects_GCJ='`$ECHO "X$predep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25548 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25549 postdep_objects_GCJ='`$ECHO "X$postdep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25550 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25551 predeps_GCJ='`$ECHO "X$predeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25552 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25553 postdeps_GCJ='`$ECHO "X$postdeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25554 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
25555 compiler_lib_search_path_GCJ='`$ECHO "X$compiler_lib_search_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
25558 LTCFLAGS='$LTCFLAGS'
25559 compiler='$compiler_DEFAULT'
25561 # Quote evaled strings.
25573 deplibs_check_method \
25582 lt_cv_sys_global_symbol_pipe \
25583 lt_cv_sys_global_symbol_to_cdecl \
25584 lt_cv_sys_global_symbol_to_c_name_address \
25585 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25588 lt_prog_compiler_no_builtin_flag \
25589 lt_prog_compiler_wl \
25590 lt_prog_compiler_pic \
25591 lt_prog_compiler_static \
25592 lt_cv_prog_compiler_c_o \
25600 export_dynamic_flag_spec \
25601 whole_archive_flag_spec \
25602 compiler_needs_object \
25604 allow_undefined_flag \
25605 no_undefined_flag \
25606 hardcode_libdir_flag_spec \
25607 hardcode_libdir_flag_spec_ld \
25608 hardcode_libdir_separator \
25613 variables_saved_for_relink \
25615 library_names_spec \
25620 compiler_lib_search_dirs \
25625 compiler_lib_search_path \
25630 lt_prog_compiler_no_builtin_flag_CXX \
25631 lt_prog_compiler_no_builtin_flag_GCJ \
25632 lt_prog_compiler_wl_CXX \
25633 lt_prog_compiler_wl_GCJ \
25634 lt_prog_compiler_pic_CXX \
25635 lt_prog_compiler_pic_GCJ \
25636 lt_prog_compiler_static_CXX \
25637 lt_prog_compiler_static_GCJ \
25638 lt_cv_prog_compiler_c_o_CXX \
25639 lt_cv_prog_compiler_c_o_GCJ \
25640 export_dynamic_flag_spec_CXX \
25641 export_dynamic_flag_spec_GCJ \
25642 whole_archive_flag_spec_CXX \
25643 whole_archive_flag_spec_GCJ \
25644 compiler_needs_object_CXX \
25645 compiler_needs_object_GCJ \
25648 allow_undefined_flag_CXX \
25649 allow_undefined_flag_GCJ \
25650 no_undefined_flag_CXX \
25651 no_undefined_flag_GCJ \
25652 hardcode_libdir_flag_spec_CXX \
25653 hardcode_libdir_flag_spec_GCJ \
25654 hardcode_libdir_flag_spec_ld_CXX \
25655 hardcode_libdir_flag_spec_ld_GCJ \
25656 hardcode_libdir_separator_CXX \
25657 hardcode_libdir_separator_GCJ \
25658 fix_srcfile_path_CXX \
25659 fix_srcfile_path_GCJ \
25660 exclude_expsyms_CXX \
25661 exclude_expsyms_GCJ \
25662 include_expsyms_CXX \
25663 include_expsyms_GCJ \
25664 file_list_spec_CXX \
25665 file_list_spec_GCJ \
25666 compiler_lib_search_dirs_CXX \
25667 compiler_lib_search_dirs_GCJ \
25668 predep_objects_CXX \
25669 predep_objects_GCJ \
25670 postdep_objects_CXX \
25671 postdep_objects_GCJ \
25676 compiler_lib_search_path_CXX \
25677 compiler_lib_search_path_GCJ; do
25678 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
25679 *[\\\\\\\`\\"\\\$]*)
25680 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
25683 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25688 # Double-quote double-evaled strings.
25689 for var in reload_cmds \
25690 old_postinstall_cmds \
25691 old_postuninstall_cmds \
25693 extract_expsyms_cmds \
25694 old_archive_from_new_cmds \
25695 old_archive_from_expsyms_cmds \
25697 archive_expsym_cmds \
25699 module_expsym_cmds \
25700 export_symbols_cmds \
25703 postuninstall_cmds \
25705 sys_lib_search_path_spec \
25706 sys_lib_dlsearch_path_spec \
25707 old_archive_cmds_CXX \
25708 old_archive_cmds_GCJ \
25709 old_archive_from_new_cmds_CXX \
25710 old_archive_from_new_cmds_GCJ \
25711 old_archive_from_expsyms_cmds_CXX \
25712 old_archive_from_expsyms_cmds_GCJ \
25715 archive_expsym_cmds_CXX \
25716 archive_expsym_cmds_GCJ \
25719 module_expsym_cmds_CXX \
25720 module_expsym_cmds_GCJ \
25721 export_symbols_cmds_CXX \
25722 export_symbols_cmds_GCJ \
25724 prelink_cmds_GCJ; do
25725 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
25726 *[\\\\\\\`\\"\\\$]*)
25727 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
25730 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25735 # Fix-up fallback echo if it was mangled by the above quoting rules.
25737 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
25741 ac_aux_dir='$ac_aux_dir'
25742 xsi_shell='$xsi_shell'
25743 lt_shell_append='$lt_shell_append'
25745 # See if we are running on zsh, and set the options which allow our
25746 # commands through without removal of \ escapes INIT.
25747 if test -n "\${ZSH_VERSION+set}" ; then
25748 setopt NO_GLOB_SUBST
25754 TIMESTAMP='$TIMESTAMP'
25767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25769 # Handling of arguments.
25770 for ac_config_target
in $ac_config_targets
25772 case $ac_config_target in
25773 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
25774 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25775 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
25776 "gcj/libgcj-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
25777 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
25778 "include/platform.h") CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
25779 "java/io/natFile.cc") CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
25780 "java/lang/natConcreteProcess.cc") CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
25781 "java/net/natVMInetAddress.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
25782 "java/net/natVMNetworkInterface.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
25783 "gnu/java/net/natPlainSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
25784 "gnu/java/net/natPlainDatagramSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
25785 "gnu/java/nio/natVMPipe.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
25786 "gnu/java/nio/natVMSelector.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
25787 "gnu/java/nio/channels/natFileChannelImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
25788 "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" ;;
25789 "include/java-gc.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
25790 "include/java-threads.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
25791 "sysdep/locks.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
25792 "sysdep/backtrace.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
25793 "sysdep/descriptor.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
25794 "include/java-signal.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
25795 "include/java-signal-aux.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
25796 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25797 "libgcj.pc") CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
25798 "libgcj.spec") CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
25799 "libgcj-test.spec") CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
25800 "gcj/Makefile") CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
25801 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
25802 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
25803 "contrib/aotcompile.py") CONFIG_FILES
="$CONFIG_FILES contrib/aotcompile.py" ;;
25804 "contrib/aot-compile") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile" ;;
25805 "contrib/aot-compile-rpm") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile-rpm" ;;
25806 "contrib/generate-cacerts.pl") CONFIG_FILES
="$CONFIG_FILES contrib/generate-cacerts.pl" ;;
25807 "contrib/rebuild-gcj-db") CONFIG_FILES
="$CONFIG_FILES contrib/rebuild-gcj-db" ;;
25808 "scripts/jar") CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
25810 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25815 # If the user did not use the arguments to specify the items to instantiate,
25816 # then the envvar interface is used. Set only those that are not.
25817 # We use the long form for the default assignment because of an extremely
25818 # bizarre bug on SunOS 4.1.3.
25819 if $ac_need_defaults; then
25820 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25821 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25822 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
25823 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25826 # Have a temporary directory for convenience. Make it in the build tree
25827 # simply because there is no reason against having it here, and in addition,
25828 # creating and moving files from /tmp can sometimes cause problems.
25829 # Hook for its removal unless debugging.
25830 # Note that there is a small window in which the directory will not be cleaned:
25831 # after its creation but before its name has been assigned to `$tmp'.
25835 trap 'exit_status=$?
25836 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25838 trap 'as_fn_exit 1' 1 2 13 15
25840 # Create a (secure) tmp directory for tmp files.
25843 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25844 test -n "$tmp" && test -d "$tmp"
25847 tmp
=.
/conf$$
-$RANDOM
25848 (umask 077 && mkdir
"$tmp")
25849 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
25851 # Set up the scripts for CONFIG_FILES section.
25852 # No need to generate them if there are no CONFIG_FILES.
25853 # This happens for instance with `./config.status config.h'.
25854 if test -n "$CONFIG_FILES"; then
25857 ac_cr
=`echo X | tr X '\015'`
25858 # On cygwin, bash can eat \r inside `` if the user requested igncr.
25859 # But we know of no other shell where ac_cr would be empty at this
25860 # point, so we can use a bashism as a fallback.
25861 if test "x$ac_cr" = x
; then
25862 eval ac_cr
=\$
\'\\r
\'
25864 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25865 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25868 ac_cs_awk_cr
=$ac_cr
25871 echo 'BEGIN {' >"$tmp/subs1.awk" &&
25876 echo "cat >conf$$subs.awk <<_ACEOF" &&
25877 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25879 } >conf$$subs.sh ||
25880 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25881 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
25883 for ac_last_try in false false false false false :; do
25884 . ./conf$$subs.sh ||
25885 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25887 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
25888 if test $ac_delim_n = $ac_delim_num; then
25890 elif $ac_last_try; then
25891 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25893 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25896 rm -f conf$$subs.sh
25898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25899 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
25903 s/^/S["/; s
/!.
*/"]=/
25913 s/\(.\{148\}\).*/\1/
25915 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
25920 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25927 s/\(.\{148\}\).*/\1/
25929 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
25933 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25938 ' <conf$$subs.awk | sed '
25943 ' >>$CONFIG_STATUS || ac_write_fail=1
25944 rm -f conf$$subs.awk
25945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25947 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
25948 for (key in S) S_is_set[key] = 1
25954 nfields = split(line, field, "@
")
25956 len = length(field[1])
25957 for (i = 2; i < nfields; i++) {
25959 keylen = length(key)
25960 if (S_is_set[key]) {
25962 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25963 len += length(value) + length(field[++i])
25974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25975 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25976 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
25979 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
25980 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
25983 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25984 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
25985 # trailing colons and then remove the whole line if VPATH becomes empty
25986 # (actually we leave an empty line to preserve line numbers).
25987 if test "x
$srcdir" = x.; then
25988 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25989 s/:*\$(srcdir):*/:/
25990 s/:*\${srcdir}:*/:/
25992 s/^\([^=]*=[ ]*\):*/\1/
25998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25999 fi # test -n "$CONFIG_FILES"
26001 # Set up the scripts for CONFIG_HEADERS section.
26002 # No need to generate them if there are no CONFIG_HEADERS.
26003 # This happens for instance with `./config.status Makefile'.
26004 if test -n "$CONFIG_HEADERS"; then
26005 cat >"$tmp/defines.
awk" <<\_ACAWK ||
26009 # Transform confdefs.h into an awk script `defines.awk', embedded as
26010 # here-document in config.status, that substitutes the proper values into
26011 # config.h.in to produce config.h.
26013 # Create a delimiter string that does not exist in confdefs.h, to ease
26014 # handling of long lines.
26016 for ac_last_try in false false :; do
26017 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
26018 if test -z "$ac_t"; then
26020 elif $ac_last_try; then
26021 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
26023 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26027 # For the awk script, D is an array of macro values keyed by name,
26028 # likewise P contains macro parameters if any. Preserve backslash
26029 # newline sequences.
26031 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26033 s/.\{148\}/&'"$ac_delim"'/g
26036 s/^[ ]*#[ ]*define[ ][ ]*/ /
26043 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26045 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26049 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26050 D["\
1"]=" \
3\\\\\\n
"\\/p
26052 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26057 s/.\{148\}/&'"$ac_delim"'/g
26062 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26065 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26067 ' <confdefs.h | sed '
26068 s/'"$ac_delim"'/"\\\
26069 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26072 for (key in D) D_is_set[key] = 1
26075 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26077 split(line, arg, " ")
26078 if (arg[1] == "#") {
26082 defundef
= substr
(arg
[1], 2)
26085 split(mac1
, mac2
, "(") #)
26087 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26088 if (D_is_set
[macro
]) {
26089 # Preserve the white space surrounding the "#".
26090 print prefix
"define", macro P
[macro
] D
[macro
]
26093 # Replace #undef with comments. This is necessary, for example,
26094 # in the case of _POSIX_SOURCE, which is predefined and required
26095 # on some systems where configure will not decide to define it.
26096 if (defundef
== "undef") {
26097 print
"/*", prefix defundef
, macro
, "*/"
26105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26106 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
26107 fi # test -n "$CONFIG_HEADERS"
26110 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
26115 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26117 case $ac_mode$ac_tag in
26119 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26120 :[FH
]-) ac_tag
=-:-;;
26121 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26138 -) ac_f
="$tmp/stdin";;
26139 *) # Look for the file first in the build tree, then in the source tree
26140 # (if the path is not absolute). The absolute path cannot be DOS-style,
26141 # because $ac_f cannot contain `:'.
26145 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26147 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
26149 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26150 as_fn_append ac_file_inputs
" '$ac_f'"
26153 # Let's still pretend it is `configure' which instantiates (i.e., don't
26154 # use $as_me), people would be surprised to read:
26155 # /* config.h. Generated by config.status. */
26156 configure_input
='Generated from '`
26157 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26159 if test x
"$ac_file" != x-
; then
26160 configure_input
="$ac_file. $configure_input"
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26162 $as_echo "$as_me: creating $ac_file" >&6;}
26164 # Neutralize special characters interpreted by sed in replacement strings.
26165 case $configure_input in #(
26166 *\
&* |
*\|
* |
*\\* )
26167 ac_sed_conf_input
=`$as_echo "$configure_input" |
26168 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26169 *) ac_sed_conf_input
=$configure_input;;
26173 *:-:* |
*:-) cat >"$tmp/stdin" \
26174 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
26179 ac_dir
=`$as_dirname -- "$ac_file" ||
26180 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26181 X"$ac_file" : 'X\(//\)[^/]' \| \
26182 X"$ac_file" : 'X\(//\)$' \| \
26183 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26184 $as_echo X"$ac_file" |
26185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26189 /^X\(\/\/\)[^/].*/{
26202 as_dir
="$ac_dir"; as_fn_mkdir_p
26206 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26208 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26209 # A ".." for each directory in $ac_dir_suffix.
26210 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26211 case $ac_top_builddir_sub in
26212 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26213 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26216 ac_abs_top_builddir
=$ac_pwd
26217 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26218 # for backward compatibility:
26219 ac_top_builddir
=$ac_top_build_prefix
26222 .
) # We are building in place.
26224 ac_top_srcdir
=$ac_top_builddir_sub
26225 ac_abs_top_srcdir
=$ac_pwd ;;
26226 [\\/]* | ?
:[\\/]* ) # Absolute name.
26227 ac_srcdir
=$srcdir$ac_dir_suffix;
26228 ac_top_srcdir
=$srcdir
26229 ac_abs_top_srcdir
=$srcdir ;;
26230 *) # Relative name.
26231 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26232 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26233 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26235 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26245 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26246 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26248 ac_MKDIR_P
=$MKDIR_P
26250 [\\/$
]* | ?
:[\\/]* ) ;;
26251 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26256 # If the template does not know about datarootdir, expand it.
26257 # FIXME: This hack should be removed a few years after 2.60.
26258 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26269 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26270 *datarootdir
*) ac_datarootdir_seen
=yes;;
26271 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26273 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26276 ac_datarootdir_hack='
26277 s&@datadir@&$datadir&g
26278 s&@docdir@&$docdir&g
26279 s&@infodir@&$infodir&g
26280 s&@localedir@&$localedir&g
26281 s&@mandir@&$mandir&g
26282 s&\\\${datarootdir}&$datarootdir&g' ;;
26286 # Neutralize VPATH when `$srcdir' = `.'.
26287 # Shell code in configure.ac might set extrasub.
26288 # FIXME: do we really want to maintain this feature?
26289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26290 ac_sed_extra="$ac_vpsub
26293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26295 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26296 s|@configure_input@|
$ac_sed_conf_input|
;t t
26297 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26298 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26299 s
&@srcdir@
&$ac_srcdir&;t t
26300 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26301 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26302 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26303 s
&@builddir@
&$ac_builddir&;t t
26304 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26305 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26306 s
&@INSTALL@
&$ac_INSTALL&;t t
26307 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26308 $ac_datarootdir_hack
26310 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26311 || as_fn_error "could not create
$ac_file" "$LINENO" 5
26313 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26314 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26315 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26317 which seems to be undefined. Please make sure it is defined." >&5
26318 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26319 which seems to be undefined. Please make sure it is defined." >&2;}
26323 -) cat "$tmp/out" && rm -f "$tmp/out";;
26324 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26326 || as_fn_error "could not create $ac_file" "$LINENO" 5
26332 if test x"$ac_file" != x-; then
26334 $as_echo "/* $configure_input */" \
26335 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26336 } >"$tmp/config.h" \
26337 || as_fn_error "could not create $ac_file" "$LINENO" 5
26338 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26339 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26340 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26343 mv "$tmp/config.h" "$ac_file" \
26344 || as_fn_error "could not create $ac_file" "$LINENO" 5
26347 $as_echo "/* $configure_input */" \
26348 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26349 || as_fn_error "could not create -" "$LINENO" 5
26351 # Compute "$ac_file"'s index
in $config_headers.
26354 for _am_header
in $config_headers :; do
26355 case $_am_header in
26356 $_am_arg |
$_am_arg:* )
26359 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26362 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26363 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26364 X"$_am_arg" : 'X\(//\)[^/]' \| \
26365 X"$_am_arg" : 'X\(//\)$' \| \
26366 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26367 $as_echo X"$_am_arg" |
26368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26372 /^X\(\/\/\)[^/].*/{
26384 s/.*/./; q'`/stamp-h
$_am_stamp_count
26391 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
26394 # Prefer the file from the source tree if names are identical.
26395 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
26396 ac_source
=$srcdir/$ac_source
26399 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
26400 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
26402 if test ! -r "$ac_source"; then
26403 as_fn_error
"$ac_source: file not found" "$LINENO" 5
26407 # Try a relative symlink, then a hard link, then a copy.
26409 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
26410 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
26412 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
26413 ln "$ac_source" "$ac_file" 2>/dev
/null ||
26414 cp -p "$ac_source" "$ac_file" ||
26415 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
26418 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26419 $as_echo "$as_me: executing $ac_file commands" >&6;}
26424 case $ac_file$ac_mode in
26426 # Only add multilib support code if we just rebuilt the top-level
26428 case " $CONFIG_FILES " in
26430 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
26433 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26434 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26435 # are listed without --file. Let's play safe and only enable the eval
26436 # if we detect the quoting.
26437 case $CONFIG_FILES in
26438 *\'*) eval set x
"$CONFIG_FILES" ;;
26439 *) set x
$CONFIG_FILES ;;
26444 # Strip MF so we end up with the name of the file.
26445 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26446 # Check whether this is an Automake generated Makefile or not.
26447 # We used to match only the files named `Makefile.in', but
26448 # some people rename them; so instead we look at the file content.
26449 # Grep'ing the first line is not enough: some people post-process
26450 # each Makefile.in and add a new line on top of each file to say so.
26451 # Grep'ing the whole file is not good either: AIX grep has a line
26452 # limit of 2048, but all sed's we know have understand at least 4000.
26453 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26454 dirpart
=`$as_dirname -- "$mf" ||
26455 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26456 X"$mf" : 'X\(//\)[^/]' \| \
26457 X"$mf" : 'X\(//\)$' \| \
26458 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26464 /^X\(\/\/\)[^/].*/{
26480 # Extract the definition of DEPDIR, am__include, and am__quote
26481 # from the Makefile without running `make'.
26482 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26483 test -z "$DEPDIR" && continue
26484 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26485 test -z "am__include" && continue
26486 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26487 # When using ansi2knr, U may be empty or an underscore; expand it
26488 U
=`sed -n 's/^U = //p' < "$mf"`
26489 # Find all dependency output files, they are included files with
26490 # $(DEPDIR) in their names. We invoke sed twice because it is the
26491 # simplest approach to changing $(DEPDIR) to its actual value in the
26493 for file in `sed -n "
26494 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26495 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26496 # Make sure the directory exists.
26497 test -f "$dirpart/$file" && continue
26498 fdir
=`$as_dirname -- "$file" ||
26499 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26500 X"$file" : 'X\(//\)[^/]' \| \
26501 X"$file" : 'X\(//\)$' \| \
26502 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26503 $as_echo X"$file" |
26504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26508 /^X\(\/\/\)[^/].*/{
26521 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26522 # echo "creating $dirpart/$file"
26523 echo '# dummy' > "$dirpart/$file"
26530 # See if we are running on zsh, and set the options which allow our
26531 # commands through without removal of \ escapes.
26532 if test -n "${ZSH_VERSION+set}" ; then
26533 setopt NO_GLOB_SUBST
26536 cfgfile
="${ofile}T"
26537 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26540 cat <<_LT_EOF >> "$cfgfile"
26543 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26544 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26545 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26546 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26548 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26549 # 2006, 2007, 2008 Free Software Foundation, Inc.
26550 # Written by Gordon Matzigkeit, 1996
26552 # This file is part of GNU Libtool.
26554 # GNU Libtool is free software; you can redistribute it and/or
26555 # modify it under the terms of the GNU General Public License as
26556 # published by the Free Software Foundation; either version 2 of
26557 # the License, or (at your option) any later version.
26559 # As a special exception to the GNU General Public License,
26560 # if you distribute this file as part of a program or library that
26561 # is built using GNU Libtool, you may include this file under the
26562 # same distribution terms that you use for the rest of that program.
26564 # GNU Libtool is distributed in the hope that it will be useful,
26565 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26566 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26567 # GNU General Public License for more details.
26569 # You should have received a copy of the GNU General Public License
26570 # along with GNU Libtool; see the file COPYING. If not, a copy
26571 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26572 # obtained by writing to the Free Software Foundation, Inc.,
26573 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26576 # The names of the tagged configurations supported by this script.
26577 available_tags="CXX GCJ "
26579 # ### BEGIN LIBTOOL CONFIG
26581 # Which release of libtool.m4 was used?
26582 macro_version=$macro_version
26583 macro_revision=$macro_revision
26585 # Whether or not to build shared libraries.
26586 build_libtool_libs=$enable_shared
26588 # Whether or not to build static libraries.
26589 build_old_libs=$enable_static
26591 # What type of objects to build.
26594 # Whether or not to optimize for fast installation.
26595 fast_install=$enable_fast_install
26598 host_alias=$host_alias
26602 # The build system.
26603 build_alias=$build_alias
26607 # A sed program that does not truncate output.
26610 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26611 Xsed="\$SED -e 1s/^X//"
26613 # A grep program that handles long lines.
26619 # A literal string matcher.
26622 # A BSD- or MS-compatible name lister.
26625 # Whether we need soft or hard links.
26628 # What is the maximum length of a command?
26629 max_cmd_len=$max_cmd_len
26631 # Object file suffix (normally "o").
26634 # Executable file suffix (normally "").
26637 # whether the shell understands "unset".
26640 # turn spaces into newlines.
26643 # turn newlines into spaces.
26646 # How to create reloadable object files.
26647 reload_flag=$lt_reload_flag
26648 reload_cmds=$lt_reload_cmds
26650 # An object symbol dumper.
26651 OBJDUMP=$lt_OBJDUMP
26653 # Method to check whether dependent libraries are shared objects.
26654 deplibs_check_method=$lt_deplibs_check_method
26656 # Command to use when deplibs_check_method == "file_magic".
26657 file_magic_cmd=$lt_file_magic_cmd
26661 AR_FLAGS=$lt_AR_FLAGS
26663 # A symbol stripping program.
26666 # Commands used to install an old-style archive.
26668 old_postinstall_cmds=$lt_old_postinstall_cmds
26669 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26674 # LTCC compiler flags.
26675 LTCFLAGS=$lt_CFLAGS
26677 # Take the output of nm and produce a listing of raw symbols and C names.
26678 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26680 # Transform the output of nm in a proper C declaration.
26681 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26683 # Transform the output of nm in a C name address pair.
26684 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26686 # Transform the output of nm in a C name address pair when lib prefix is needed.
26687 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26689 # The name of the directory that contains temporary libtool files.
26692 # Shell to use when invoking shell scripts.
26695 # An echo program that does not interpret backslashes.
26698 # Used to examine libraries when file_magic_cmd begins with "file".
26699 MAGIC_CMD=$MAGIC_CMD
26701 # Must we lock files when doing compilation?
26702 need_locks=$lt_need_locks
26704 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26705 DSYMUTIL=$lt_DSYMUTIL
26707 # Tool to change global to local symbols on Mac OS X.
26710 # Tool to manipulate fat objects and archives on Mac OS X.
26713 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26716 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26717 OTOOL64=$lt_OTOOL64
26719 # Old archive suffix (normally "a").
26722 # Shared library suffix (normally ".so").
26723 shrext_cmds=$lt_shrext_cmds
26725 # The commands to extract the exported symbol list from a shared archive.
26726 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26728 # Variables whose values should be saved in libtool wrapper scripts and
26729 # restored at link time.
26730 variables_saved_for_relink=$lt_variables_saved_for_relink
26732 # Do we need the "lib" prefix for modules?
26733 need_lib_prefix=$need_lib_prefix
26735 # Do we need a version for libraries?
26736 need_version=$need_version
26738 # Library versioning type.
26739 version_type=$version_type
26741 # Shared library runtime path variable.
26742 runpath_var=$runpath_var
26744 # Shared library path variable.
26745 shlibpath_var=$shlibpath_var
26747 # Is shlibpath searched before the hard-coded library search path?
26748 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26750 # Format of library name prefix.
26751 libname_spec=$lt_libname_spec
26753 # List of archive names. First name is the real one, the rest are links.
26754 # The last name is the one that the linker finds with -lNAME
26755 library_names_spec=$lt_library_names_spec
26757 # The coded name of the library, if different from the real name.
26758 soname_spec=$lt_soname_spec
26760 # Command to use after installation of a shared archive.
26761 postinstall_cmds=$lt_postinstall_cmds
26763 # Command to use after uninstallation of a shared archive.
26764 postuninstall_cmds=$lt_postuninstall_cmds
26766 # Commands used to finish a libtool library installation in a directory.
26767 finish_cmds=$lt_finish_cmds
26769 # As "finish_cmds", except a single script fragment to be evaled but
26771 finish_eval=$lt_finish_eval
26773 # Whether we should hardcode library paths into libraries.
26774 hardcode_into_libs=$hardcode_into_libs
26776 # Compile-time system search path for libraries.
26777 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26779 # Run-time system search path for libraries.
26780 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26782 # Whether dlopen is supported.
26783 dlopen_support=$enable_dlopen
26785 # Whether dlopen of programs is supported.
26786 dlopen_self=$enable_dlopen_self
26788 # Whether dlopen of statically linked programs is supported.
26789 dlopen_self_static=$enable_dlopen_self_static
26791 # Commands to strip libraries.
26792 old_striplib=$lt_old_striplib
26793 striplib=$lt_striplib
26796 # The linker used to build libraries.
26799 # Commands used to build an old-style archive.
26800 old_archive_cmds=$lt_old_archive_cmds
26802 # A language specific compiler.
26805 # Is the compiler the GNU compiler?
26808 # Compiler flag to turn off builtin functions.
26809 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26811 # How to pass a linker flag through the compiler.
26812 wl=$lt_lt_prog_compiler_wl
26814 # Additional compiler flags for building library objects.
26815 pic_flag=$lt_lt_prog_compiler_pic
26817 # Compiler flag to prevent dynamic linking.
26818 link_static_flag=$lt_lt_prog_compiler_static
26820 # Does compiler simultaneously support -c and -o options?
26821 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26823 # Whether or not to add -lc for building shared libraries.
26824 build_libtool_need_lc=$archive_cmds_need_lc
26826 # Whether or not to disallow shared libs when runtime libs are static.
26827 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26829 # Compiler flag to allow reflexive dlopens.
26830 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26832 # Compiler flag to generate shared objects directly from archives.
26833 whole_archive_flag_spec=$lt_whole_archive_flag_spec
26835 # Whether the compiler copes with passing no objects directly.
26836 compiler_needs_object=$lt_compiler_needs_object
26838 # Create an old-style archive from a shared archive.
26839 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26841 # Create a temporary old-style archive to link instead of a shared archive.
26842 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26844 # Commands used to build a shared archive.
26845 archive_cmds=$lt_archive_cmds
26846 archive_expsym_cmds=$lt_archive_expsym_cmds
26848 # Commands used to build a loadable module if different from building
26849 # a shared archive.
26850 module_cmds=$lt_module_cmds
26851 module_expsym_cmds=$lt_module_expsym_cmds
26853 # Whether we are building with GNU ld or not.
26854 with_gnu_ld=$lt_with_gnu_ld
26856 # Flag that allows shared libraries with undefined symbols to be built.
26857 allow_undefined_flag=$lt_allow_undefined_flag
26859 # Flag that enforces no undefined symbols.
26860 no_undefined_flag=$lt_no_undefined_flag
26862 # Flag to hardcode \$libdir into a binary during linking.
26863 # This must work even if \$libdir does not exist
26864 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26866 # If ld is used when linking, flag to hardcode \$libdir into a binary
26867 # during linking. This must work even if \$libdir does not exist.
26868 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
26870 # Whether we need a single "-rpath" flag with a separated argument.
26871 hardcode_libdir_separator=$lt_hardcode_libdir_separator
26873 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26874 # DIR into the resulting binary.
26875 hardcode_direct=$hardcode_direct
26877 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26878 # DIR into the resulting binary and the resulting library dependency is
26879 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
26880 # library is relocated.
26881 hardcode_direct_absolute=$hardcode_direct_absolute
26883 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26884 # into the resulting binary.
26885 hardcode_minus_L=$hardcode_minus_L
26887 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26888 # into the resulting binary.
26889 hardcode_shlibpath_var=$hardcode_shlibpath_var
26891 # Set to "yes" if building a shared library automatically hardcodes DIR
26892 # into the library and all subsequent libraries and executables linked
26894 hardcode_automatic=$hardcode_automatic
26896 # Set to yes if linker adds runtime paths of dependent libraries
26897 # to runtime path list.
26898 inherit_rpath=$inherit_rpath
26900 # Whether libtool must link a program against all its dependency libraries.
26901 link_all_deplibs=$link_all_deplibs
26903 # Fix the shell variable \$srcfile for the compiler.
26904 fix_srcfile_path=$lt_fix_srcfile_path
26906 # Set to "yes" if exported symbols are required.
26907 always_export_symbols=$always_export_symbols
26909 # The commands to list exported symbols.
26910 export_symbols_cmds=$lt_export_symbols_cmds
26912 # Symbols that should not be listed in the preloaded symbols.
26913 exclude_expsyms=$lt_exclude_expsyms
26915 # Symbols that must always be exported.
26916 include_expsyms=$lt_include_expsyms
26918 # Commands necessary for linking programs (against libraries) with templates.
26919 prelink_cmds=$lt_prelink_cmds
26921 # Specify filename containing input files.
26922 file_list_spec=$lt_file_list_spec
26924 # How to hardcode a shared library path into an executable.
26925 hardcode_action=$hardcode_action
26927 # The directories searched by this compiler when creating a shared library.
26928 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
26930 # Dependencies to place before and after the objects being linked to
26931 # create a shared library.
26932 predep_objects=$lt_predep_objects
26933 postdep_objects=$lt_postdep_objects
26934 predeps=$lt_predeps
26935 postdeps=$lt_postdeps
26937 # The library search path used internally by the compiler when linking
26938 # a shared library.
26939 compiler_lib_search_path=$lt_compiler_lib_search_path
26941 # ### END LIBTOOL CONFIG
26947 cat <<\_LT_EOF
>> "$cfgfile"
26948 # AIX sometimes has problems with the GCC collect2 program. For some
26949 # reason, if we set the COLLECT_NAMES environment variable, the problems
26950 # vanish in a puff of smoke.
26951 if test "X${COLLECT_NAMES+set}" != Xset
; then
26953 export COLLECT_NAMES
26960 ltmain
="$ac_aux_dir/ltmain.sh"
26963 # We use sed instead of cat because bash on DJGPP gets confused if
26964 # if finds mixed CR/LF and LF-only lines. Since sed operates in
26965 # text mode, it properly converts lines to CR/LF. This bash problem
26966 # is reportedly fixed, but why not run on old versions too?
26967 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
26968 ||
(rm -f "$cfgfile"; exit 1)
26972 cat << \_LT_EOF
>> "$cfgfile"
26974 # func_dirname file append nondir_replacement
26975 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
26976 # otherwise set result to NONDIR_REPLACEMENT.
26980 */*) func_dirname_result
="${1%/*}${2}" ;;
26981 * ) func_dirname_result
="${3}" ;;
26985 # func_basename file
26988 func_basename_result
="${1##*/}"
26991 # func_dirname_and_basename file append nondir_replacement
26992 # perform func_basename and func_dirname in a single function
26994 # dirname: Compute the dirname of FILE. If nonempty,
26995 # add APPEND to the result, otherwise set result
26996 # to NONDIR_REPLACEMENT.
26997 # value returned in "$func_dirname_result"
26998 # basename: Compute filename of FILE.
26999 # value retuned in "$func_basename_result"
27000 # Implementation must be kept synchronized with func_dirname
27001 # and func_basename. For efficiency, we do not delegate to
27002 # those functions but instead duplicate the functionality here.
27003 func_dirname_and_basename
()
27006 */*) func_dirname_result
="${1%/*}${2}" ;;
27007 * ) func_dirname_result
="${3}" ;;
27009 func_basename_result
="${1##*/}"
27012 # func_stripname prefix suffix name
27013 # strip PREFIX and SUFFIX off of NAME.
27014 # PREFIX and SUFFIX must not contain globbing or regex special
27015 # characters, hashes, percent signs, but SUFFIX may contain a leading
27016 # dot (in which case that matches only a dot).
27019 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27020 # positional parameters, so assign one to ordinary parameter first.
27021 func_stripname_result
=${3}
27022 func_stripname_result
=${func_stripname_result#"${1}"}
27023 func_stripname_result
=${func_stripname_result%"${2}"}
27029 func_opt_split_opt
=${1%%=*}
27030 func_opt_split_arg
=${1#*=}
27037 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
27038 *) func_lo2o_result
=${1} ;;
27042 # func_xform libobj-or-source
27045 func_xform_result
=${1%.*}.lo
27048 # func_arith arithmetic-term...
27051 func_arith_result
=$
(( $
* ))
27055 # STRING may not start with a hyphen.
27058 func_len_result
=${#1}
27063 *) # Bourne compatible functions.
27064 cat << \_LT_EOF
>> "$cfgfile"
27066 # func_dirname file append nondir_replacement
27067 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27068 # otherwise set result to NONDIR_REPLACEMENT.
27071 # Extract subdirectory from the argument.
27072 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
27073 if test "X$func_dirname_result" = "X${1}"; then
27074 func_dirname_result
="${3}"
27076 func_dirname_result
="$func_dirname_result${2}"
27080 # func_basename file
27083 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
27087 # func_stripname prefix suffix name
27088 # strip PREFIX and SUFFIX off of NAME.
27089 # PREFIX and SUFFIX must not contain globbing or regex special
27090 # characters, hashes, percent signs, but SUFFIX may contain a leading
27091 # dot (in which case that matches only a dot).
27092 # func_strip_suffix prefix name
27096 .
*) func_stripname_result
=`$ECHO "X${3}" \
27097 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
27098 *) func_stripname_result
=`$ECHO "X${3}" \
27099 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
27104 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
27105 my_sed_long_arg
='1s/^-[^=]*=//'
27110 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
27111 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
27117 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
27120 # func_xform libobj-or-source
27123 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
27126 # func_arith arithmetic-term...
27129 func_arith_result
=`expr "$@"`
27133 # STRING may not start with a hyphen.
27136 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27142 case $lt_shell_append in
27144 cat << \_LT_EOF
>> "$cfgfile"
27146 # func_append var value
27147 # Append VALUE to the end of shell variable VAR.
27155 cat << \_LT_EOF
>> "$cfgfile"
27157 # func_append var value
27158 # Append VALUE to the end of shell variable VAR.
27169 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27170 ||
(rm -f "$cfgfile"; exit 1)
27172 mv -f "$cfgfile" "$ofile" ||
27173 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27177 cat <<_LT_EOF >> "$ofile"
27179 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27181 # The linker used to build libraries.
27184 # Commands used to build an old-style archive.
27185 old_archive_cmds=$lt_old_archive_cmds_CXX
27187 # A language specific compiler.
27188 CC=$lt_compiler_CXX
27190 # Is the compiler the GNU compiler?
27193 # Compiler flag to turn off builtin functions.
27194 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27196 # How to pass a linker flag through the compiler.
27197 wl=$lt_lt_prog_compiler_wl_CXX
27199 # Additional compiler flags for building library objects.
27200 pic_flag=$lt_lt_prog_compiler_pic_CXX
27202 # Compiler flag to prevent dynamic linking.
27203 link_static_flag=$lt_lt_prog_compiler_static_CXX
27205 # Does compiler simultaneously support -c and -o options?
27206 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27208 # Whether or not to add -lc for building shared libraries.
27209 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27211 # Whether or not to disallow shared libs when runtime libs are static.
27212 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27214 # Compiler flag to allow reflexive dlopens.
27215 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27217 # Compiler flag to generate shared objects directly from archives.
27218 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27220 # Whether the compiler copes with passing no objects directly.
27221 compiler_needs_object=$lt_compiler_needs_object_CXX
27223 # Create an old-style archive from a shared archive.
27224 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27226 # Create a temporary old-style archive to link instead of a shared archive.
27227 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27229 # Commands used to build a shared archive.
27230 archive_cmds=$lt_archive_cmds_CXX
27231 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27233 # Commands used to build a loadable module if different from building
27234 # a shared archive.
27235 module_cmds=$lt_module_cmds_CXX
27236 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27238 # Whether we are building with GNU ld or not.
27239 with_gnu_ld=$lt_with_gnu_ld_CXX
27241 # Flag that allows shared libraries with undefined symbols to be built.
27242 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27244 # Flag that enforces no undefined symbols.
27245 no_undefined_flag=$lt_no_undefined_flag_CXX
27247 # Flag to hardcode \$libdir into a binary during linking.
27248 # This must work even if \$libdir does not exist
27249 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27251 # If ld is used when linking, flag to hardcode \$libdir into a binary
27252 # during linking. This must work even if \$libdir does not exist.
27253 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27255 # Whether we need a single "-rpath" flag with a separated argument.
27256 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27258 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27259 # DIR into the resulting binary.
27260 hardcode_direct=$hardcode_direct_CXX
27262 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27263 # DIR into the resulting binary and the resulting library dependency is
27264 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27265 # library is relocated.
27266 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27268 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27269 # into the resulting binary.
27270 hardcode_minus_L=$hardcode_minus_L_CXX
27272 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27273 # into the resulting binary.
27274 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27276 # Set to "yes" if building a shared library automatically hardcodes DIR
27277 # into the library and all subsequent libraries and executables linked
27279 hardcode_automatic=$hardcode_automatic_CXX
27281 # Set to yes if linker adds runtime paths of dependent libraries
27282 # to runtime path list.
27283 inherit_rpath=$inherit_rpath_CXX
27285 # Whether libtool must link a program against all its dependency libraries.
27286 link_all_deplibs=$link_all_deplibs_CXX
27288 # Fix the shell variable \$srcfile for the compiler.
27289 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27291 # Set to "yes" if exported symbols are required.
27292 always_export_symbols=$always_export_symbols_CXX
27294 # The commands to list exported symbols.
27295 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27297 # Symbols that should not be listed in the preloaded symbols.
27298 exclude_expsyms=$lt_exclude_expsyms_CXX
27300 # Symbols that must always be exported.
27301 include_expsyms=$lt_include_expsyms_CXX
27303 # Commands necessary for linking programs (against libraries) with templates.
27304 prelink_cmds=$lt_prelink_cmds_CXX
27306 # Specify filename containing input files.
27307 file_list_spec=$lt_file_list_spec_CXX
27309 # How to hardcode a shared library path into an executable.
27310 hardcode_action=$hardcode_action_CXX
27312 # The directories searched by this compiler when creating a shared library.
27313 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27315 # Dependencies to place before and after the objects being linked to
27316 # create a shared library.
27317 predep_objects=$lt_predep_objects_CXX
27318 postdep_objects=$lt_postdep_objects_CXX
27319 predeps=$lt_predeps_CXX
27320 postdeps=$lt_postdeps_CXX
27322 # The library search path used internally by the compiler when linking
27323 # a shared library.
27324 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27326 # ### END LIBTOOL TAG CONFIG: CXX
27330 cat <<_LT_EOF >> "$ofile"
27332 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
27334 # The linker used to build libraries.
27337 # Commands used to build an old-style archive.
27338 old_archive_cmds=$lt_old_archive_cmds_GCJ
27340 # A language specific compiler.
27341 CC=$lt_compiler_GCJ
27343 # Is the compiler the GNU compiler?
27346 # Compiler flag to turn off builtin functions.
27347 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
27349 # How to pass a linker flag through the compiler.
27350 wl=$lt_lt_prog_compiler_wl_GCJ
27352 # Additional compiler flags for building library objects.
27353 pic_flag=$lt_lt_prog_compiler_pic_GCJ
27355 # Compiler flag to prevent dynamic linking.
27356 link_static_flag=$lt_lt_prog_compiler_static_GCJ
27358 # Does compiler simultaneously support -c and -o options?
27359 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
27361 # Whether or not to add -lc for building shared libraries.
27362 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
27364 # Whether or not to disallow shared libs when runtime libs are static.
27365 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
27367 # Compiler flag to allow reflexive dlopens.
27368 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
27370 # Compiler flag to generate shared objects directly from archives.
27371 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
27373 # Whether the compiler copes with passing no objects directly.
27374 compiler_needs_object=$lt_compiler_needs_object_GCJ
27376 # Create an old-style archive from a shared archive.
27377 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
27379 # Create a temporary old-style archive to link instead of a shared archive.
27380 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
27382 # Commands used to build a shared archive.
27383 archive_cmds=$lt_archive_cmds_GCJ
27384 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
27386 # Commands used to build a loadable module if different from building
27387 # a shared archive.
27388 module_cmds=$lt_module_cmds_GCJ
27389 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
27391 # Whether we are building with GNU ld or not.
27392 with_gnu_ld=$lt_with_gnu_ld_GCJ
27394 # Flag that allows shared libraries with undefined symbols to be built.
27395 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
27397 # Flag that enforces no undefined symbols.
27398 no_undefined_flag=$lt_no_undefined_flag_GCJ
27400 # Flag to hardcode \$libdir into a binary during linking.
27401 # This must work even if \$libdir does not exist
27402 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
27404 # If ld is used when linking, flag to hardcode \$libdir into a binary
27405 # during linking. This must work even if \$libdir does not exist.
27406 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
27408 # Whether we need a single "-rpath" flag with a separated argument.
27409 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
27411 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27412 # DIR into the resulting binary.
27413 hardcode_direct=$hardcode_direct_GCJ
27415 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27416 # DIR into the resulting binary and the resulting library dependency is
27417 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27418 # library is relocated.
27419 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
27421 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27422 # into the resulting binary.
27423 hardcode_minus_L=$hardcode_minus_L_GCJ
27425 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27426 # into the resulting binary.
27427 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
27429 # Set to "yes" if building a shared library automatically hardcodes DIR
27430 # into the library and all subsequent libraries and executables linked
27432 hardcode_automatic=$hardcode_automatic_GCJ
27434 # Set to yes if linker adds runtime paths of dependent libraries
27435 # to runtime path list.
27436 inherit_rpath=$inherit_rpath_GCJ
27438 # Whether libtool must link a program against all its dependency libraries.
27439 link_all_deplibs=$link_all_deplibs_GCJ
27441 # Fix the shell variable \$srcfile for the compiler.
27442 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
27444 # Set to "yes" if exported symbols are required.
27445 always_export_symbols=$always_export_symbols_GCJ
27447 # The commands to list exported symbols.
27448 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
27450 # Symbols that should not be listed in the preloaded symbols.
27451 exclude_expsyms=$lt_exclude_expsyms_GCJ
27453 # Symbols that must always be exported.
27454 include_expsyms=$lt_include_expsyms_GCJ
27456 # Commands necessary for linking programs (against libraries) with templates.
27457 prelink_cmds=$lt_prelink_cmds_GCJ
27459 # Specify filename containing input files.
27460 file_list_spec=$lt_file_list_spec_GCJ
27462 # How to hardcode a shared library path into an executable.
27463 hardcode_action=$hardcode_action_GCJ
27465 # The directories searched by this compiler when creating a shared library.
27466 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
27468 # Dependencies to place before and after the objects being linked to
27469 # create a shared library.
27470 predep_objects=$lt_predep_objects_GCJ
27471 postdep_objects=$lt_postdep_objects_GCJ
27472 predeps=$lt_predeps_GCJ
27473 postdeps=$lt_postdeps_GCJ
27475 # The library search path used internally by the compiler when linking
27476 # a shared library.
27477 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
27479 # ### END LIBTOOL TAG CONFIG: GCJ
27483 "scripts/jar":F
) chmod +x
scripts
/jar
;;
27491 ac_clean_files
=$ac_clean_files_save
27493 test $ac_write_fail = 0 ||
27494 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27497 # configure is writing to config.log, and then calls config.status.
27498 # config.status does its own redirection, appending to config.log.
27499 # Unfortunately, on DOS this fails, as config.log is still kept open
27500 # by configure, so config.status won't be able to write to it; its
27501 # output is simply discarded. So we exec the FD to /dev/null,
27502 # effectively closing config.log, so it can be properly (re)opened and
27503 # appended to by config.status. When coming back to configure, we
27504 # need to make the FD available again.
27505 if test "$no_create" != yes; then
27507 ac_config_status_args
=
27508 test "$silent" = yes &&
27509 ac_config_status_args
="$ac_config_status_args --quiet"
27511 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27513 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27514 # would make configure fail if this is the last instruction.
27515 $ac_cs_success || as_fn_exit $?
27519 # CONFIG_SUBDIRS section.
27521 if test "$no_recursion" != yes; then
27523 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
27524 # so they do not pile up.
27525 ac_sub_configure_args
=
27527 eval "set x $ac_configure_args"
27531 if test -n "$ac_prev"; then
27536 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
27537 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
27538 ac_prev
=cache_file
;;
27539 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
27540 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
27543 --config-cache |
-C)
27545 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
27547 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
27549 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
27551 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
27553 --disable-option-checking)
27557 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27559 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
27563 # Always prepend --prefix to ensure using the same prefix
27564 # in subdir configurations.
27565 ac_arg
="--prefix=$prefix"
27567 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27569 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
27572 if test "$silent" = yes; then
27573 ac_sub_configure_args
="--silent $ac_sub_configure_args"
27576 # Always prepend --disable-option-checking to silence warnings, since
27577 # different subdirs can have different --enable and --with options.
27578 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
27581 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
27583 # Do not complain, so a configure script can configure whichever
27584 # parts of a large source tree are present.
27585 test -d "$srcdir/$ac_dir" ||
continue
27587 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
27588 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
27589 $as_echo "$ac_msg" >&6
27590 as_dir
="$ac_dir"; as_fn_mkdir_p
27594 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27596 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27597 # A ".." for each directory in $ac_dir_suffix.
27598 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27599 case $ac_top_builddir_sub in
27600 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27601 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27604 ac_abs_top_builddir
=$ac_pwd
27605 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27606 # for backward compatibility:
27607 ac_top_builddir
=$ac_top_build_prefix
27610 .
) # We are building in place.
27612 ac_top_srcdir
=$ac_top_builddir_sub
27613 ac_abs_top_srcdir
=$ac_pwd ;;
27614 [\\/]* | ?
:[\\/]* ) # Absolute name.
27615 ac_srcdir
=$srcdir$ac_dir_suffix;
27616 ac_top_srcdir
=$srcdir
27617 ac_abs_top_srcdir
=$srcdir ;;
27618 *) # Relative name.
27619 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27620 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27621 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27623 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27628 # Check for guested configure; otherwise get Cygnus style configure.
27629 if test -f "$ac_srcdir/configure.gnu"; then
27630 ac_sub_configure
=$ac_srcdir/configure.gnu
27631 elif test -f "$ac_srcdir/configure"; then
27632 ac_sub_configure
=$ac_srcdir/configure
27633 elif test -f "$ac_srcdir/configure.in"; then
27634 # This should be Cygnus configure.
27635 ac_sub_configure
=$ac_aux_dir/configure
27637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
27638 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
27642 # The recursion is here.
27643 if test -n "$ac_sub_configure"; then
27644 # Make the cache file name correct relative to the subdirectory.
27645 case $cache_file in
27646 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
27647 *) # Relative name.
27648 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
27651 { $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
27652 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
27653 # The eval makes quoting arguments work.
27654 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
27655 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
27656 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
27662 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
27663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27664 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}