2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Classpath 0.99-pre.
5 # Report bugs to <classpath@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
183 if (eval "$as_required") 2>/dev
/null
; then :
188 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
193 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
196 test -z "$as_dir" && as_dir
=.
200 for as_base
in sh bash ksh sh5
; do
201 # Try only shells that exist, to save several forks.
202 as_shell
=$as_dir/$as_base
203 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$as_shell as_have_required
=yes
206 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
214 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
215 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
216 CONFIG_SHELL
=$SHELL as_have_required
=yes
221 if test "x$CONFIG_SHELL" != x
; then :
222 # We cannot yet assume a decent shell, so we have to provide a
223 # neutralization value for shells without unset; and this also
224 # works around shells that cannot unset nonexistent variables.
227 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
229 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org and classpath@gnu.org
240 $0: about your system, including any error possibly output
241 $0: before this message. Then install a modern shell, or
242 $0: manually run the script under such a shell if you do
249 SHELL
=${CONFIG_SHELL-/bin/sh}
251 # Unset more variables known to interfere with behavior of common tools.
252 CLICOLOR_FORCE
= GREP_OPTIONS
=
253 unset CLICOLOR_FORCE GREP_OPTIONS
255 ## --------------------- ##
256 ## M4sh Shell Functions. ##
257 ## --------------------- ##
260 # Portably unset VAR.
263 { eval $1=; unset $1;}
267 # as_fn_set_status STATUS
268 # -----------------------
269 # Set $? to STATUS, without forking.
277 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
287 # Create "$as_dir" as a directory, including parents if necessary.
292 -*) as_dir
=.
/$as_dir;;
294 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
298 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301 as_dirs
="'$as_qdir' $as_dirs"
302 as_dir
=`$as_dirname -- "$as_dir" ||
303 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
304 X"$as_dir" : 'X\(//\)[^/]' \| \
305 X"$as_dir" : 'X\(//\)$' \| \
306 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
307 $as_echo X"$as_dir" |
308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
325 test -d "$as_dir" && break
327 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
328 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
332 # as_fn_append VAR VALUE
333 # ----------------------
334 # Append the text in VALUE to the end of the definition contained in VAR. Take
335 # advantage of any shell optimizations that allow amortized linear growth over
336 # repeated appends, instead of the typical quadratic growth present in naive
338 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
339 eval 'as_fn_append ()
352 # Perform arithmetic evaluation on the ARGs, and store the result in the
353 # global $as_val. Take advantage of shells that can avoid forks. The arguments
354 # must be portable across $(()) and expr.
355 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
363 as_val
=`expr "$@" || test $? -eq 1`
368 # as_fn_error ERROR [LINENO LOG_FD]
369 # ---------------------------------
370 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
371 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
372 # script with status $?, using 1 if that was 0.
375 as_status
=$?
; test $as_status -eq 0 && as_status
=1
377 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
378 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
380 $as_echo "$as_me: error: $1" >&2
381 as_fn_exit
$as_status
384 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
385 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
391 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
397 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
403 as_me
=`$as_basename -- "$0" ||
404 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
405 X"$0" : 'X\(//\)$' \| \
406 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
408 sed '/^.*\/\([^/][^/]*\)\/*$/{
422 # Avoid depending upon Character Ranges.
423 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
424 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
425 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
426 as_cr_digits
='0123456789'
427 as_cr_alnum
=$as_cr_Letters$as_cr_digits
430 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
431 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
432 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
433 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
434 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 chmod +x
"$as_me.lineno" ||
451 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
461 ECHO_C
= ECHO_N
= ECHO_T
=
462 case `echo -n x` in #(((((
464 case `echo 'xy\c'` in
465 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
467 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
474 rm -f conf$$ conf$$.exe conf$$.
file
475 if test -d conf$$.dir
; then
476 rm -f conf$$.dir
/conf$$.
file
479 mkdir conf$$.dir
2>/dev
/null
481 if (echo >conf$$.
file) 2>/dev
/null
; then
482 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
484 # ... but there are two gotchas:
485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
487 # In both cases, we have to default to `cp -p'.
488 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
490 elif ln conf$$.
file conf$$
2>/dev
/null
; then
498 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
499 rmdir conf$$.dir
2>/dev
/null
501 if mkdir
-p .
2>/dev
/null
; then
502 as_mkdir_p
='mkdir -p "$as_dir"'
504 test -d .
/-p && rmdir .
/-p
508 if test -x / >/dev
/null
2>&1; then
511 if ls -dL / >/dev
/null
2>&1; then
518 if test -d "$1"; then
524 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
525 ???[sx]*):;;*)false;;esac;fi
529 as_executable_p
=$as_test_x
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 SHELL
=${CONFIG_SHELL-/bin/sh}
540 exec 7<&0 </dev
/null
6>&1
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix
=/usr
/local
552 ac_config_libobj_dir
=.
559 # Identity of this package.
560 PACKAGE_NAME
='GNU Classpath'
561 PACKAGE_TARNAME
='classpath'
562 PACKAGE_VERSION
='0.99-pre'
563 PACKAGE_STRING
='GNU Classpath 0.99-pre'
564 PACKAGE_BUGREPORT
='classpath@gnu.org'
565 PACKAGE_URL
='http://www.gnu.org/software/classpath/'
567 ac_unique_file
="java/lang/System.java"
568 ac_default_prefix
=/usr
/local
/classpath
569 # Factoring default headers for most tests.
570 ac_includes_default
="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 ac_subst_vars
='am__EXEEXT_FALSE
609 CREATE_GMPBI_LIBRARY_FALSE
610 CREATE_GMPBI_LIBRARY_TRUE
611 WANT_NATIVE_BIG_INTEGER
613 ENABLE_LOCAL_SOCKETS_FALSE
614 ENABLE_LOCAL_SOCKETS_TRUE
629 USE_PREBUILT_GLIBJ_ZIP_FALSE
630 USE_PREBUILT_GLIBJ_ZIP_TRUE
635 CREATE_API_DOCS_FALSE
640 BUILD_CLASS_FILES_FALSE
641 BUILD_CLASS_FILES_TRUE
642 INSTALL_CLASS_FILES_FALSE
643 INSTALL_CLASS_FILES_TRUE
644 INSTALL_GLIBJ_ZIP_FALSE
645 INSTALL_GLIBJ_ZIP_TRUE
655 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
660 MAINTAINER_MODE_FALSE
675 GSTREAMER_MIXER_PROVIDER
676 GSTREAMER_FILE_READER
678 GSTREAMER_PLUGINS_BASE_LIBS
679 GSTREAMER_PLUGINS_BASE_CFLAGS
681 GSTREAMER_BASE_CFLAGS
708 STRICT_WARNING_CFLAGS
739 CREATE_WRAPPERS_FALSE
741 CREATE_GJDOC_PARSER_FALSE
742 CREATE_GJDOC_PARSER_TRUE
743 CREATE_JNI_HEADERS_FALSE
744 CREATE_JNI_HEADERS_TRUE
752 CREATE_QT_PEER_LIBRARIES_FALSE
753 CREATE_QT_PEER_LIBRARIES_TRUE
754 CREATE_GTK_PEER_LIBRARIES_FALSE
755 CREATE_GTK_PEER_LIBRARIES_TRUE
756 CREATE_DSSI_LIBRARIES_FALSE
757 CREATE_DSSI_LIBRARIES_TRUE
758 CREATE_ALSA_LIBRARIES_FALSE
759 CREATE_ALSA_LIBRARIES_TRUE
779 CREATE_XMLJ_LIBRARY_FALSE
780 CREATE_XMLJ_LIBRARY_TRUE
782 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
783 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
784 CREATE_GCONF_PEER_LIBRARIES_FALSE
785 CREATE_GCONF_PEER_LIBRARIES_TRUE
786 CREATE_CORE_JNI_LIBRARIES_FALSE
787 CREATE_CORE_JNI_LIBRARIES_TRUE
788 CREATE_JNI_LIBRARIES_FALSE
789 CREATE_JNI_LIBRARIES_TRUE
790 CREATE_COLLECTIONS_FALSE
791 CREATE_COLLECTIONS_TRUE
800 INSTALL_STRIP_PROGRAM
815 CLASSPATH_CONVENIENCE
818 INSTALL_BINARIES_FALSE
819 INSTALL_BINARIES_TRUE
823 JAVA_MAINTAINER_MODE_FALSE
824 JAVA_MAINTAINER_MODE_TRUE
864 program_transform_name
877 enable_option_checking
878 enable_java_maintainer_mode
879 enable_generated_files_in_srcdir
884 enable_default_preferences_peer
887 enable_gstreamer_peer
888 enable_gstreamer_peers
890 enable_default_toolkit
893 enable_dependency_tracking
905 enable_regen_gjdoc_parser
922 enable_maintainer_mode
926 enable_java_lang_system_explicit_initialization
933 enable_portable_native_sync
938 ac_precious_vars
='build_alias
954 # Initialize some variables set by options.
956 ac_init_version
=false
957 ac_unrecognized_opts
=
959 # The variables have the same names as the options, with
960 # dashes changed to underlines.
968 program_transform_name
=s
,x
,x
,
976 # Installation directory options.
977 # These are left unexpanded so users can "make install exec_prefix=/foo"
978 # and all the variables that are supposed to be based on exec_prefix
979 # by default will actually change.
980 # Use braces instead of parens because sh, perl, etc. also accept them.
981 # (The list follows the same order as the GNU Coding Standards.)
982 bindir
='${exec_prefix}/bin'
983 sbindir
='${exec_prefix}/sbin'
984 libexecdir
='${exec_prefix}/libexec'
985 datarootdir
='${prefix}/share'
986 datadir
='${datarootdir}'
987 sysconfdir
='${prefix}/etc'
988 sharedstatedir
='${prefix}/com'
989 localstatedir
='${prefix}/var'
990 includedir
='${prefix}/include'
991 oldincludedir
='/usr/include'
992 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
993 infodir
='${datarootdir}/info'
998 libdir
='${exec_prefix}/lib'
999 localedir
='${datarootdir}/locale'
1000 mandir
='${datarootdir}/man'
1006 # If the previous option needs an argument, assign it.
1007 if test -n "$ac_prev"; then
1008 eval $ac_prev=\
$ac_option
1014 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1018 # Accept the important Cygnus configure options, so we can diagnose typos.
1020 case $ac_dashdash$ac_option in
1024 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1026 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1027 bindir
=$ac_optarg ;;
1029 -build |
--build |
--buil |
--bui |
--bu)
1030 ac_prev
=build_alias
;;
1031 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1032 build_alias
=$ac_optarg ;;
1034 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1035 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1036 ac_prev
=cache_file
;;
1037 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1038 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1039 cache_file
=$ac_optarg ;;
1041 --config-cache |
-C)
1042 cache_file
=config.cache
;;
1044 -datadir |
--datadir |
--datadi |
--datad)
1046 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1047 datadir
=$ac_optarg ;;
1049 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1050 |
--dataroo |
--dataro |
--datar)
1051 ac_prev
=datarootdir
;;
1052 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1053 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1054 datarootdir
=$ac_optarg ;;
1056 -disable-* |
--disable-*)
1057 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1060 as_fn_error
"invalid feature name: $ac_useropt"
1061 ac_useropt_orig
=$ac_useropt
1062 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1065 "enable_
$ac_useropt"
1067 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1068 ac_unrecognized_sep
=', ';;
1070 eval enable_
$ac_useropt=no
;;
1072 -docdir |
--docdir |
--docdi |
--doc |
--do)
1074 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1075 docdir
=$ac_optarg ;;
1077 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1079 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1080 dvidir
=$ac_optarg ;;
1082 -enable-* |
--enable-*)
1083 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1086 as_fn_error
"invalid feature name: $ac_useropt"
1087 ac_useropt_orig
=$ac_useropt
1088 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1091 "enable_
$ac_useropt"
1093 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1094 ac_unrecognized_sep
=', ';;
1096 eval enable_
$ac_useropt=\
$ac_optarg ;;
1098 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1099 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1100 |
--exec |
--exe |
--ex)
1101 ac_prev
=exec_prefix
;;
1102 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1103 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1104 |
--exec=* |
--exe=* |
--ex=*)
1105 exec_prefix
=$ac_optarg ;;
1107 -gas |
--gas |
--ga |
--g)
1108 # Obsolete; use --with-gas.
1111 -help |
--help |
--hel |
--he |
-h)
1112 ac_init_help
=long
;;
1113 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1114 ac_init_help
=recursive
;;
1115 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1116 ac_init_help
=short
;;
1118 -host |
--host |
--hos |
--ho)
1119 ac_prev
=host_alias
;;
1120 -host=* |
--host=* |
--hos=* |
--ho=*)
1121 host_alias
=$ac_optarg ;;
1123 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1125 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1127 htmldir
=$ac_optarg ;;
1129 -includedir |
--includedir |
--includedi |
--included |
--include \
1130 |
--includ |
--inclu |
--incl |
--inc)
1131 ac_prev
=includedir
;;
1132 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1133 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1134 includedir
=$ac_optarg ;;
1136 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1138 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1139 infodir
=$ac_optarg ;;
1141 -libdir |
--libdir |
--libdi |
--libd)
1143 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1144 libdir
=$ac_optarg ;;
1146 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1147 |
--libexe |
--libex |
--libe)
1148 ac_prev
=libexecdir
;;
1149 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1150 |
--libexe=* |
--libex=* |
--libe=*)
1151 libexecdir
=$ac_optarg ;;
1153 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1154 ac_prev
=localedir
;;
1155 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1156 localedir
=$ac_optarg ;;
1158 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1159 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1160 ac_prev
=localstatedir
;;
1161 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1162 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1163 localstatedir
=$ac_optarg ;;
1165 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1167 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1168 mandir
=$ac_optarg ;;
1170 -nfp |
--nfp |
--nf)
1171 # Obsolete; use --without-fp.
1174 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1175 |
--no-cr |
--no-c |
-n)
1178 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1179 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1182 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1183 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1184 |
--oldin |
--oldi |
--old |
--ol |
--o)
1185 ac_prev
=oldincludedir
;;
1186 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1187 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1188 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1189 oldincludedir
=$ac_optarg ;;
1191 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1193 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1194 prefix
=$ac_optarg ;;
1196 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1197 |
--program-pre |
--program-pr |
--program-p)
1198 ac_prev
=program_prefix
;;
1199 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1200 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1201 program_prefix
=$ac_optarg ;;
1203 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1204 |
--program-suf |
--program-su |
--program-s)
1205 ac_prev
=program_suffix
;;
1206 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1207 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1208 program_suffix
=$ac_optarg ;;
1210 -program-transform-name |
--program-transform-name \
1211 |
--program-transform-nam |
--program-transform-na \
1212 |
--program-transform-n |
--program-transform- \
1213 |
--program-transform |
--program-transfor \
1214 |
--program-transfo |
--program-transf \
1215 |
--program-trans |
--program-tran \
1216 |
--progr-tra |
--program-tr |
--program-t)
1217 ac_prev
=program_transform_name
;;
1218 -program-transform-name=* |
--program-transform-name=* \
1219 |
--program-transform-nam=* |
--program-transform-na=* \
1220 |
--program-transform-n=* |
--program-transform-=* \
1221 |
--program-transform=* |
--program-transfor=* \
1222 |
--program-transfo=* |
--program-transf=* \
1223 |
--program-trans=* |
--program-tran=* \
1224 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1225 program_transform_name
=$ac_optarg ;;
1227 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1229 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1230 pdfdir
=$ac_optarg ;;
1232 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1234 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1237 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1238 |
-silent |
--silent |
--silen |
--sile |
--sil)
1241 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1243 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1245 sbindir
=$ac_optarg ;;
1247 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1248 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1249 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1251 ac_prev
=sharedstatedir
;;
1252 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1253 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1254 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1256 sharedstatedir
=$ac_optarg ;;
1258 -site |
--site |
--sit)
1260 -site=* |
--site=* |
--sit=*)
1263 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1265 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1266 srcdir
=$ac_optarg ;;
1268 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1269 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1270 ac_prev
=sysconfdir
;;
1271 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1272 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1273 sysconfdir
=$ac_optarg ;;
1275 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1276 ac_prev
=target_alias
;;
1277 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1278 target_alias
=$ac_optarg ;;
1280 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1283 -version |
--version |
--versio |
--versi |
--vers |
-V)
1284 ac_init_version
=: ;;
1287 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1288 # Reject names that are not valid shell variable names.
1289 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1290 as_fn_error
"invalid package name: $ac_useropt"
1291 ac_useropt_orig
=$ac_useropt
1292 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1293 case $ac_user_opts in
1297 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1298 ac_unrecognized_sep
=', ';;
1300 eval with_
$ac_useropt=\
$ac_optarg ;;
1302 -without-* |
--without-*)
1303 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1304 # Reject names that are not valid shell variable names.
1305 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1306 as_fn_error
"invalid package name: $ac_useropt"
1307 ac_useropt_orig
=$ac_useropt
1308 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1309 case $ac_user_opts in
1313 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1314 ac_unrecognized_sep
=', ';;
1316 eval with_
$ac_useropt=no
;;
1319 # Obsolete; use --with-x.
1322 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1323 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1324 ac_prev
=x_includes
;;
1325 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1326 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1327 x_includes
=$ac_optarg ;;
1329 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1330 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1331 ac_prev
=x_libraries
;;
1332 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1333 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1334 x_libraries
=$ac_optarg ;;
1336 -*) as_fn_error
"unrecognized option: \`$ac_option'
1337 Try \`$0 --help' for more information."
1341 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1342 # Reject names that are not valid shell variable names.
1343 case $ac_envvar in #(
1344 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1345 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1347 eval $ac_envvar=\
$ac_optarg
1348 export $ac_envvar ;;
1351 # FIXME: should be removed in autoconf 3.0.
1352 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1353 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1354 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1355 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1361 if test -n "$ac_prev"; then
1362 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1363 as_fn_error
"missing argument to $ac_option"
1366 if test -n "$ac_unrecognized_opts"; then
1367 case $enable_option_checking in
1369 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1370 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1374 # Check all directory arguments for consistency.
1375 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1376 datadir sysconfdir sharedstatedir localstatedir includedir \
1377 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1378 libdir localedir mandir
1380 eval ac_val
=\$
$ac_var
1381 # Remove trailing slashes.
1384 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1385 eval $ac_var=\
$ac_val;;
1387 # Be sure to have absolute directory names.
1389 [\\/$
]* | ?
:[\\/]* ) continue;;
1390 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1392 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1395 # There might be people who depend on the old broken behavior: `$host'
1396 # used to hold the argument of --host etc.
1397 # FIXME: To remove some day.
1400 target
=$target_alias
1402 # FIXME: To remove some day.
1403 if test "x$host_alias" != x
; then
1404 if test "x$build_alias" = x
; then
1405 cross_compiling
=maybe
1406 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1407 If a cross compiler is detected then cross compile mode will be used." >&2
1408 elif test "x$build_alias" != "x$host_alias"; then
1414 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1416 test "$silent" = yes && exec 6>/dev
/null
1419 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1420 ac_ls_di
=`ls -di .` &&
1421 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1422 as_fn_error
"working directory cannot be determined"
1423 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1424 as_fn_error
"pwd does not report name of working directory"
1427 # Find the source files, if location was not specified.
1428 if test -z "$srcdir"; then
1429 ac_srcdir_defaulted
=yes
1430 # Try the directory containing this script, then the parent directory.
1431 ac_confdir
=`$as_dirname -- "$as_myself" ||
1432 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1433 X"$as_myself" : 'X\(//\)[^/]' \| \
1434 X"$as_myself" : 'X\(//\)$' \| \
1435 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1436 $as_echo X"$as_myself" |
1437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1455 if test ! -r "$srcdir/$ac_unique_file"; then
1459 ac_srcdir_defaulted
=no
1461 if test ! -r "$srcdir/$ac_unique_file"; then
1462 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1463 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1465 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1467 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1469 # When building in place, set srcdir=.
1470 if test "$ac_abs_confdir" = "$ac_pwd"; then
1473 # Remove unnecessary trailing slashes from srcdir.
1474 # Double slashes in file names in object file debugging info
1475 # mess up M-x gdb in Emacs.
1477 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1479 for ac_var
in $ac_precious_vars; do
1480 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1481 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1482 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1483 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1487 # Report the --help message.
1489 if test "$ac_init_help" = "long"; then
1490 # Omit some internal or obsolete options to make the list less imposing.
1491 # This message is too long to be a string in the A/UX 3.1 sh.
1493 \`configure' configures GNU Classpath 0.99-pre to adapt to many kinds of systems.
1495 Usage: $0 [OPTION]... [VAR=VALUE]...
1497 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1498 VAR=VALUE. See below for descriptions of some of the useful variables.
1500 Defaults for the options are specified in brackets.
1503 -h, --help display this help and exit
1504 --help=short display options specific to this package
1505 --help=recursive display the short help of all the included packages
1506 -V, --version display version information and exit
1507 -q, --quiet, --silent do not print \`checking...' messages
1508 --cache-file=FILE cache test results in FILE [disabled]
1509 -C, --config-cache alias for \`--cache-file=config.cache'
1510 -n, --no-create do not create output files
1511 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1513 Installation directories:
1514 --prefix=PREFIX install architecture-independent files in PREFIX
1515 [$ac_default_prefix]
1516 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1519 By default, \`make install' will install all the files in
1520 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1521 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1522 for instance \`--prefix=\$HOME'.
1524 For better control, use the options below.
1526 Fine tuning of the installation directories:
1527 --bindir=DIR user executables [EPREFIX/bin]
1528 --sbindir=DIR system admin executables [EPREFIX/sbin]
1529 --libexecdir=DIR program executables [EPREFIX/libexec]
1530 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1531 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1532 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1533 --libdir=DIR object code libraries [EPREFIX/lib]
1534 --includedir=DIR C header files [PREFIX/include]
1535 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1536 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1537 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1538 --infodir=DIR info documentation [DATAROOTDIR/info]
1539 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1540 --mandir=DIR man documentation [DATAROOTDIR/man]
1541 --docdir=DIR documentation root [DATAROOTDIR/doc/classpath]
1542 --htmldir=DIR html documentation [DOCDIR]
1543 --dvidir=DIR dvi documentation [DOCDIR]
1544 --pdfdir=DIR pdf documentation [DOCDIR]
1545 --psdir=DIR ps documentation [DOCDIR]
1551 --program-prefix=PREFIX prepend PREFIX to installed program names
1552 --program-suffix=SUFFIX append SUFFIX to installed program names
1553 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1556 --x-includes=DIR X include files are
in DIR
1557 --x-libraries=DIR X library files are
in DIR
1560 --build=BUILD configure
for building on BUILD
[guessed
]
1561 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1562 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1566 if test -n "$ac_init_help"; then
1567 case $ac_init_help in
1568 short | recursive
) echo "Configuration of GNU Classpath 0.99-pre:";;
1573 --disable-option-checking ignore unrecognized
--enable/--with options
1574 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1575 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1576 --enable-java-maintainer-mode
1577 allow rebuilding of .class and .h files
1578 --enable-generated-files-in-srcdir
1579 put copies of generated files
in source dir
1580 intended
for creating
source tarballs
for users
1581 without texinfo
, perl
, bison or flex.
1582 --enable-multilib build many library versions
(default
)
1583 --enable-collections create collections.jar default
=no
1584 --enable-jni compile JNI
source default
=yes
1585 --enable-core-jni compile JNI sources
for core default
=yes
1586 --enable-default-preferences-peer[=peer
type or class name
]
1587 specify one of
: "gconf" [default
] for a GConf based
1588 backend
, "file" for a
file based one
, "memory" for a
1589 transient one
, or a fully qualified class name
1590 implementing java.util.prefs.PreferencesFactory
1591 --disable-gconf-peer compile GConf native peers
(disabled by
1592 --disable-jni) default
=yes
1594 --enable-gstreamer-peer compile GStreamer native peers
(disabled by
1595 --disable-jni) default
=no
1596 --enable-Werror whether to compile C code with
-Werror which turns
1597 any compiler warning into a compilation failure
1599 --enable-default-toolkit
1600 fully qualified class name of default AWT toolkit
1601 --enable-xmlj compile native libxml
/xslt library default
=no
1602 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
1604 --disable-dependency-tracking speeds up one-time build
1605 --enable-dependency-tracking do not reject slow dependency extractors
1606 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
1608 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
1610 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
1612 --disable-plugin compile gcjwebplugin
(disabled by
--disable-plugin)
1614 --enable-gmp compile native java.math.BigInteger library
1615 (disabled by
--disable-gmp) default
=yes
1616 --disable-gjdoc compile GJDoc
(disabled by
--disable-gjdoc)
1618 --enable-regen-headers automatically regenerate JNI headers default
=yes if
1620 --enable-regen-gjdoc-parser
1621 automatically regenerate the GJDoc parser
1622 default=yes if generated source doesn't exist
1623 --enable-tool-wrappers create tool wrapper binaries default
=no
1624 --enable-static[=PKGS
] build static libraries
[default
=no
]
1625 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1626 --enable-fast-install[=PKGS
]
1627 optimize
for fast installation
[default
=yes]
1628 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1629 --disable-rpath do not hardcode runtime library paths
1630 --enable-maintainer-mode enable make rules and dependencies not useful
1631 (and sometimes confusing
) to the casual installer
1632 --enable-debug enable runtime debugging code
1633 --enable-load-library enable to use JNI native methods default
=yes
1634 --enable-java-lang-system-explicit-initialization
1635 will the VM explicitly invoke java.lang.System
's
1636 static initialization methods default=no
1637 --enable-examples enable build of the examples default=yes
1638 --enable-tools enable build of the tools default=yes
1639 --enable-portable-native-sync
1640 synchronize VM threads portably
1641 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1644 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1645 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1646 --with-native-libdir sets the installation directory for native libraries
1647 default='${libdir}/${PACKAGE}'
1648 --with-glibj-dir sets the installation directory for glibj.zip
1649 default='${libdir}/${PACKAGE}'
1650 --with-antlr-jar=file Use ANTLR from the specified jar file
1651 --with-pic try to use only PIC/non-PIC objects [default=use
1653 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1654 --with-gnu-ld assume the C compiler uses GNU ld default=no
1655 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1656 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1657 --with-x use the X Window System
1658 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
1659 systems use pkg-config.
1660 --with-gmp=PATH specify prefix directory
for the installed GMP package.
1661 Equivalent to
--with-gmp-include=PATH
/include
1662 plus
--with-gmp-lib=PATH
/lib
1663 --with-gmp-include=PATH specify directory
for installed GMP include files
1664 --with-gmp-lib=PATH specify directory
for the installed GMP library
1665 --with-javah specify path or name of a javah-like program
1666 --with-vm-classes specify path to VM override
source files
1667 --with-ecj-jar=ABS.PATH specify jar
file containing the Eclipse Java
1669 --with-jar=PATH define to use a jar style tool
1670 --with-glibj define what to
install (zip|flat|both|none|build
)
1672 --with-gjdoc generate documentation using gjdoc
(default is NO
)
1673 --with-jay=DIR|PATH Regenerate the parsers with jay
1674 --with-glibj-zip=ABS.PATH
1675 use prebuilt glibj.
zip class library
1676 --with-escher=ABS.PATH specify path to escher dir or JAR
for X peers
1678 Some influential environment variables
:
1679 CC C compiler
command
1680 CFLAGS C compiler flags
1681 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1682 nonstandard directory
<lib dir
>
1683 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1684 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1685 you have headers
in a nonstandard directory
<include dir
>
1687 CXX C
++ compiler
command
1688 CXXFLAGS C
++ compiler flags
1689 CXXCPP C
++ preprocessor
1690 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1692 Use these variables to override the choices made by
`configure' or to help
1693 it to find libraries and programs with nonstandard names/locations.
1695 Report bugs to <classpath@gnu.org>.
1696 GNU Classpath home page: <http://www.gnu.org/software/classpath/>.
1697 General help using GNU software: <http://www.gnu.org/gethelp/>.
1702 if test "$ac_init_help" = "recursive"; then
1703 # If there are subdirs, report their specific --help.
1704 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1705 test -d "$ac_dir" ||
1706 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1711 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1713 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1714 # A ".." for each directory in $ac_dir_suffix.
1715 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1716 case $ac_top_builddir_sub in
1717 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1718 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1721 ac_abs_top_builddir=$ac_pwd
1722 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1723 # for backward compatibility:
1724 ac_top_builddir=$ac_top_build_prefix
1727 .) # We are building in place.
1729 ac_top_srcdir=$ac_top_builddir_sub
1730 ac_abs_top_srcdir=$ac_pwd ;;
1731 [\\/]* | ?:[\\/]* ) # Absolute name.
1732 ac_srcdir=$srcdir$ac_dir_suffix;
1733 ac_top_srcdir=$srcdir
1734 ac_abs_top_srcdir=$srcdir ;;
1736 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1737 ac_top_srcdir=$ac_top_build_prefix$srcdir
1738 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1740 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1742 cd "$ac_dir" || { ac_status=$?; continue; }
1743 # Check for guested configure.
1744 if test -f "$ac_srcdir/configure.gnu"; then
1746 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1747 elif test -f "$ac_srcdir/configure"; then
1749 $SHELL "$ac_srcdir/configure" --help=recursive
1751 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1753 cd "$ac_pwd" || { ac_status=$?; break; }
1757 test -n "$ac_init_help" && exit $ac_status
1758 if $ac_init_version; then
1760 GNU Classpath configure 0.99-pre
1761 generated by GNU Autoconf 2.64
1763 Copyright (C) 2009 Free Software Foundation, Inc.
1764 This configure script is free software; the Free Software Foundation
1765 gives unlimited permission to copy, distribute and modify it.
1770 ## ------------------------ ##
1771 ## Autoconf initialization. ##
1772 ## ------------------------ ##
1774 # ac_fn_c_try_compile LINENO
1775 # --------------------------
1776 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1777 ac_fn_c_try_compile ()
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 rm -f conftest.$ac_objext
1781 if { { ac_try="$ac_compile"
1783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1784 *) ac_try_echo
=$ac_try;;
1786 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_compile") 2>conftest.err
1790 if test -s conftest.err
; then
1791 grep -v '^ *+' conftest.err
>conftest.er1
1792 cat conftest.er1
>&5
1793 mv -f conftest.er1 conftest.err
1795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796 test $ac_status = 0; } && {
1797 test -z "$ac_c_werror_flag" ||
1798 test ! -s conftest.err
1799 } && test -s conftest.
$ac_objext; then :
1802 $as_echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.
$ac_ext >&5
1807 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1810 } # ac_fn_c_try_compile
1812 # ac_fn_c_try_cpp LINENO
1813 # ----------------------
1814 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1817 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1818 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1827 if test -s conftest.err; then
1828 grep -v '^ *+' conftest.err >conftest.er1
1829 cat conftest.er1 >&5
1830 mv -f conftest.er1 conftest.err
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } >/dev/null && {
1834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1835 test ! -s conftest.err
1839 $as_echo "$as_me: failed program was:" >&5
1840 sed 's/^/| /' conftest.$ac_ext >&5
1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1849 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1850 # -------------------------------------------------------
1851 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1852 # the include files in INCLUDES and setting the cache variable VAR
1854 ac_fn_c_check_header_mongrel ()
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859 $as_echo_n "checking for $2... " >&6; }
1860 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1861 $as_echo_n "(cached) " >&6
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1865 $as_echo "$ac_res" >&6; }
1867 # Is the header compilable?
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1869 $as_echo_n "checking $2 usability... " >&6; }
1870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1871 /* end confdefs.h. */
1875 if ac_fn_c_try_compile "$LINENO"; then :
1876 ac_header_compiler=yes
1878 ac_header_compiler=no
1880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1882 $as_echo "$ac_header_compiler" >&6; }
1884 # Is the header present?
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1886 $as_echo_n "checking $2 presence... " >&6; }
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1891 if ac_fn_c_try_cpp "$LINENO"; then :
1892 ac_header_preproc=yes
1894 ac_header_preproc=no
1896 rm -f conftest.err conftest.$ac_ext
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1898 $as_echo "$ac_header_preproc" >&6; }
1900 # So? What about this header?
1901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1904 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1906 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1910 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1912 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1914 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1916 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1918 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1920 ## -------------------------------- ##
1921 ## Report this to classpath@gnu.org ##
1922 ## -------------------------------- ##
1924 ) | sed "s/^/$as_me: WARNING: /" >&2
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928 $as_echo_n "checking for $2... " >&6; }
1929 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1930 $as_echo_n "(cached) " >&6
1932 eval "$3=\$ac_header_compiler"
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936 $as_echo "$ac_res" >&6; }
1938 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940 } # ac_fn_c_check_header_mongrel
1942 # ac_fn_c_try_run LINENO
1943 # ----------------------
1944 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1945 # that executables *can* be run.
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 if { { ac_try="$ac_link"
1951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1952 *) ac_try_echo
=$ac_try;;
1954 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955 $as_echo "$ac_try_echo"; } >&5
1956 (eval "$ac_link") 2>&5
1958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1960 { { case "(($ac_try" in
1961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1962 *) ac_try_echo=$ac_try;;
1964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965 $as_echo "$ac_try_echo"; } >&5
1966 (eval "$ac_try") 2>&5
1968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1969 test $ac_status = 0; }; }; then :
1972 $as_echo "$as_me: program exited with status $ac_status" >&5
1973 $as_echo "$as_me: failed program was:" >&5
1974 sed 's/^/| /' conftest.$ac_ext >&5
1976 ac_retval=$ac_status
1978 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1979 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1984 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1985 # -------------------------------------------------------
1986 # Tests whether HEADER exists and can be compiled using the include files in
1987 # INCLUDES, setting the cache variable VAR accordingly.
1988 ac_fn_c_check_header_compile ()
1990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1992 $as_echo_n "checking for $2... " >&6; }
1993 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1994 $as_echo_n "(cached) " >&6
1996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997 /* end confdefs.h. */
2001 if ac_fn_c_try_compile "$LINENO"; then :
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2010 $as_echo "$ac_res" >&6; }
2011 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2013 } # ac_fn_c_check_header_compile
2015 # ac_fn_c_try_link LINENO
2016 # -----------------------
2017 # Try to link conftest.$ac_ext, and return whether this succeeded.
2020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2021 rm -f conftest.$ac_objext conftest$ac_exeext
2022 if { { ac_try="$ac_link"
2024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2025 *) ac_try_echo
=$ac_try;;
2027 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_link") 2>conftest.err
2031 if test -s conftest.err
; then
2032 grep -v '^ *+' conftest.err
>conftest.er1
2033 cat conftest.er1
>&5
2034 mv -f conftest.er1 conftest.err
2036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2037 test $ac_status = 0; } && {
2038 test -z "$ac_c_werror_flag" ||
2039 test ! -s conftest.err
2040 } && test -s conftest
$ac_exeext && {
2041 test "$cross_compiling" = yes ||
2042 $as_test_x conftest
$ac_exeext
2046 $as_echo "$as_me: failed program was:" >&5
2047 sed 's/^/| /' conftest.
$ac_ext >&5
2051 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2052 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2053 # interfere with the next link command; also delete a directory that is
2054 # left behind by Apple's compiler. We do this before executing the actions.
2055 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2056 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2059 } # ac_fn_c_try_link
2061 # ac_fn_c_check_func LINENO FUNC VAR
2062 # ----------------------------------
2063 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2064 ac_fn_c_check_func
()
2066 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068 $as_echo_n "checking for $2... " >&6; }
2069 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2070 $as_echo_n "(cached) " >&6
2072 if test x
$gcc_no_link = xyes
; then
2073 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h. */
2077 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2079 #define $2 innocuous_$2
2081 /* System header to define __stub macros and hopefully few prototypes,
2082 which can conflict with char $2 (); below.
2083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2084 <limits.h> exists even on freestanding compilers. */
2087 # include <limits.h>
2089 # include <assert.h>
2094 /* Override any GCC internal prototype to avoid an error.
2095 Use char because int might match the return type of a GCC
2096 builtin and then its argument prototype would still apply. */
2101 /* The GNU C library defines this for functions which it implements
2102 to always fail with ENOSYS. Some functions are actually named
2103 something starting with __ and the normal name is an alias. */
2104 #if defined __stub_$2 || defined __stub___$2
2116 if ac_fn_c_try_link
"$LINENO"; then :
2121 rm -f core conftest.err conftest.
$ac_objext \
2122 conftest
$ac_exeext conftest.
$ac_ext
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2126 $as_echo "$ac_res" >&6; }
2127 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2129 } # ac_fn_c_check_func
2131 # ac_fn_cxx_try_compile LINENO
2132 # ----------------------------
2133 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2134 ac_fn_cxx_try_compile
()
2136 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2137 rm -f conftest.
$ac_objext
2138 if { { ac_try
="$ac_compile"
2140 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2141 *) ac_try_echo=$ac_try;;
2143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2144 $as_echo "$ac_try_echo"; } >&5
2145 (eval "$ac_compile") 2>conftest.err
2147 if test -s conftest.err; then
2148 grep -v '^ *+' conftest.err >conftest.er1
2149 cat conftest.er1 >&5
2150 mv -f conftest.er1 conftest.err
2152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2153 test $ac_status = 0; } && {
2154 test -z "$ac_cxx_werror_flag" ||
2155 test ! -s conftest.err
2156 } && test -s conftest.$ac_objext; then :
2159 $as_echo "$as_me: failed program was:" >&5
2160 sed 's/^/| /' conftest.$ac_ext >&5
2164 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2167 } # ac_fn_cxx_try_compile
2169 # ac_fn_cxx_try_cpp LINENO
2170 # ------------------------
2171 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2172 ac_fn_cxx_try_cpp ()
2174 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2175 if { { ac_try="$ac_cpp conftest.$ac_ext"
2177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2178 *) ac_try_echo
=$ac_try;;
2180 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2181 $as_echo "$ac_try_echo"; } >&5
2182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2184 if test -s conftest.err
; then
2185 grep -v '^ *+' conftest.err
>conftest.er1
2186 cat conftest.er1
>&5
2187 mv -f conftest.er1 conftest.err
2189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2190 test $ac_status = 0; } >/dev
/null
&& {
2191 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2192 test ! -s conftest.err
2196 $as_echo "$as_me: failed program was:" >&5
2197 sed 's/^/| /' conftest.
$ac_ext >&5
2201 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2204 } # ac_fn_cxx_try_cpp
2206 # ac_fn_cxx_try_link LINENO
2207 # -------------------------
2208 # Try to link conftest.$ac_ext, and return whether this succeeded.
2209 ac_fn_cxx_try_link
()
2211 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2212 rm -f conftest.
$ac_objext conftest
$ac_exeext
2213 if { { ac_try
="$ac_link"
2215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2216 *) ac_try_echo=$ac_try;;
2218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2219 $as_echo "$ac_try_echo"; } >&5
2220 (eval "$ac_link") 2>conftest.err
2222 if test -s conftest.err; then
2223 grep -v '^ *+' conftest.err >conftest.er1
2224 cat conftest.er1 >&5
2225 mv -f conftest.er1 conftest.err
2227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2228 test $ac_status = 0; } && {
2229 test -z "$ac_cxx_werror_flag" ||
2230 test ! -s conftest.err
2231 } && test -s conftest$ac_exeext && {
2232 test "$cross_compiling" = yes ||
2233 $as_test_x conftest$ac_exeext
2237 $as_echo "$as_me: failed program was:" >&5
2238 sed 's/^/| /' conftest.$ac_ext >&5
2242 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2243 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2244 # interfere with the next link command; also delete a directory that is
2245 # left behind by Apple's compiler. We do this before executing the actions.
2246 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2247 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2250 } # ac_fn_cxx_try_link
2252 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2253 # ----------------------------------------------------
2254 # Tries to find if the field MEMBER exists in type AGGR, after including
2255 # INCLUDES, setting cache variable VAR accordingly.
2256 ac_fn_c_check_member ()
2258 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2260 $as_echo_n "checking for $2.$3... " >&6; }
2261 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2262 $as_echo_n "(cached) " >&6
2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h. */
2277 if ac_fn_c_try_compile "$LINENO"; then :
2280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2281 /* end confdefs.h. */
2287 if (sizeof ac_aggr.$3)
2293 if ac_fn_c_try_compile "$LINENO"; then :
2298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2304 $as_echo "$ac_res" >&6; }
2305 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2307 } # ac_fn_c_check_member
2309 # ac_fn_c_check_decl LINENO SYMBOL VAR
2310 # ------------------------------------
2311 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2312 ac_fn_c_check_decl ()
2314 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2315 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2316 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2318 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2319 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2320 $as_echo_n "(cached) " >&6
2322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2323 /* end confdefs.h. */
2328 #ifndef $as_decl_name
2330 (void) $as_decl_use;
2332 (void) $as_decl_name;
2340 if ac_fn_c_try_compile "$LINENO"; then :
2345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2349 $as_echo "$ac_res" >&6; }
2350 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2352 } # ac_fn_c_check_decl
2354 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2355 # -------------------------------------------
2356 # Tests whether TYPE exists after having included INCLUDES, setting cache
2357 # variable VAR accordingly.
2358 ac_fn_c_check_type ()
2360 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2362 $as_echo_n "checking for $2... " >&6; }
2363 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2364 $as_echo_n "(cached) " >&6
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2379 if ac_fn_c_try_compile "$LINENO"; then :
2380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2381 /* end confdefs.h. */
2392 if ac_fn_c_try_compile "$LINENO"; then :
2397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2403 $as_echo "$ac_res" >&6; }
2404 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2406 } # ac_fn_c_check_type
2408 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2409 # --------------------------------------------
2410 # Tries to find the compile-time value of EXPR in a program that includes
2411 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2413 ac_fn_c_compute_int ()
2415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2416 if test "$cross_compiling" = yes; then
2417 # Depending upon the size, compute the lo and hi bounds.
2418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2419 /* end confdefs.h. */
2424 static int test_array [1 - 2 * !(($2) >= 0)];
2431 if ac_fn_c_try_compile "$LINENO"; then :
2434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2440 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2447 if ac_fn_c_try_compile "$LINENO"; then :
2448 ac_hi=$ac_mid; break
2450 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2451 if test $ac_lo -le $ac_mid; then
2455 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2461 /* end confdefs.h. */
2466 static int test_array [1 - 2 * !(($2) < 0)];
2473 if ac_fn_c_try_compile "$LINENO"; then :
2476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2482 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2489 if ac_fn_c_try_compile "$LINENO"; then :
2490 ac_lo=$ac_mid; break
2492 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2493 if test $ac_mid -le $ac_hi; then
2497 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 # Binary search between lo and hi bounds.
2508 while test "x$ac_lo" != "x$ac_hi"; do
2509 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2511 /* end confdefs.h. */
2516 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2523 if ac_fn_c_try_compile "$LINENO"; then :
2526 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2531 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2536 /* end confdefs.h. */
2538 static long int longval () { return $2; }
2539 static unsigned long int ulongval () { return $2; }
2546 FILE *f = fopen ("conftest.val", "w");
2551 long int i = longval ();
2554 fprintf (f, "%ld", i);
2558 unsigned long int i = ulongval ();
2561 fprintf (f, "%lu", i);
2563 /* Do not output a trailing newline, as this causes \r\n confusion
2564 on some platforms. */
2565 return ferror (f) || fclose (f) != 0;
2571 if ac_fn_c_try_run "$LINENO"; then :
2572 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2577 conftest.$ac_objext conftest.beam conftest.$ac_ext
2581 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2584 } # ac_fn_c_compute_int
2585 cat >config.log <<_ACEOF
2586 This file contains any messages produced by compilers while
2587 running configure, to aid debugging if configure makes a mistake.
2589 It was created by GNU Classpath $as_me 0.99-pre, which was
2590 generated by GNU Autoconf 2.64. Invocation command line was
2602 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2603 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2604 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2605 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2606 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2608 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2609 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2611 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2612 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2613 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2614 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2615 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2616 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2617 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir=.
2626 $as_echo "PATH: $as_dir"
2642 # Keep a trace of the command line.
2643 # Strip out --no-create and --no-recursion so they do not pile up.
2644 # Strip out --silent because we don't want to record it for future runs.
2645 # Also quote any args containing shell meta-characters.
2646 # Make two passes to allow for proper duplicate-argument suppression.
2650 ac_must_keep_next=false
2656 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2657 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2658 | -silent | --silent | --silen | --sile | --sil)
2661 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2664 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2666 as_fn_append ac_configure_args1 " '$ac_arg'"
2667 if test $ac_must_keep_next = true; then
2668 ac_must_keep_next=false # Got value, back to normal.
2671 *=* | --config-cache | -C | -disable-* | --disable-* \
2672 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2673 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2674 | -with-* | --with-* | -without-* | --without-* | --x)
2675 case "$ac_configure_args0 " in
2676 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2679 -* ) ac_must_keep_next=true ;;
2682 as_fn_append ac_configure_args " '$ac_arg'"
2687 { ac_configure_args0=; unset ac_configure_args0;}
2688 { ac_configure_args1=; unset ac_configure_args1;}
2690 # When interrupted or exit'd, cleanup temporary files, and complete
2691 # config.log. We remove comments because anyway the quotes in there
2692 # would cause problems or look ugly.
2693 # WARNING: Use '\'' to represent an apostrophe within the trap.
2694 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2695 trap 'exit_status=$?
2696 # Save into config.log some information that might help in debugging.
2701 ## ---------------- ##
2702 ## Cache variables. ##
2703 ## ---------------- ##
2706 # The following way of writing the cache mishandles newlines in values,
2708 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2709 eval ac_val=\$$ac_var
2713 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2714 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2717 _ | IFS | as_nl) ;; #(
2718 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2719 *) { eval $ac_var=; unset $ac_var;} ;;
2724 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2725 *${as_nl}ac_space=\ *)
2727 "s/'\''/'\''\\\\'\'''\''/g;
2728 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2731 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2739 ## ----------------- ##
2740 ## Output variables. ##
2741 ## ----------------- ##
2744 for ac_var in $ac_subst_vars
2746 eval ac_val=\$$ac_var
2748 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2750 $as_echo "$ac_var='\''$ac_val'\''"
2754 if test -n "$ac_subst_files"; then
2756 ## ------------------- ##
2757 ## File substitutions. ##
2758 ## ------------------- ##
2761 for ac_var in $ac_subst_files
2763 eval ac_val=\$$ac_var
2765 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2767 $as_echo "$ac_var='\''$ac_val'\''"
2772 if test -s confdefs.h; then
2782 test "$ac_signal" != 0 &&
2783 $as_echo "$as_me: caught signal $ac_signal"
2784 $as_echo "$as_me: exit $exit_status"
2786 rm -f core *.core core.conftest.* &&
2787 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2790 for ac_signal in 1 2 13 15; do
2791 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2795 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2796 rm -f -r conftest* confdefs.h
2798 $as_echo "/* confdefs.h */" > confdefs.h
2800 # Predefined preprocessor variables.
2802 cat >>confdefs.h <<_ACEOF
2803 #define PACKAGE_NAME "$PACKAGE_NAME"
2806 cat >>confdefs.h <<_ACEOF
2807 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2810 cat >>confdefs.h <<_ACEOF
2811 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2814 cat >>confdefs.h <<_ACEOF
2815 #define PACKAGE_STRING "$PACKAGE_STRING"
2818 cat >>confdefs.h <<_ACEOF
2819 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2822 cat >>confdefs.h <<_ACEOF
2823 #define PACKAGE_URL "$PACKAGE_URL"
2827 # Let the site file select an alternate cache file if it wants to.
2828 # Prefer an explicitly selected file to automatically selected ones.
2831 if test -n "$CONFIG_SITE"; then
2832 ac_site_file1=$CONFIG_SITE
2833 elif test "x$prefix" != xNONE; then
2834 ac_site_file1=$prefix/share/config.site
2835 ac_site_file2=$prefix/etc/config.site
2837 ac_site_file1=$ac_default_prefix/share/config.site
2838 ac_site_file2=$ac_default_prefix/etc/config.site
2840 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2842 test "x$ac_site_file" = xNONE && continue
2843 if test -r "$ac_site_file"; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2845 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2846 sed 's/^/| /' "$ac_site_file" >&5
2851 if test -r "$cache_file"; then
2852 # Some versions of bash will fail to source /dev/null (special
2853 # files actually), so we avoid doing that.
2854 if test -f "$cache_file"; then
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2856 $as_echo "$as_me: loading cache $cache_file" >&6;}
2858 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2859 *) . "./$cache_file";;
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2864 $as_echo "$as_me: creating cache $cache_file" >&6;}
2868 # Check that the precious variables saved in the cache have kept the same
2870 ac_cache_corrupted=false
2871 for ac_var in $ac_precious_vars; do
2872 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2873 eval ac_new_set=\$ac_env_${ac_var}_set
2874 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2875 eval ac_new_val=\$ac_env_${ac_var}_value
2876 case $ac_old_set,$ac_new_set in
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2879 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2880 ac_cache_corrupted=: ;;
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2883 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2884 ac_cache_corrupted=: ;;
2887 if test "x$ac_old_val" != "x$ac_new_val"; then
2888 # differences in whitespace do not lead to failure.
2889 ac_old_val_w=`echo x
$ac_old_val`
2890 ac_new_val_w=`echo x
$ac_new_val`
2891 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2893 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2894 ac_cache_corrupted=:
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2897 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2898 eval $ac_var=\$ac_old_val
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2901 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2903 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2906 # Pass precious variables to config.status.
2907 if test "$ac_new_set" = set; then
2909 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2910 *) ac_arg=$ac_var=$ac_new_val ;;
2912 case " $ac_configure_args " in
2913 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2914 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2918 if $ac_cache_corrupted; then
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2922 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2923 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2925 ## -------------------- ##
2926 ## Main body of script. ##
2927 ## -------------------- ##
2930 ac_cpp='$CPP $CPPFLAGS'
2931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2943 for ac_dir in ../.. "$srcdir"/../..; do
2944 for ac_t in install-sh install.sh shtool; do
2945 if test -f "$ac_dir/$ac_t"; then
2947 ac_install_sh="$ac_aux_dir/$ac_t -c"
2952 if test -z "$ac_aux_dir"; then
2953 as_fn_error "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2956 # These three variables are undocumented and unsupported,
2957 # and are intended to be withdrawn in a future Autoconf release.
2958 # They can cause serious problems if a builder's source tree is in a directory
2959 # whose full name contains unusual characters.
2960 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2961 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2962 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2966 # Make sure we can run config.sub.
2967 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2968 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2971 $as_echo_n "checking build system type... " >&6; }
2972 if test "${ac_cv_build+set}" = set; then :
2973 $as_echo_n "(cached) " >&6
2975 ac_build_alias=$build_alias
2976 test "x$ac_build_alias" = x &&
2977 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2978 test "x$ac_build_alias" = x &&
2979 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2980 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2981 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2985 $as_echo "$ac_cv_build" >&6; }
2986 case $ac_cv_build in
2988 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2991 ac_save_IFS=$IFS; IFS='-'
2997 # Remember, the first character of IFS is used to create $*,
2998 # except with old shells:
3001 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3005 $as_echo_n "checking host system type... " >&6; }
3006 if test "${ac_cv_host+set}" = set; then :
3007 $as_echo_n "(cached) " >&6
3009 if test "x$host_alias" = x; then
3010 ac_cv_host=$ac_cv_build
3012 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3013 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3018 $as_echo "$ac_cv_host" >&6; }
3021 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3024 ac_save_IFS=$IFS; IFS='-'
3030 # Remember, the first character of IFS is used to create $*,
3031 # except with old shells:
3034 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3038 $as_echo_n "checking target system type... " >&6; }
3039 if test "${ac_cv_target+set}" = set; then :
3040 $as_echo_n "(cached) " >&6
3042 if test "x$target_alias" = x; then
3043 ac_cv_target=$ac_cv_host
3045 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3046 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3051 $as_echo "$ac_cv_target" >&6; }
3052 case $ac_cv_target in
3054 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3056 target=$ac_cv_target
3057 ac_save_IFS=$IFS; IFS='-'
3063 # Remember, the first character of IFS is used to create $*,
3064 # except with old shells:
3067 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
3070 # The aliases save the names the user supplied, while $host etc.
3071 # will get canonicalized.
3072 test -n "$target_alias" &&
3073 test "$program_prefix$program_suffix$program_transform_name" = \
3075 program_prefix=${target_alias}-
3077 # Check whether --enable-java-maintainer-mode was given.
3078 if test "${enable_java_maintainer_mode+set}" = set; then :
3079 enableval=$enable_java_maintainer_mode;
3082 if test "$enable_java_maintainer_mode" = yes; then
3083 JAVA_MAINTAINER_MODE_TRUE=
3084 JAVA_MAINTAINER_MODE_FALSE='#'
3086 JAVA_MAINTAINER_MODE_TRUE='#'
3087 JAVA_MAINTAINER_MODE_FALSE=
3091 # We would like to our source tree to be readonly. However when releases or
3092 # pre-releases are generated, the man pages need to be included as they are
3093 # converted from the texi files via perl which we don't require end users to
3095 # Therefore we have --enable-generated-files-in-srcdir to do just that.
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to place generated files in the source directory" >&5
3098 $as_echo_n "checking whether to place generated files in the source directory... " >&6; }
3099 # Check whether --enable-generated-files-in-srcdir was given.
3100 if test "${enable_generated_files_in_srcdir+set}" = set; then :
3101 enableval=$enable_generated_files_in_srcdir; generated_files_in_srcdir=$enableval
3103 generated_files_in_srcdir=no
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $generated_files_in_srcdir" >&5
3108 $as_echo "$generated_files_in_srcdir" >&6; }
3109 if test x$generated_files_in_srcdir = xyes; then
3118 # Find the rest of the source tree framework.
3119 # Default to --enable-multilib
3120 # Check whether --enable-multilib was given.
3121 if test "${enable_multilib+set}" = set; then :
3122 enableval=$enable_multilib; case "$enableval" in
3123 yes) multilib=yes ;;
3125 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3132 # We may get other options which we leave undocumented:
3133 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3134 # See config-ml.in if you want the gory details.
3136 if test "$srcdir" = "."; then
3137 if test "$with_target_subdir" != "."; then
3138 multi_basedir="$srcdir/$with_multisrctop../../.."
3140 multi_basedir="$srcdir/$with_multisrctop../.."
3143 multi_basedir="$srcdir/../.."
3147 # Even if the default multilib is not a cross compilation,
3148 # it may be that some of the other multilibs are.
3149 if test $cross_compiling = no && test $multilib = yes \
3150 && test "x${with_multisubdir}" != x ; then
3151 cross_compiling=maybe
3154 ac_config_commands="$ac_config_commands default-1"
3157 if test -z "${with_multisubdir}"; then
3158 INSTALL_BINARIES_TRUE=
3159 INSTALL_BINARIES_FALSE='#'
3161 INSTALL_BINARIES_TRUE='#'
3162 INSTALL_BINARIES_FALSE=
3166 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
3179 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
3182 CLASSPATH_CONVENIENCE="-no-undefined"
3186 am__api_version='1.11'
3188 # Find a good install program. We prefer a C program (faster),
3189 # so one script is as good as another. But avoid the broken or
3190 # incompatible versions:
3191 # SysV /etc/install, /usr/sbin/install
3192 # SunOS /usr/etc/install
3193 # IRIX /sbin/install
3195 # AmigaOS /C/install, which installs bootblocks on floppy discs
3196 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3197 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3198 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3199 # OS/2's system install, which has a completely different semantic
3200 # ./install, which can be erroneously created by make from ./install.sh.
3201 # Reject install programs that cannot install multiple files.
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3203 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3204 if test -z "$INSTALL"; then
3205 if test "${ac_cv_path_install+set}" = set; then :
3206 $as_echo_n "(cached) " >&6
3208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3212 test -z "$as_dir" && as_dir=.
3213 # Account for people who put trailing slashes in PATH elements.
3214 case $as_dir/ in #((
3215 ./ | .// | /[cC]/* | \
3216 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3217 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3220 # OSF1 and SCO ODT 3.0 have their own names for install.
3221 # Don't use installbsd from OSF since it installs stuff as root
3223 for ac_prog in ginstall scoinst install; do
3224 for ac_exec_ext in '' $ac_executable_extensions; do
3225 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3226 if test $ac_prog = install &&
3227 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3228 # AIX install. It has an incompatible calling convention.
3230 elif test $ac_prog = install &&
3231 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3232 # program-specific install script used by HP pwplus--don't use.
3235 rm -rf conftest.one conftest.two conftest.dir
3236 echo one > conftest.one
3237 echo two > conftest.two
3239 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3240 test -s conftest.one && test -s conftest.two &&
3241 test -s conftest.dir/conftest.one &&
3242 test -s conftest.dir/conftest.two
3244 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3257 rm -rf conftest.one conftest.two conftest.dir
3260 if test "${ac_cv_path_install+set}" = set; then
3261 INSTALL=$ac_cv_path_install
3263 # As a last resort, use the slow shell script. Don't cache a
3264 # value for INSTALL within a source directory, because that will
3265 # break other packages using the cache if that directory is
3266 # removed, or if the value is a relative name.
3267 INSTALL=$ac_install_sh
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3271 $as_echo "$INSTALL" >&6; }
3273 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3274 # It thinks the first close brace ends the variable substitution.
3275 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3277 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3279 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3282 $as_echo_n "checking whether build environment is sane... " >&6; }
3285 echo timestamp > conftest.file
3286 # Reject unsafe characters in $srcdir or the absolute working directory
3287 # name. Accept space and tab only in the latter.
3291 *[\\\"\#\$\&\'\`$am_lf]*)
3292 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3295 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3296 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3299 # Do `set' in a subshell so we don't clobber the current shell's
3300 # arguments. Must try -L first in case configure is actually a
3301 # symlink; some systems play weird games with the mod time of symlinks
3302 # (eg FreeBSD returns the mod time of the symlink's containing
3305 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3306 if test "$*" = "X"; then
3308 set X
`ls -t "$srcdir/configure" conftest.file`
3311 if test "$*" != "X $srcdir/configure conftest.file" \
3312 && test "$*" != "X conftest.file $srcdir/configure"; then
3314 # If neither matched, then we have a broken ls. This can happen
3315 # if, for instance, CONFIG_SHELL is bash and it inherits a
3316 # broken ls alias from the environment. This has actually
3317 # happened. Such a system could not be considered "sane".
3318 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3319 alias in your environment" "$LINENO" 5
3322 test "$2" = conftest.
file
3328 as_fn_error
"newly created file is older than distributed files!
3329 Check your system clock" "$LINENO" 5
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3332 $as_echo "yes" >&6; }
3333 test "$program_prefix" != NONE
&&
3334 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3335 # Use a double $ so make ignores it.
3336 test "$program_suffix" != NONE
&&
3337 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3338 # Double any \ or $.
3339 # By default was `s,x,x', remove it if useless.
3340 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3341 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3343 # expand $ac_aux_dir to an absolute path
3344 am_aux_dir
=`cd $ac_aux_dir && pwd`
3346 if test x
"${MISSING+set}" != xset
; then
3349 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3351 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3354 # Use eval to expand $SHELL
3355 if eval "$MISSING --run true"; then
3356 am_missing_run
="$MISSING --run "
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3360 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3363 if test x
"${install_sh}" != xset
; then
3366 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3368 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3372 # Installed binaries are usually stripped using `strip' when the user
3373 # run `make install-strip'. However `strip' might not be the right
3374 # tool to use in cross-compilation environments, therefore Automake
3375 # will honor the `STRIP' environment variable to overrule this program.
3376 if test "$cross_compiling" != no
; then
3377 if test -n "$ac_tool_prefix"; then
3378 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3379 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381 $as_echo_n "checking for $ac_word... " >&6; }
3382 if test "${ac_cv_prog_STRIP+set}" = set; then :
3383 $as_echo_n "(cached) " >&6
3385 if test -n "$STRIP"; then
3386 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3392 test -z "$as_dir" && as_dir
=.
3393 for ac_exec_ext
in '' $ac_executable_extensions; do
3394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3395 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3405 STRIP
=$ac_cv_prog_STRIP
3406 if test -n "$STRIP"; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3408 $as_echo "$STRIP" >&6; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411 $as_echo "no" >&6; }
3416 if test -z "$ac_cv_prog_STRIP"; then
3418 # Extract the first word of "strip", so it can be a program name with args.
3419 set dummy strip
; ac_word
=$2
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421 $as_echo_n "checking for $ac_word... " >&6; }
3422 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3423 $as_echo_n "(cached) " >&6
3425 if test -n "$ac_ct_STRIP"; then
3426 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3432 test -z "$as_dir" && as_dir
=.
3433 for ac_exec_ext
in '' $ac_executable_extensions; do
3434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3435 ac_cv_prog_ac_ct_STRIP
="strip"
3436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3445 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3446 if test -n "$ac_ct_STRIP"; then
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3448 $as_echo "$ac_ct_STRIP" >&6; }
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451 $as_echo "no" >&6; }
3454 if test "x$ac_ct_STRIP" = x
; then
3457 case $cross_compiling:$ac_tool_warned in
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3461 ac_tool_warned
=yes ;;
3466 STRIP
="$ac_cv_prog_STRIP"
3470 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3473 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3474 if test -z "$MKDIR_P"; then
3475 if test "${ac_cv_path_mkdir+set}" = set; then :
3476 $as_echo_n "(cached) " >&6
3478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3479 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3482 test -z "$as_dir" && as_dir
=.
3483 for ac_prog
in mkdir gmkdir
; do
3484 for ac_exec_ext
in '' $ac_executable_extensions; do
3485 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3486 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3487 'mkdir (GNU coreutils) '* | \
3488 'mkdir (coreutils) '* | \
3489 'mkdir (fileutils) '4.1*)
3490 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3500 if test "${ac_cv_path_mkdir+set}" = set; then
3501 MKDIR_P
="$ac_cv_path_mkdir -p"
3503 # As a last resort, use the slow shell script. Don't cache a
3504 # value for MKDIR_P within a source directory, because that will
3505 # break other packages using the cache if that directory is
3506 # removed, or if the value is a relative name.
3507 test -d .
/--version && rmdir .
/--version
3508 MKDIR_P
="$ac_install_sh -d"
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3512 $as_echo "$MKDIR_P" >&6; }
3516 [\\/$
]* | ?
:[\\/]*) ;;
3517 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3520 for ac_prog
in gawk mawk nawk
awk
3522 # Extract the first word of "$ac_prog", so it can be a program name with args.
3523 set dummy
$ac_prog; ac_word
=$2
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3525 $as_echo_n "checking for $ac_word... " >&6; }
3526 if test "${ac_cv_prog_AWK+set}" = set; then :
3527 $as_echo_n "(cached) " >&6
3529 if test -n "$AWK"; then
3530 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3536 test -z "$as_dir" && as_dir
=.
3537 for ac_exec_ext
in '' $ac_executable_extensions; do
3538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3539 ac_cv_prog_AWK
="$ac_prog"
3540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3550 if test -n "$AWK"; then
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3552 $as_echo "$AWK" >&6; }
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555 $as_echo "no" >&6; }
3559 test -n "$AWK" && break
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3563 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3565 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3566 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3567 $as_echo_n "(cached) " >&6
3569 cat >conftest.
make <<\_ACEOF
3572 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3574 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3575 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3577 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3579 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3583 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3585 $as_echo "yes" >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3590 SET_MAKE
="MAKE=${MAKE-make}"
3593 rm -rf .tst
2>/dev
/null
3594 mkdir .tst
2>/dev
/null
3595 if test -d .tst
; then
3600 rmdir .tst
2>/dev
/null
3602 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3603 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3604 # is not polluted with repeated "-I."
3605 am__isrc
=' -I$(srcdir)'
3606 # test to see if srcdir already configured
3607 if test -f $srcdir/config.status
; then
3608 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3612 # test whether we have cygpath
3613 if test -z "$CYGPATH_W"; then
3614 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3615 CYGPATH_W
='cygpath -w'
3622 # Define the identity of the package.
3627 cat >>confdefs.h
<<_ACEOF
3628 #define PACKAGE "$PACKAGE"
3632 cat >>confdefs.h
<<_ACEOF
3633 #define VERSION "$VERSION"
3636 # Some tools Automake needs.
3638 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3641 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3644 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3647 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3650 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3652 # We need awk for the "check" target. The system "awk" is bad on
3654 # Always define AMTAR for backward compatibility.
3656 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3660 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3661 # Loop over all known methods to create a tar archive until one works.
3662 _am_tools
='gnutar plaintar pax cpio none'
3663 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
3664 # Do not fold the above two line into one, because Tru64 sh and
3665 # Solaris sh will not grok spaces in the rhs of `-'.
3666 for _am_tool
in $_am_tools
3670 for _am_tar
in tar gnutar gtar
;
3672 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3673 ($_am_tar --version) >&5 2>&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); } && break
3678 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
3679 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
3680 am__untar
="$_am_tar -xf -"
3683 # Must skip GNU tar: if it does not support --format= it doesn't create
3684 # ustar tarball either.
3685 (tar --version) >/dev
/null
2>&1 && continue
3686 am__tar
='tar chf - "$$tardir"'
3687 am__tar_
='tar chf - "$tardir"'
3688 am__untar
='tar xf -'
3691 am__tar
='pax -L -x ustar -w "$$tardir"'
3692 am__tar_
='pax -L -x ustar -w "$tardir"'
3696 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
3697 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
3698 am__untar
='cpio -i -H ustar -d'
3707 # If the value was cached, stop now. We just wanted to have am__tar
3708 # and am__untar set.
3709 test -n "${am_cv_prog_tar_ustar}" && break
3711 # tar/untar a dummy directory, and stop if the command works
3714 echo GrepMe
> conftest.dir
/file
3715 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3716 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); }
3721 if test -s conftest.
tar; then
3722 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3723 ($am__untar <conftest.
tar) >&5 2>&5
3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); }
3727 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
3732 if test "${am_cv_prog_tar_ustar+set}" = set; then :
3733 $as_echo_n "(cached) " >&6
3735 am_cv_prog_tar_ustar
=$_am_tool
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3739 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3745 ac_config_headers
="$ac_config_headers include/config.h"
3751 # Check whether --enable-collections was given.
3752 if test "${enable_collections+set}" = set; then :
3753 enableval
=$enable_collections; case x
"${enableval}" in
3754 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
3755 xno
) COMPILE_COLLECTIONS
=no
;;
3756 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
3757 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
3760 COMPILE_COLLECTIONS
=no
3763 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
3764 CREATE_COLLECTIONS_TRUE
=
3765 CREATE_COLLECTIONS_FALSE
='#'
3767 CREATE_COLLECTIONS_TRUE
='#'
3768 CREATE_COLLECTIONS_FALSE
=
3772 # Check whether --enable-jni was given.
3773 if test "${enable_jni+set}" = set; then :
3774 enableval
=$enable_jni; case "${enableval}" in
3775 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
3776 no
) COMPILE_JNI
=no
;;
3777 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
3783 if test "x${COMPILE_JNI}" = xyes
; then
3784 CREATE_JNI_LIBRARIES_TRUE
=
3785 CREATE_JNI_LIBRARIES_FALSE
='#'
3787 CREATE_JNI_LIBRARIES_TRUE
='#'
3788 CREATE_JNI_LIBRARIES_FALSE
=
3792 # Check whether --enable-core-jni was given.
3793 if test "${enable_core_jni+set}" = set; then :
3794 enableval
=$enable_core_jni; case "${enableval}" in
3795 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
3796 no
) COMPILE_CORE_JNI
=no
;;
3797 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
3800 COMPILE_CORE_JNI
=yes
3803 if test "x${COMPILE_CORE_JNI}" = xyes
; then
3804 CREATE_CORE_JNI_LIBRARIES_TRUE
=
3805 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
3807 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
3808 CREATE_CORE_JNI_LIBRARIES_FALSE
=
3812 # Check whether --enable-default-preferences-peer was given.
3813 if test "${enable_default_preferences_peer+set}" = set; then :
3814 enableval
=$enable_default_preferences_peer; case "${enableval}" in
3815 file) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.FileBasedFactory
;;
3816 gconf|
yes|true
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
;;
3817 memory
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.MemoryBasedFactory
;;
3818 no|false
) as_fn_error
"bad value '${enableval}' for --enable-default-preferences-peer" "$LINENO" 5 ;;
3819 *) DEFAULT_PREFS_PEER
=${enableval} ;;
3822 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
3826 # Check whether --enable-gconf-peer was given.
3827 if test "${enable_gconf_peer+set}" = set; then :
3828 enableval
=$enable_gconf_peer; case "${enableval}" in
3829 yes) COMPILE_GCONF_PEER
=yes ;;
3830 no
) COMPILE_GCONF_PEER
=no
;;
3831 *) COMPILE_GCONF_PEER
=yes ;;
3834 COMPILE_GCONF_PEER
=yes
3837 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
3838 CREATE_GCONF_PEER_LIBRARIES_TRUE
=
3839 CREATE_GCONF_PEER_LIBRARIES_FALSE
='#'
3841 CREATE_GCONF_PEER_LIBRARIES_TRUE
='#'
3842 CREATE_GCONF_PEER_LIBRARIES_FALSE
=
3846 # Check whether --enable-gconf-peers was given.
3847 if test "${enable_gconf_peers+set}" = set; then :
3848 enableval
=$enable_gconf_peers; as_fn_error
"No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" "$LINENO" 5
3852 # Check whether --enable-gstreamer-peer was given.
3853 if test "${enable_gstreamer_peer+set}" = set; then :
3854 enableval
=$enable_gstreamer_peer; case "${enableval}" in
3855 yes) COMPILE_GSTREAMER_PEER
=yes ;;
3856 no
) COMPILE_GSTREAMER_PEER
=no
;;
3857 *) COMPILE_GSTREAMER_PEER
=default
;;
3860 COMPILE_GSTREAMER_PEER
=default
3863 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
3864 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
=
3865 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
='#'
3867 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
='#'
3868 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
=
3872 # Check whether --enable-gstreamer-peers was given.
3873 if test "${enable_gstreamer_peers+set}" = set; then :
3874 enableval
=$enable_gstreamer_peers; as_fn_error
"No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" "$LINENO" 5
3878 # Check whether --enable-Werror was given.
3879 if test "${enable_Werror+set}" = set; then :
3880 enableval
=$enable_Werror; case "${enableval}" in
3881 yes) ENABLE_WERROR
=yes ;;
3882 no
) ENABLE_WERROR
=no
;;
3883 *) ENABLE_WERROR
=default
;;
3886 ENABLE_WERROR
=default
3890 # Check whether --enable-default-toolkit was given.
3891 if test "${enable_default_toolkit+set}" = set; then :
3892 enableval
=$enable_default_toolkit;
3895 default_toolkit
=$enable_default_toolkit
3896 if test "$default_toolkit" = ""; then
3897 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
3901 # Check whether --enable-xmlj was given.
3902 if test "${enable_xmlj+set}" = set; then :
3903 enableval
=$enable_xmlj; case "${enableval}" in
3904 yes) COMPILE_XMLJ
=yes ;;
3905 no
) COMPILE_XMLJ
=no
;;
3906 *) COMPILE_XMLJ
=no
;;
3912 if test "x${COMPILE_XMLJ}" = xyes
; then
3913 CREATE_XMLJ_LIBRARY_TRUE
=
3914 CREATE_XMLJ_LIBRARY_FALSE
='#'
3916 CREATE_XMLJ_LIBRARY_TRUE
='#'
3917 CREATE_XMLJ_LIBRARY_FALSE
=
3921 DEPDIR
="${am__leading_dot}deps"
3923 ac_config_commands
="$ac_config_commands depfiles"
3926 am_make
=${MAKE-make}
3927 cat > confinc
<< 'END'
3929 @
echo this is the am__doit target
3932 # If we don't find an include directive, just comment out the code.
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3934 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3938 # First try GNU make style include.
3939 echo "include confinc" > confmf
3940 # Ignore all kinds of additional output from `make'.
3941 case `$am_make -s -f confmf 2> /dev/null` in #(
3942 *the\ am__doit\ target
*)
3948 # Now try BSD make style include.
3949 if test "$am__include" = "#"; then
3950 echo '.include "confinc"' > confmf
3951 case `$am_make -s -f confmf 2> /dev/null` in #(
3952 *the\ am__doit\ target
*)
3953 am__include
=.include
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3962 $as_echo "$_am_result" >&6; }
3963 rm -f confinc confmf
3965 # Check whether --enable-dependency-tracking was given.
3966 if test "${enable_dependency_tracking+set}" = set; then :
3967 enableval
=$enable_dependency_tracking;
3970 if test "x$enable_dependency_tracking" != xno
; then
3971 am_depcomp
="$ac_aux_dir/depcomp"
3974 if test "x$enable_dependency_tracking" != xno; then
3984 ac_cpp
='$CPP $CPPFLAGS'
3985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3988 if test -n "$ac_tool_prefix"; then
3989 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3990 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3992 $as_echo_n "checking for $ac_word... " >&6; }
3993 if test "${ac_cv_prog_CC+set}" = set; then :
3994 $as_echo_n "(cached) " >&6
3996 if test -n "$CC"; then
3997 ac_cv_prog_CC
="$CC" # Let the user override the test.
3999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4003 test -z "$as_dir" && as_dir
=.
4004 for ac_exec_ext
in '' $ac_executable_extensions; do
4005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4006 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4017 if test -n "$CC"; then
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4019 $as_echo "$CC" >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4022 $as_echo "no" >&6; }
4027 if test -z "$ac_cv_prog_CC"; then
4029 # Extract the first word of "gcc", so it can be a program name with args.
4030 set dummy gcc
; ac_word
=$2
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032 $as_echo_n "checking for $ac_word... " >&6; }
4033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4034 $as_echo_n "(cached) " >&6
4036 if test -n "$ac_ct_CC"; then
4037 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4043 test -z "$as_dir" && as_dir
=.
4044 for ac_exec_ext
in '' $ac_executable_extensions; do
4045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4046 ac_cv_prog_ac_ct_CC
="gcc"
4047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4057 if test -n "$ac_ct_CC"; then
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4059 $as_echo "$ac_ct_CC" >&6; }
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062 $as_echo "no" >&6; }
4065 if test "x$ac_ct_CC" = x
; then
4068 case $cross_compiling:$ac_tool_warned in
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4072 ac_tool_warned
=yes ;;
4080 if test -z "$CC"; then
4081 if test -n "$ac_tool_prefix"; then
4082 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4083 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4085 $as_echo_n "checking for $ac_word... " >&6; }
4086 if test "${ac_cv_prog_CC+set}" = set; then :
4087 $as_echo_n "(cached) " >&6
4089 if test -n "$CC"; then
4090 ac_cv_prog_CC
="$CC" # Let the user override the test.
4092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4096 test -z "$as_dir" && as_dir
=.
4097 for ac_exec_ext
in '' $ac_executable_extensions; do
4098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4099 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4110 if test -n "$CC"; then
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4112 $as_echo "$CC" >&6; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4115 $as_echo "no" >&6; }
4121 if test -z "$CC"; then
4122 # Extract the first word of "cc", so it can be a program name with args.
4123 set dummy cc
; ac_word
=$2
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4125 $as_echo_n "checking for $ac_word... " >&6; }
4126 if test "${ac_cv_prog_CC+set}" = set; then :
4127 $as_echo_n "(cached) " >&6
4129 if test -n "$CC"; then
4130 ac_cv_prog_CC
="$CC" # Let the user override the test.
4133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4137 test -z "$as_dir" && as_dir
=.
4138 for ac_exec_ext
in '' $ac_executable_extensions; do
4139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4140 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4141 ac_prog_rejected
=yes
4145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4152 if test $ac_prog_rejected = yes; then
4153 # We found a bogon in the path, so make sure we never use it.
4154 set dummy
$ac_cv_prog_CC
4156 if test $# != 0; then
4157 # We chose a different compiler from the bogus one.
4158 # However, it has the same basename, so the bogon will be chosen
4159 # first if we set CC to just the basename; use the full file name.
4161 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4167 if test -n "$CC"; then
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4169 $as_echo "$CC" >&6; }
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4177 if test -z "$CC"; then
4178 if test -n "$ac_tool_prefix"; then
4179 for ac_prog
in cl.exe
4181 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4182 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184 $as_echo_n "checking for $ac_word... " >&6; }
4185 if test "${ac_cv_prog_CC+set}" = set; then :
4186 $as_echo_n "(cached) " >&6
4188 if test -n "$CC"; then
4189 ac_cv_prog_CC
="$CC" # Let the user override the test.
4191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4195 test -z "$as_dir" && as_dir
=.
4196 for ac_exec_ext
in '' $ac_executable_extensions; do
4197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4198 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4209 if test -n "$CC"; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4211 $as_echo "$CC" >&6; }
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4218 test -n "$CC" && break
4221 if test -z "$CC"; then
4223 for ac_prog
in cl.exe
4225 # Extract the first word of "$ac_prog", so it can be a program name with args.
4226 set dummy
$ac_prog; ac_word
=$2
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4228 $as_echo_n "checking for $ac_word... " >&6; }
4229 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4230 $as_echo_n "(cached) " >&6
4232 if test -n "$ac_ct_CC"; then
4233 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4239 test -z "$as_dir" && as_dir
=.
4240 for ac_exec_ext
in '' $ac_executable_extensions; do
4241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4242 ac_cv_prog_ac_ct_CC
="$ac_prog"
4243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4252 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4253 if test -n "$ac_ct_CC"; then
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4255 $as_echo "$ac_ct_CC" >&6; }
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4258 $as_echo "no" >&6; }
4262 test -n "$ac_ct_CC" && break
4265 if test "x$ac_ct_CC" = x
; then
4268 case $cross_compiling:$ac_tool_warned in
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4272 ac_tool_warned
=yes ;;
4281 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4283 as_fn_error
"no acceptable C compiler found in \$PATH
4284 See \`config.log' for more details." "$LINENO" 5; }
4286 # Provide some information about the compiler.
4287 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4290 for ac_option
in --version -v -V -qversion; do
4291 { { ac_try
="$ac_compiler $ac_option >&5"
4293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4297 $as_echo "$ac_try_echo"; } >&5
4298 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4300 if test -s conftest.err; then
4302 ... rest of stderr output deleted ...
4303 10q' conftest.err >conftest.er1
4304 cat conftest.er1 >&5
4305 rm -f conftest.er1 conftest.err
4307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4308 test $ac_status = 0; }
4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312 /* end confdefs.h. */
4323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4324 (eval $ac_link) 2>&5
4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4327 test $ac_status = 0; }; then :
4332 if test x$gcc_no_link = xyes; then
4333 # Setting cross_compile will disable run tests; it will
4334 # also disable AC_CHECK_FILE but that's generally
4335 # correct if we can't link.
4339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4340 /* end confdefs.h. */
4350 ac_clean_files_save=$ac_clean_files
4351 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4352 # Try to create an executable without -o first, disregard a.out.
4353 # It will help us diagnose broken compilers, and finding out an intuition
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4356 $as_echo_n "checking for C compiler default output file name... " >&6; }
4357 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4359 # The possible output files:
4360 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4363 for ac_file in $ac_files
4366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4367 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4372 if { { ac_try="$ac_link_default"
4374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4375 *) ac_try_echo
=$ac_try;;
4377 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4378 $as_echo "$ac_try_echo"; } >&5
4379 (eval "$ac_link_default") 2>&5
4381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4382 test $ac_status = 0; }; then :
4383 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4384 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4385 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4386 # so that the user can short-circuit this test for compilers unknown to
4388 for ac_file
in $ac_files ''
4390 test -f "$ac_file" ||
continue
4392 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4395 # We found the default executable, but exeext='' is most
4399 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4401 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4403 # We set ac_cv_exeext here because the later test for it is not
4404 # safe: cross compilers may not add the suffix if given an `-o'
4405 # argument, so we may need to know it at that point already.
4406 # Even if this section looks crufty: it has the advantage of
4413 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4419 $as_echo "$ac_file" >&6; }
4420 if test -z "$ac_file"; then :
4421 $as_echo "$as_me: failed program was:" >&5
4422 sed 's/^/| /' conftest.
$ac_ext >&5
4424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4426 { as_fn_set_status
77
4427 as_fn_error
"C compiler cannot create executables
4428 See \`config.log' for more details." "$LINENO" 5; }; }
4430 ac_exeext
=$ac_cv_exeext
4432 # Check that the compiler produces executables we can run. If not, either
4433 # the compiler is broken, or we cross compile.
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4435 $as_echo_n "checking whether the C compiler works... " >&6; }
4436 # If not cross compiling, check that we can run a simple program.
4437 if test "$cross_compiling" != yes; then
4438 if { ac_try
='./$ac_file'
4439 { { case "(($ac_try" in
4440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4441 *) ac_try_echo=$ac_try;;
4443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4444 $as_echo "$ac_try_echo"; } >&5
4445 (eval "$ac_try") 2>&5
4447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4448 test $ac_status = 0; }; }; then
4451 if test "$cross_compiling" = maybe; then
4454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4456 as_fn_error "cannot run C compiled programs.
4457 If you meant to cross compile
, use \
`--host'.
4458 See \`config.log
' for more details." "$LINENO" 5; }
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4463 $as_echo "yes" >&6; }
4465 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4466 ac_clean_files=$ac_clean_files_save
4467 # Check that the compiler produces executables we can run. If not, either
4468 # the compiler is broken, or we cross compile.
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4470 $as_echo_n "checking whether we are cross compiling... " >&6; }
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4472 $as_echo "$cross_compiling" >&6; }
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4475 $as_echo_n "checking for suffix of executables... " >&6; }
4476 if { { ac_try="$ac_link"
4478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4479 *) ac_try_echo=$ac_try;;
4481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4482 $as_echo "$ac_try_echo"; } >&5
4483 (eval "$ac_link") 2>&5
4485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4486 test $ac_status = 0; }; then :
4487 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4488 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4489 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4491 for ac_file
in conftest.exe conftest conftest.
*; do
4492 test -f "$ac_file" ||
continue
4494 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4495 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4503 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4504 See \`config.log' for more details." "$LINENO" 5; }
4506 rm -f conftest
$ac_cv_exeext
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4508 $as_echo "$ac_cv_exeext" >&6; }
4510 rm -f conftest.
$ac_ext
4511 EXEEXT
=$ac_cv_exeext
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4515 $as_echo_n "checking for suffix of object files... " >&6; }
4516 if test "${ac_cv_objext+set}" = set; then :
4517 $as_echo_n "(cached) " >&6
4519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4530 rm -f conftest.o conftest.obj
4531 if { { ac_try
="$ac_compile"
4533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4534 *) ac_try_echo=$ac_try;;
4536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4537 $as_echo "$ac_try_echo"; } >&5
4538 (eval "$ac_compile") 2>&5
4540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4541 test $ac_status = 0; }; then :
4542 for ac_file in conftest.o conftest.obj conftest.*; do
4543 test -f "$ac_file" || continue;
4545 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4546 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4551 $as_echo "$as_me: failed program was:" >&5
4552 sed 's/^/| /' conftest.$ac_ext >&5
4554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4556 as_fn_error "cannot compute suffix of object files
: cannot compile
4557 See \
`config.log' for more details." "$LINENO" 5; }
4559 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4562 $as_echo "$ac_cv_objext" >&6; }
4563 OBJEXT=$ac_cv_objext
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4566 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4567 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4568 $as_echo_n "(cached) " >&6
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4584 if ac_fn_c_try_compile "$LINENO"; then :
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4594 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4595 if test $ac_compiler_gnu = yes; then
4600 ac_test_CFLAGS=${CFLAGS+set}
4601 ac_save_CFLAGS=$CFLAGS
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4603 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4604 if test "${ac_cv_prog_cc_g+set}" = set; then :
4605 $as_echo_n "(cached) " >&6
4607 ac_save_c_werror_flag=$ac_c_werror_flag
4608 ac_c_werror_flag=yes
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4622 if ac_fn_c_try_compile "$LINENO"; then :
4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4637 if ac_fn_c_try_compile "$LINENO"; then :
4640 ac_c_werror_flag=$ac_save_c_werror_flag
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4653 if ac_fn_c_try_compile "$LINENO"; then :
4656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4661 ac_c_werror_flag=$ac_save_c_werror_flag
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4664 $as_echo "$ac_cv_prog_cc_g" >&6; }
4665 if test "$ac_test_CFLAGS" = set; then
4666 CFLAGS=$ac_save_CFLAGS
4667 elif test $ac_cv_prog_cc_g = yes; then
4668 if test "$GCC" = yes; then
4674 if test "$GCC" = yes; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4681 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4682 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4683 $as_echo_n "(cached) " >&6
4685 ac_cv_prog_cc_c89=no
4687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4688 /* end confdefs.h. */
4691 #include <sys/types.h>
4692 #include <sys/stat.h>
4693 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4694 struct buf { int x; };
4695 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4696 static char *e (p, i)
4702 static char *f (char * (*g) (char **, int), char **p, ...)
4707 s = g (p, va_arg (v,int));
4712 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4713 function prototypes and stuff, but not '\xHH' hex character constants.
4714 These don't provoke an error unfortunately, instead are silently treated
4715 as 'x'. The following induces an error, until -std is added to get
4716 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4717 array size at least. It's necessary to write '\x00'==0 to get something
4718 that's true only with -std. */
4719 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4721 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4722 inside strings and character constants. */
4724 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4726 int test (int i, double x);
4727 struct s1 {int (*f) (int a);};
4728 struct s2 {int (*f) (double a);};
4729 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4735 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4740 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4741 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4743 CC="$ac_save_CC $ac_arg"
4744 if ac_fn_c_try_compile "$LINENO"; then :
4745 ac_cv_prog_cc_c89=$ac_arg
4747 rm -f core conftest.err conftest.$ac_objext
4748 test "x$ac_cv_prog_cc_c89" != "xno" && break
4750 rm -f conftest.$ac_ext
4755 case "x$ac_cv_prog_cc_c89" in
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4758 $as_echo "none needed" >&6; } ;;
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4761 $as_echo "unsupported" >&6; } ;;
4763 CC="$CC $ac_cv_prog_cc_c89"
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4765 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4767 if test "x$ac_cv_prog_cc_c89" != xno; then :
4772 ac_cpp='$CPP $CPPFLAGS'
4773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4777 depcc="$CC" am_compiler_list=
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4780 $as_echo_n "checking dependency style of $depcc... " >&6; }
4781 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4782 $as_echo_n "(cached) " >&6
4784 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4785 # We make a subdir and do the tests there. Otherwise we can end up
4786 # making bogus files that we don't know about and never remove. For
4787 # instance it was reported that on HP-UX the gcc test will end up
4788 # making a dummy file named `D
' -- because `-MD' means
`put the output
4791 # Copy depcomp to subdir because otherwise we won't find it if we're
4792 # using a relative directory.
4793 cp "$am_depcomp" conftest.dir
4795 # We will build objects and dependencies in a subdirectory because
4796 # it helps to detect inapplicable dependency modes. For instance
4797 # both Tru64's cc and ICC support -MD to output dependencies as a
4798 # side effect of compilation, but ICC will put the dependencies in
4799 # the current directory while Tru64 will put them in the object
4803 am_cv_CC_dependencies_compiler_type=none
4804 if test "$am_compiler_list" = ""; then
4805 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4808 case " $depcc " in #(
4809 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4812 for depmode in $am_compiler_list; do
4813 # Setup a source with many dependencies, because some compilers
4814 # like to wrap large dependency lists on column 80 (with \), and
4815 # we should not choose a depcomp mode which is confused by this.
4817 # We need to recreate these files for each test, as the compiler may
4818 # overwrite some of them when testing with obscure command lines.
4819 # This happens at least with the AIX C compiler.
4821 for i in 1 2 3 4 5 6; do
4822 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4823 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4824 # Solaris 8's
{/usr
,}/bin
/sh.
4825 touch sub
/conftst
$i.h
4827 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4829 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4830 # mode. It turns out that the SunPro C++ compiler does not properly
4831 # handle `-M -o', and we need to detect this. Also, some Intel
4832 # versions had trouble with output in subdirs
4833 am__obj
=sub
/conftest.
${OBJEXT-o}
4834 am__minus_obj
="-o $am__obj"
4837 # This depmode causes a compiler race in universal mode.
4838 test "$am__universal" = false ||
continue
4841 # after this tag, mechanisms are not by side-effect, so they'll
4842 # only be used when explicitly requested
4843 if test "x$enable_dependency_tracking" = xyes
; then
4849 msvisualcpp | msvcmsys
)
4850 # This compiler won't grok `-c -o', but also, the minuso test has
4851 # not run yet. These depmodes are late enough in the game, and
4852 # so weak that their functioning should not be impacted.
4853 am__obj
=conftest.
${OBJEXT-o}
4858 if depmode
=$depmode \
4859 source=sub
/conftest.c object
=$am__obj \
4860 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4861 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4862 >/dev
/null
2>conftest.err
&&
4863 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4864 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4865 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4866 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4867 # icc doesn't choke on unknown options, it will just issue warnings
4868 # or remarks (even with -Werror). So we grep stderr for any message
4869 # that says an option was ignored or not supported.
4870 # When given -MP, icc 7.0 and 7.1 complain thusly:
4871 # icc: Command line warning: ignoring option '-M'; no argument required
4872 # The diagnosis changed in icc 8.0:
4873 # icc: Command line remark: option '-MP' not supported
4874 if (grep 'ignoring option' conftest.err ||
4875 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4876 am_cv_CC_dependencies_compiler_type
=$depmode
4885 am_cv_CC_dependencies_compiler_type
=none
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4890 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4891 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4894 test "x$enable_dependency_tracking" != xno \
4895 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4897 am__fastdepCC_FALSE
='#'
4899 am__fastdepCC_TRUE
='#'
4900 am__fastdepCC_FALSE
=
4906 ac_cpp
='$CPP $CPPFLAGS'
4907 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4908 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4909 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4911 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4912 # On Suns, sometimes $CPP names a directory.
4913 if test -n "$CPP" && test -d "$CPP"; then
4916 if test -z "$CPP"; then
4917 if test "${ac_cv_prog_CPP+set}" = set; then :
4918 $as_echo_n "(cached) " >&6
4920 # Double quotes because CPP needs to be expanded
4921 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4924 for ac_c_preproc_warn_flag
in '' yes
4926 # Use a header file that comes with gcc, so configuring glibc
4927 # with a fresh cross-compiler works.
4928 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4929 # <limits.h> exists even on freestanding compilers.
4930 # On the NeXT, cc -E runs the code through the compiler's parser,
4931 # not just through cpp. "Syntax error" is here to catch this case.
4932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4933 /* end confdefs.h. */
4935 # include <limits.h>
4937 # include <assert.h>
4941 if ac_fn_c_try_cpp
"$LINENO"; then :
4944 # Broken: fails on valid input.
4947 rm -f conftest.err conftest.
$ac_ext
4949 # OK, works on sane cases. Now check whether nonexistent headers
4950 # can be detected and how.
4951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4952 /* end confdefs.h. */
4953 #include <ac_nonexistent.h>
4955 if ac_fn_c_try_cpp
"$LINENO"; then :
4956 # Broken: success on invalid input.
4959 # Passes both tests.
4963 rm -f conftest.err conftest.
$ac_ext
4966 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4967 rm -f conftest.err conftest.
$ac_ext
4968 if $ac_preproc_ok; then :
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4981 $as_echo "$CPP" >&6; }
4983 for ac_c_preproc_warn_flag
in '' yes
4985 # Use a header file that comes with gcc, so configuring glibc
4986 # with a fresh cross-compiler works.
4987 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4988 # <limits.h> exists even on freestanding compilers.
4989 # On the NeXT, cc -E runs the code through the compiler's parser,
4990 # not just through cpp. "Syntax error" is here to catch this case.
4991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4994 # include <limits.h>
4996 # include <assert.h>
5000 if ac_fn_c_try_cpp
"$LINENO"; then :
5003 # Broken: fails on valid input.
5006 rm -f conftest.err conftest.
$ac_ext
5008 # OK, works on sane cases. Now check whether nonexistent headers
5009 # can be detected and how.
5010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5012 #include <ac_nonexistent.h>
5014 if ac_fn_c_try_cpp
"$LINENO"; then :
5015 # Broken: success on invalid input.
5018 # Passes both tests.
5022 rm -f conftest.err conftest.
$ac_ext
5025 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5026 rm -f conftest.err conftest.
$ac_ext
5027 if $ac_preproc_ok; then :
5030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5032 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5033 See \`config.log' for more details." "$LINENO" 5; }
5037 ac_cpp
='$CPP $CPPFLAGS'
5038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5044 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5045 if test "${ac_cv_path_GREP+set}" = set; then :
5046 $as_echo_n "(cached) " >&6
5048 if test -z "$GREP"; then
5049 ac_path_GREP_found
=false
5050 # Loop through the user's path and test for each of PROGNAME-LIST
5051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5052 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5055 test -z "$as_dir" && as_dir
=.
5056 for ac_prog
in grep ggrep
; do
5057 for ac_exec_ext
in '' $ac_executable_extensions; do
5058 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5059 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5060 # Check for GNU ac_path_GREP and select it if it is found.
5061 # Check for GNU $ac_path_GREP
5062 case `"$ac_path_GREP" --version 2>&1` in
5064 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5067 $as_echo_n 0123456789 >"conftest.in"
5070 cat "conftest.in" "conftest.in" >"conftest.tmp"
5071 mv "conftest.tmp" "conftest.in"
5072 cp "conftest.in" "conftest.nl"
5073 $as_echo 'GREP' >> "conftest.nl"
5074 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5075 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5076 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5077 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5078 # Best one so far, save it but keep looking for a better one
5079 ac_cv_path_GREP
="$ac_path_GREP"
5080 ac_path_GREP_max
=$ac_count
5082 # 10*(2^10) chars as input seems more than enough
5083 test $ac_count -gt 10 && break
5085 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5088 $ac_path_GREP_found && break 3
5093 if test -z "$ac_cv_path_GREP"; then
5094 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5097 ac_cv_path_GREP
=$GREP
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5102 $as_echo "$ac_cv_path_GREP" >&6; }
5103 GREP
="$ac_cv_path_GREP"
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5107 $as_echo_n "checking for egrep... " >&6; }
5108 if test "${ac_cv_path_EGREP+set}" = set; then :
5109 $as_echo_n "(cached) " >&6
5111 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5112 then ac_cv_path_EGREP
="$GREP -E"
5114 if test -z "$EGREP"; then
5115 ac_path_EGREP_found
=false
5116 # Loop through the user's path and test for each of PROGNAME-LIST
5117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5118 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5121 test -z "$as_dir" && as_dir
=.
5122 for ac_prog
in egrep; do
5123 for ac_exec_ext
in '' $ac_executable_extensions; do
5124 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5125 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5126 # Check for GNU ac_path_EGREP and select it if it is found.
5127 # Check for GNU $ac_path_EGREP
5128 case `"$ac_path_EGREP" --version 2>&1` in
5130 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5133 $as_echo_n 0123456789 >"conftest.in"
5136 cat "conftest.in" "conftest.in" >"conftest.tmp"
5137 mv "conftest.tmp" "conftest.in"
5138 cp "conftest.in" "conftest.nl"
5139 $as_echo 'EGREP' >> "conftest.nl"
5140 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5141 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5142 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5143 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5144 # Best one so far, save it but keep looking for a better one
5145 ac_cv_path_EGREP
="$ac_path_EGREP"
5146 ac_path_EGREP_max
=$ac_count
5148 # 10*(2^10) chars as input seems more than enough
5149 test $ac_count -gt 10 && break
5151 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5154 $ac_path_EGREP_found && break 3
5159 if test -z "$ac_cv_path_EGREP"; then
5160 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5163 ac_cv_path_EGREP
=$EGREP
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5169 $as_echo "$ac_cv_path_EGREP" >&6; }
5170 EGREP
="$ac_cv_path_EGREP"
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5174 $as_echo_n "checking for ANSI C header files... " >&6; }
5175 if test "${ac_cv_header_stdc+set}" = set; then :
5176 $as_echo_n "(cached) " >&6
5178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5179 /* end confdefs.h. */
5193 if ac_fn_c_try_compile
"$LINENO"; then :
5194 ac_cv_header_stdc
=yes
5196 ac_cv_header_stdc
=no
5198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5200 if test $ac_cv_header_stdc = yes; then
5201 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5203 /* end confdefs.h. */
5207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5208 $EGREP "memchr" >/dev
/null
2>&1; then :
5211 ac_cv_header_stdc
=no
5217 if test $ac_cv_header_stdc = yes; then
5218 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5225 $EGREP "free" >/dev
/null
2>&1; then :
5228 ac_cv_header_stdc
=no
5234 if test $ac_cv_header_stdc = yes; then
5235 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5236 if test "$cross_compiling" = yes; then :
5239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5240 /* end confdefs.h. */
5243 #if ((' ' & 0x0FF) == 0x020)
5244 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5245 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5247 # define ISLOWER(c) \
5248 (('a' <= (c) && (c) <= 'i') \
5249 || ('j' <= (c) && (c) <= 'r') \
5250 || ('s' <= (c) && (c) <= 'z'))
5251 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5254 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5259 for (i = 0; i < 256; i++)
5260 if (XOR (islower (i), ISLOWER (i))
5261 || toupper (i) != TOUPPER (i))
5266 if ac_fn_c_try_run
"$LINENO"; then :
5269 ac_cv_header_stdc
=no
5271 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5272 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5278 $as_echo "$ac_cv_header_stdc" >&6; }
5279 if test $ac_cv_header_stdc = yes; then
5281 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5285 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5286 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5287 inttypes.h stdint.h unistd.h
5289 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5290 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5292 eval as_val
=\$
$as_ac_Header
5293 if test "x$as_val" = x
""yes; then :
5294 cat >>confdefs.h
<<_ACEOF
5295 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5303 # Check whether --enable-alsa was given.
5304 if test "${enable_alsa+set}" = set; then :
5305 enableval
=$enable_alsa; case "${enableval}" in
5306 yes) COMPILE_ALSA
=yes ;;
5307 no
) COMPILE_ALSA
=no
;;
5308 *) COMPILE_ALSA
=yes ;;
5311 for ac_header
in alsa
/asoundlib.h
5313 ac_fn_c_check_header_mongrel
"$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
5314 if test "x$ac_cv_header_alsa_asoundlib_h" = x
""yes; then :
5315 cat >>confdefs.h
<<_ACEOF
5316 #define HAVE_ALSA_ASOUNDLIB_H 1
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_seq_open in -lasound" >&5
5319 $as_echo_n "checking for snd_seq_open in -lasound... " >&6; }
5320 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then :
5321 $as_echo_n "(cached) " >&6
5323 ac_check_lib_save_LIBS
=$LIBS
5324 LIBS
="-lasound $LIBS"
5325 if test x
$gcc_no_link = xyes
; then
5326 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5331 /* Override any GCC internal prototype to avoid an error.
5332 Use char because int might match the return type of a GCC
5333 builtin and then its argument prototype would still apply. */
5337 char snd_seq_open ();
5341 return snd_seq_open ();
5346 if ac_fn_c_try_link
"$LINENO"; then :
5347 ac_cv_lib_asound_snd_seq_open
=yes
5349 ac_cv_lib_asound_snd_seq_open
=no
5351 rm -f core conftest.err conftest.
$ac_objext \
5352 conftest
$ac_exeext conftest.
$ac_ext
5353 LIBS
=$ac_check_lib_save_LIBS
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_seq_open" >&5
5356 $as_echo "$ac_cv_lib_asound_snd_seq_open" >&6; }
5357 if test "x$ac_cv_lib_asound_snd_seq_open" = x
""yes; then :
5371 if test "x${COMPILE_ALSA}" = xyes
; then
5372 CREATE_ALSA_LIBRARIES_TRUE
=
5373 CREATE_ALSA_LIBRARIES_FALSE
='#'
5375 CREATE_ALSA_LIBRARIES_TRUE
='#'
5376 CREATE_ALSA_LIBRARIES_FALSE
=
5380 # Check whether --enable-dssi was given.
5381 if test "${enable_dssi+set}" = set; then :
5382 enableval
=$enable_dssi; case "${enableval}" in
5383 yes) COMPILE_DSSI
=yes ;;
5384 no
) COMPILE_DSSI
=no
;;
5385 *) COMPILE_DSSI
=yes ;;
5389 for ac_header
in dssi.h
5391 ac_fn_c_check_header_mongrel
"$LINENO" "dssi.h" "ac_cv_header_dssi_h" "$ac_includes_default"
5392 if test "x$ac_cv_header_dssi_h" = x
""yes; then :
5393 cat >>confdefs.h
<<_ACEOF
5394 #define HAVE_DSSI_H 1
5397 for ac_header
in jack
/jack.h
5399 ac_fn_c_check_header_mongrel
"$LINENO" "jack/jack.h" "ac_cv_header_jack_jack_h" "$ac_includes_default"
5400 if test "x$ac_cv_header_jack_jack_h" = x
""yes; then :
5401 cat >>confdefs.h
<<_ACEOF
5402 #define HAVE_JACK_JACK_H 1
5415 if test "x${COMPILE_DSSI}" = xyes
; then
5416 CREATE_DSSI_LIBRARIES_TRUE
=
5417 CREATE_DSSI_LIBRARIES_FALSE
='#'
5419 CREATE_DSSI_LIBRARIES_TRUE
='#'
5420 CREATE_DSSI_LIBRARIES_FALSE
=
5424 # Check whether --enable-gtk-peer was given.
5425 if test "${enable_gtk_peer+set}" = set; then :
5426 enableval
=$enable_gtk_peer; case "${enableval}" in
5427 yes) COMPILE_GTK_PEER
=yes ;;
5428 no
) COMPILE_GTK_PEER
=no
;;
5429 *) COMPILE_GTK_PEER
=yes ;;
5432 COMPILE_GTK_PEER
=yes
5435 if test "x${COMPILE_GTK_PEER}" = xyes
; then
5436 CREATE_GTK_PEER_LIBRARIES_TRUE
=
5437 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
5439 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
5440 CREATE_GTK_PEER_LIBRARIES_FALSE
=
5444 # Check whether --enable-gtk-peers was given.
5445 if test "${enable_gtk_peers+set}" = set; then :
5446 enableval
=$enable_gtk_peers; as_fn_error
"No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" "$LINENO" 5
5450 # Check whether --enable-qt-peer was given.
5451 if test "${enable_qt_peer+set}" = set; then :
5452 enableval
=$enable_qt_peer; case "${enableval}" in
5453 yes) COMPILE_QT_PEER
=yes ;;
5454 no
) COMPILE_QT_PEER
=no
;;
5455 *) COMPILE_QT_PEER
=yes ;;
5461 if test "x${COMPILE_QT_PEER}" = xyes
; then
5462 CREATE_QT_PEER_LIBRARIES_TRUE
=
5463 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
5465 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
5466 CREATE_QT_PEER_LIBRARIES_FALSE
=
5470 # Check whether --enable-plugin was given.
5471 if test "${enable_plugin+set}" = set; then :
5472 enableval
=$enable_plugin; case "${enableval}" in
5473 yes) COMPILE_PLUGIN
=yes ;;
5474 no
) COMPILE_PLUGIN
=no
;;
5475 *) COMPILE_PLUGIN
=yes ;;
5481 if test "x${COMPILE_PLUGIN}" = xyes
; then
5483 CREATE_PLUGIN_FALSE
='#'
5485 CREATE_PLUGIN_TRUE
='#'
5486 CREATE_PLUGIN_FALSE
=
5490 # Check whether --enable-gmp was given.
5491 if test "${enable_gmp+set}" = set; then :
5492 enableval
=$enable_gmp; case "${enableval}" in
5493 yes|true
) COMPILE_GMP
=yes ;;
5494 no|false
) COMPILE_GMP
=no
;;
5495 *) COMPILE_GMP
=yes ;;
5502 # Check whether --enable-gjdoc was given.
5503 if test "${enable_gjdoc+set}" = set; then :
5504 enableval
=$enable_gjdoc; case "${enableval}" in
5505 yes) COMPILE_GJDOC
=yes ;;
5506 no
) COMPILE_GJDOC
=no
;;
5507 *) COMPILE_GJDOC
=yes ;;
5513 if test "x${COMPILE_GJDOC}" = xyes
; then
5515 CREATE_GJDOC_FALSE
='#'
5517 CREATE_GJDOC_TRUE
='#'
5523 multi_os_directory
=`$CC -print-multi-os-directory`
5524 case $multi_os_directory in
5525 .
) toolexeclibdir
=${libdir} ;; # Avoid trailing /.
5526 *) toolexeclibdir
=${libdir}/${multi_os_directory} ;;
5532 # Check whether --with-native-libdir was given.
5533 if test "${with_native_libdir+set}" = set; then :
5534 withval
=$with_native_libdir;
5535 nativeexeclibdir
=${withval}
5539 nativeexeclibdir
='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`-`awk -F: '/^[^#].*:/ { print $1 }' ${srcdir}/..
/libtool-version
`
5547 # Check whether --with-glibj-dir was given.
5548 if test "${with_glibj_dir+set}" = set; then :
5549 withval=$with_glibj_dir;
5554 glibjdir='${datadir}/${PACKAGE}'
5562 # Check whether --with-antlr-jar was given.
5563 if test "${with_antlr_jar+set}" = set; then :
5564 withval=$with_antlr_jar;
5569 ANTLR_JAR="$ANTLR_JAR"
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate the headers" >&5
5575 $as_echo_n "checking whether to regenerate the headers... " >&6; }
5576 # Check whether --enable-regen-headers was given.
5577 if test "${enable_regen_headers+set}" = set; then :
5578 enableval=$enable_regen_headers; case "${enableval}" in
5579 yes) REGENERATE_JNI_HEADERS=yes ;;
5580 no) REGENERATE_JNI_HEADERS=no ;;
5581 *) REGENERATE_JNI_HEADERS=yes ;;
5584 if test -e ${srcdir}/include/java_lang_VMSystem.h; then
5585 REGENERATE_JNI_HEADERS=no ;
5587 REGENERATE_JNI_HEADERS=yes ;
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${REGENERATE_JNI_HEADERS}" >&5
5592 $as_echo "${REGENERATE_JNI_HEADERS}" >&6; }
5593 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
5594 CREATE_JNI_HEADERS_TRUE=
5595 CREATE_JNI_HEADERS_FALSE='#'
5597 CREATE_JNI_HEADERS_TRUE='#'
5598 CREATE_JNI_HEADERS_FALSE=
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate the GJDoc parser" >&5
5603 $as_echo_n "checking whether to regenerate the GJDoc parser... " >&6; }
5604 # Check whether --enable-regen-gjdoc-parser was given.
5605 if test "${enable_regen_gjdoc_parser+set}" = set; then :
5606 enableval=$enable_regen_gjdoc_parser; case "${enableval}" in
5607 yes) REGENERATE_GJDOC_PARSER=yes ;;
5608 no) REGENERATE_GJDOC_PARSER=no ;;
5609 *) REGENERATE_GJDOC_PARSER=yes ;;
5612 if test -e ${srcdir}/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java; then
5613 REGENERATE_GJDOC_PARSER=no ;
5615 REGENERATE_GJDOC_PARSER=yes ;
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${REGENERATE_GJDOC_PARSER}" >&5
5620 $as_echo "${REGENERATE_GJDOC_PARSER}" >&6; }
5621 if test "x${REGENERATE_GJDOC_PARSER}" = xyes; then
5622 CREATE_GJDOC_PARSER_TRUE=
5623 CREATE_GJDOC_PARSER_FALSE='#'
5625 CREATE_GJDOC_PARSER_TRUE='#'
5626 CREATE_GJDOC_PARSER_FALSE=
5630 # Check whether --enable-tool-wrappers was given.
5631 if test "${enable_tool_wrappers+set}" = set; then :
5632 enableval=$enable_tool_wrappers; case x"${enableval}" in
5634 COMPILE_WRAPPERS=yes;
5635 for ac_header in ltdl.h
5637 ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default"
5638 if test "x$ac_cv_header_ltdl_h" = x""yes; then :
5639 cat >>confdefs.h <<_ACEOF
5640 #define HAVE_LTDL_H 1
5644 as_fn_error "cannot find ltdl.h" "$LINENO" 5
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlopen in -lltdl" >&5
5650 $as_echo_n "checking for lt_dlopen in -lltdl... " >&6; }
5651 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then :
5652 $as_echo_n "(cached) " >&6
5654 ac_check_lib_save_LIBS=$LIBS
5656 if test x$gcc_no_link = xyes; then
5657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5660 /* end confdefs.h. */
5662 /* Override any GCC internal prototype to avoid an error.
5663 Use char because int might match the return type of a GCC
5664 builtin and then its argument prototype would still apply. */
5672 return lt_dlopen ();
5677 if ac_fn_c_try_link "$LINENO"; then :
5678 ac_cv_lib_ltdl_lt_dlopen=yes
5680 ac_cv_lib_ltdl_lt_dlopen=no
5682 rm -f core conftest.err conftest.$ac_objext \
5683 conftest$ac_exeext conftest.$ac_ext
5684 LIBS=$ac_check_lib_save_LIBS
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5687 $as_echo "$ac_cv_lib_ltdl_lt_dlopen" >&6; }
5688 if test "x$ac_cv_lib_ltdl_lt_dlopen" = x""yes; then :
5689 cat >>confdefs.h <<_ACEOF
5690 #define HAVE_LIBLTDL 1
5696 as_fn_error "cannot find libltdl" "$LINENO" 5
5700 xno) COMPILE_WRAPPERS=no ;;
5701 x) COMPILE_WRAPPERS=yes ;;
5702 *) COMPILE_WRAPPERS=yes ;;
5708 if test "x${COMPILE_WRAPPERS}" = xyes; then
5709 CREATE_WRAPPERS_TRUE=
5710 CREATE_WRAPPERS_FALSE='#'
5712 CREATE_WRAPPERS_TRUE='#'
5713 CREATE_WRAPPERS_FALSE=
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5718 $as_echo_n "checking whether ln -s works... " >&6; }
5720 if test "$LN_S" = "ln -s"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5722 $as_echo "yes" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5725 $as_echo "no, using $LN_S" >&6; }
5731 # Check whether --enable-static was given.
5732 if test "${enable_static+set}" = set; then :
5733 enableval=$enable_static; p=${PACKAGE-default}
5735 yes) enable_static=yes ;;
5736 no) enable_static=no ;;
5739 # Look at the argument we got. We use all the common list separators.
5740 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5741 for pkg in $enableval; do
5743 if test "X$pkg" = "X$p"; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5765 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5770 macro_version='2.2.7a'
5771 macro_revision='1.3134'
5785 ltmain="$ac_aux_dir/ltmain.sh"
5787 # Backslashify metacharacters that are still active within
5788 # double-quoted strings.
5789 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5791 # Same as above, but do not quote variable references.
5792 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5794 # Sed substitution to delay expansion of an escaped shell variable in a
5795 # double_quote_subst'ed string.
5796 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5798 # Sed substitution to delay expansion of an escaped single quote.
5799 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5801 # Sed substitution to avoid accidental globbing in evaled expressions
5802 no_glob_subst='s/\*/\\\*/g'
5804 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5805 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5806 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5809 $as_echo_n "checking how to print
strings...
" >&6; }
5810 # Test print first, because it will be a builtin if present.
5811 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5812 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5814 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5817 # Use this function as a fallback that always works.
5818 func_fallback_echo ()
5820 eval 'cat <<_LTECHO_EOF
5824 ECHO='func_fallback_echo'
5827 # func_echo_all arg...
5828 # Invoke $ECHO with all args, space-separated.
5835 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5836 $as_echo "printf" >&6; } ;;
5837 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5838 $as_echo "print
-r" >&6; } ;;
5839 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5840 $as_echo "cat" >&6; } ;;
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5857 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5858 if test "${ac_cv_path_SED+set}" = set; then :
5859 $as_echo_n "(cached
) " >&6
5861 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5862 for ac_i in 1 2 3 4 5 6 7; do
5863 ac_script="$ac_script$as_nl$ac_script"
5865 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5866 { ac_script=; unset ac_script;}
5867 if test -z "$SED"; then
5868 ac_path_SED_found=false
5869 # Loop through the user's path and test for each of PROGNAME-LIST
5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874 test -z "$as_dir" && as_dir=.
5875 for ac_prog in sed gsed; do
5876 for ac_exec_ext in '' $ac_executable_extensions; do
5877 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5878 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5879 # Check for GNU ac_path_SED and select it if it is found.
5880 # Check for GNU $ac_path_SED
5881 case `"$ac_path_SED" --version 2>&1` in
5883 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5886 $as_echo_n 0123456789 >"conftest.
in"
5889 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5890 mv "conftest.tmp
" "conftest.
in"
5891 cp "conftest.
in" "conftest.
nl"
5892 $as_echo '' >> "conftest.
nl"
5893 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5894 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5895 as_fn_arith $ac_count + 1 && ac_count=$as_val
5896 if test $ac_count -gt ${ac_path_SED_max-0}; then
5897 # Best one so far, save it but keep looking for a better one
5898 ac_cv_path_SED="$ac_path_SED"
5899 ac_path_SED_max=$ac_count
5901 # 10*(2^10) chars as input seems more than enough
5902 test $ac_count -gt 10 && break
5904 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5907 $ac_path_SED_found && break 3
5912 if test -z "$ac_cv_path_SED"; then
5913 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5921 $as_echo "$ac_cv_path_SED" >&6; }
5922 SED="$ac_cv_path_SED"
5925 test -z "$SED" && SED=sed
5926 Xsed="$SED -e 1s
/^X
//"
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5939 $as_echo_n "checking
for fgrep...
" >&6; }
5940 if test "${ac_cv_path_FGREP+set}" = set; then :
5941 $as_echo_n "(cached
) " >&6
5943 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5944 then ac_cv_path_FGREP="$GREP -F"
5946 if test -z "$FGREP"; then
5947 ac_path_FGREP_found=false
5948 # Loop through the user's path and test for each of PROGNAME-LIST
5949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5953 test -z "$as_dir" && as_dir=.
5954 for ac_prog in fgrep; do
5955 for ac_exec_ext in '' $ac_executable_extensions; do
5956 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5957 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5958 # Check for GNU ac_path_FGREP and select it if it is found.
5959 # Check for GNU $ac_path_FGREP
5960 case `"$ac_path_FGREP" --version 2>&1` in
5962 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5965 $as_echo_n 0123456789 >"conftest.
in"
5968 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5969 mv "conftest.tmp
" "conftest.
in"
5970 cp "conftest.
in" "conftest.
nl"
5971 $as_echo 'FGREP' >> "conftest.
nl"
5972 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5973 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5974 as_fn_arith $ac_count + 1 && ac_count=$as_val
5975 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5976 # Best one so far, save it but keep looking for a better one
5977 ac_cv_path_FGREP="$ac_path_FGREP"
5978 ac_path_FGREP_max=$ac_count
5980 # 10*(2^10) chars as input seems more than enough
5981 test $ac_count -gt 10 && break
5983 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5986 $ac_path_FGREP_found && break 3
5991 if test -z "$ac_cv_path_FGREP"; then
5992 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5995 ac_cv_path_FGREP=$FGREP
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6001 $as_echo "$ac_cv_path_FGREP" >&6; }
6002 FGREP="$ac_cv_path_FGREP"
6005 test -z "$GREP" && GREP=grep
6025 # Check whether --with-gnu-ld was given.
6026 if test "${with_gnu_ld+set}" = set; then :
6027 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6033 if test "$GCC" = yes; then
6034 # Check if gcc -print-prog-name=ld gives a path.
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6036 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6039 # gcc leaves a trailing carriage return which upsets mingw
6040 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6042 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6045 # Accept absolute paths.
6047 re_direlt='/[^/][^/]*/\.\./'
6048 # Canonicalize the pathname of ld
6049 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6050 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6051 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6053 test -z "$LD" && LD="$ac_prog"
6056 # If it fails, then pretend we aren't using GCC.
6060 # If it is relative, then search for the first ld in PATH.
6064 elif test "$with_gnu_ld" = yes; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6066 $as_echo_n "checking
for GNU ld...
" >&6; }
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6069 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6071 if test "${lt_cv_path_LD+set}" = set; then :
6072 $as_echo_n "(cached
) " >&6
6074 if test -z "$LD"; then
6075 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6076 for ac_dir in $PATH; do
6078 test -z "$ac_dir" && ac_dir=.
6079 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6080 lt_cv_path_LD="$ac_dir/$ac_prog"
6081 # Check to see if the program is GNU ld. I'd rather use --version,
6082 # but apparently some variants of GNU ld only accept -v.
6083 # Break only if it was the GNU/non-GNU ld that we prefer.
6084 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6085 *GNU* | *'with BFD'*)
6086 test "$with_gnu_ld" != no && break
6089 test "$with_gnu_ld" != yes && break
6096 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6101 if test -n "$LD"; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6103 $as_echo "$LD" >&6; }
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6106 $as_echo "no
" >&6; }
6108 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6110 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6111 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6112 $as_echo_n "(cached
) " >&6
6114 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6115 case `$LD -v 2>&1 </dev/null` in
6116 *GNU* | *'with BFD'*)
6117 lt_cv_prog_gnu_ld=yes
6120 lt_cv_prog_gnu_ld=no
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6125 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6126 with_gnu_ld=$lt_cv_prog_gnu_ld
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6137 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6138 if test "${lt_cv_path_NM+set}" = set; then :
6139 $as_echo_n "(cached
) " >&6
6141 if test -n "$NM"; then
6142 # Let the user override the test.
6145 lt_nm_to_check="${ac_tool_prefix}nm
"
6146 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6147 lt_nm_to_check="$lt_nm_to_check nm
"
6149 for lt_tmp_nm in $lt_nm_to_check; do
6150 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6151 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6153 test -z "$ac_dir" && ac_dir=.
6154 tmp_nm="$ac_dir/$lt_tmp_nm"
6155 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6156 # Check to see if the nm accepts a BSD-compat flag.
6157 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6158 # nm: unknown option "B
" ignored
6159 # Tru64's nm complains that /dev/null is an invalid object file
6160 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6161 */dev/null* | *'Invalid file or object type'*)
6162 lt_cv_path_NM="$tmp_nm -B"
6166 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6168 lt_cv_path_NM="$tmp_nm -p"
6172 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6173 continue # so that we can try to find one that supports BSD flags
6182 : ${lt_cv_path_NM=no}
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6186 $as_echo "$lt_cv_path_NM" >&6; }
6187 if test "$lt_cv_path_NM" != "no
"; then
6190 # Didn't find any BSD compatible name lister, look for dumpbin.
6191 if test -n "$DUMPBIN"; then :
6192 # Let the user override the test.
6194 if test -n "$ac_tool_prefix"; then
6195 for ac_prog in dumpbin "link
-dump"
6197 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6198 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6200 $as_echo_n "checking
for $ac_word...
" >&6; }
6201 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6202 $as_echo_n "(cached
) " >&6
6204 if test -n "$DUMPBIN"; then
6205 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6211 test -z "$as_dir" && as_dir=.
6212 for ac_exec_ext in '' $ac_executable_extensions; do
6213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6214 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6215 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6224 DUMPBIN=$ac_cv_prog_DUMPBIN
6225 if test -n "$DUMPBIN"; then
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6227 $as_echo "$DUMPBIN" >&6; }
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6230 $as_echo "no
" >&6; }
6234 test -n "$DUMPBIN" && break
6237 if test -z "$DUMPBIN"; then
6238 ac_ct_DUMPBIN=$DUMPBIN
6239 for ac_prog in dumpbin "link
-dump"
6241 # Extract the first word of "$ac_prog", so it can be a program name with args.
6242 set dummy $ac_prog; ac_word=$2
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6244 $as_echo_n "checking
for $ac_word...
" >&6; }
6245 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6246 $as_echo_n "(cached
) " >&6
6248 if test -n "$ac_ct_DUMPBIN"; then
6249 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6255 test -z "$as_dir" && as_dir=.
6256 for ac_exec_ext in '' $ac_executable_extensions; do
6257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6258 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6259 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6268 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6269 if test -n "$ac_ct_DUMPBIN"; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6271 $as_echo "$ac_ct_DUMPBIN" >&6; }
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6274 $as_echo "no
" >&6; }
6278 test -n "$ac_ct_DUMPBIN" && break
6281 if test "x
$ac_ct_DUMPBIN" = x; then
6284 case $cross_compiling:$ac_tool_warned in
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6287 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6288 ac_tool_warned=yes ;;
6290 DUMPBIN=$ac_ct_DUMPBIN
6294 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6296 DUMPBIN="$DUMPBIN -symbols"
6304 if test "$DUMPBIN" != ":"; then
6308 test -z "$NM" && NM=nm
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6316 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6317 if test "${lt_cv_nm_interface+set}" = set; then :
6318 $as_echo_n "(cached
) " >&6
6320 lt_cv_nm_interface="BSD nm
"
6321 echo "int some_variable
= 0;" > conftest.$ac_ext
6322 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6323 (eval "$ac_compile" 2>conftest.err)
6324 cat conftest.err >&5
6325 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6326 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6327 cat conftest.err >&5
6328 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6329 cat conftest.out >&5
6330 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6331 lt_cv_nm_interface="MS dumpbin
"
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6336 $as_echo "$lt_cv_nm_interface" >&6; }
6338 # find the maximum length of command line arguments
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6340 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6341 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6342 $as_echo_n "(cached
) " >&6
6349 # On DJGPP, this test can blow up pretty badly due to problems in libc
6350 # (any single argument exceeding 2000 bytes causes a buffer overrun
6351 # during glob expansion). Even if it were fixed, the result of this
6352 # check would be larger than it should be.
6353 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6357 # Under GNU Hurd, this test is not required because there is
6358 # no limit to the length of command line arguments.
6359 # Libtool will interpret -1 as no limit whatsoever
6360 lt_cv_sys_max_cmd_len=-1;
6363 cygwin* | mingw* | cegcc*)
6364 # On Win9x/ME, this test blows up -- it succeeds, but takes
6365 # about 5 minutes as the teststring grows exponentially.
6366 # Worse, since 9x/ME are not pre-emptively multitasking,
6367 # you end up with a "frozen
" computer, even though with patience
6368 # the test eventually succeeds (with a max line length of 256k).
6369 # Instead, let's just punt: use the minimum linelength reported by
6370 # all of the supported platforms: 8192 (on NT/2K/XP).
6371 lt_cv_sys_max_cmd_len=8192;
6375 # On MiNT this can take a long time and run out of memory.
6376 lt_cv_sys_max_cmd_len=8192;
6380 # On AmigaOS with pdksh, this test takes hours, literally.
6381 # So we just punt and use a minimum line length of 8192.
6382 lt_cv_sys_max_cmd_len=8192;
6385 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6386 # This has been around since 386BSD, at least. Likely further.
6387 if test -x /sbin/sysctl; then
6388 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6389 elif test -x /usr/sbin/sysctl; then
6390 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6392 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6394 # And add a safety zone
6395 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6396 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6400 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6401 lt_cv_sys_max_cmd_len=196608
6405 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6406 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6407 # nice to cause kernel panics so lets avoid the loop below.
6408 # First set a reasonable default.
6409 lt_cv_sys_max_cmd_len=16384
6411 if test -x /sbin/sysconfig; then
6412 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6413 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6418 lt_cv_sys_max_cmd_len=102400
6420 sysv5* | sco5v6* | sysv4.2uw2*)
6421 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6422 if test -n "$kargmax"; then
6423 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6425 lt_cv_sys_max_cmd_len=32768
6429 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6430 if test -n "$lt_cv_sys_max_cmd_len"; then
6431 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6432 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6434 # Make teststring a little bigger before we do anything with it.
6435 # a 1K string should be a reasonable start.
6436 for i in 1 2 3 4 5 6 7 8 ; do
6437 teststring=$teststring$teststring
6439 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6440 # If test is not a shell built-in, we'll probably end up computing a
6441 # maximum length that is only half of the actual maximum length, but
6443 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6444 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6445 test $i != 17 # 1/2 MB should be enough
6448 teststring=$teststring$teststring
6450 # Only check the string length outside the loop.
6451 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6453 # Add a significant safety factor because C++ compilers can tack on
6454 # massive amounts of additional arguments before passing them to the
6455 # linker. It appears as though 1/2 is a usable value.
6456 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6463 if test -n $lt_cv_sys_max_cmd_len ; then
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6465 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6468 $as_echo "none
" >&6; }
6470 max_cmd_len=$lt_cv_sys_max_cmd_len
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6482 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6483 # Try some XSI features
6486 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6488 && eval 'test $(( 1 + 1 )) -eq 2 \
6489 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6492 $as_echo "$xsi_shell" >&6; }
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6496 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6498 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6500 && lt_shell_append
=yes
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6502 $as_echo "$lt_shell_append" >&6; }
6505 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6515 # test EBCDIC or ASCII
6516 case `echo X|tr X '\101'` in
6517 A
) # ASCII based system
6518 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6519 lt_SP2NL
='tr \040 \012'
6520 lt_NL2SP
='tr \015\012 \040\040'
6522 *) # EBCDIC based system
6523 lt_SP2NL
='tr \100 \n'
6524 lt_NL2SP
='tr \r\n \100\100'
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6537 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6538 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6539 $as_echo_n "(cached) " >&6
6541 lt_cv_ld_reload_flag
='-r'
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6544 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6545 reload_flag
=$lt_cv_ld_reload_flag
6546 case $reload_flag in
6548 *) reload_flag
=" $reload_flag" ;;
6550 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6553 if test "$GCC" = yes; then
6554 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6556 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6569 if test -n "$ac_tool_prefix"; then
6570 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6571 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6577 if test -n "$OBJDUMP"; then
6578 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6584 test -z "$as_dir" && as_dir
=.
6585 for ac_exec_ext
in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6597 OBJDUMP
=$ac_cv_prog_OBJDUMP
6598 if test -n "$OBJDUMP"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6600 $as_echo "$OBJDUMP" >&6; }
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6608 if test -z "$ac_cv_prog_OBJDUMP"; then
6609 ac_ct_OBJDUMP
=$OBJDUMP
6610 # Extract the first word of "objdump", so it can be a program name with args.
6611 set dummy objdump
; ac_word
=$2
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6613 $as_echo_n "checking for $ac_word... " >&6; }
6614 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6615 $as_echo_n "(cached) " >&6
6617 if test -n "$ac_ct_OBJDUMP"; then
6618 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6624 test -z "$as_dir" && as_dir
=.
6625 for ac_exec_ext
in '' $ac_executable_extensions; do
6626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6627 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6638 if test -n "$ac_ct_OBJDUMP"; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6640 $as_echo "$ac_ct_OBJDUMP" >&6; }
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 $as_echo "no" >&6; }
6646 if test "x$ac_ct_OBJDUMP" = x
; then
6649 case $cross_compiling:$ac_tool_warned in
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6653 ac_tool_warned
=yes ;;
6655 OBJDUMP
=$ac_ct_OBJDUMP
6658 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6661 test -z "$OBJDUMP" && OBJDUMP
=objdump
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6672 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6673 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6674 $as_echo_n "(cached) " >&6
6676 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6677 lt_cv_file_magic_test_file
=
6678 lt_cv_deplibs_check_method
='unknown'
6679 # Need to set the preceding variable on all platforms that support
6680 # interlibrary dependencies.
6681 # 'none' -- dependencies not supported.
6682 # `unknown' -- same as none, but documents that we really don't know.
6683 # 'pass_all' -- all dependencies passed with no checks.
6684 # 'test_compile' -- check by making test program.
6685 # 'file_magic [[regex]]' -- check by looking for files in library path
6686 # which responds to the $file_magic_cmd with a given extended regex.
6687 # If you have `file' or equivalent on your system and you're not sure
6688 # whether `pass_all' will *always* work, you probably want this one.
6692 lt_cv_deplibs_check_method
=pass_all
6696 lt_cv_deplibs_check_method
=pass_all
6700 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6701 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6702 lt_cv_file_magic_test_file
=/shlib
/libc.so
6706 # func_win32_libid is a shell function defined in ltmain.sh
6707 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6708 lt_cv_file_magic_cmd
='func_win32_libid'
6712 # Base MSYS/MinGW do not provide the 'file' command needed by
6713 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6714 # unless we find 'file', for example because we are cross-compiling.
6715 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6716 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6717 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6718 lt_cv_file_magic_cmd
='func_win32_libid'
6720 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6721 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6726 # use the weaker test based on 'objdump'. See mingw*.
6727 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6728 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6731 darwin
* | rhapsody
*)
6732 lt_cv_deplibs_check_method
=pass_all
6735 freebsd
* | dragonfly
*)
6736 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6739 # Not sure whether the presence of OpenBSD here was a mistake.
6740 # Let's accept both of them until this is cleared up.
6741 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6742 lt_cv_file_magic_cmd
=/usr
/bin
/file
6743 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6747 lt_cv_deplibs_check_method
=pass_all
6752 lt_cv_deplibs_check_method
=pass_all
6756 lt_cv_deplibs_check_method
=pass_all
6759 hpux10.20
* | hpux11
*)
6760 lt_cv_file_magic_cmd
=/usr
/bin
/file
6763 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6764 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6767 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6768 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6771 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6772 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6778 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6779 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6782 irix5
* | irix6
* | nonstopux
*)
6784 *-32|
*"-32 ") libmagic
=32-bit;;
6785 *-n32|
*"-n32 ") libmagic
=N32
;;
6786 *-64|
*"-64 ") libmagic
=64-bit;;
6787 *) libmagic
=never-match
;;
6789 lt_cv_deplibs_check_method
=pass_all
6792 # This must be Linux ELF.
6793 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6794 lt_cv_deplibs_check_method
=pass_all
6798 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6799 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6801 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6806 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6807 lt_cv_file_magic_cmd
=/usr
/bin
/file
6808 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6812 lt_cv_deplibs_check_method
=pass_all
6816 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6817 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6819 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6823 osf3
* | osf4
* | osf5
*)
6824 lt_cv_deplibs_check_method
=pass_all
6828 lt_cv_deplibs_check_method
=pass_all
6832 lt_cv_deplibs_check_method
=pass_all
6835 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6836 lt_cv_deplibs_check_method
=pass_all
6840 case $host_vendor in
6842 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]'
6843 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6846 lt_cv_deplibs_check_method
=pass_all
6849 lt_cv_file_magic_cmd
='/bin/file'
6850 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6853 lt_cv_file_magic_cmd
='/bin/file'
6854 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6855 lt_cv_file_magic_test_file
=/lib
/libc.so
6858 lt_cv_deplibs_check_method
=pass_all
6861 lt_cv_deplibs_check_method
=pass_all
6867 lt_cv_deplibs_check_method
=pass_all
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6873 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6874 file_magic_cmd
=$lt_cv_file_magic_cmd
6875 deplibs_check_method
=$lt_cv_deplibs_check_method
6876 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6889 if test -n "$ac_tool_prefix"; then
6890 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6891 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6893 $as_echo_n "checking for $ac_word... " >&6; }
6894 if test "${ac_cv_prog_AR+set}" = set; then :
6895 $as_echo_n "(cached) " >&6
6897 if test -n "$AR"; then
6898 ac_cv_prog_AR
="$AR" # Let the user override the test.
6900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6904 test -z "$as_dir" && as_dir
=.
6905 for ac_exec_ext
in '' $ac_executable_extensions; do
6906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6907 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6918 if test -n "$AR"; then
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6920 $as_echo "$AR" >&6; }
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6923 $as_echo "no" >&6; }
6928 if test -z "$ac_cv_prog_AR"; then
6930 # Extract the first word of "ar", so it can be a program name with args.
6931 set dummy
ar; ac_word
=$2
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6933 $as_echo_n "checking for $ac_word... " >&6; }
6934 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6935 $as_echo_n "(cached) " >&6
6937 if test -n "$ac_ct_AR"; then
6938 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6944 test -z "$as_dir" && as_dir
=.
6945 for ac_exec_ext
in '' $ac_executable_extensions; do
6946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6947 ac_cv_prog_ac_ct_AR
="ar"
6948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6957 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6958 if test -n "$ac_ct_AR"; then
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6960 $as_echo "$ac_ct_AR" >&6; }
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6963 $as_echo "no" >&6; }
6966 if test "x$ac_ct_AR" = x
; then
6969 case $cross_compiling:$ac_tool_warned in
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6973 ac_tool_warned
=yes ;;
6981 test -z "$AR" && AR
=ar
6982 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6994 if test -n "$ac_tool_prefix"; then
6995 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6996 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6998 $as_echo_n "checking for $ac_word... " >&6; }
6999 if test "${ac_cv_prog_STRIP+set}" = set; then :
7000 $as_echo_n "(cached) " >&6
7002 if test -n "$STRIP"; then
7003 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7009 test -z "$as_dir" && as_dir
=.
7010 for ac_exec_ext
in '' $ac_executable_extensions; do
7011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7012 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7022 STRIP
=$ac_cv_prog_STRIP
7023 if test -n "$STRIP"; then
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7025 $as_echo "$STRIP" >&6; }
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7028 $as_echo "no" >&6; }
7033 if test -z "$ac_cv_prog_STRIP"; then
7035 # Extract the first word of "strip", so it can be a program name with args.
7036 set dummy strip
; ac_word
=$2
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7038 $as_echo_n "checking for $ac_word... " >&6; }
7039 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7040 $as_echo_n "(cached) " >&6
7042 if test -n "$ac_ct_STRIP"; then
7043 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7049 test -z "$as_dir" && as_dir
=.
7050 for ac_exec_ext
in '' $ac_executable_extensions; do
7051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7052 ac_cv_prog_ac_ct_STRIP
="strip"
7053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7062 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7063 if test -n "$ac_ct_STRIP"; then
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7065 $as_echo "$ac_ct_STRIP" >&6; }
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7068 $as_echo "no" >&6; }
7071 if test "x$ac_ct_STRIP" = x
; then
7074 case $cross_compiling:$ac_tool_warned in
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7078 ac_tool_warned
=yes ;;
7083 STRIP
="$ac_cv_prog_STRIP"
7086 test -z "$STRIP" && STRIP
=:
7093 if test -n "$ac_tool_prefix"; then
7094 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7095 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097 $as_echo_n "checking for $ac_word... " >&6; }
7098 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7099 $as_echo_n "(cached) " >&6
7101 if test -n "$RANLIB"; then
7102 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7108 test -z "$as_dir" && as_dir
=.
7109 for ac_exec_ext
in '' $ac_executable_extensions; do
7110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7111 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121 RANLIB
=$ac_cv_prog_RANLIB
7122 if test -n "$RANLIB"; then
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7124 $as_echo "$RANLIB" >&6; }
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 $as_echo "no" >&6; }
7132 if test -z "$ac_cv_prog_RANLIB"; then
7133 ac_ct_RANLIB
=$RANLIB
7134 # Extract the first word of "ranlib", so it can be a program name with args.
7135 set dummy ranlib
; ac_word
=$2
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 $as_echo_n "checking for $ac_word... " >&6; }
7138 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7139 $as_echo_n "(cached) " >&6
7141 if test -n "$ac_ct_RANLIB"; then
7142 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7148 test -z "$as_dir" && as_dir
=.
7149 for ac_exec_ext
in '' $ac_executable_extensions; do
7150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7151 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7162 if test -n "$ac_ct_RANLIB"; then
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7164 $as_echo "$ac_ct_RANLIB" >&6; }
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7167 $as_echo "no" >&6; }
7170 if test "x$ac_ct_RANLIB" = x
; then
7173 case $cross_compiling:$ac_tool_warned in
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7177 ac_tool_warned
=yes ;;
7179 RANLIB
=$ac_ct_RANLIB
7182 RANLIB
="$ac_cv_prog_RANLIB"
7185 test -z "$RANLIB" && RANLIB
=:
7192 # Determine commands to create old-style static archives.
7193 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7194 old_postinstall_cmds
='chmod 644 $oldlib'
7195 old_postuninstall_cmds
=
7197 if test -n "$RANLIB"; then
7200 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7203 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7206 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7211 lock_old_archive_extraction
=yes ;;
7213 lock_old_archive_extraction
=no
;;
7254 # If no C compiler was specified, use CC.
7257 # If no C compiler flags were specified, use CFLAGS.
7258 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7260 # Allow CC to be a program name with arguments.
7264 # Check for command to grab the raw symbol name followed by C symbol from nm.
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7266 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7267 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7268 $as_echo_n "(cached) " >&6
7271 # These are sane defaults that work on at least a few old systems.
7272 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7274 # Character class describing NM global symbol codes.
7275 symcode
='[BCDEGRST]'
7277 # Regexp to match symbols that can be accessed directly from C.
7278 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7280 # Define system-specific variables.
7285 cygwin
* | mingw
* | pw32
* | cegcc
*)
7286 symcode
='[ABCDGISTW]'
7289 if test "$host_cpu" = ia64
; then
7290 symcode
='[ABCDEGRST]'
7294 symcode
='[BCDEGRST]'
7297 symcode
='[BCDEGQRST]'
7308 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7316 # If we're using GNU nm, then use its standard symbol codes.
7317 case `$NM -V 2>&1` in
7318 *GNU
* |
*'with BFD'*)
7319 symcode
='[ABCDGIRSTW]' ;;
7322 # Transform an extracted symbol line into a proper C declaration.
7323 # Some systems (esp. on ia64) link data and code symbols differently,
7324 # so use this general approach.
7325 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7327 # Transform an extracted symbol line into symbol name and symbol address
7328 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7329 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'"
7331 # Handle CRLF in mingw tool chain
7335 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7339 # Try without a prefix underscore, then with it.
7340 for ac_symprfx
in "" "_"; do
7342 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7343 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7345 # Write the raw and C identifiers.
7346 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7347 # Fake it for dumpbin and say T for any non-static function
7348 # and D for any global variable.
7349 # Also find C++ and __fastcall symbols from MSVC++,
7350 # which start with @ or ?.
7351 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7352 " {last_section=section; section=\$ 3};"\
7353 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7354 " \$ 0!~/External *\|/{next};"\
7355 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7356 " {if(hide[section]) next};"\
7357 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7358 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7359 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7360 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7361 " ' prfx=^$ac_symprfx"
7363 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7366 # Check to see that the pipe works correctly.
7370 cat > conftest.
$ac_ext <<_LT_EOF
7375 void nm_test_func(void);
7376 void nm_test_func(void){}
7380 int main(){nm_test_var='a';nm_test_func();return(0);}
7383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7384 (eval $ac_compile) 2>&5
7386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7387 test $ac_status = 0; }; then
7388 # Now try to grab the symbols.
7390 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7391 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7394 test $ac_status = 0; } && test -s "$nlist"; then
7395 # Try sorting and uniquifying the output.
7396 if sort "$nlist" |
uniq > "$nlist"T
; then
7397 mv -f "$nlist"T
"$nlist"
7402 # Make sure that we snagged all the symbols we need.
7403 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7404 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7405 cat <<_LT_EOF > conftest.$ac_ext
7411 # Now generate the symbol file.
7412 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7414 cat <<_LT_EOF >> conftest.$ac_ext
7416 /* The mapping between symbol names and symbols. */
7421 lt__PROGRAM__LTX_preloaded_symbols[] =
7423 { "@PROGRAM@", (void *) 0 },
7425 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7426 cat <<\_LT_EOF
>> conftest.
$ac_ext
7430 /* This works around a problem
in FreeBSD linker
*/
7431 #ifdef FREEBSD_WORKAROUND
7432 static const void
*lt_preloaded_setup
() {
7433 return lt__PROGRAM__LTX_preloaded_symbols
;
7441 # Now try linking the two files.
7442 mv conftest.
$ac_objext conftstm.
$ac_objext
7443 lt_save_LIBS
="$LIBS"
7444 lt_save_CFLAGS
="$CFLAGS"
7445 LIBS
="conftstm.$ac_objext"
7446 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7448 (eval $ac_link) 2>&5
7450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7451 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7454 LIBS
="$lt_save_LIBS"
7455 CFLAGS
="$lt_save_CFLAGS"
7457 echo "cannot find nm_test_func in $nlist" >&5
7460 echo "cannot find nm_test_var in $nlist" >&5
7463 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7466 echo "$progname: failed program was:" >&5
7467 cat conftest.
$ac_ext >&5
7469 rm -rf conftest
* conftst
*
7471 # Do not use the global_symbol_pipe unless it works.
7472 if test "$pipe_works" = yes; then
7475 lt_cv_sys_global_symbol_pipe
=
7481 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7482 lt_cv_sys_global_symbol_to_cdecl
=
7484 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7486 $as_echo "failed" >&6; }
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7489 $as_echo "ok" >&6; }
7513 # Check whether --enable-libtool-lock was given.
7514 if test "${enable_libtool_lock+set}" = set; then :
7515 enableval
=$enable_libtool_lock;
7518 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7520 # Some flags need to be propagated to the compiler or linker for good
7524 # Find out which ABI we are using.
7525 echo 'int i;' > conftest.
$ac_ext
7526 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7527 (eval $ac_compile) 2>&5
7529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7530 test $ac_status = 0; }; then
7531 case `/usr/bin/file conftest.$ac_objext` in
7543 # Find out which ABI we are using.
7544 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7546 (eval $ac_compile) 2>&5
7548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7549 test $ac_status = 0; }; then
7550 if test "$lt_cv_prog_gnu_ld" = yes; then
7551 case `/usr/bin/file conftest.$ac_objext` in
7553 LD
="${LD-ld} -melf32bsmip"
7556 LD
="${LD-ld} -melf32bmipn32"
7559 LD
="${LD-ld} -melf64bmip"
7563 case `/usr/bin/file conftest.$ac_objext` in
7579 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
7580 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7581 # Find out which ABI we are using.
7582 echo 'int i;' > conftest.
$ac_ext
7583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7584 (eval $ac_compile) 2>&5
7586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7587 test $ac_status = 0; }; then
7588 case `/usr/bin/file conftest.o` in
7591 x86_64-
*kfreebsd
*-gnu)
7592 LD
="${LD-ld} -m elf_i386_fbsd"
7595 LD
="${LD-ld} -m elf_i386"
7597 ppc64-
*linux
*|powerpc64-
*linux
*)
7598 LD
="${LD-ld} -m elf32ppclinux"
7601 LD
="${LD-ld} -m elf_s390"
7604 LD
="${LD-ld} -m elf32_sparc"
7610 x86_64-
*kfreebsd
*-gnu)
7611 LD
="${LD-ld} -m elf_x86_64_fbsd"
7614 LD
="${LD-ld} -m elf_x86_64"
7616 ppc
*-*linux
*|powerpc
*-*linux
*)
7617 LD
="${LD-ld} -m elf64ppc"
7619 s390
*-*linux
*|s390
*-*tpf
*)
7620 LD
="${LD-ld} -m elf64_s390"
7623 LD
="${LD-ld} -m elf64_sparc"
7633 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7634 SAVE_CFLAGS
="$CFLAGS"
7635 CFLAGS
="$CFLAGS -belf"
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7637 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7638 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7639 $as_echo_n "(cached) " >&6
7642 ac_cpp
='$CPP $CPPFLAGS'
7643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7647 if test x
$gcc_no_link = xyes
; then
7648 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7661 if ac_fn_c_try_link
"$LINENO"; then :
7662 lt_cv_cc_needs_belf
=yes
7664 lt_cv_cc_needs_belf
=no
7666 rm -f core conftest.err conftest.
$ac_objext \
7667 conftest
$ac_exeext conftest.
$ac_ext
7669 ac_cpp
='$CPP $CPPFLAGS'
7670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7676 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7677 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7678 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7679 CFLAGS
="$SAVE_CFLAGS"
7683 # Find out which ABI we are using.
7684 echo 'int i;' > conftest.
$ac_ext
7685 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7686 (eval $ac_compile) 2>&5
7688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7689 test $ac_status = 0; }; then
7690 case `/usr/bin/file conftest.o` in
7692 case $lt_cv_prog_gnu_ld in
7693 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7695 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7707 need_locks
="$enable_libtool_lock"
7711 rhapsody
* | darwin
*)
7712 if test -n "$ac_tool_prefix"; then
7713 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7714 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7716 $as_echo_n "checking for $ac_word... " >&6; }
7717 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7718 $as_echo_n "(cached) " >&6
7720 if test -n "$DSYMUTIL"; then
7721 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7727 test -z "$as_dir" && as_dir
=.
7728 for ac_exec_ext
in '' $ac_executable_extensions; do
7729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7730 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7740 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7741 if test -n "$DSYMUTIL"; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7743 $as_echo "$DSYMUTIL" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7746 $as_echo "no" >&6; }
7751 if test -z "$ac_cv_prog_DSYMUTIL"; then
7752 ac_ct_DSYMUTIL
=$DSYMUTIL
7753 # Extract the first word of "dsymutil", so it can be a program name with args.
7754 set dummy dsymutil
; ac_word
=$2
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7756 $as_echo_n "checking for $ac_word... " >&6; }
7757 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7758 $as_echo_n "(cached) " >&6
7760 if test -n "$ac_ct_DSYMUTIL"; then
7761 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7767 test -z "$as_dir" && as_dir
=.
7768 for ac_exec_ext
in '' $ac_executable_extensions; do
7769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7770 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7781 if test -n "$ac_ct_DSYMUTIL"; then
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7783 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7786 $as_echo "no" >&6; }
7789 if test "x$ac_ct_DSYMUTIL" = x
; then
7792 case $cross_compiling:$ac_tool_warned in
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7796 ac_tool_warned
=yes ;;
7798 DSYMUTIL
=$ac_ct_DSYMUTIL
7801 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7804 if test -n "$ac_tool_prefix"; then
7805 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7806 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7808 $as_echo_n "checking for $ac_word... " >&6; }
7809 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7810 $as_echo_n "(cached) " >&6
7812 if test -n "$NMEDIT"; then
7813 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7819 test -z "$as_dir" && as_dir
=.
7820 for ac_exec_ext
in '' $ac_executable_extensions; do
7821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7822 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7832 NMEDIT
=$ac_cv_prog_NMEDIT
7833 if test -n "$NMEDIT"; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7835 $as_echo "$NMEDIT" >&6; }
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7838 $as_echo "no" >&6; }
7843 if test -z "$ac_cv_prog_NMEDIT"; then
7844 ac_ct_NMEDIT
=$NMEDIT
7845 # Extract the first word of "nmedit", so it can be a program name with args.
7846 set dummy nmedit
; ac_word
=$2
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7848 $as_echo_n "checking for $ac_word... " >&6; }
7849 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7850 $as_echo_n "(cached) " >&6
7852 if test -n "$ac_ct_NMEDIT"; then
7853 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7859 test -z "$as_dir" && as_dir
=.
7860 for ac_exec_ext
in '' $ac_executable_extensions; do
7861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7862 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7872 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7873 if test -n "$ac_ct_NMEDIT"; then
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7875 $as_echo "$ac_ct_NMEDIT" >&6; }
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7878 $as_echo "no" >&6; }
7881 if test "x$ac_ct_NMEDIT" = x
; then
7884 case $cross_compiling:$ac_tool_warned in
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7888 ac_tool_warned
=yes ;;
7890 NMEDIT
=$ac_ct_NMEDIT
7893 NMEDIT
="$ac_cv_prog_NMEDIT"
7896 if test -n "$ac_tool_prefix"; then
7897 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7898 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7900 $as_echo_n "checking for $ac_word... " >&6; }
7901 if test "${ac_cv_prog_LIPO+set}" = set; then :
7902 $as_echo_n "(cached) " >&6
7904 if test -n "$LIPO"; then
7905 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7911 test -z "$as_dir" && as_dir
=.
7912 for ac_exec_ext
in '' $ac_executable_extensions; do
7913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7914 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7924 LIPO
=$ac_cv_prog_LIPO
7925 if test -n "$LIPO"; then
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7927 $as_echo "$LIPO" >&6; }
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7930 $as_echo "no" >&6; }
7935 if test -z "$ac_cv_prog_LIPO"; then
7937 # Extract the first word of "lipo", so it can be a program name with args.
7938 set dummy lipo
; ac_word
=$2
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7940 $as_echo_n "checking for $ac_word... " >&6; }
7941 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7942 $as_echo_n "(cached) " >&6
7944 if test -n "$ac_ct_LIPO"; then
7945 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7951 test -z "$as_dir" && as_dir
=.
7952 for ac_exec_ext
in '' $ac_executable_extensions; do
7953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7954 ac_cv_prog_ac_ct_LIPO
="lipo"
7955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7964 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7965 if test -n "$ac_ct_LIPO"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7967 $as_echo "$ac_ct_LIPO" >&6; }
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7970 $as_echo "no" >&6; }
7973 if test "x$ac_ct_LIPO" = x
; then
7976 case $cross_compiling:$ac_tool_warned in
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7980 ac_tool_warned
=yes ;;
7985 LIPO
="$ac_cv_prog_LIPO"
7988 if test -n "$ac_tool_prefix"; then
7989 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7990 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7992 $as_echo_n "checking for $ac_word... " >&6; }
7993 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7994 $as_echo_n "(cached) " >&6
7996 if test -n "$OTOOL"; then
7997 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8003 test -z "$as_dir" && as_dir
=.
8004 for ac_exec_ext
in '' $ac_executable_extensions; do
8005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8006 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8016 OTOOL
=$ac_cv_prog_OTOOL
8017 if test -n "$OTOOL"; then
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8019 $as_echo "$OTOOL" >&6; }
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8022 $as_echo "no" >&6; }
8027 if test -z "$ac_cv_prog_OTOOL"; then
8029 # Extract the first word of "otool", so it can be a program name with args.
8030 set dummy otool
; ac_word
=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8032 $as_echo_n "checking for $ac_word... " >&6; }
8033 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8034 $as_echo_n "(cached) " >&6
8036 if test -n "$ac_ct_OTOOL"; then
8037 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8043 test -z "$as_dir" && as_dir
=.
8044 for ac_exec_ext
in '' $ac_executable_extensions; do
8045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8046 ac_cv_prog_ac_ct_OTOOL
="otool"
8047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8056 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8057 if test -n "$ac_ct_OTOOL"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8059 $as_echo "$ac_ct_OTOOL" >&6; }
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062 $as_echo "no" >&6; }
8065 if test "x$ac_ct_OTOOL" = x
; then
8068 case $cross_compiling:$ac_tool_warned in
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8072 ac_tool_warned
=yes ;;
8077 OTOOL
="$ac_cv_prog_OTOOL"
8080 if test -n "$ac_tool_prefix"; then
8081 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8082 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8084 $as_echo_n "checking for $ac_word... " >&6; }
8085 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8086 $as_echo_n "(cached) " >&6
8088 if test -n "$OTOOL64"; then
8089 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8095 test -z "$as_dir" && as_dir
=.
8096 for ac_exec_ext
in '' $ac_executable_extensions; do
8097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8098 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8108 OTOOL64
=$ac_cv_prog_OTOOL64
8109 if test -n "$OTOOL64"; then
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8111 $as_echo "$OTOOL64" >&6; }
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8114 $as_echo "no" >&6; }
8119 if test -z "$ac_cv_prog_OTOOL64"; then
8120 ac_ct_OTOOL64
=$OTOOL64
8121 # Extract the first word of "otool64", so it can be a program name with args.
8122 set dummy otool64
; ac_word
=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8124 $as_echo_n "checking for $ac_word... " >&6; }
8125 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8126 $as_echo_n "(cached) " >&6
8128 if test -n "$ac_ct_OTOOL64"; then
8129 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8135 test -z "$as_dir" && as_dir
=.
8136 for ac_exec_ext
in '' $ac_executable_extensions; do
8137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8138 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8148 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8149 if test -n "$ac_ct_OTOOL64"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8151 $as_echo "$ac_ct_OTOOL64" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8157 if test "x$ac_ct_OTOOL64" = x
; then
8160 case $cross_compiling:$ac_tool_warned in
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8164 ac_tool_warned
=yes ;;
8166 OTOOL64
=$ac_ct_OTOOL64
8169 OTOOL64
="$ac_cv_prog_OTOOL64"
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8199 $as_echo_n "checking for -single_module linker flag... " >&6; }
8200 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8201 $as_echo_n "(cached) " >&6
8203 lt_cv_apple_cc_single_mod
=no
8204 if test -z "${LT_MULTI_MODULE}"; then
8205 # By default we will add the -single_module flag. You can override
8206 # by either setting the environment variable LT_MULTI_MODULE
8207 # non-empty at configure time, or by adding -multi_module to the
8209 rm -rf libconftest.dylib
*
8210 echo "int foo(void){return 1;}" > conftest.c
8211 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8212 -dynamiclib -Wl,-single_module conftest.c" >&5
8213 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8214 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8216 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8217 lt_cv_apple_cc_single_mod
=yes
8219 cat conftest.err
>&5
8221 rm -rf libconftest.dylib
*
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8226 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8228 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8229 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8230 $as_echo_n "(cached) " >&6
8232 lt_cv_ld_exported_symbols_list
=no
8233 save_LDFLAGS
=$LDFLAGS
8234 echo "_main" > conftest.sym
8235 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8236 if test x
$gcc_no_link = xyes
; then
8237 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8240 /* end confdefs.h. */
8250 if ac_fn_c_try_link
"$LINENO"; then :
8251 lt_cv_ld_exported_symbols_list
=yes
8253 lt_cv_ld_exported_symbols_list
=no
8255 rm -f core conftest.err conftest.
$ac_objext \
8256 conftest
$ac_exeext conftest.
$ac_ext
8257 LDFLAGS
="$save_LDFLAGS"
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8261 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8263 $as_echo_n "checking for -force_load linker flag... " >&6; }
8264 if test "${lt_cv_ld_force_load+set}" = set; then :
8265 $as_echo_n "(cached) " >&6
8267 lt_cv_ld_force_load
=no
8268 cat > conftest.c
<< _LT_EOF
8269 int forced_loaded() { return 2;}
8271 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8272 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8273 echo "$AR cru libconftest.a conftest.o" >&5
8274 $AR cru libconftest.a conftest.o
2>&5
8275 cat > conftest.c
<< _LT_EOF
8276 int main() { return 0;}
8278 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8279 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8281 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8282 lt_cv_ld_force_load
=yes
8284 cat conftest.err
>&5
8286 rm -f conftest.err libconftest.a conftest conftest.c
8287 rm -rf conftest.dSYM
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8291 $as_echo "$lt_cv_ld_force_load" >&6; }
8293 rhapsody
* | darwin1.
[012])
8294 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8296 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8297 darwin
*) # darwin 5.x on
8298 # if running on 10.5 or later, the deployment target defaults
8299 # to the OS version, if on x86, and 10.4, the deployment
8300 # target defaults to 10.4. Don't you love it?
8301 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8302 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8303 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8305 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8307 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8311 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8312 _lt_dar_single_mod
='$single_module'
8314 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8315 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8317 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8319 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8320 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8327 for ac_header
in dlfcn.h
8329 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8331 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8332 cat >>confdefs.h
<<_ACEOF
8333 #define HAVE_DLFCN_H 1
8354 # Check whether --enable-shared was given.
8355 if test "${enable_shared+set}" = set; then :
8356 enableval
=$enable_shared; p
=${PACKAGE-default}
8358 yes) enable_shared
=yes ;;
8359 no
) enable_shared
=no
;;
8362 # Look at the argument we got. We use all the common list separators.
8363 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8364 for pkg
in $enableval; do
8366 if test "X$pkg" = "X$p"; then
8387 # Check whether --with-pic was given.
8388 if test "${with_pic+set}" = set; then :
8389 withval
=$with_pic; pic_mode
="$withval"
8395 test -z "$pic_mode" && pic_mode
=default
8403 # Check whether --enable-fast-install was given.
8404 if test "${enable_fast_install+set}" = set; then :
8405 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8407 yes) enable_fast_install
=yes ;;
8408 no
) enable_fast_install
=no
;;
8410 enable_fast_install
=no
8411 # Look at the argument we got. We use all the common list separators.
8412 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8413 for pkg
in $enableval; do
8415 if test "X$pkg" = "X$p"; then
8416 enable_fast_install
=yes
8423 enable_fast_install
=yes
8436 # This can be used to rebuild libtool when needed
8437 LIBTOOL_DEPS
="$ltmain"
8439 # Always use our own libtool.
8440 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8467 test -z "$LN_S" && LN_S
="ln -s"
8482 if test -n "${ZSH_VERSION+set}" ; then
8483 setopt NO_GLOB_SUBST
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8487 $as_echo_n "checking for objdir... " >&6; }
8488 if test "${lt_cv_objdir+set}" = set; then :
8489 $as_echo_n "(cached) " >&6
8491 rm -f .libs
2>/dev
/null
8492 mkdir .libs
2>/dev
/null
8493 if test -d .libs
; then
8496 # MS-DOS does not allow filenames that begin with a dot.
8499 rmdir .libs
2>/dev
/null
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8502 $as_echo "$lt_cv_objdir" >&6; }
8503 objdir
=$lt_cv_objdir
8509 cat >>confdefs.h
<<_ACEOF
8510 #define LT_OBJDIR "$lt_cv_objdir/"
8518 # AIX sometimes has problems with the GCC collect2 program. For some
8519 # reason, if we set the COLLECT_NAMES environment variable, the problems
8520 # vanish in a puff of smoke.
8521 if test "X${COLLECT_NAMES+set}" != Xset
; then
8523 export COLLECT_NAMES
8530 can_build_shared
=yes
8532 # All known linkers require a `.a' archive for static linking (except MSVC,
8533 # which needs '.lib').
8536 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8539 old_CFLAGS
="$CFLAGS"
8541 # Set sane defaults for various variables
8542 test -z "$CC" && CC
=cc
8543 test -z "$LTCC" && LTCC
=$CC
8544 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8545 test -z "$LD" && LD
=ld
8546 test -z "$ac_objext" && ac_objext
=o
8548 for cc_temp
in $compiler""; do
8550 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8551 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8556 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8559 # Only perform the check for file, if the check method requires it
8560 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8561 case $deplibs_check_method in
8563 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8565 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8566 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8567 $as_echo_n "(cached) " >&6
8571 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8574 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8575 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8576 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8577 for ac_dir
in $ac_dummy; do
8579 test -z "$ac_dir" && ac_dir
=.
8580 if test -f $ac_dir/${ac_tool_prefix}file; then
8581 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8582 if test -n "$file_magic_test_file"; then
8583 case $deplibs_check_method in
8585 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8586 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8587 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8588 $EGREP "$file_magic_regex" > /dev
/null
; then
8593 *** Warning: the command libtool uses to detect shared libraries,
8594 *** $file_magic_cmd, produces output that libtool cannot recognize.
8595 *** The result is that libtool may fail to recognize shared libraries
8596 *** as such. This will affect the creation of libtool libraries that
8597 *** depend on shared libraries, but programs linked with such libtool
8598 *** libraries will work regardless of this problem. Nevertheless, you
8599 *** may want to report the problem to your system manager and/or to
8600 *** bug-libtool@gnu.org
8610 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8615 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8616 if test -n "$MAGIC_CMD"; then
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8618 $as_echo "$MAGIC_CMD" >&6; }
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8621 $as_echo "no" >&6; }
8628 if test -z "$lt_cv_path_MAGIC_CMD"; then
8629 if test -n "$ac_tool_prefix"; then
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8631 $as_echo_n "checking for file... " >&6; }
8632 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8633 $as_echo_n "(cached) " >&6
8637 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8640 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8641 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8642 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8643 for ac_dir
in $ac_dummy; do
8645 test -z "$ac_dir" && ac_dir
=.
8646 if test -f $ac_dir/file; then
8647 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8648 if test -n "$file_magic_test_file"; then
8649 case $deplibs_check_method in
8651 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8652 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8653 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8654 $EGREP "$file_magic_regex" > /dev
/null
; then
8659 *** Warning: the command libtool uses to detect shared libraries,
8660 *** $file_magic_cmd, produces output that libtool cannot recognize.
8661 *** The result is that libtool may fail to recognize shared libraries
8662 *** as such. This will affect the creation of libtool libraries that
8663 *** depend on shared libraries, but programs linked with such libtool
8664 *** libraries will work regardless of this problem. Nevertheless, you
8665 *** may want to report the problem to your system manager and/or to
8666 *** bug-libtool@gnu.org
8676 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8681 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8682 if test -n "$MAGIC_CMD"; then
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8684 $as_echo "$MAGIC_CMD" >&6; }
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8687 $as_echo "no" >&6; }
8700 # Use C for the default configuration in the libtool script
8704 ac_cpp
='$CPP $CPPFLAGS'
8705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8710 # Source file extension for C test sources.
8713 # Object file extension for compiled C test sources.
8717 # Code to be used in simple compile tests
8718 lt_simple_compile_test_code
="int some_variable = 0;"
8720 # Code to be used in simple link tests
8721 lt_simple_link_test_code
='int main(){return(0);}'
8729 # If no C compiler was specified, use CC.
8732 # If no C compiler flags were specified, use CFLAGS.
8733 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8735 # Allow CC to be a program name with arguments.
8738 # Save the default compiler, since it gets overwritten when the other
8739 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8740 compiler_DEFAULT
=$CC
8742 # save warnings/boilerplate of simple test code
8743 ac_outfile
=conftest.
$ac_objext
8744 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8745 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8746 _lt_compiler_boilerplate
=`cat conftest.err`
8749 ac_outfile
=conftest.
$ac_objext
8750 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8751 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8752 _lt_linker_boilerplate
=`cat conftest.err`
8757 ## There is no encapsulation within the following macros, do not change
8758 ## the running order or otherwise move them around unless you know exactly
8759 ## what you are doing...
8760 if test -n "$compiler"; then
8762 lt_prog_compiler_no_builtin_flag
=
8764 if test "$GCC" = yes; then
8765 case $cc_basename in
8767 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8769 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8773 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8774 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8775 $as_echo_n "(cached) " >&6
8777 lt_cv_prog_compiler_rtti_exceptions
=no
8778 ac_outfile
=conftest.
$ac_objext
8779 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8780 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8781 # Insert the option either (1) after the last *FLAGS variable, or
8782 # (2) before a word containing "conftest.", or (3) at the end.
8783 # Note that $ac_compile itself does not contain backslashes and begins
8784 # with a dollar sign (not a hyphen), so the echo should work correctly.
8785 # The option is referenced via a variable to avoid confusing sed.
8786 lt_compile
=`echo "$ac_compile" | $SED \
8787 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8788 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8789 -e 's:$: $lt_compiler_flag:'`
8790 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8791 (eval "$lt_compile" 2>conftest.err
)
8793 cat conftest.err
>&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 if (exit $ac_status) && test -s "$ac_outfile"; then
8796 # The compiler can only warn and ignore the option if not recognized
8797 # So say no if there are warnings other than the usual output.
8798 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8799 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8800 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8801 lt_cv_prog_compiler_rtti_exceptions
=yes
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8808 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8810 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8811 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8823 lt_prog_compiler_wl
=
8824 lt_prog_compiler_pic
=
8825 lt_prog_compiler_static
=
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8828 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8830 if test "$GCC" = yes; then
8831 lt_prog_compiler_wl
='-Wl,'
8832 lt_prog_compiler_static
='-static'
8836 # All AIX code is PIC.
8837 if test "$host_cpu" = ia64
; then
8838 # AIX 5 now supports IA64 processor
8839 lt_prog_compiler_static
='-Bstatic'
8846 # see comment about AmigaOS4 .so support
8847 lt_prog_compiler_pic
='-fPIC'
8850 # FIXME: we need at least 68020 code to build shared libraries, but
8851 # adding the `-m68020' flag to GCC prevents building anything better,
8853 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8858 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8859 # PIC is the default for these OSes.
8862 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8863 # This hack is so that the source file can tell whether it is being
8864 # built for inclusion in a dll (and should export symbols for example).
8865 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8866 # (--disable-auto-import) libraries
8867 lt_prog_compiler_pic
='-DDLL_EXPORT'
8870 darwin
* | rhapsody
*)
8871 # PIC is the default on this platform
8872 # Common symbols not allowed in MH_DYLIB files
8873 lt_prog_compiler_pic
='-fno-common'
8877 # PIC is the default for Haiku.
8878 # The "-static" flag exists, but is broken.
8879 lt_prog_compiler_static
=
8883 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8884 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8885 # sets the default TLS model and affects inlining.
8891 lt_prog_compiler_pic
='-fPIC'
8897 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8898 # Instead, we relocate shared libraries at runtime.
8902 # Just because we use GCC doesn't mean we suddenly get shared libraries
8903 # on systems that don't support them.
8904 lt_prog_compiler_can_build_shared
=no
8909 # QNX uses GNU C++, but need to define -shared option too, otherwise
8911 lt_prog_compiler_pic
='-fPIC -shared'
8915 if test -d /usr
/nec
; then
8916 lt_prog_compiler_pic
=-Kconform_pic
8921 lt_prog_compiler_pic
='-fPIC'
8925 case $cc_basename in
8926 nvcc
*) # Cuda Compiler Driver 2.2
8927 lt_prog_compiler_wl
='-Xlinker '
8928 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8932 # PORTME Check for flag to pass linker flags through the system compiler.
8935 lt_prog_compiler_wl
='-Wl,'
8936 if test "$host_cpu" = ia64
; then
8937 # AIX 5 now supports IA64 processor
8938 lt_prog_compiler_static
='-Bstatic'
8940 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8944 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8945 # This hack is so that the source file can tell whether it is being
8946 # built for inclusion in a dll (and should export symbols for example).
8947 lt_prog_compiler_pic
='-DDLL_EXPORT'
8950 hpux9
* | hpux10
* | hpux11
*)
8951 lt_prog_compiler_wl
='-Wl,'
8952 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8959 lt_prog_compiler_pic
='+Z'
8962 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8963 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8966 irix5
* | irix6
* | nonstopux
*)
8967 lt_prog_compiler_wl
='-Wl,'
8968 # PIC (with -KPIC) is the default.
8969 lt_prog_compiler_static
='-non_shared'
8972 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8973 case $cc_basename in
8974 # old Intel for x86_64 which still supported -KPIC.
8976 lt_prog_compiler_wl
='-Wl,'
8977 lt_prog_compiler_pic
='-KPIC'
8978 lt_prog_compiler_static
='-static'
8980 # icc used to be incompatible with GCC.
8981 # ICC 10 doesn't accept -KPIC any more.
8983 lt_prog_compiler_wl
='-Wl,'
8984 lt_prog_compiler_pic
='-fPIC'
8985 lt_prog_compiler_static
='-static'
8987 # Lahey Fortran 8.1.
8989 lt_prog_compiler_wl
='-Wl,'
8990 lt_prog_compiler_pic
='--shared'
8991 lt_prog_compiler_static
='--static'
8993 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8994 # Portland Group compilers (*not* the Pentium gcc compiler,
8995 # which looks to be a dead project)
8996 lt_prog_compiler_wl
='-Wl,'
8997 lt_prog_compiler_pic
='-fpic'
8998 lt_prog_compiler_static
='-Bstatic'
9001 lt_prog_compiler_wl
='-Wl,'
9002 # All Alpha code is PIC.
9003 lt_prog_compiler_static
='-non_shared'
9005 xl
* | bgxl
* | bgf
* | mpixl
*)
9006 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9007 lt_prog_compiler_wl
='-Wl,'
9008 lt_prog_compiler_pic
='-qpic'
9009 lt_prog_compiler_static
='-qstaticlink'
9012 case `$CC -V 2>&1 | sed 5q` in
9013 *Sun\ F
* |
*Sun
*Fortran
*)
9014 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9015 lt_prog_compiler_pic
='-KPIC'
9016 lt_prog_compiler_static
='-Bstatic'
9017 lt_prog_compiler_wl
=''
9021 lt_prog_compiler_pic
='-KPIC'
9022 lt_prog_compiler_static
='-Bstatic'
9023 lt_prog_compiler_wl
='-Wl,'
9031 lt_prog_compiler_pic
='-KPIC'
9032 lt_prog_compiler_static
='-Bstatic'
9036 # QNX uses GNU C++, but need to define -shared option too, otherwise
9038 lt_prog_compiler_pic
='-fPIC -shared'
9041 osf3
* | osf4
* | osf5
*)
9042 lt_prog_compiler_wl
='-Wl,'
9043 # All OSF/1 code is PIC.
9044 lt_prog_compiler_static
='-non_shared'
9048 lt_prog_compiler_static
='-non_shared'
9052 lt_prog_compiler_pic
='-KPIC'
9053 lt_prog_compiler_static
='-Bstatic'
9054 case $cc_basename in
9056 lt_prog_compiler_wl
='-Qoption ld ';;
9058 lt_prog_compiler_wl
='-Wl,';;
9063 lt_prog_compiler_wl
='-Qoption ld '
9064 lt_prog_compiler_pic
='-PIC'
9065 lt_prog_compiler_static
='-Bstatic'
9068 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9069 lt_prog_compiler_wl
='-Wl,'
9070 lt_prog_compiler_pic
='-KPIC'
9071 lt_prog_compiler_static
='-Bstatic'
9075 if test -d /usr
/nec
;then
9076 lt_prog_compiler_pic
='-Kconform_pic'
9077 lt_prog_compiler_static
='-Bstatic'
9081 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9082 lt_prog_compiler_wl
='-Wl,'
9083 lt_prog_compiler_pic
='-KPIC'
9084 lt_prog_compiler_static
='-Bstatic'
9088 lt_prog_compiler_wl
='-Wl,'
9089 lt_prog_compiler_can_build_shared
=no
9093 lt_prog_compiler_pic
='-pic'
9094 lt_prog_compiler_static
='-Bstatic'
9098 lt_prog_compiler_can_build_shared
=no
9104 # For platforms which do not support PIC, -DPIC is meaningless:
9106 lt_prog_compiler_pic
=
9109 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9113 $as_echo "$lt_prog_compiler_pic" >&6; }
9121 # Check to make sure the PIC flag actually works.
9123 if test -n "$lt_prog_compiler_pic"; then
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9125 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9126 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9127 $as_echo_n "(cached) " >&6
9129 lt_cv_prog_compiler_pic_works
=no
9130 ac_outfile
=conftest.
$ac_objext
9131 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9132 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9133 # Insert the option either (1) after the last *FLAGS variable, or
9134 # (2) before a word containing "conftest.", or (3) at the end.
9135 # Note that $ac_compile itself does not contain backslashes and begins
9136 # with a dollar sign (not a hyphen), so the echo should work correctly.
9137 # The option is referenced via a variable to avoid confusing sed.
9138 lt_compile
=`echo "$ac_compile" | $SED \
9139 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9140 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9141 -e 's:$: $lt_compiler_flag:'`
9142 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9143 (eval "$lt_compile" 2>conftest.err
)
9145 cat conftest.err
>&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 if (exit $ac_status) && test -s "$ac_outfile"; then
9148 # The compiler can only warn and ignore the option if not recognized
9149 # So say no if there are warnings other than the usual output.
9150 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9151 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9152 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9153 lt_cv_prog_compiler_pic_works
=yes
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9160 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9162 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9163 case $lt_prog_compiler_pic in
9165 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9168 lt_prog_compiler_pic
=
9169 lt_prog_compiler_can_build_shared
=no
9180 # Check to make sure the static flag actually works.
9182 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9184 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9185 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9186 $as_echo_n "(cached) " >&6
9188 lt_cv_prog_compiler_static_works
=no
9189 save_LDFLAGS
="$LDFLAGS"
9190 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9191 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9192 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9193 # The linker can only warn and ignore the option if not recognized
9194 # So say no if there are warnings
9195 if test -s conftest.err
; then
9196 # Append any errors to the config.log.
9197 cat conftest.err
1>&5
9198 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9199 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9200 if diff conftest.exp conftest.er2
>/dev
/null
; then
9201 lt_cv_prog_compiler_static_works
=yes
9204 lt_cv_prog_compiler_static_works
=yes
9208 LDFLAGS
="$save_LDFLAGS"
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9212 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9214 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9217 lt_prog_compiler_static
=
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9227 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9228 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9229 $as_echo_n "(cached) " >&6
9231 lt_cv_prog_compiler_c_o
=no
9232 $RM -r conftest
2>/dev
/null
9236 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9238 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9239 # Insert the option either (1) after the last *FLAGS variable, or
9240 # (2) before a word containing "conftest.", or (3) at the end.
9241 # Note that $ac_compile itself does not contain backslashes and begins
9242 # with a dollar sign (not a hyphen), so the echo should work correctly.
9243 lt_compile
=`echo "$ac_compile" | $SED \
9244 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9245 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9246 -e 's:$: $lt_compiler_flag:'`
9247 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9248 (eval "$lt_compile" 2>out
/conftest.err
)
9250 cat out
/conftest.err
>&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9254 # The compiler can only warn and ignore the option if not recognized
9255 # So say no if there are warnings
9256 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9257 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9258 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9259 lt_cv_prog_compiler_c_o
=yes
9264 # SGI C++ compiler will create directory out/ii_files/ for
9265 # template instantiation
9266 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9267 $RM out
/* && rmdir out
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9274 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9282 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9283 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9284 $as_echo_n "(cached) " >&6
9286 lt_cv_prog_compiler_c_o
=no
9287 $RM -r conftest
2>/dev
/null
9291 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9293 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9294 # Insert the option either (1) after the last *FLAGS variable, or
9295 # (2) before a word containing "conftest.", or (3) at the end.
9296 # Note that $ac_compile itself does not contain backslashes and begins
9297 # with a dollar sign (not a hyphen), so the echo should work correctly.
9298 lt_compile
=`echo "$ac_compile" | $SED \
9299 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9300 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9301 -e 's:$: $lt_compiler_flag:'`
9302 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9303 (eval "$lt_compile" 2>out
/conftest.err
)
9305 cat out
/conftest.err
>&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9309 # The compiler can only warn and ignore the option if not recognized
9310 # So say no if there are warnings
9311 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9312 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9313 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9314 lt_cv_prog_compiler_c_o
=yes
9319 # SGI C++ compiler will create directory out/ii_files/ for
9320 # template instantiation
9321 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9322 $RM out
/* && rmdir out
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9329 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9334 hard_links
="nottested"
9335 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9336 # do not overwrite the value of need_locks provided by the user
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9338 $as_echo_n "checking if we can lock with hard links... " >&6; }
9341 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9343 ln conftest.a conftest.b
2>&5 || hard_links
=no
9344 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9346 $as_echo "$hard_links" >&6; }
9347 if test "$hard_links" = no
; then
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9349 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9362 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9365 allow_undefined_flag
=
9366 always_export_symbols
=no
9368 archive_expsym_cmds
=
9369 compiler_needs_object
=no
9370 enable_shared_with_static_runtimes
=no
9371 export_dynamic_flag_spec
=
9372 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9373 hardcode_automatic
=no
9375 hardcode_direct_absolute
=no
9376 hardcode_libdir_flag_spec
=
9377 hardcode_libdir_flag_spec_ld
=
9378 hardcode_libdir_separator
=
9380 hardcode_shlibpath_var
=unsupported
9382 link_all_deplibs
=unknown
9385 old_archive_from_new_cmds
=
9386 old_archive_from_expsyms_cmds
=
9387 thread_safe_flag_spec
=
9388 whole_archive_flag_spec
=
9389 # include_expsyms should be a list of space-separated symbols to be *always*
9390 # included in the symbol list
9392 # exclude_expsyms can be an extended regexp of symbols to exclude
9393 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9394 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9395 # as well as any symbol that contains `d'.
9396 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9397 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9398 # platforms (ab)use it in PIC code, but their linkers get confused if
9399 # the symbol is explicitly referenced. Since portable code cannot
9400 # rely on this symbol name, it's probably fine to never include it in
9401 # preloaded symbol tables.
9402 # Exclude shared library initialization/finalization symbols.
9403 extract_expsyms_cmds
=
9406 cygwin
* | mingw
* | pw32
* | cegcc
*)
9407 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9408 # When not using gcc, we currently assume that we are using
9409 # Microsoft Visual C++.
9410 if test "$GCC" != yes; then
9415 # we just hope/assume this is gcc and not c89 (= MSVC++)
9425 # On some targets, GNU ld is compatible enough with the native linker
9426 # that we're better off using the native interface for both.
9427 lt_use_gnu_ld_interface
=no
9428 if test "$with_gnu_ld" = yes; then
9431 # The AIX port of GNU ld has always aspired to compatibility
9432 # with the native linker. However, as the warning in the GNU ld
9433 # block says, versions before 2.19.5* couldn't really create working
9434 # shared libraries, regardless of the interface used.
9435 case `$LD -v 2>&1` in
9436 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9437 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9438 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9440 lt_use_gnu_ld_interface
=yes
9445 lt_use_gnu_ld_interface
=yes
9450 if test "$lt_use_gnu_ld_interface" = yes; then
9451 # If archive_cmds runs LD, not CC, wlarc should be empty
9454 # Set some defaults for GNU ld with shared library support. These
9455 # are reset later if shared libraries are not supported. Putting them
9456 # here allows them to be overridden if necessary.
9457 runpath_var
=LD_RUN_PATH
9458 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9459 export_dynamic_flag_spec
='${wl}--export-dynamic'
9460 # ancient GNU ld didn't support --whole-archive et. al.
9461 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9462 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9464 whole_archive_flag_spec
=
9466 supports_anon_versioning
=no
9467 case `$LD -v 2>&1` in
9468 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9469 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9470 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9471 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9472 *\
2.11.
*) ;; # other 2.11 versions
9473 *) supports_anon_versioning
=yes ;;
9476 # See if GNU ld supports shared libraries.
9479 # On AIX/PPC, the GNU linker is very broken
9480 if test "$host_cpu" != ia64
; then
9484 *** Warning: the GNU linker, at least up to release 2.19, is reported
9485 *** to be unable to reliably create shared libraries on AIX.
9486 *** Therefore, libtool is disabling shared libraries support. If you
9487 *** really care for shared libraries, you may want to install binutils
9488 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9489 *** You will then need to restart the configuration process.
9498 # see comment about AmigaOS4 .so support
9499 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9500 archive_expsym_cmds
=''
9503 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)'
9504 hardcode_libdir_flag_spec
='-L$libdir'
9505 hardcode_minus_L
=yes
9511 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9512 allow_undefined_flag
=unsupported
9513 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9514 # support --undefined. This deserves some investigation. FIXME
9515 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9521 cygwin
* | mingw
* | pw32
* | cegcc
*)
9522 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9523 # as there is no search path for DLLs.
9524 hardcode_libdir_flag_spec
='-L$libdir'
9525 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9526 allow_undefined_flag
=unsupported
9527 always_export_symbols
=no
9528 enable_shared_with_static_runtimes
=yes
9529 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9531 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9532 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9533 # If the export-symbols file already is a .def file (1st line
9534 # is EXPORTS), use it as is; otherwise, prepend...
9535 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9536 cp $export_symbols $output_objdir/$soname.def;
9538 echo EXPORTS > $output_objdir/$soname.def;
9539 cat $export_symbols >> $output_objdir/$soname.def;
9541 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9548 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9549 link_all_deplibs
=yes
9554 hardcode_shlibpath_var
=no
9555 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9556 export_dynamic_flag_spec
='${wl}-E'
9557 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9558 # Instead, shared libraries are loaded at an image base (0x10000000 by
9559 # default) and relocated if they conflict, which is a slow very memory
9560 # consuming and fragmenting process. To avoid this, we pick a random,
9561 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9562 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9563 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9564 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'
9567 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9569 if test "$host_os" = linux-dietlibc
; then
9570 case $cc_basename in
9571 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9574 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9575 && test "$tmp_diet" = no
9578 tmp_sharedflag
='-shared'
9579 case $cc_basename,$host_cpu in
9580 pgcc
*) # Portland Group C compiler
9581 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9582 tmp_addflag
=' $pic_flag'
9584 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9585 # Portland Group f77 and f90 compilers
9586 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9587 tmp_addflag
=' $pic_flag -Mnomain' ;;
9588 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9589 tmp_addflag
=' -i_dynamic' ;;
9590 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9591 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9592 ifc
* | ifort
*) # Intel Fortran compiler
9593 tmp_addflag
=' -nofor_main' ;;
9594 lf95
*) # Lahey Fortran 8.1
9595 whole_archive_flag_spec
=
9596 tmp_sharedflag
='--shared' ;;
9597 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9598 tmp_sharedflag
='-qmkshrobj'
9600 nvcc
*) # Cuda Compiler Driver 2.2
9601 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9602 compiler_needs_object
=yes
9605 case `$CC -V 2>&1 | sed 5q` in
9606 *Sun\ C
*) # Sun C 5.9
9607 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9608 compiler_needs_object
=yes
9609 tmp_sharedflag
='-G' ;;
9610 *Sun\ F
*) # Sun Fortran 8.3
9611 tmp_sharedflag
='-G' ;;
9613 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9615 if test "x$supports_anon_versioning" = xyes
; then
9616 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9617 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9618 echo "local: *; };" >> $output_objdir/$libname.ver~
9619 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9622 case $cc_basename in
9623 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9624 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9625 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9626 hardcode_libdir_flag_spec
=
9627 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9628 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9629 if test "x$supports_anon_versioning" = xyes
; then
9630 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9631 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9632 echo "local: *; };" >> $output_objdir/$libname.ver~
9633 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9643 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9644 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9647 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9648 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9653 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9657 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9658 *** create shared libraries on Solaris systems. Therefore, libtool
9659 *** is disabling shared libraries support. We urge you to upgrade GNU
9660 *** binutils to release 2.9.1 or newer. Another option is to modify
9661 *** your PATH or compiler configuration so that the native linker is
9662 *** used, and then restart.
9665 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9666 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9667 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9673 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9674 case `$LD -v 2>&1` in
9675 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9679 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9680 *** reliably create shared libraries on SCO systems. Therefore, libtool
9681 *** is disabling shared libraries support. We urge you to upgrade GNU
9682 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9683 *** your PATH or compiler configuration so that the native linker is
9684 *** used, and then restart.
9689 # For security reasons, it is highly recommended that you always
9690 # use absolute paths for naming shared libraries, and exclude the
9691 # DT_RUNPATH tag from executables and libraries. But doing so
9692 # requires that you compile everything twice, which is a pain.
9693 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9694 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9695 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9696 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9705 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9708 hardcode_shlibpath_var
=no
9712 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9713 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9714 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9721 if test "$ld_shlibs" = no
; then
9723 hardcode_libdir_flag_spec
=
9724 export_dynamic_flag_spec
=
9725 whole_archive_flag_spec
=
9728 # PORTME fill in a description of your system's linker (not GNU ld)
9731 allow_undefined_flag
=unsupported
9732 always_export_symbols
=yes
9733 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'
9734 # Note: this linker hardcodes the directories in LIBPATH if there
9735 # are no directories specified by -L.
9736 hardcode_minus_L
=yes
9737 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9738 # Neither direct hardcoding nor static linking is supported with a
9740 hardcode_direct
=unsupported
9745 if test "$host_cpu" = ia64
; then
9746 # On IA64, the linker does run time linking by default, so we don't
9747 # have to do anything special.
9748 aix_use_runtimelinking
=no
9749 exp_sym_flag
='-Bexport'
9752 # If we're using GNU nm, then we don't want the "-C" option.
9753 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9754 # Also, AIX nm treats weak defined symbols like other global
9755 # defined symbols, whereas GNU nm marks them as "W".
9756 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9757 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9759 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'
9761 aix_use_runtimelinking
=no
9763 # Test if we are trying to use run time linking or normal
9764 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9765 # need to do runtime linking.
9766 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9767 for ld_flag
in $LDFLAGS; do
9768 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9769 aix_use_runtimelinking
=yes
9776 exp_sym_flag
='-bexport'
9777 no_entry_flag
='-bnoentry'
9780 # When large executables or shared objects are built, AIX ld can
9781 # have problems creating the table of contents. If linking a library
9782 # or program results in "error TOC overflow" add -mminimal-toc to
9783 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9784 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9788 hardcode_direct_absolute
=yes
9789 hardcode_libdir_separator
=':'
9790 link_all_deplibs
=yes
9791 file_list_spec
='${wl}-f,'
9793 if test "$GCC" = yes; then
9794 case $host_os in aix4.
[012]|aix4.
[012].
*)
9795 # We only want to do this on AIX 4.2 and lower, the check
9796 # below for broken collect2 doesn't work under 4.3+
9797 collect2name
=`${CC} -print-prog-name=collect2`
9798 if test -f "$collect2name" &&
9799 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9801 # We have reworked collect2
9804 # We have old collect2
9805 hardcode_direct
=unsupported
9806 # It fails to find uninstalled libraries when the uninstalled
9807 # path is not listed in the libpath. Setting hardcode_minus_L
9808 # to unsupported forces relinking
9809 hardcode_minus_L
=yes
9810 hardcode_libdir_flag_spec
='-L$libdir'
9811 hardcode_libdir_separator
=
9815 shared_flag
='-shared'
9816 if test "$aix_use_runtimelinking" = yes; then
9817 shared_flag
="$shared_flag "'${wl}-G'
9821 if test "$host_cpu" = ia64
; then
9822 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9823 # chokes on -Wl,-G. The following line is correct:
9826 if test "$aix_use_runtimelinking" = yes; then
9827 shared_flag
='${wl}-G'
9829 shared_flag
='${wl}-bM:SRE'
9834 export_dynamic_flag_spec
='${wl}-bexpall'
9835 # It seems that -bexpall does not export symbols beginning with
9836 # underscore (_), so it is better to generate a list of symbols to export.
9837 always_export_symbols
=yes
9838 if test "$aix_use_runtimelinking" = yes; then
9839 # Warning - without using the other runtime loading flags (-brtl),
9840 # -berok will link without error, but may produce a broken library.
9841 allow_undefined_flag
='-berok'
9842 # Determine the default libpath from the value encoded in an
9844 if test x
$gcc_no_link = xyes
; then
9845 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9858 if ac_fn_c_try_link
"$LINENO"; then :
9860 lt_aix_libpath_sed
='
9861 /Import File Strings/,/^$/ {
9867 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9868 # Check for a 64-bit object if we didn't find anything.
9869 if test -z "$aix_libpath"; then
9870 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9873 rm -f core conftest.err conftest.
$ac_objext \
9874 conftest
$ac_exeext conftest.
$ac_ext
9875 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9877 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9878 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9880 if test "$host_cpu" = ia64
; then
9881 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9882 allow_undefined_flag
="-z nodefs"
9883 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"
9885 # Determine the default libpath from the value encoded in an
9887 if test x
$gcc_no_link = xyes
; then
9888 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9901 if ac_fn_c_try_link
"$LINENO"; then :
9903 lt_aix_libpath_sed
='
9904 /Import File Strings/,/^$/ {
9910 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9911 # Check for a 64-bit object if we didn't find anything.
9912 if test -z "$aix_libpath"; then
9913 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9916 rm -f core conftest.err conftest.
$ac_objext \
9917 conftest
$ac_exeext conftest.
$ac_ext
9918 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9920 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9921 # Warning - without using the other run time loading flags,
9922 # -berok will link without error, but may produce a broken library.
9923 no_undefined_flag
=' ${wl}-bernotok'
9924 allow_undefined_flag
=' ${wl}-berok'
9925 if test "$with_gnu_ld" = yes; then
9926 # We only use this code for GNU lds that support --whole-archive.
9927 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9929 # Exported symbols can be pulled into shared objects from archives
9930 whole_archive_flag_spec
='$convenience'
9932 archive_cmds_need_lc
=yes
9933 # This is similar to how AIX traditionally builds its shared libraries.
9934 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'
9942 # see comment about AmigaOS4 .so support
9943 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9944 archive_expsym_cmds
=''
9947 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)'
9948 hardcode_libdir_flag_spec
='-L$libdir'
9949 hardcode_minus_L
=yes
9955 export_dynamic_flag_spec
=-rdynamic
9958 cygwin
* | mingw
* | pw32
* | cegcc
*)
9959 # When not using gcc, we currently assume that we are using
9960 # Microsoft Visual C++.
9961 # hardcode_libdir_flag_spec is actually meaningless, as there is
9962 # no search path for DLLs.
9963 hardcode_libdir_flag_spec
=' '
9964 allow_undefined_flag
=unsupported
9965 # Tell ltmain to make .lib files, not .a files.
9967 # Tell ltmain to make .dll files, not .so files.
9969 # FIXME: Setting linknames here is a bad hack.
9970 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9971 # The linker will automatically build a .lib file if we build a DLL.
9972 old_archive_from_new_cmds
='true'
9973 # FIXME: Should let the user specify the lib program.
9974 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9975 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9976 enable_shared_with_static_runtimes
=yes
9979 darwin
* | rhapsody
*)
9982 archive_cmds_need_lc
=no
9984 hardcode_automatic
=yes
9985 hardcode_shlibpath_var
=unsupported
9986 if test "$lt_cv_ld_force_load" = "yes"; then
9987 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9989 whole_archive_flag_spec
=''
9991 link_all_deplibs
=yes
9992 allow_undefined_flag
="$_lt_dar_allow_undefined"
9993 case $cc_basename in
9994 ifort
*) _lt_dar_can_shared
=yes ;;
9995 *) _lt_dar_can_shared
=$GCC ;;
9997 if test "$_lt_dar_can_shared" = "yes"; then
9998 output_verbose_link_cmd
=func_echo_all
9999 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10000 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10001 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}"
10002 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}"
10011 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10012 hardcode_libdir_flag_spec
='-L$libdir'
10013 hardcode_shlibpath_var
=no
10016 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10017 # support. Future versions do this automatically, but an explicit c++rt0.o
10018 # does not break anything, and helps significantly (at the cost of a little
10021 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10022 hardcode_libdir_flag_spec
='-R$libdir'
10023 hardcode_direct
=yes
10024 hardcode_shlibpath_var
=no
10027 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10029 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10030 hardcode_direct
=yes
10031 hardcode_minus_L
=yes
10032 hardcode_shlibpath_var
=no
10035 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10036 freebsd
* | dragonfly
*)
10037 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10038 hardcode_libdir_flag_spec
='-R$libdir'
10039 hardcode_direct
=yes
10040 hardcode_shlibpath_var
=no
10044 if test "$GCC" = yes; then
10045 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'
10047 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'
10049 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10050 hardcode_libdir_separator
=:
10051 hardcode_direct
=yes
10053 # hardcode_minus_L: Not really in the search PATH,
10054 # but as the default location of the library.
10055 hardcode_minus_L
=yes
10056 export_dynamic_flag_spec
='${wl}-E'
10060 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10061 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10063 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10065 if test "$with_gnu_ld" = no
; then
10066 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10067 hardcode_libdir_flag_spec_ld
='+b $libdir'
10068 hardcode_libdir_separator
=:
10069 hardcode_direct
=yes
10070 hardcode_direct_absolute
=yes
10071 export_dynamic_flag_spec
='${wl}-E'
10072 # hardcode_minus_L: Not really in the search PATH,
10073 # but as the default location of the library.
10074 hardcode_minus_L
=yes
10079 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10082 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10085 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10101 # Older versions of the 11.00 compiler do not understand -b yet
10102 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10104 $as_echo_n "checking if $CC understands -b... " >&6; }
10105 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10106 $as_echo_n "(cached) " >&6
10108 lt_cv_prog_compiler__b
=no
10109 save_LDFLAGS
="$LDFLAGS"
10110 LDFLAGS
="$LDFLAGS -b"
10111 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10112 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10113 # The linker can only warn and ignore the option if not recognized
10114 # So say no if there are warnings
10115 if test -s conftest.err
; then
10116 # Append any errors to the config.log.
10117 cat conftest.err
1>&5
10118 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10119 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10120 if diff conftest.exp conftest.er2
>/dev
/null
; then
10121 lt_cv_prog_compiler__b
=yes
10124 lt_cv_prog_compiler__b
=yes
10128 LDFLAGS
="$save_LDFLAGS"
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10132 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10134 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10135 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10137 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10143 if test "$with_gnu_ld" = no
; then
10144 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10145 hardcode_libdir_separator
=:
10150 hardcode_shlibpath_var
=no
10153 hardcode_direct
=yes
10154 hardcode_direct_absolute
=yes
10155 export_dynamic_flag_spec
='${wl}-E'
10157 # hardcode_minus_L: Not really in the search PATH,
10158 # but as the default location of the library.
10159 hardcode_minus_L
=yes
10165 irix5
* | irix6
* | nonstopux
*)
10166 if test "$GCC" = yes; then
10167 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10168 # Try to use the -exported_symbol ld option, if it does not
10169 # work, assume that -exports_file does not work either and
10170 # implicitly export all symbols.
10171 save_LDFLAGS
="$LDFLAGS"
10172 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10173 if test x
$gcc_no_link = xyes
; then
10174 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10180 if ac_fn_c_try_link
"$LINENO"; then :
10181 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10184 rm -f core conftest.err conftest.
$ac_objext \
10185 conftest
$ac_exeext conftest.
$ac_ext
10186 LDFLAGS
="$save_LDFLAGS"
10188 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10189 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10191 archive_cmds_need_lc
='no'
10192 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10193 hardcode_libdir_separator
=:
10195 link_all_deplibs
=yes
10199 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10200 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10202 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10204 hardcode_libdir_flag_spec
='-R$libdir'
10205 hardcode_direct
=yes
10206 hardcode_shlibpath_var
=no
10210 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10211 hardcode_direct
=yes
10212 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10213 hardcode_libdir_separator
=:
10214 hardcode_shlibpath_var
=no
10221 if test -f /usr
/libexec
/ld.so
; then
10222 hardcode_direct
=yes
10223 hardcode_shlibpath_var
=no
10224 hardcode_direct_absolute
=yes
10225 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10226 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10227 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10228 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10229 export_dynamic_flag_spec
='${wl}-E'
10232 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10233 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10234 hardcode_libdir_flag_spec
='-R$libdir'
10237 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10238 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10248 hardcode_libdir_flag_spec
='-L$libdir'
10249 hardcode_minus_L
=yes
10250 allow_undefined_flag
=unsupported
10251 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'
10252 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10256 if test "$GCC" = yes; then
10257 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10258 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10260 allow_undefined_flag
=' -expect_unresolved \*'
10261 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10263 archive_cmds_need_lc
='no'
10264 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10265 hardcode_libdir_separator
=:
10268 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10269 if test "$GCC" = yes; then
10270 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10271 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10272 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10274 allow_undefined_flag
=' -expect_unresolved \*'
10275 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10276 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~
10277 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10279 # Both c and cxx compiler support -rpath directly
10280 hardcode_libdir_flag_spec
='-rpath $libdir'
10282 archive_cmds_need_lc
='no'
10283 hardcode_libdir_separator
=:
10287 no_undefined_flag
=' -z defs'
10288 if test "$GCC" = yes; then
10290 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10291 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10292 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10294 case `$CC -V 2>&1` in
10297 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10298 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10299 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10303 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10304 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10305 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10309 hardcode_libdir_flag_spec
='-R$libdir'
10310 hardcode_shlibpath_var
=no
10312 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10314 # The compiler driver will combine and reorder linker options,
10315 # but understands `-z linker_flag'. GCC discards it without `$wl',
10316 # but is careful enough not to reorder.
10317 # Supported since Solaris 2.6 (maybe 2.5.1?)
10318 if test "$GCC" = yes; then
10319 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10321 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10325 link_all_deplibs
=yes
10329 if test "x$host_vendor" = xsequent
; then
10330 # Use $CC to link under sequent, because it throws in some extra .o
10331 # files that make .init and .fini sections work.
10332 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10334 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10336 hardcode_libdir_flag_spec
='-L$libdir'
10337 hardcode_direct
=yes
10338 hardcode_minus_L
=yes
10339 hardcode_shlibpath_var
=no
10343 case $host_vendor in
10345 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10346 hardcode_direct
=yes # is this really true???
10349 ## LD is ld it makes a PLAMLIB
10350 ## CC just makes a GrossModule.
10351 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10352 reload_cmds
='$CC -r -o $output$reload_objs'
10356 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10357 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10360 runpath_var
='LD_RUN_PATH'
10361 hardcode_shlibpath_var
=no
10365 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10366 hardcode_shlibpath_var
=no
10367 export_dynamic_flag_spec
='-Bexport'
10371 if test -d /usr
/nec
; then
10372 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10373 hardcode_shlibpath_var
=no
10374 runpath_var
=LD_RUN_PATH
10375 hardcode_runpath_var
=yes
10380 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10381 no_undefined_flag
='${wl}-z,text'
10382 archive_cmds_need_lc
=no
10383 hardcode_shlibpath_var
=no
10384 runpath_var
='LD_RUN_PATH'
10386 if test "$GCC" = yes; then
10387 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10388 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10390 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10391 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10395 sysv5
* | sco3.2v5
* | sco5v6
*)
10396 # Note: We can NOT use -z defs as we might desire, because we do not
10397 # link with -lc, and that would cause any symbols used from libc to
10398 # always be unresolved, which means just about no library would
10399 # ever link correctly. If we're not using GNU ld we use -z text
10400 # though, which does catch some bad symbols but isn't as heavy-handed
10402 no_undefined_flag
='${wl}-z,text'
10403 allow_undefined_flag
='${wl}-z,nodefs'
10404 archive_cmds_need_lc
=no
10405 hardcode_shlibpath_var
=no
10406 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10407 hardcode_libdir_separator
=':'
10408 link_all_deplibs
=yes
10409 export_dynamic_flag_spec
='${wl}-Bexport'
10410 runpath_var
='LD_RUN_PATH'
10412 if test "$GCC" = yes; then
10413 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10414 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10416 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10417 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10422 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10423 hardcode_libdir_flag_spec
='-L$libdir'
10424 hardcode_shlibpath_var
=no
10432 if test x
$host_vendor = xsni
; then
10434 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10435 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10442 $as_echo "$ld_shlibs" >&6; }
10443 test "$ld_shlibs" = no
&& can_build_shared
=no
10445 with_gnu_ld
=$with_gnu_ld
10462 # Do we need to explicitly link libc?
10464 case "x$archive_cmds_need_lc" in
10466 # Assume -lc should be added
10467 archive_cmds_need_lc
=yes
10469 if test "$enable_shared" = yes && test "$GCC" = yes; then
10470 case $archive_cmds in
10472 # FIXME: we may have to deal with multi-command sequences.
10475 # Test whether the compiler implicitly links with -lc since on some
10476 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10477 # to ld, don't add -lc before -lgcc.
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10479 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10480 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10481 $as_echo_n "(cached) " >&6
10484 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10486 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10487 (eval $ac_compile) 2>&5
10489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10490 test $ac_status = 0; } 2>conftest.err
; then
10493 libobjs
=conftest.
$ac_objext
10495 wl
=$lt_prog_compiler_wl
10496 pic_flag
=$lt_prog_compiler_pic
10502 lt_save_allow_undefined_flag
=$allow_undefined_flag
10503 allow_undefined_flag
=
10504 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10505 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10508 test $ac_status = 0; }
10510 lt_cv_archive_cmds_need_lc
=no
10512 lt_cv_archive_cmds_need_lc
=yes
10514 allow_undefined_flag
=$lt_save_allow_undefined_flag
10516 cat conftest.err
1>&5
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10522 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10523 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10687 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10689 if test "$GCC" = yes; then
10691 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10692 *) lt_awk_arg
="/^libraries:/" ;;
10695 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10696 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10698 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10699 case $lt_search_path_spec in
10701 # if the path contains ";" then we assume it to be the separator
10702 # otherwise default to the standard path separator (i.e. ":") - it is
10703 # assumed that no part of a normal pathname contains ";" but that should
10704 # okay in the real world where ";" in dirpaths is itself problematic.
10705 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10708 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10711 # Ok, now we have the path, separated by spaces, we can step through it
10712 # and add multilib dir if necessary.
10713 lt_tmp_lt_search_path_spec
=
10714 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10715 for lt_sys_path
in $lt_search_path_spec; do
10716 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10717 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10719 test -d "$lt_sys_path" && \
10720 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10723 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10724 BEGIN {RS=" "; FS="/|\n";} {
10727 for (lt_i = NF; lt_i > 0; lt_i--) {
10728 if ($lt_i != "" && $lt_i != ".") {
10729 if ($lt_i == "..") {
10732 if (lt_count == 0) {
10733 lt_foo="/" $lt_i lt_foo;
10740 if (lt_foo != "") { lt_freq[lt_foo]++; }
10741 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10743 # AWK program above erroneously prepends '/' to C:/dos/paths
10746 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10747 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10749 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10751 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10753 library_names_spec
=
10754 libname_spec
='lib$name'
10758 postuninstall_cmds
=
10762 shlibpath_overrides_runpath
=unknown
10764 dynamic_linker
="$host_os ld.so"
10765 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10766 need_lib_prefix
=unknown
10767 hardcode_into_libs
=no
10769 # when you set need_version to no, make sure it does not cause -set_version
10770 # flags to be left without arguments
10771 need_version
=unknown
10776 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10777 shlibpath_var
=LIBPATH
10779 # AIX 3 has no versioning support, so we append a major version to the name.
10780 soname_spec
='${libname}${release}${shared_ext}$major'
10787 hardcode_into_libs
=yes
10788 if test "$host_cpu" = ia64
; then
10789 # AIX 5 supports IA64
10790 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10791 shlibpath_var
=LD_LIBRARY_PATH
10793 # With GCC up to 2.95.x, collect2 would create an import file
10794 # for dependence libraries. The import file would start with
10795 # the line `#! .'. This would cause the generated library to
10796 # depend on `.', always an invalid library. This was fixed in
10797 # development snapshots of GCC prior to 3.0.
10799 aix4 | aix4.
[01] | aix4.
[01].
*)
10800 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10802 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10805 can_build_shared
=no
10809 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10810 # soname into executable. Probably we can add versioning support to
10811 # collect2, so additional links can be useful in future.
10812 if test "$aix_use_runtimelinking" = yes; then
10813 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10814 # instead of lib<name>.a to let people know that these are not
10815 # typical AIX shared libraries.
10816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818 # We preserve .a as extension for shared libraries through AIX4.2
10819 # and later when we are not doing run time linking.
10820 library_names_spec
='${libname}${release}.a $libname.a'
10821 soname_spec
='${libname}${release}${shared_ext}$major'
10823 shlibpath_var
=LIBPATH
10830 # Since July 2007 AmigaOS4 officially supports .so libraries.
10831 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835 library_names_spec
='$libname.ixlibrary $libname.a'
10836 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10837 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10843 library_names_spec
='${libname}${shared_ext}'
10844 dynamic_linker
="$host_os ld.so"
10845 shlibpath_var
=LIBRARY_PATH
10851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852 soname_spec
='${libname}${release}${shared_ext}$major'
10853 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10854 shlibpath_var
=LD_LIBRARY_PATH
10855 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10856 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10857 # the default ld.so.conf also contains /usr/contrib/lib and
10858 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10859 # libtool to hard-code these into programs
10862 cygwin
* | mingw
* | pw32
* | cegcc
*)
10863 version_type
=windows
10868 case $GCC,$host_os in
10869 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10870 library_names_spec
='$libname.dll.a'
10871 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10872 postinstall_cmds
='base_file=`basename \${file}`~
10873 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10874 dldir=$destdir/`dirname \$dlpath`~
10875 test -d \$dldir || mkdir -p \$dldir~
10876 $install_prog $dir/$dlname \$dldir/$dlname~
10877 chmod a+x \$dldir/$dlname~
10878 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10879 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10881 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10882 dlpath=$dir/\$dldll~
10884 shlibpath_overrides_runpath
=yes
10888 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10889 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10891 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10894 # MinGW DLLs use traditional 'lib' prefix
10895 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10898 # pw32 DLLs use 'pw' prefix rather than 'lib'
10899 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10905 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10908 dynamic_linker
='Win32 ld.exe'
10909 # FIXME: first we should search . and the directory the executable is in
10913 darwin
* | rhapsody
*)
10914 dynamic_linker
="$host_os dyld"
10915 version_type
=darwin
10918 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10919 soname_spec
='${libname}${release}${major}$shared_ext'
10920 shlibpath_overrides_runpath
=yes
10921 shlibpath_var
=DYLD_LIBRARY_PATH
10922 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10924 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10925 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10933 soname_spec
='${libname}${release}${shared_ext}$major'
10934 shlibpath_var
=LD_LIBRARY_PATH
10937 freebsd
* | dragonfly
*)
10938 # DragonFly does not have aout. When/if they implement a new
10939 # versioning mechanism, adjust this.
10940 if test -x /usr
/bin
/objformat
; then
10941 objformat
=`/usr/bin/objformat`
10944 freebsd
[123]*) objformat
=aout
;;
10945 *) objformat
=elf
;;
10948 version_type
=freebsd-
$objformat
10949 case $version_type in
10951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10956 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10960 shlibpath_var
=LD_LIBRARY_PATH
10963 shlibpath_overrides_runpath
=yes
10965 freebsd3.
[01]* | freebsdelf3.
[01]*)
10966 shlibpath_overrides_runpath
=yes
10967 hardcode_into_libs
=yes
10969 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10970 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10971 shlibpath_overrides_runpath
=no
10972 hardcode_into_libs
=yes
10974 *) # from 4.6 on, and DragonFly
10975 shlibpath_overrides_runpath
=yes
10976 hardcode_into_libs
=yes
10985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10986 soname_spec
='${libname}${release}${shared_ext}$major'
10987 shlibpath_var
=LD_LIBRARY_PATH
10988 hardcode_into_libs
=yes
10995 dynamic_linker
="$host_os runtime_loader"
10996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10997 soname_spec
='${libname}${release}${shared_ext}$major'
10998 shlibpath_var
=LIBRARY_PATH
10999 shlibpath_overrides_runpath
=yes
11000 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11001 hardcode_into_libs
=yes
11004 hpux9
* | hpux10
* | hpux11
*)
11005 # Give a soname corresponding to the major version so that dld.sl refuses to
11006 # link against other versions.
11013 hardcode_into_libs
=yes
11014 dynamic_linker
="$host_os dld.so"
11015 shlibpath_var
=LD_LIBRARY_PATH
11016 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11018 soname_spec
='${libname}${release}${shared_ext}$major'
11019 if test "X$HPUX_IA64_MODE" = X32
; then
11020 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11022 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11024 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11028 hardcode_into_libs
=yes
11029 dynamic_linker
="$host_os dld.sl"
11030 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11031 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11033 soname_spec
='${libname}${release}${shared_ext}$major'
11034 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11035 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11039 dynamic_linker
="$host_os dld.sl"
11040 shlibpath_var
=SHLIB_PATH
11041 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11043 soname_spec
='${libname}${release}${shared_ext}$major'
11046 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11047 postinstall_cmds
='chmod 555 $lib'
11048 # or fails outright, so override atomically:
11049 install_override_mode
=555
11056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11057 soname_spec
='${libname}${release}${shared_ext}$major'
11058 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11059 shlibpath_var
=LD_LIBRARY_PATH
11060 shlibpath_overrides_runpath
=no
11061 hardcode_into_libs
=yes
11064 irix5
* | irix6
* | nonstopux
*)
11066 nonstopux
*) version_type
=nonstopux
;;
11068 if test "$lt_cv_prog_gnu_ld" = yes; then
11076 soname_spec
='${libname}${release}${shared_ext}$major'
11077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11079 irix5
* | nonstopux
*)
11080 libsuff
= shlibsuff
=
11083 case $LD in # libtool.m4 will add one of these switches to LD
11084 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11085 libsuff
= shlibsuff
= libmagic
=32-bit;;
11086 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11087 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11088 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11089 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11090 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11094 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11095 shlibpath_overrides_runpath
=no
11096 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11097 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11098 hardcode_into_libs
=yes
11101 # No shared lib support for Linux oldld, aout, or coff.
11102 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11106 # This must be Linux ELF.
11107 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11112 soname_spec
='${libname}${release}${shared_ext}$major'
11113 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11114 shlibpath_var
=LD_LIBRARY_PATH
11115 shlibpath_overrides_runpath
=no
11117 # Some binutils ld are patched to set DT_RUNPATH
11118 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11119 $as_echo_n "(cached) " >&6
11121 lt_cv_shlibpath_overrides_runpath
=no
11122 save_LDFLAGS
=$LDFLAGS
11123 save_libdir
=$libdir
11124 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11125 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11126 if test x
$gcc_no_link = xyes
; then
11127 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11140 if ac_fn_c_try_link
"$LINENO"; then :
11141 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11142 lt_cv_shlibpath_overrides_runpath
=yes
11145 rm -f core conftest.err conftest.
$ac_objext \
11146 conftest
$ac_exeext conftest.
$ac_ext
11147 LDFLAGS
=$save_LDFLAGS
11148 libdir
=$save_libdir
11152 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11154 # This implies no fast_install, which is unacceptable.
11155 # Some rework will be needed to allow for fast_install
11156 # before this can be enabled.
11157 hardcode_into_libs
=yes
11159 # Append ld.so.conf contents to the search path
11160 if test -f /etc
/ld.so.conf
; then
11161 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11162 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11165 # We used to test for /lib/ld.so.1 and disable shared libraries on
11166 # powerpc, because MkLinux only supported shared libraries with the
11167 # GNU dynamic linker. Since this was broken with cross compilers,
11168 # most powerpc-linux boxes support dynamic linking these days and
11169 # people can always --disable-shared, the test was removed, and we
11170 # assume the GNU/Linux dynamic linker is in use.
11171 dynamic_linker
='GNU/Linux ld.so'
11178 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11180 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11181 dynamic_linker
='NetBSD (a.out) ld.so'
11183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11184 soname_spec
='${libname}${release}${shared_ext}$major'
11185 dynamic_linker
='NetBSD ld.elf_so'
11187 shlibpath_var
=LD_LIBRARY_PATH
11188 shlibpath_overrides_runpath
=yes
11189 hardcode_into_libs
=yes
11194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11195 shlibpath_var
=LD_LIBRARY_PATH
11196 shlibpath_overrides_runpath
=yes
11203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11204 soname_spec
='${libname}${release}${shared_ext}$major'
11205 shlibpath_var
=LD_LIBRARY_PATH
11206 shlibpath_overrides_runpath
=no
11207 hardcode_into_libs
=yes
11208 dynamic_linker
='ldqnx.so'
11213 sys_lib_dlsearch_path_spec
="/usr/lib"
11215 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11217 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11218 *) need_version
=no
;;
11220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11221 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11222 shlibpath_var
=LD_LIBRARY_PATH
11223 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11225 openbsd2.
[89] | openbsd2.
[89].
*)
11226 shlibpath_overrides_runpath
=no
11229 shlibpath_overrides_runpath
=yes
11233 shlibpath_overrides_runpath
=yes
11238 libname_spec
='$name'
11241 library_names_spec
='$libname${shared_ext} $libname.a'
11242 dynamic_linker
='OS/2 ld.exe'
11243 shlibpath_var
=LIBPATH
11246 osf3
* | osf4
* | osf5
*)
11250 soname_spec
='${libname}${release}${shared_ext}$major'
11251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11252 shlibpath_var
=LD_LIBRARY_PATH
11253 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11254 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11266 soname_spec
='${libname}${release}${shared_ext}$major'
11267 shlibpath_var
=LD_LIBRARY_PATH
11268 shlibpath_overrides_runpath
=yes
11269 hardcode_into_libs
=yes
11270 # ldd complains unless libraries are executable
11271 postinstall_cmds
='chmod +x $lib'
11276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11277 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11278 shlibpath_var
=LD_LIBRARY_PATH
11279 shlibpath_overrides_runpath
=yes
11280 if test "$with_gnu_ld" = yes; then
11288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11289 soname_spec
='${libname}${release}${shared_ext}$major'
11290 shlibpath_var
=LD_LIBRARY_PATH
11291 case $host_vendor in
11293 shlibpath_overrides_runpath
=no
11295 runpath_var
=LD_RUN_PATH
11303 shlibpath_overrides_runpath
=no
11304 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11310 if test -d /usr
/nec
;then
11312 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11313 soname_spec
='$libname${shared_ext}.$major'
11314 shlibpath_var
=LD_LIBRARY_PATH
11318 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11319 version_type
=freebsd-elf
11322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11323 soname_spec
='${libname}${release}${shared_ext}$major'
11324 shlibpath_var
=LD_LIBRARY_PATH
11325 shlibpath_overrides_runpath
=yes
11326 hardcode_into_libs
=yes
11327 if test "$with_gnu_ld" = yes; then
11328 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11330 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11333 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11337 sys_lib_dlsearch_path_spec
='/usr/lib'
11341 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346 shlibpath_var
=LD_LIBRARY_PATH
11347 shlibpath_overrides_runpath
=no
11348 hardcode_into_libs
=yes
11353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11354 soname_spec
='${libname}${release}${shared_ext}$major'
11355 shlibpath_var
=LD_LIBRARY_PATH
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11363 $as_echo "$dynamic_linker" >&6; }
11364 test "$dynamic_linker" = no
&& can_build_shared
=no
11366 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11367 if test "$GCC" = yes; then
11368 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11371 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11372 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11374 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11375 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11470 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11472 if test -n "$hardcode_libdir_flag_spec" ||
11473 test -n "$runpath_var" ||
11474 test "X$hardcode_automatic" = "Xyes" ; then
11476 # We can hardcode non-existent directories.
11477 if test "$hardcode_direct" != no
&&
11478 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11479 # have to relink, otherwise we might link with an installed library
11480 # when we should be linking with a yet-to-be-installed one
11481 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11482 test "$hardcode_minus_L" != no
; then
11483 # Linking always hardcodes the temporary library directory.
11484 hardcode_action
=relink
11486 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11487 hardcode_action
=immediate
11490 # We cannot hardcode anything, or else we can only hardcode existing
11492 hardcode_action
=unsupported
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11495 $as_echo "$hardcode_action" >&6; }
11497 if test "$hardcode_action" = relink ||
11498 test "$inherit_rpath" = yes; then
11499 # Fast installation is not supported
11500 enable_fast_install
=no
11501 elif test "$shlibpath_overrides_runpath" = yes ||
11502 test "$enable_shared" = no
; then
11503 # Fast installation is not necessary
11504 enable_fast_install
=needless
11512 if test "x$enable_dlopen" != xyes
; then
11513 enable_dlopen
=unknown
11514 enable_dlopen_self
=unknown
11515 enable_dlopen_self_static
=unknown
11522 lt_cv_dlopen
="load_add_on"
11524 lt_cv_dlopen_self
=yes
11527 mingw
* | pw32
* | cegcc
*)
11528 lt_cv_dlopen
="LoadLibrary"
11533 lt_cv_dlopen
="dlopen"
11538 # if libdl is installed we need to link against it
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11540 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11541 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11542 $as_echo_n "(cached) " >&6
11544 ac_check_lib_save_LIBS
=$LIBS
11546 if test x
$gcc_no_link = xyes
; then
11547 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11552 /* Override any GCC internal prototype to avoid an error.
11553 Use char because int might match the return type of a GCC
11554 builtin and then its argument prototype would still apply. */
11567 if ac_fn_c_try_link
"$LINENO"; then :
11568 ac_cv_lib_dl_dlopen
=yes
11570 ac_cv_lib_dl_dlopen
=no
11572 rm -f core conftest.err conftest.
$ac_objext \
11573 conftest
$ac_exeext conftest.
$ac_ext
11574 LIBS
=$ac_check_lib_save_LIBS
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11577 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11578 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11579 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11582 lt_cv_dlopen
="dyld"
11584 lt_cv_dlopen_self
=yes
11591 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11592 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11593 lt_cv_dlopen
="shl_load"
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11596 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11597 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11598 $as_echo_n "(cached) " >&6
11600 ac_check_lib_save_LIBS
=$LIBS
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. */
11608 /* Override any GCC internal prototype to avoid an error.
11609 Use char because int might match the return type of a GCC
11610 builtin and then its argument prototype would still apply. */
11618 return shl_load ();
11623 if ac_fn_c_try_link
"$LINENO"; then :
11624 ac_cv_lib_dld_shl_load
=yes
11626 ac_cv_lib_dld_shl_load
=no
11628 rm -f core conftest.err conftest.
$ac_objext \
11629 conftest
$ac_exeext conftest.
$ac_ext
11630 LIBS
=$ac_check_lib_save_LIBS
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11633 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11634 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11635 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11637 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11638 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11639 lt_cv_dlopen
="dlopen"
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11642 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11643 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11644 $as_echo_n "(cached) " >&6
11646 ac_check_lib_save_LIBS
=$LIBS
11648 if test x
$gcc_no_link = xyes
; then
11649 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11669 if ac_fn_c_try_link
"$LINENO"; then :
11670 ac_cv_lib_dl_dlopen
=yes
11672 ac_cv_lib_dl_dlopen
=no
11674 rm -f core conftest.err conftest.
$ac_objext \
11675 conftest
$ac_exeext conftest.
$ac_ext
11676 LIBS
=$ac_check_lib_save_LIBS
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11679 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11680 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11681 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11684 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11685 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11686 $as_echo_n "(cached) " >&6
11688 ac_check_lib_save_LIBS
=$LIBS
11689 LIBS
="-lsvld $LIBS"
11690 if test x
$gcc_no_link = xyes
; then
11691 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11694 /* end confdefs.h. */
11696 /* Override any GCC internal prototype to avoid an error.
11697 Use char because int might match the return type of a GCC
11698 builtin and then its argument prototype would still apply. */
11711 if ac_fn_c_try_link
"$LINENO"; then :
11712 ac_cv_lib_svld_dlopen
=yes
11714 ac_cv_lib_svld_dlopen
=no
11716 rm -f core conftest.err conftest.
$ac_objext \
11717 conftest
$ac_exeext conftest.
$ac_ext
11718 LIBS
=$ac_check_lib_save_LIBS
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11721 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11722 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11723 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11726 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11727 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11728 $as_echo_n "(cached) " >&6
11730 ac_check_lib_save_LIBS
=$LIBS
11732 if test x
$gcc_no_link = xyes
; then
11733 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11736 /* end confdefs.h. */
11738 /* Override any GCC internal prototype to avoid an error.
11739 Use char because int might match the return type of a GCC
11740 builtin and then its argument prototype would still apply. */
11748 return dld_link ();
11753 if ac_fn_c_try_link
"$LINENO"; then :
11754 ac_cv_lib_dld_dld_link
=yes
11756 ac_cv_lib_dld_dld_link
=no
11758 rm -f core conftest.err conftest.
$ac_objext \
11759 conftest
$ac_exeext conftest.
$ac_ext
11760 LIBS
=$ac_check_lib_save_LIBS
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11763 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11764 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11765 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11786 if test "x$lt_cv_dlopen" != xno
; then
11792 case $lt_cv_dlopen in
11794 save_CPPFLAGS
="$CPPFLAGS"
11795 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11797 save_LDFLAGS
="$LDFLAGS"
11798 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11801 LIBS
="$lt_cv_dlopen_libs $LIBS"
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11804 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11805 if test "${lt_cv_dlopen_self+set}" = set; then :
11806 $as_echo_n "(cached) " >&6
11808 if test "$cross_compiling" = yes; then :
11809 lt_cv_dlopen_self
=cross
11811 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11812 lt_status
=$lt_dlunknown
11813 cat > conftest.
$ac_ext <<_LT_EOF
11814 #line 11814 "configure"
11815 #include "confdefs.h"
11824 # define LT_DLGLOBAL RTLD_GLOBAL
11827 # define LT_DLGLOBAL DL_GLOBAL
11829 # define LT_DLGLOBAL 0
11833 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11834 find out it does not work in some platform. */
11835 #ifndef LT_DLLAZY_OR_NOW
11837 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11840 # define LT_DLLAZY_OR_NOW DL_LAZY
11843 # define LT_DLLAZY_OR_NOW RTLD_NOW
11846 # define LT_DLLAZY_OR_NOW DL_NOW
11848 # define LT_DLLAZY_OR_NOW 0
11855 /* When -fvisbility=hidden is used, assume the code has been annotated
11856 correspondingly for the symbols needed. */
11857 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11858 void fnord () __attribute__((visibility("default")));
11861 void fnord () { int i=42; }
11864 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11865 int status = $lt_dlunknown;
11869 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11872 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11873 else puts (dlerror ());
11875 /* dlclose (self); */
11883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11884 (eval $ac_link) 2>&5
11886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11887 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11888 (.
/conftest
; exit; ) >&5 2>/dev
/null
11890 case x
$lt_status in
11891 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11892 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11893 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11896 # compilation failed
11897 lt_cv_dlopen_self
=no
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11905 $as_echo "$lt_cv_dlopen_self" >&6; }
11907 if test "x$lt_cv_dlopen_self" = xyes
; then
11908 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11910 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11911 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11912 $as_echo_n "(cached) " >&6
11914 if test "$cross_compiling" = yes; then :
11915 lt_cv_dlopen_self_static
=cross
11917 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11918 lt_status
=$lt_dlunknown
11919 cat > conftest.
$ac_ext <<_LT_EOF
11920 #line 11920 "configure"
11921 #include "confdefs.h"
11930 # define LT_DLGLOBAL RTLD_GLOBAL
11933 # define LT_DLGLOBAL DL_GLOBAL
11935 # define LT_DLGLOBAL 0
11939 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11940 find out it does not work in some platform. */
11941 #ifndef LT_DLLAZY_OR_NOW
11943 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11946 # define LT_DLLAZY_OR_NOW DL_LAZY
11949 # define LT_DLLAZY_OR_NOW RTLD_NOW
11952 # define LT_DLLAZY_OR_NOW DL_NOW
11954 # define LT_DLLAZY_OR_NOW 0
11961 /* When -fvisbility=hidden is used, assume the code has been annotated
11962 correspondingly for the symbols needed. */
11963 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11964 void fnord () __attribute__((visibility("default")));
11967 void fnord () { int i=42; }
11970 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11971 int status = $lt_dlunknown;
11975 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11978 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11979 else puts (dlerror ());
11981 /* dlclose (self); */
11989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11990 (eval $ac_link) 2>&5
11992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11993 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11994 (.
/conftest
; exit; ) >&5 2>/dev
/null
11996 case x
$lt_status in
11997 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11998 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11999 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12002 # compilation failed
12003 lt_cv_dlopen_self_static
=no
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12011 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12014 CPPFLAGS
="$save_CPPFLAGS"
12015 LDFLAGS
="$save_LDFLAGS"
12020 case $lt_cv_dlopen_self in
12021 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12022 *) enable_dlopen_self
=unknown
;;
12025 case $lt_cv_dlopen_self_static in
12026 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12027 *) enable_dlopen_self_static
=unknown
;;
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12050 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12051 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12052 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12053 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12055 $as_echo "yes" >&6; }
12057 # FIXME - insert some real tests, host_os isn't really good enough
12060 if test -n "$STRIP" ; then
12061 striplib
="$STRIP -x"
12062 old_striplib
="$STRIP -S"
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12064 $as_echo "yes" >&6; }
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12067 $as_echo "no" >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12072 $as_echo "no" >&6; }
12088 # Report which library types will actually be built
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12090 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12092 $as_echo "$can_build_shared" >&6; }
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12095 $as_echo_n "checking whether to build shared libraries... " >&6; }
12096 test "$can_build_shared" = "no" && enable_shared
=no
12098 # On AIX, shared libraries and static libraries use the same namespace, and
12099 # are all built from PIC.
12102 test "$enable_shared" = yes && enable_static
=no
12103 if test -n "$RANLIB"; then
12104 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12105 postinstall_cmds
='$RANLIB $lib'
12110 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12111 test "$enable_shared" = yes && enable_static
=no
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12116 $as_echo "$enable_shared" >&6; }
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12119 $as_echo_n "checking whether to build static libraries... " >&6; }
12120 # Make sure either enable_shared or enable_static is yes.
12121 test "$enable_shared" = yes || enable_static
=yes
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12123 $as_echo "$enable_static" >&6; }
12130 ac_cpp
='$CPP $CPPFLAGS'
12131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12149 ac_config_commands
="$ac_config_commands libtool"
12154 # Only expand once:
12157 for ac_prog
in gawk mawk nawk
awk
12159 # Extract the first word of "$ac_prog", so it can be a program name with args.
12160 set dummy
$ac_prog; ac_word
=$2
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12162 $as_echo_n "checking for $ac_word... " >&6; }
12163 if test "${ac_cv_prog_AWK+set}" = set; then :
12164 $as_echo_n "(cached) " >&6
12166 if test -n "$AWK"; then
12167 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
12169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12170 for as_dir
in $PATH
12173 test -z "$as_dir" && as_dir
=.
12174 for ac_exec_ext
in '' $ac_executable_extensions; do
12175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12176 ac_cv_prog_AWK
="$ac_prog"
12177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12186 AWK
=$ac_cv_prog_AWK
12187 if test -n "$AWK"; then
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
12189 $as_echo "$AWK" >&6; }
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12192 $as_echo "no" >&6; }
12196 test -n "$AWK" && break
12200 ac_cpp
='$CPP $CPPFLAGS'
12201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12204 if test -n "$ac_tool_prefix"; then
12205 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12206 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12208 $as_echo_n "checking for $ac_word... " >&6; }
12209 if test "${ac_cv_prog_CC+set}" = set; then :
12210 $as_echo_n "(cached) " >&6
12212 if test -n "$CC"; then
12213 ac_cv_prog_CC
="$CC" # Let the user override the test.
12215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12216 for as_dir
in $PATH
12219 test -z "$as_dir" && as_dir
=.
12220 for ac_exec_ext
in '' $ac_executable_extensions; do
12221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12222 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12233 if test -n "$CC"; then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12235 $as_echo "$CC" >&6; }
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12238 $as_echo "no" >&6; }
12243 if test -z "$ac_cv_prog_CC"; then
12245 # Extract the first word of "gcc", so it can be a program name with args.
12246 set dummy gcc
; ac_word
=$2
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12248 $as_echo_n "checking for $ac_word... " >&6; }
12249 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12250 $as_echo_n "(cached) " >&6
12252 if test -n "$ac_ct_CC"; then
12253 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12256 for as_dir
in $PATH
12259 test -z "$as_dir" && as_dir
=.
12260 for ac_exec_ext
in '' $ac_executable_extensions; do
12261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12262 ac_cv_prog_ac_ct_CC
="gcc"
12263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12272 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12273 if test -n "$ac_ct_CC"; then
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12275 $as_echo "$ac_ct_CC" >&6; }
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12278 $as_echo "no" >&6; }
12281 if test "x$ac_ct_CC" = x
; then
12284 case $cross_compiling:$ac_tool_warned in
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12288 ac_tool_warned
=yes ;;
12293 CC
="$ac_cv_prog_CC"
12296 if test -z "$CC"; then
12297 if test -n "$ac_tool_prefix"; then
12298 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12299 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12301 $as_echo_n "checking for $ac_word... " >&6; }
12302 if test "${ac_cv_prog_CC+set}" = set; then :
12303 $as_echo_n "(cached) " >&6
12305 if test -n "$CC"; then
12306 ac_cv_prog_CC
="$CC" # Let the user override the test.
12308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12309 for as_dir
in $PATH
12312 test -z "$as_dir" && as_dir
=.
12313 for ac_exec_ext
in '' $ac_executable_extensions; do
12314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12315 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12326 if test -n "$CC"; then
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12328 $as_echo "$CC" >&6; }
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12331 $as_echo "no" >&6; }
12337 if test -z "$CC"; then
12338 # Extract the first word of "cc", so it can be a program name with args.
12339 set dummy cc
; ac_word
=$2
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12341 $as_echo_n "checking for $ac_word... " >&6; }
12342 if test "${ac_cv_prog_CC+set}" = set; then :
12343 $as_echo_n "(cached) " >&6
12345 if test -n "$CC"; then
12346 ac_cv_prog_CC
="$CC" # Let the user override the test.
12348 ac_prog_rejected
=no
12349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12350 for as_dir
in $PATH
12353 test -z "$as_dir" && as_dir
=.
12354 for ac_exec_ext
in '' $ac_executable_extensions; do
12355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12356 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12357 ac_prog_rejected
=yes
12361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12368 if test $ac_prog_rejected = yes; then
12369 # We found a bogon in the path, so make sure we never use it.
12370 set dummy
$ac_cv_prog_CC
12372 if test $# != 0; then
12373 # We chose a different compiler from the bogus one.
12374 # However, it has the same basename, so the bogon will be chosen
12375 # first if we set CC to just the basename; use the full file name.
12377 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12383 if test -n "$CC"; then
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12385 $as_echo "$CC" >&6; }
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12388 $as_echo "no" >&6; }
12393 if test -z "$CC"; then
12394 if test -n "$ac_tool_prefix"; then
12395 for ac_prog
in cl.exe
12397 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12398 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12400 $as_echo_n "checking for $ac_word... " >&6; }
12401 if test "${ac_cv_prog_CC+set}" = set; then :
12402 $as_echo_n "(cached) " >&6
12404 if test -n "$CC"; then
12405 ac_cv_prog_CC
="$CC" # Let the user override the test.
12407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12408 for as_dir
in $PATH
12411 test -z "$as_dir" && as_dir
=.
12412 for ac_exec_ext
in '' $ac_executable_extensions; do
12413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12414 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12425 if test -n "$CC"; then
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12427 $as_echo "$CC" >&6; }
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12430 $as_echo "no" >&6; }
12434 test -n "$CC" && break
12437 if test -z "$CC"; then
12439 for ac_prog
in cl.exe
12441 # Extract the first word of "$ac_prog", so it can be a program name with args.
12442 set dummy
$ac_prog; ac_word
=$2
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12444 $as_echo_n "checking for $ac_word... " >&6; }
12445 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12446 $as_echo_n "(cached) " >&6
12448 if test -n "$ac_ct_CC"; then
12449 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12452 for as_dir
in $PATH
12455 test -z "$as_dir" && as_dir
=.
12456 for ac_exec_ext
in '' $ac_executable_extensions; do
12457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12458 ac_cv_prog_ac_ct_CC
="$ac_prog"
12459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12468 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12469 if test -n "$ac_ct_CC"; then
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12471 $as_echo "$ac_ct_CC" >&6; }
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12474 $as_echo "no" >&6; }
12478 test -n "$ac_ct_CC" && break
12481 if test "x$ac_ct_CC" = x
; then
12484 case $cross_compiling:$ac_tool_warned in
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12488 ac_tool_warned
=yes ;;
12497 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12499 as_fn_error
"no acceptable C compiler found in \$PATH
12500 See \`config.log' for more details." "$LINENO" 5; }
12502 # Provide some information about the compiler.
12503 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12506 for ac_option
in --version -v -V -qversion; do
12507 { { ac_try
="$ac_compiler $ac_option >&5"
12508 case "(($ac_try" in
12509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12510 *) ac_try_echo=$ac_try;;
12512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12513 $as_echo "$ac_try_echo"; } >&5
12514 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12516 if test -s conftest.err; then
12518 ... rest of stderr output deleted ...
12519 10q' conftest.err >conftest.er1
12520 cat conftest.er1 >&5
12521 rm -f conftest.er1 conftest.err
12523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12524 test $ac_status = 0; }
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12528 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12529 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12530 $as_echo_n "(cached) " >&6
12532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12546 if ac_fn_c_try_compile "$LINENO"; then :
12547 ac_compiler_gnu=yes
12551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12552 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12556 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12557 if test $ac_compiler_gnu = yes; then
12562 ac_test_CFLAGS=${CFLAGS+set}
12563 ac_save_CFLAGS=$CFLAGS
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12565 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12566 if test "${ac_cv_prog_cc_g+set}" = set; then :
12567 $as_echo_n "(cached) " >&6
12569 ac_save_c_werror_flag=$ac_c_werror_flag
12570 ac_c_werror_flag=yes
12573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12574 /* end confdefs.h. */
12584 if ac_fn_c_try_compile "$LINENO"; then :
12585 ac_cv_prog_cc_g=yes
12588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12599 if ac_fn_c_try_compile "$LINENO"; then :
12602 ac_c_werror_flag=$ac_save_c_werror_flag
12604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12605 /* end confdefs.h. */
12615 if ac_fn_c_try_compile "$LINENO"; then :
12616 ac_cv_prog_cc_g=yes
12618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12623 ac_c_werror_flag=$ac_save_c_werror_flag
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12626 $as_echo "$ac_cv_prog_cc_g" >&6; }
12627 if test "$ac_test_CFLAGS" = set; then
12628 CFLAGS=$ac_save_CFLAGS
12629 elif test $ac_cv_prog_cc_g = yes; then
12630 if test "$GCC" = yes; then
12636 if test "$GCC" = yes; then
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12643 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12644 if test "${ac_cv_prog_cc_c89+set}" = set; then :
12645 $as_echo_n "(cached) " >&6
12647 ac_cv_prog_cc_c89=no
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12651 #include <stdarg.h>
12653 #include <sys/types.h>
12654 #include <sys/stat.h>
12655 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12656 struct buf { int x; };
12657 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12658 static char *e (p, i)
12664 static char *f (char * (*g) (char **, int), char **p, ...)
12669 s = g (p, va_arg (v,int));
12674 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12675 function prototypes and stuff, but not '\xHH' hex character constants.
12676 These don't provoke an error unfortunately, instead are silently treated
12677 as 'x'. The following induces an error, until -std is added to get
12678 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12679 array size at least. It's necessary to write '\x00'==0 to get something
12680 that's true only with -std. */
12681 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12683 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12684 inside strings and character constants. */
12686 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12688 int test (int i, double x);
12689 struct s1 {int (*f) (int a);};
12690 struct s2 {int (*f) (double a);};
12691 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12697 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12702 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12703 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12705 CC="$ac_save_CC $ac_arg"
12706 if ac_fn_c_try_compile "$LINENO"; then :
12707 ac_cv_prog_cc_c89=$ac_arg
12709 rm -f core conftest.err conftest.$ac_objext
12710 test "x$ac_cv_prog_cc_c89" != "xno" && break
12712 rm -f conftest.$ac_ext
12717 case "x$ac_cv_prog_cc_c89" in
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12720 $as_echo "none needed" >&6; } ;;
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12723 $as_echo "unsupported" >&6; } ;;
12725 CC="$CC $ac_cv_prog_cc_c89"
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12727 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12729 if test "x$ac_cv_prog_cc_c89" != xno; then :
12734 ac_cpp='$CPP $CPPFLAGS'
12735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12739 depcc="$CC" am_compiler_list=
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12742 $as_echo_n "checking dependency style of $depcc... " >&6; }
12743 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12744 $as_echo_n "(cached) " >&6
12746 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12747 # We make a subdir and do the tests there. Otherwise we can end up
12748 # making bogus files that we don't know about and never remove. For
12749 # instance it was reported that on HP-UX the gcc test will end up
12750 # making a dummy file named `D
' -- because `-MD' means
`put the output
12753 # Copy depcomp to subdir because otherwise we won't find it if we're
12754 # using a relative directory.
12755 cp "$am_depcomp" conftest.dir
12757 # We will build objects and dependencies in a subdirectory because
12758 # it helps to detect inapplicable dependency modes. For instance
12759 # both Tru64's cc and ICC support -MD to output dependencies as a
12760 # side effect of compilation, but ICC will put the dependencies in
12761 # the current directory while Tru64 will put them in the object
12765 am_cv_CC_dependencies_compiler_type=none
12766 if test "$am_compiler_list" = ""; then
12767 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
12769 am__universal=false
12770 case " $depcc " in #(
12771 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12774 for depmode in $am_compiler_list; do
12775 # Setup a source with many dependencies, because some compilers
12776 # like to wrap large dependency lists on column 80 (with \), and
12777 # we should not choose a depcomp mode which is confused by this.
12779 # We need to recreate these files for each test, as the compiler may
12780 # overwrite some of them when testing with obscure command lines.
12781 # This happens at least with the AIX C compiler.
12783 for i in 1 2 3 4 5 6; do
12784 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12785 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
12786 # Solaris 8's
{/usr
,}/bin
/sh.
12787 touch sub
/conftst
$i.h
12789 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12791 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12792 # mode. It turns out that the SunPro C++ compiler does not properly
12793 # handle `-M -o', and we need to detect this. Also, some Intel
12794 # versions had trouble with output in subdirs
12795 am__obj
=sub
/conftest.
${OBJEXT-o}
12796 am__minus_obj
="-o $am__obj"
12799 # This depmode causes a compiler race in universal mode.
12800 test "$am__universal" = false ||
continue
12803 # after this tag, mechanisms are not by side-effect, so they'll
12804 # only be used when explicitly requested
12805 if test "x$enable_dependency_tracking" = xyes
; then
12811 msvisualcpp | msvcmsys
)
12812 # This compiler won't grok `-c -o', but also, the minuso test has
12813 # not run yet. These depmodes are late enough in the game, and
12814 # so weak that their functioning should not be impacted.
12815 am__obj
=conftest.
${OBJEXT-o}
12820 if depmode
=$depmode \
12821 source=sub
/conftest.c object
=$am__obj \
12822 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12823 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12824 >/dev
/null
2>conftest.err
&&
12825 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12826 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12827 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12828 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12829 # icc doesn't choke on unknown options, it will just issue warnings
12830 # or remarks (even with -Werror). So we grep stderr for any message
12831 # that says an option was ignored or not supported.
12832 # When given -MP, icc 7.0 and 7.1 complain thusly:
12833 # icc: Command line warning: ignoring option '-M'; no argument required
12834 # The diagnosis changed in icc 8.0:
12835 # icc: Command line remark: option '-MP' not supported
12836 if (grep 'ignoring option' conftest.err ||
12837 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12838 am_cv_CC_dependencies_compiler_type
=$depmode
12845 rm -rf conftest.dir
12847 am_cv_CC_dependencies_compiler_type
=none
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12852 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12853 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
12856 test "x$enable_dependency_tracking" != xno \
12857 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
12858 am__fastdepCC_TRUE
=
12859 am__fastdepCC_FALSE
='#'
12861 am__fastdepCC_TRUE
='#'
12862 am__fastdepCC_FALSE
=
12866 if test "x$CC" != xcc
; then
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12868 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12871 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12873 set dummy
$CC; ac_cc
=`$as_echo "$2" |
12874 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12875 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
12876 $as_echo_n "(cached) " >&6
12878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12889 # Make sure it works both with $CC and with simple cc.
12890 # We do the test twice because some compilers refuse to overwrite an
12891 # existing .o file with -o, though they will create one.
12892 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12894 if { { case "(($ac_try" in
12895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12896 *) ac_try_echo=$ac_try;;
12898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12899 $as_echo "$ac_try_echo"; } >&5
12900 (eval "$ac_try") 2>&5
12902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12903 test $ac_status = 0; } &&
12904 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12906 *) ac_try_echo
=$ac_try;;
12908 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12909 $as_echo "$ac_try_echo"; } >&5
12910 (eval "$ac_try") 2>&5
12912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12913 test $ac_status = 0; };
12915 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
12916 if test "x$CC" != xcc
; then
12917 # Test first that cc exists at all.
12918 if { ac_try
='cc -c conftest.$ac_ext >&5'
12919 { { case "(($ac_try" in
12920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12921 *) ac_try_echo=$ac_try;;
12923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12924 $as_echo "$ac_try_echo"; } >&5
12925 (eval "$ac_try") 2>&5
12927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12928 test $ac_status = 0; }; }; then
12929 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12931 if { { case "(($ac_try" in
12932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12933 *) ac_try_echo
=$ac_try;;
12935 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12936 $as_echo "$ac_try_echo"; } >&5
12937 (eval "$ac_try") 2>&5
12939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12940 test $ac_status = 0; } &&
12941 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
12942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12943 *) ac_try_echo=$ac_try;;
12945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12946 $as_echo "$ac_try_echo"; } >&5
12947 (eval "$ac_try") 2>&5
12949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12950 test $ac_status = 0; };
12955 # cc exists but doesn't like -o.
12956 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12961 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12963 rm -f core conftest*
12966 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12968 $as_echo "yes" >&6; }
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12971 $as_echo "no" >&6; }
12973 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12977 # FIXME: we rely on the cache variable name because
12978 # there is no other way.
12980 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12981 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12982 if test "$am_t" != yes; then
12983 # Losing compiler, so override with the script.
12984 # FIXME: It is wrong to rewrite CC.
12985 # But if we don't then we get into trouble of one sort or another.
12986 # A longer-term fix would be to have automake use am__CC in this case,
12987 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12988 CC="$am_aux_dir/compile $CC"
12993 ac_cpp='$CPP $CPPFLAGS'
12994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12998 $as_echo_n "checking how to run the C preprocessor... " >&6; }
12999 # On Suns, sometimes $CPP names a directory.
13000 if test -n "$CPP" && test -d "$CPP"; then
13003 if test -z "$CPP"; then
13004 if test "${ac_cv_prog_CPP+set}" = set; then :
13005 $as_echo_n "(cached) " >&6
13007 # Double quotes because CPP needs to be expanded
13008 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13010 ac_preproc_ok=false
13011 for ac_c_preproc_warn_flag in '' yes
13013 # Use a header file that comes with gcc, so configuring glibc
13014 # with a fresh cross-compiler works.
13015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13016 # <limits.h> exists even on freestanding compilers.
13017 # On the NeXT, cc -E runs the code through the compiler's parser,
13018 # not just through cpp. "Syntax error" is here to catch this case.
13019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13022 # include <limits.h>
13024 # include <assert.h>
13028 if ac_fn_c_try_cpp "$LINENO"; then :
13031 # Broken: fails on valid input.
13034 rm -f conftest.err conftest.$ac_ext
13036 # OK, works on sane cases. Now check whether nonexistent headers
13037 # can be detected and how.
13038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13039 /* end confdefs.h. */
13040 #include <ac_nonexistent.h>
13042 if ac_fn_c_try_cpp "$LINENO"; then :
13043 # Broken: success on invalid input.
13046 # Passes both tests.
13050 rm -f conftest.err conftest.$ac_ext
13053 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13054 rm -f conftest.err conftest.
$ac_ext
13055 if $ac_preproc_ok; then :
13060 ac_cv_prog_CPP
=$CPP
13063 CPP
=$ac_cv_prog_CPP
13065 ac_cv_prog_CPP
=$CPP
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13068 $as_echo "$CPP" >&6; }
13069 ac_preproc_ok
=false
13070 for ac_c_preproc_warn_flag
in '' yes
13072 # Use a header file that comes with gcc, so configuring glibc
13073 # with a fresh cross-compiler works.
13074 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13075 # <limits.h> exists even on freestanding compilers.
13076 # On the NeXT, cc -E runs the code through the compiler's parser,
13077 # not just through cpp. "Syntax error" is here to catch this case.
13078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13079 /* end confdefs.h. */
13081 # include <limits.h>
13083 # include <assert.h>
13087 if ac_fn_c_try_cpp
"$LINENO"; then :
13090 # Broken: fails on valid input.
13093 rm -f conftest.err conftest.
$ac_ext
13095 # OK, works on sane cases. Now check whether nonexistent headers
13096 # can be detected and how.
13097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13098 /* end confdefs.h. */
13099 #include <ac_nonexistent.h>
13101 if ac_fn_c_try_cpp
"$LINENO"; then :
13102 # Broken: success on invalid input.
13105 # Passes both tests.
13109 rm -f conftest.err conftest.
$ac_ext
13112 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13113 rm -f conftest.err conftest.
$ac_ext
13114 if $ac_preproc_ok; then :
13117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13119 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
13120 See \`config.log' for more details." "$LINENO" 5; }
13124 ac_cpp
='$CPP $CPPFLAGS'
13125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13130 ac_cpp
='$CXXCPP $CPPFLAGS'
13131 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13132 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13133 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13134 if test -z "$CXX"; then
13135 if test -n "$CCC"; then
13138 if test -n "$ac_tool_prefix"; then
13139 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
13141 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13142 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13144 $as_echo_n "checking for $ac_word... " >&6; }
13145 if test "${ac_cv_prog_CXX+set}" = set; then :
13146 $as_echo_n "(cached) " >&6
13148 if test -n "$CXX"; then
13149 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13152 for as_dir
in $PATH
13155 test -z "$as_dir" && as_dir
=.
13156 for ac_exec_ext
in '' $ac_executable_extensions; do
13157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13158 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13168 CXX
=$ac_cv_prog_CXX
13169 if test -n "$CXX"; then
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13171 $as_echo "$CXX" >&6; }
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13174 $as_echo "no" >&6; }
13178 test -n "$CXX" && break
13181 if test -z "$CXX"; then
13183 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
13185 # Extract the first word of "$ac_prog", so it can be a program name with args.
13186 set dummy
$ac_prog; ac_word
=$2
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13188 $as_echo_n "checking for $ac_word... " >&6; }
13189 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13190 $as_echo_n "(cached) " >&6
13192 if test -n "$ac_ct_CXX"; then
13193 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13196 for as_dir
in $PATH
13199 test -z "$as_dir" && as_dir
=.
13200 for ac_exec_ext
in '' $ac_executable_extensions; do
13201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13202 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13212 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13213 if test -n "$ac_ct_CXX"; then
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13215 $as_echo "$ac_ct_CXX" >&6; }
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13218 $as_echo "no" >&6; }
13222 test -n "$ac_ct_CXX" && break
13225 if test "x$ac_ct_CXX" = x
; then
13228 case $cross_compiling:$ac_tool_warned in
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13232 ac_tool_warned
=yes ;;
13240 # Provide some information about the compiler.
13241 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13244 for ac_option
in --version -v -V -qversion; do
13245 { { ac_try
="$ac_compiler $ac_option >&5"
13246 case "(($ac_try" in
13247 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13248 *) ac_try_echo=$ac_try;;
13250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13251 $as_echo "$ac_try_echo"; } >&5
13252 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13254 if test -s conftest.err; then
13256 ... rest of stderr output deleted ...
13257 10q' conftest.err >conftest.er1
13258 cat conftest.er1 >&5
13259 rm -f conftest.er1 conftest.err
13261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13262 test $ac_status = 0; }
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13266 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13267 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13268 $as_echo_n "(cached) " >&6
13270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13271 /* end confdefs.h. */
13284 if ac_fn_cxx_try_compile "$LINENO"; then :
13285 ac_compiler_gnu=yes
13289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13290 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13294 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13295 if test $ac_compiler_gnu = yes; then
13300 ac_test_CXXFLAGS=${CXXFLAGS+set}
13301 ac_save_CXXFLAGS=$CXXFLAGS
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13303 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13304 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13305 $as_echo_n "(cached) " >&6
13307 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13308 ac_cxx_werror_flag=yes
13309 ac_cv_prog_cxx_g=no
13311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13322 if ac_fn_cxx_try_compile "$LINENO"; then :
13323 ac_cv_prog_cxx_g=yes
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13337 if ac_fn_cxx_try_compile "$LINENO"; then :
13340 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13343 /* end confdefs.h. */
13353 if ac_fn_cxx_try_compile "$LINENO"; then :
13354 ac_cv_prog_cxx_g=yes
13356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13361 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13364 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13365 if test "$ac_test_CXXFLAGS" = set; then
13366 CXXFLAGS=$ac_save_CXXFLAGS
13367 elif test $ac_cv_prog_cxx_g = yes; then
13368 if test "$GXX" = yes; then
13374 if test "$GXX" = yes; then
13381 ac_cpp='$CPP $CPPFLAGS'
13382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13386 depcc="$CXX" am_compiler_list=
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13389 $as_echo_n "checking dependency style of $depcc... " >&6; }
13390 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13391 $as_echo_n "(cached) " >&6
13393 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13394 # We make a subdir and do the tests there. Otherwise we can end up
13395 # making bogus files that we don't know about and never remove. For
13396 # instance it was reported that on HP-UX the gcc test will end up
13397 # making a dummy file named `D
' -- because `-MD' means
`put the output
13400 # Copy depcomp to subdir because otherwise we won't find it if we're
13401 # using a relative directory.
13402 cp "$am_depcomp" conftest.dir
13404 # We will build objects and dependencies in a subdirectory because
13405 # it helps to detect inapplicable dependency modes. For instance
13406 # both Tru64's cc and ICC support -MD to output dependencies as a
13407 # side effect of compilation, but ICC will put the dependencies in
13408 # the current directory while Tru64 will put them in the object
13412 am_cv_CXX_dependencies_compiler_type=none
13413 if test "$am_compiler_list" = ""; then
13414 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
13416 am__universal=false
13417 case " $depcc " in #(
13418 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13421 for depmode in $am_compiler_list; do
13422 # Setup a source with many dependencies, because some compilers
13423 # like to wrap large dependency lists on column 80 (with \), and
13424 # we should not choose a depcomp mode which is confused by this.
13426 # We need to recreate these files for each test, as the compiler may
13427 # overwrite some of them when testing with obscure command lines.
13428 # This happens at least with the AIX C compiler.
13430 for i in 1 2 3 4 5 6; do
13431 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13432 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
13433 # Solaris 8's
{/usr
,}/bin
/sh.
13434 touch sub
/conftst
$i.h
13436 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13438 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13439 # mode. It turns out that the SunPro C++ compiler does not properly
13440 # handle `-M -o', and we need to detect this. Also, some Intel
13441 # versions had trouble with output in subdirs
13442 am__obj
=sub
/conftest.
${OBJEXT-o}
13443 am__minus_obj
="-o $am__obj"
13446 # This depmode causes a compiler race in universal mode.
13447 test "$am__universal" = false ||
continue
13450 # after this tag, mechanisms are not by side-effect, so they'll
13451 # only be used when explicitly requested
13452 if test "x$enable_dependency_tracking" = xyes
; then
13458 msvisualcpp | msvcmsys
)
13459 # This compiler won't grok `-c -o', but also, the minuso test has
13460 # not run yet. These depmodes are late enough in the game, and
13461 # so weak that their functioning should not be impacted.
13462 am__obj
=conftest.
${OBJEXT-o}
13467 if depmode
=$depmode \
13468 source=sub
/conftest.c object
=$am__obj \
13469 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13470 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
13471 >/dev
/null
2>conftest.err
&&
13472 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13473 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13474 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
13475 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13476 # icc doesn't choke on unknown options, it will just issue warnings
13477 # or remarks (even with -Werror). So we grep stderr for any message
13478 # that says an option was ignored or not supported.
13479 # When given -MP, icc 7.0 and 7.1 complain thusly:
13480 # icc: Command line warning: ignoring option '-M'; no argument required
13481 # The diagnosis changed in icc 8.0:
13482 # icc: Command line remark: option '-MP' not supported
13483 if (grep 'ignoring option' conftest.err ||
13484 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13485 am_cv_CXX_dependencies_compiler_type
=$depmode
13492 rm -rf conftest.dir
13494 am_cv_CXX_dependencies_compiler_type
=none
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13499 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13500 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
13503 test "x$enable_dependency_tracking" != xno \
13504 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
13505 am__fastdepCXX_TRUE
=
13506 am__fastdepCXX_FALSE
='#'
13508 am__fastdepCXX_TRUE
='#'
13509 am__fastdepCXX_FALSE
=
13513 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13514 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13515 (test "X$CXX" != "Xg++"))) ; then
13517 ac_cpp
='$CXXCPP $CPPFLAGS'
13518 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13519 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13520 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13522 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13523 if test -z "$CXXCPP"; then
13524 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13525 $as_echo_n "(cached) " >&6
13527 # Double quotes because CXXCPP needs to be expanded
13528 for CXXCPP
in "$CXX -E" "/lib/cpp"
13530 ac_preproc_ok
=false
13531 for ac_cxx_preproc_warn_flag
in '' yes
13533 # Use a header file that comes with gcc, so configuring glibc
13534 # with a fresh cross-compiler works.
13535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13536 # <limits.h> exists even on freestanding compilers.
13537 # On the NeXT, cc -E runs the code through the compiler's parser,
13538 # not just through cpp. "Syntax error" is here to catch this case.
13539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13540 /* end confdefs.h. */
13542 # include <limits.h>
13544 # include <assert.h>
13548 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13551 # Broken: fails on valid input.
13554 rm -f conftest.err conftest.
$ac_ext
13556 # OK, works on sane cases. Now check whether nonexistent headers
13557 # can be detected and how.
13558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13559 /* end confdefs.h. */
13560 #include <ac_nonexistent.h>
13562 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13563 # Broken: success on invalid input.
13566 # Passes both tests.
13570 rm -f conftest.err conftest.
$ac_ext
13573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13574 rm -f conftest.err conftest.
$ac_ext
13575 if $ac_preproc_ok; then :
13580 ac_cv_prog_CXXCPP
=$CXXCPP
13583 CXXCPP
=$ac_cv_prog_CXXCPP
13585 ac_cv_prog_CXXCPP
=$CXXCPP
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13588 $as_echo "$CXXCPP" >&6; }
13589 ac_preproc_ok
=false
13590 for ac_cxx_preproc_warn_flag
in '' yes
13592 # Use a header file that comes with gcc, so configuring glibc
13593 # with a fresh cross-compiler works.
13594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13595 # <limits.h> exists even on freestanding compilers.
13596 # On the NeXT, cc -E runs the code through the compiler's parser,
13597 # not just through cpp. "Syntax error" is here to catch this case.
13598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13599 /* end confdefs.h. */
13601 # include <limits.h>
13603 # include <assert.h>
13607 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13610 # Broken: fails on valid input.
13613 rm -f conftest.err conftest.
$ac_ext
13615 # OK, works on sane cases. Now check whether nonexistent headers
13616 # can be detected and how.
13617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 #include <ac_nonexistent.h>
13621 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13622 # Broken: success on invalid input.
13625 # Passes both tests.
13629 rm -f conftest.err conftest.
$ac_ext
13632 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13633 rm -f conftest.err conftest.
$ac_ext
13634 if $ac_preproc_ok; then :
13637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13639 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
13640 See \`config.log' for more details." "$LINENO" 5; }
13644 ac_cpp
='$CPP $CPPFLAGS'
13645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13650 _lt_caught_CXX_error
=yes
13654 ac_cpp
='$CXXCPP $CPPFLAGS'
13655 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13656 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13657 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13659 archive_cmds_need_lc_CXX
=no
13660 allow_undefined_flag_CXX
=
13661 always_export_symbols_CXX
=no
13662 archive_expsym_cmds_CXX
=
13663 compiler_needs_object_CXX
=no
13664 export_dynamic_flag_spec_CXX
=
13665 hardcode_direct_CXX
=no
13666 hardcode_direct_absolute_CXX
=no
13667 hardcode_libdir_flag_spec_CXX
=
13668 hardcode_libdir_flag_spec_ld_CXX
=
13669 hardcode_libdir_separator_CXX
=
13670 hardcode_minus_L_CXX
=no
13671 hardcode_shlibpath_var_CXX
=unsupported
13672 hardcode_automatic_CXX
=no
13673 inherit_rpath_CXX
=no
13675 module_expsym_cmds_CXX
=
13676 link_all_deplibs_CXX
=unknown
13677 old_archive_cmds_CXX
=$old_archive_cmds
13678 reload_flag_CXX
=$reload_flag
13679 reload_cmds_CXX
=$reload_cmds
13680 no_undefined_flag_CXX
=
13681 whole_archive_flag_spec_CXX
=
13682 enable_shared_with_static_runtimes_CXX
=no
13684 # Source file extension for C++ test sources.
13687 # Object file extension for compiled C++ test sources.
13691 # No sense in running all these tests if we already determined that
13692 # the CXX compiler isn't working. Some variables (like enable_shared)
13693 # are currently assumed to apply to all compilers on this platform,
13694 # and will be corrupted by setting them based on a non-working compiler.
13695 if test "$_lt_caught_CXX_error" != yes; then
13696 # Code to be used in simple compile tests
13697 lt_simple_compile_test_code
="int some_variable = 0;"
13699 # Code to be used in simple link tests
13700 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13702 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13709 # If no C compiler was specified, use CC.
13712 # If no C compiler flags were specified, use CFLAGS.
13713 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13715 # Allow CC to be a program name with arguments.
13719 # save warnings/boilerplate of simple test code
13720 ac_outfile
=conftest.
$ac_objext
13721 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13722 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13723 _lt_compiler_boilerplate
=`cat conftest.err`
13726 ac_outfile
=conftest.
$ac_objext
13727 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13728 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13729 _lt_linker_boilerplate
=`cat conftest.err`
13733 # Allow CC to be a program name with arguments.
13738 lt_save_with_gnu_ld
=$with_gnu_ld
13739 lt_save_path_LD
=$lt_cv_path_LD
13740 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13741 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13743 $as_unset lt_cv_prog_gnu_ld
13745 if test -n "${lt_cv_path_LDCXX+set}"; then
13746 lt_cv_path_LD
=$lt_cv_path_LDCXX
13748 $as_unset lt_cv_path_LD
13750 test -z "${LDCXX+set}" || LD
=$LDCXX
13754 for cc_temp
in $compiler""; do
13756 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13757 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13762 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13765 if test -n "$compiler"; then
13766 # We don't want -fno-exception when compiling C++ code, so set the
13767 # no_builtin_flag separately
13768 if test "$GXX" = yes; then
13769 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13771 lt_prog_compiler_no_builtin_flag_CXX
=
13774 if test "$GXX" = yes; then
13775 # Set up default GNU C++ configuration
13779 # Check whether --with-gnu-ld was given.
13780 if test "${with_gnu_ld+set}" = set; then :
13781 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13787 if test "$GCC" = yes; then
13788 # Check if gcc -print-prog-name=ld gives a path.
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13790 $as_echo_n "checking for ld used by $CC... " >&6; }
13793 # gcc leaves a trailing carriage return which upsets mingw
13794 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13796 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13799 # Accept absolute paths.
13801 re_direlt
='/[^/][^/]*/\.\./'
13802 # Canonicalize the pathname of ld
13803 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13804 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13805 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13807 test -z "$LD" && LD
="$ac_prog"
13810 # If it fails, then pretend we aren't using GCC.
13814 # If it is relative, then search for the first ld in PATH.
13815 with_gnu_ld
=unknown
13818 elif test "$with_gnu_ld" = yes; then
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13820 $as_echo_n "checking for GNU ld... " >&6; }
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13823 $as_echo_n "checking for non-GNU ld... " >&6; }
13825 if test "${lt_cv_path_LD+set}" = set; then :
13826 $as_echo_n "(cached) " >&6
13828 if test -z "$LD"; then
13829 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13830 for ac_dir
in $PATH; do
13832 test -z "$ac_dir" && ac_dir
=.
13833 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13834 lt_cv_path_LD
="$ac_dir/$ac_prog"
13835 # Check to see if the program is GNU ld. I'd rather use --version,
13836 # but apparently some variants of GNU ld only accept -v.
13837 # Break only if it was the GNU/non-GNU ld that we prefer.
13838 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13839 *GNU
* |
*'with BFD'*)
13840 test "$with_gnu_ld" != no
&& break
13843 test "$with_gnu_ld" != yes && break
13850 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13854 LD
="$lt_cv_path_LD"
13855 if test -n "$LD"; then
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13857 $as_echo "$LD" >&6; }
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13860 $as_echo "no" >&6; }
13862 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13864 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13865 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
13866 $as_echo_n "(cached) " >&6
13868 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13869 case `$LD -v 2>&1 </dev/null` in
13870 *GNU
* |
*'with BFD'*)
13871 lt_cv_prog_gnu_ld
=yes
13874 lt_cv_prog_gnu_ld
=no
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13879 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13880 with_gnu_ld
=$lt_cv_prog_gnu_ld
13888 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13889 # archiving commands below assume that GNU ld is being used.
13890 if test "$with_gnu_ld" = yes; then
13891 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13892 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'
13894 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13895 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13897 # If archive_cmds runs LD, not CC, wlarc should be empty
13898 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13899 # investigate it a little bit more. (MM)
13902 # ancient GNU ld didn't support --whole-archive et. al.
13903 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13904 $GREP 'no-whole-archive' > /dev
/null
; then
13905 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13907 whole_archive_flag_spec_CXX
=
13913 # A generic and very simple default shared library creation
13914 # command for GNU C++ for the case where it uses the native
13915 # linker, instead of GNU ld. If possible, this setting should
13916 # overridden to take advantage of the native linker features on
13917 # the platform it is being used on.
13918 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13921 # Commands to make compiler produce verbose output that lists
13922 # what "hidden" libraries, object files and flags are used when
13923 # linking a shared library.
13924 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13932 # PORTME: fill in a description of your system's C++ link characteristics
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13934 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13938 # FIXME: insert proper C++ library support
13942 if test "$host_cpu" = ia64
; then
13943 # On IA64, the linker does run time linking by default, so we don't
13944 # have to do anything special.
13945 aix_use_runtimelinking
=no
13946 exp_sym_flag
='-Bexport'
13949 aix_use_runtimelinking
=no
13951 # Test if we are trying to use run time linking or normal
13952 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13953 # need to do runtime linking.
13954 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13955 for ld_flag
in $LDFLAGS; do
13958 aix_use_runtimelinking
=yes
13966 exp_sym_flag
='-bexport'
13967 no_entry_flag
='-bnoentry'
13970 # When large executables or shared objects are built, AIX ld can
13971 # have problems creating the table of contents. If linking a library
13972 # or program results in "error TOC overflow" add -mminimal-toc to
13973 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13974 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13976 archive_cmds_CXX
=''
13977 hardcode_direct_CXX
=yes
13978 hardcode_direct_absolute_CXX
=yes
13979 hardcode_libdir_separator_CXX
=':'
13980 link_all_deplibs_CXX
=yes
13981 file_list_spec_CXX
='${wl}-f,'
13983 if test "$GXX" = yes; then
13984 case $host_os in aix4.
[012]|aix4.
[012].
*)
13985 # We only want to do this on AIX 4.2 and lower, the check
13986 # below for broken collect2 doesn't work under 4.3+
13987 collect2name
=`${CC} -print-prog-name=collect2`
13988 if test -f "$collect2name" &&
13989 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13991 # We have reworked collect2
13994 # We have old collect2
13995 hardcode_direct_CXX
=unsupported
13996 # It fails to find uninstalled libraries when the uninstalled
13997 # path is not listed in the libpath. Setting hardcode_minus_L
13998 # to unsupported forces relinking
13999 hardcode_minus_L_CXX
=yes
14000 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14001 hardcode_libdir_separator_CXX
=
14004 shared_flag
='-shared'
14005 if test "$aix_use_runtimelinking" = yes; then
14006 shared_flag
="$shared_flag "'${wl}-G'
14010 if test "$host_cpu" = ia64
; then
14011 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14012 # chokes on -Wl,-G. The following line is correct:
14015 if test "$aix_use_runtimelinking" = yes; then
14016 shared_flag
='${wl}-G'
14018 shared_flag
='${wl}-bM:SRE'
14023 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14024 # It seems that -bexpall does not export symbols beginning with
14025 # underscore (_), so it is better to generate a list of symbols to
14027 always_export_symbols_CXX
=yes
14028 if test "$aix_use_runtimelinking" = yes; then
14029 # Warning - without using the other runtime loading flags (-brtl),
14030 # -berok will link without error, but may produce a broken library.
14031 allow_undefined_flag_CXX
='-berok'
14032 # Determine the default libpath from the value encoded in an empty
14034 if test x
$gcc_no_link = xyes
; then
14035 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14038 /* end confdefs.h. */
14048 if ac_fn_cxx_try_link
"$LINENO"; then :
14050 lt_aix_libpath_sed
='
14051 /Import File Strings/,/^$/ {
14057 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14058 # Check for a 64-bit object if we didn't find anything.
14059 if test -z "$aix_libpath"; then
14060 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14063 rm -f core conftest.err conftest.
$ac_objext \
14064 conftest
$ac_exeext conftest.
$ac_ext
14065 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14067 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14069 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14071 if test "$host_cpu" = ia64
; then
14072 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14073 allow_undefined_flag_CXX
="-z nodefs"
14074 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"
14076 # Determine the default libpath from the value encoded in an
14077 # empty executable.
14078 if test x
$gcc_no_link = xyes
; then
14079 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14092 if ac_fn_cxx_try_link
"$LINENO"; then :
14094 lt_aix_libpath_sed
='
14095 /Import File Strings/,/^$/ {
14101 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14102 # Check for a 64-bit object if we didn't find anything.
14103 if test -z "$aix_libpath"; then
14104 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14107 rm -f core conftest.err conftest.
$ac_objext \
14108 conftest
$ac_exeext conftest.
$ac_ext
14109 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14111 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14112 # Warning - without using the other run time loading flags,
14113 # -berok will link without error, but may produce a broken library.
14114 no_undefined_flag_CXX
=' ${wl}-bernotok'
14115 allow_undefined_flag_CXX
=' ${wl}-berok'
14116 if test "$with_gnu_ld" = yes; then
14117 # We only use this code for GNU lds that support --whole-archive.
14118 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14120 # Exported symbols can be pulled into shared objects from archives
14121 whole_archive_flag_spec_CXX
='$convenience'
14123 archive_cmds_need_lc_CXX
=yes
14124 # This is similar to how AIX traditionally builds its shared
14126 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'
14132 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14133 allow_undefined_flag_CXX
=unsupported
14134 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14135 # support --undefined. This deserves some investigation. FIXME
14136 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14143 case $cc_basename in
14145 # FIXME: insert proper C++ library support
14151 cygwin
* | mingw
* | pw32
* | cegcc
*)
14152 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14153 # as there is no search path for DLLs.
14154 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14155 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
14156 allow_undefined_flag_CXX
=unsupported
14157 always_export_symbols_CXX
=no
14158 enable_shared_with_static_runtimes_CXX
=yes
14160 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14161 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'
14162 # If the export-symbols file already is a .def file (1st line
14163 # is EXPORTS), use it as is; otherwise, prepend...
14164 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14165 cp $export_symbols $output_objdir/$soname.def;
14167 echo EXPORTS > $output_objdir/$soname.def;
14168 cat $export_symbols >> $output_objdir/$soname.def;
14170 $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'
14175 darwin
* | rhapsody
*)
14178 archive_cmds_need_lc_CXX
=no
14179 hardcode_direct_CXX
=no
14180 hardcode_automatic_CXX
=yes
14181 hardcode_shlibpath_var_CXX
=unsupported
14182 if test "$lt_cv_ld_force_load" = "yes"; then
14183 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14185 whole_archive_flag_spec_CXX
=''
14187 link_all_deplibs_CXX
=yes
14188 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14189 case $cc_basename in
14190 ifort
*) _lt_dar_can_shared
=yes ;;
14191 *) _lt_dar_can_shared
=$GCC ;;
14193 if test "$_lt_dar_can_shared" = "yes"; then
14194 output_verbose_link_cmd
=func_echo_all
14195 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}"
14196 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14197 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}"
14198 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}"
14199 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14200 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}"
14201 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}"
14211 case $cc_basename in
14213 # FIXME: insert proper C++ library support
14217 # Green Hills C++ Compiler
14218 # FIXME: insert proper C++ library support
14222 # FIXME: insert proper C++ library support
14229 # C++ shared libraries reported to be fairly broken before
14235 archive_cmds_need_lc_CXX
=no
14238 freebsd
* | dragonfly
*)
14239 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14248 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14249 link_all_deplibs_CXX
=yes
14253 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14254 hardcode_libdir_separator_CXX
=:
14255 export_dynamic_flag_spec_CXX
='${wl}-E'
14256 hardcode_direct_CXX
=yes
14257 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14258 # but as the default
14259 # location of the library.
14261 case $cc_basename in
14263 # FIXME: insert proper C++ library support
14267 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'
14268 # Commands to make compiler produce verbose output that lists
14269 # what "hidden" libraries, object files and flags are used when
14270 # linking a shared library.
14272 # There doesn't appear to be a way to prevent this compiler from
14273 # explicitly linking system object files so we need to strip them
14274 # from the output so that they don't get included in the library
14276 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14279 if test "$GXX" = yes; then
14280 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'
14282 # FIXME: insert proper C++ library support
14290 if test $with_gnu_ld = no
; then
14291 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14292 hardcode_libdir_separator_CXX
=:
14298 export_dynamic_flag_spec_CXX
='${wl}-E'
14304 hardcode_direct_CXX
=no
14305 hardcode_shlibpath_var_CXX
=no
14308 hardcode_direct_CXX
=yes
14309 hardcode_direct_absolute_CXX
=yes
14310 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14311 # but as the default
14312 # location of the library.
14316 case $cc_basename in
14318 # FIXME: insert proper C++ library support
14324 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14327 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14330 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14333 # Commands to make compiler produce verbose output that lists
14334 # what "hidden" libraries, object files and flags are used when
14335 # linking a shared library.
14337 # There doesn't appear to be a way to prevent this compiler from
14338 # explicitly linking system object files so we need to strip them
14339 # from the output so that they don't get included in the library
14341 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14344 if test "$GXX" = yes; then
14345 if test $with_gnu_ld = no
; then
14348 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14351 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14354 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'
14359 # FIXME: insert proper C++ library support
14367 hardcode_direct_CXX
=no
14368 hardcode_shlibpath_var_CXX
=no
14369 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14370 export_dynamic_flag_spec_CXX
='${wl}-E'
14371 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14372 # Instead, shared libraries are loaded at an image base (0x10000000 by
14373 # default) and relocated if they conflict, which is a slow very memory
14374 # consuming and fragmenting process. To avoid this, we pick a random,
14375 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14376 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14377 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'
14378 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'
14381 case $cc_basename in
14384 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14386 # Archives containing C++ object files must be created using
14387 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14388 # necessary to make sure instantiated templates are included
14390 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14393 if test "$GXX" = yes; then
14394 if test "$with_gnu_ld" = no
; then
14395 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14397 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
14400 link_all_deplibs_CXX
=yes
14403 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14404 hardcode_libdir_separator_CXX
=:
14405 inherit_rpath_CXX
=yes
14408 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14409 case $cc_basename in
14411 # Kuck and Associates, Inc. (KAI) C++ Compiler
14413 # KCC will only create a shared library if the output file
14414 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14415 # to its proper name (with version) after linking.
14416 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'
14417 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'
14418 # Commands to make compiler produce verbose output that lists
14419 # what "hidden" libraries, object files and flags are used when
14420 # linking a shared library.
14422 # There doesn't appear to be a way to prevent this compiler from
14423 # explicitly linking system object files so we need to strip them
14424 # from the output so that they don't get included in the library
14426 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14428 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14429 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14431 # Archives containing C++ object files must be created using
14432 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14433 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14438 # version 8.0 and above of icpc choke on multiply defined symbols
14439 # if we add $predep_objects and $postdep_objects, however 7.1 and
14440 # earlier do not add the objects themselves.
14441 case `$CC -V 2>&1` in
14443 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14444 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'
14446 *) # Version 8.0 or newer
14449 ia64
*) tmp_idyn
=' -i_dynamic';;
14451 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14452 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'
14455 archive_cmds_need_lc_CXX
=no
14456 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14457 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14458 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14461 # Portland Group C++ compiler
14463 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
14464 prelink_cmds_CXX
='tpldir=Template.dir~
14466 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14467 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14468 old_archive_cmds_CXX
='tpldir=Template.dir~
14470 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14471 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14473 archive_cmds_CXX
='tpldir=Template.dir~
14475 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14476 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14477 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14479 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14480 $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'
14482 *) # Version 6 and above use weak symbols
14483 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14484 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'
14488 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14489 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14490 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14494 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14495 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'
14497 runpath_var
=LD_RUN_PATH
14498 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14499 hardcode_libdir_separator_CXX
=:
14501 # Commands to make compiler produce verbose output that lists
14502 # what "hidden" libraries, object files and flags are used when
14503 # linking a shared library.
14505 # There doesn't appear to be a way to prevent this compiler from
14506 # explicitly linking system object files so we need to strip them
14507 # from the output so that they don't get included in the library
14509 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14511 xl
* | mpixl
* | bgxl
*)
14512 # IBM XL 8.0 on PPC, with GNU ld
14513 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14514 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14515 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14516 if test "x$supports_anon_versioning" = xyes
; then
14517 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14518 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14519 echo "local: *; };" >> $output_objdir/$libname.ver~
14520 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14524 case `$CC -V 2>&1 | sed 5q` in
14527 no_undefined_flag_CXX
=' -zdefs'
14528 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14529 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'
14530 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14531 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14532 compiler_needs_object_CXX
=yes
14534 # Not sure whether something based on
14535 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14537 output_verbose_link_cmd
='func_echo_all'
14539 # Archives containing C++ object files must be created using
14540 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14541 # necessary to make sure instantiated templates are included
14543 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14551 # FIXME: insert proper C++ library support
14556 # FIXME: insert proper C++ library support
14561 case $cc_basename in
14563 # FIXME: insert proper C++ library support
14567 # FIXME: insert proper C++ library support
14574 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14575 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14577 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14578 hardcode_direct_CXX
=yes
14579 hardcode_shlibpath_var_CXX
=no
14581 # Workaround some broken pre-1.5 toolchains
14582 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14590 # C++ shared libraries are fairly broken
14595 if test -f /usr
/libexec
/ld.so
; then
14596 hardcode_direct_CXX
=yes
14597 hardcode_shlibpath_var_CXX
=no
14598 hardcode_direct_absolute_CXX
=yes
14599 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14600 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14601 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14602 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14603 export_dynamic_flag_spec_CXX
='${wl}-E'
14604 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14606 output_verbose_link_cmd
=func_echo_all
14612 osf3
* | osf4
* | osf5
*)
14613 case $cc_basename in
14615 # Kuck and Associates, Inc. (KAI) C++ Compiler
14617 # KCC will only create a shared library if the output file
14618 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14619 # to its proper name (with version) after linking.
14620 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'
14622 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14623 hardcode_libdir_separator_CXX
=:
14625 # Archives containing C++ object files must be created using
14626 # the KAI C++ compiler.
14628 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14629 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14633 # Rational C++ 2.4.1
14634 # FIXME: insert proper C++ library support
14640 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14641 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14642 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14645 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14646 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14647 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14648 echo "-hidden">> $lib.exp~
14649 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
14651 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14655 hardcode_libdir_separator_CXX
=:
14657 # Commands to make compiler produce verbose output that lists
14658 # what "hidden" libraries, object files and flags are used when
14659 # linking a shared library.
14661 # There doesn't appear to be a way to prevent this compiler from
14662 # explicitly linking system object files so we need to strip them
14663 # from the output so that they don't get included in the library
14665 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14668 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14669 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14672 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14675 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14679 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14680 hardcode_libdir_separator_CXX
=:
14682 # Commands to make compiler produce verbose output that lists
14683 # what "hidden" libraries, object files and flags are used when
14684 # linking a shared library.
14685 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14688 # FIXME: insert proper C++ library support
14696 # FIXME: insert proper C++ library support
14701 case $cc_basename in
14704 # FIXME: insert proper C++ library support
14709 # FIXME: insert proper C++ library support
14713 # FIXME: insert proper C++ library support
14720 case $cc_basename in
14722 # Sun C++ 4.2, 5.x and Centerline C++
14723 archive_cmds_need_lc_CXX
=yes
14724 no_undefined_flag_CXX
=' -zdefs'
14725 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14726 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14727 $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'
14729 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14730 hardcode_shlibpath_var_CXX
=no
14732 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14734 # The compiler driver will combine and reorder linker options,
14735 # but understands `-z linker_flag'.
14736 # Supported since Solaris 2.6 (maybe 2.5.1?)
14737 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14740 link_all_deplibs_CXX
=yes
14742 output_verbose_link_cmd
='func_echo_all'
14744 # Archives containing C++ object files must be created using
14745 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14746 # necessary to make sure instantiated templates are included
14748 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14751 # Green Hills C++ Compiler
14752 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14754 # The C++ compiler must be used to create the archive.
14755 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14758 # GNU C++ compiler with Solaris linker
14759 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14760 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14761 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14762 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14763 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14764 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14766 # Commands to make compiler produce verbose output that lists
14767 # what "hidden" libraries, object files and flags are used when
14768 # linking a shared library.
14769 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14771 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14773 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14774 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14775 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14777 # Commands to make compiler produce verbose output that lists
14778 # what "hidden" libraries, object files and flags are used when
14779 # linking a shared library.
14780 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14783 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14785 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14787 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14795 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14796 no_undefined_flag_CXX
='${wl}-z,text'
14797 archive_cmds_need_lc_CXX
=no
14798 hardcode_shlibpath_var_CXX
=no
14799 runpath_var
='LD_RUN_PATH'
14801 case $cc_basename in
14803 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14804 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14807 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14808 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14813 sysv5
* | sco3.2v5
* | sco5v6
*)
14814 # Note: We can NOT use -z defs as we might desire, because we do not
14815 # link with -lc, and that would cause any symbols used from libc to
14816 # always be unresolved, which means just about no library would
14817 # ever link correctly. If we're not using GNU ld we use -z text
14818 # though, which does catch some bad symbols but isn't as heavy-handed
14820 no_undefined_flag_CXX
='${wl}-z,text'
14821 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14822 archive_cmds_need_lc_CXX
=no
14823 hardcode_shlibpath_var_CXX
=no
14824 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14825 hardcode_libdir_separator_CXX
=':'
14826 link_all_deplibs_CXX
=yes
14827 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14828 runpath_var
='LD_RUN_PATH'
14830 case $cc_basename in
14832 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14833 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14834 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14835 '"$old_archive_cmds_CXX"
14836 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14837 '"$reload_cmds_CXX"
14840 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14841 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14847 case $cc_basename in
14849 # NonStop-UX NCC 3.20
14850 # FIXME: insert proper C++ library support
14854 # FIXME: insert proper C++ library support
14861 # FIXME: insert proper C++ library support
14866 # FIXME: insert proper C++ library support
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14872 $as_echo "$ld_shlibs_CXX" >&6; }
14873 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14879 ## There is no encapsulation within the following macros, do not change
14880 ## the running order or otherwise move them around unless you know exactly
14881 ## what you are doing...
14882 # Dependencies to place before and after the object being linked:
14883 predep_objects_CXX
=
14884 postdep_objects_CXX
=
14887 compiler_lib_search_path_CXX
=
14889 cat > conftest.
$ac_ext <<_LT_EOF
14893 Foo (void) { a = 0; }
14899 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14900 (eval $ac_compile) 2>&5
14902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14903 test $ac_status = 0; }; then
14904 # Parse the compiler output and extract the necessary
14905 # objects, libraries and library flags.
14907 # Sentinel used to keep track of whether or not we are before
14908 # the conftest object file.
14909 pre_test_object_deps_done
=no
14911 for p
in `eval "$output_verbose_link_cmd"`; do
14915 # Some compilers place space between "-{L,R}" and the path.
14916 # Remove the space.
14917 if test $p = "-L" ||
14918 test $p = "-R"; then
14925 if test "$pre_test_object_deps_done" = no
; then
14928 # Internal compiler library paths should come after those
14929 # provided the user. The postdeps already come after the
14930 # user supplied libs so there is no need to process them.
14931 if test -z "$compiler_lib_search_path_CXX"; then
14932 compiler_lib_search_path_CXX
="${prev}${p}"
14934 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14937 # The "-l" case would never come before the object being
14938 # linked, so don't bother handling this case.
14941 if test -z "$postdeps_CXX"; then
14942 postdeps_CXX
="${prev}${p}"
14944 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14950 # This assumes that the test object file only shows up
14951 # once in the compiler output.
14952 if test "$p" = "conftest.$objext"; then
14953 pre_test_object_deps_done
=yes
14957 if test "$pre_test_object_deps_done" = no
; then
14958 if test -z "$predep_objects_CXX"; then
14959 predep_objects_CXX
="$p"
14961 predep_objects_CXX
="$predep_objects_CXX $p"
14964 if test -z "$postdep_objects_CXX"; then
14965 postdep_objects_CXX
="$p"
14967 postdep_objects_CXX
="$postdep_objects_CXX $p"
14972 *) ;; # Ignore the rest.
14980 echo "libtool.m4: error: problem compiling CXX test program"
14983 $RM -f confest.
$objext
14985 # PORTME: override above test on systems where it is broken
14988 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14989 # hack all around it, let's just trust "g++" to DTRT.
14990 predep_objects_CXX
=
14991 postdep_objects_CXX
=
14996 case `$CC -V 2>&1 | sed 5q` in
15000 # The more standards-conforming stlport4 library is
15001 # incompatible with the Cstd library. Avoid specifying
15002 # it if it's in CXXFLAGS. Ignore libCrun as
15003 # -library=stlport4 depends on it.
15004 case " $CXX $CXXFLAGS " in
15005 *" -library=stlport4 "*)
15006 solaris_use_stlport4
=yes
15010 if test "$solaris_use_stlport4" != yes; then
15011 postdeps_CXX
='-library=Cstd -library=Crun'
15018 case $cc_basename in
15020 # The more standards-conforming stlport4 library is
15021 # incompatible with the Cstd library. Avoid specifying
15022 # it if it's in CXXFLAGS. Ignore libCrun as
15023 # -library=stlport4 depends on it.
15024 case " $CXX $CXXFLAGS " in
15025 *" -library=stlport4 "*)
15026 solaris_use_stlport4
=yes
15030 # Adding this requires a known-good setup of shared libraries for
15031 # Sun compiler versions before 5.6, else PIC objects from an old
15032 # archive will be linked into the output, leading to subtle bugs.
15033 if test "$solaris_use_stlport4" != yes; then
15034 postdeps_CXX
='-library=Cstd -library=Crun'
15042 case " $postdeps_CXX " in
15043 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15045 compiler_lib_search_dirs_CXX
=
15046 if test -n "${compiler_lib_search_path_CXX}"; then
15047 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15080 lt_prog_compiler_wl_CXX
=
15081 lt_prog_compiler_pic_CXX
=
15082 lt_prog_compiler_static_CXX
=
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15085 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15087 # C++ specific cases for pic, static, wl, etc.
15088 if test "$GXX" = yes; then
15089 lt_prog_compiler_wl_CXX
='-Wl,'
15090 lt_prog_compiler_static_CXX
='-static'
15094 # All AIX code is PIC.
15095 if test "$host_cpu" = ia64
; then
15096 # AIX 5 now supports IA64 processor
15097 lt_prog_compiler_static_CXX
='-Bstatic'
15104 # see comment about AmigaOS4 .so support
15105 lt_prog_compiler_pic_CXX
='-fPIC'
15108 # FIXME: we need at least 68020 code to build shared libraries, but
15109 # adding the `-m68020' flag to GCC prevents building anything better,
15111 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15116 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15117 # PIC is the default for these OSes.
15119 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15120 # This hack is so that the source file can tell whether it is being
15121 # built for inclusion in a dll (and should export symbols for example).
15122 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15123 # (--disable-auto-import) libraries
15124 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15126 darwin
* | rhapsody
*)
15127 # PIC is the default on this platform
15128 # Common symbols not allowed in MH_DYLIB files
15129 lt_prog_compiler_pic_CXX
='-fno-common'
15132 # DJGPP does not support shared libraries at all
15133 lt_prog_compiler_pic_CXX
=
15136 # PIC is the default for Haiku.
15137 # The "-static" flag exists, but is broken.
15138 lt_prog_compiler_static_CXX
=
15141 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15142 # Instead, we relocate shared libraries at runtime.
15145 if test -d /usr
/nec
; then
15146 lt_prog_compiler_pic_CXX
=-Kconform_pic
15150 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15151 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15152 # sets the default TLS model and affects inlining.
15157 lt_prog_compiler_pic_CXX
='-fPIC'
15162 # QNX uses GNU C++, but need to define -shared option too, otherwise
15163 # it will coredump.
15164 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15167 lt_prog_compiler_pic_CXX
='-fPIC'
15173 # All AIX code is PIC.
15174 if test "$host_cpu" = ia64
; then
15175 # AIX 5 now supports IA64 processor
15176 lt_prog_compiler_static_CXX
='-Bstatic'
15178 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15182 case $cc_basename in
15184 # Green Hills C++ Compiler
15185 # _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"
15190 case $cc_basename in
15192 lt_prog_compiler_pic_CXX
='-KPIC'
15195 # Green Hills C++ Compiler
15196 lt_prog_compiler_pic_CXX
='-pic'
15202 freebsd
* | dragonfly
*)
15203 # FreeBSD uses GNU C++
15205 hpux9
* | hpux10
* | hpux11
*)
15206 case $cc_basename in
15208 lt_prog_compiler_wl_CXX
='-Wl,'
15209 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15210 if test "$host_cpu" != ia64
; then
15211 lt_prog_compiler_pic_CXX
='+Z'
15215 lt_prog_compiler_wl_CXX
='-Wl,'
15216 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15222 lt_prog_compiler_pic_CXX
='+Z'
15231 # This is c89, which is MS Visual C++ (no shared libs)
15232 # Anyone wants to do a port?
15234 irix5
* | irix6
* | nonstopux
*)
15235 case $cc_basename in
15237 lt_prog_compiler_wl_CXX
='-Wl,'
15238 lt_prog_compiler_static_CXX
='-non_shared'
15239 # CC pic flag -KPIC is the default.
15245 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15246 case $cc_basename in
15249 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15250 lt_prog_compiler_pic_CXX
='-fPIC'
15253 # old Intel C++ for x86_64 which still supported -KPIC.
15254 lt_prog_compiler_wl_CXX
='-Wl,'
15255 lt_prog_compiler_pic_CXX
='-KPIC'
15256 lt_prog_compiler_static_CXX
='-static'
15259 # Intel C++, used to be incompatible with GCC.
15260 # ICC 10 doesn't accept -KPIC any more.
15261 lt_prog_compiler_wl_CXX
='-Wl,'
15262 lt_prog_compiler_pic_CXX
='-fPIC'
15263 lt_prog_compiler_static_CXX
='-static'
15266 # Portland Group C++ compiler
15267 lt_prog_compiler_wl_CXX
='-Wl,'
15268 lt_prog_compiler_pic_CXX
='-fpic'
15269 lt_prog_compiler_static_CXX
='-Bstatic'
15273 # Make sure the PIC flag is empty. It appears that all Alpha
15274 # Linux and Compaq Tru64 Unix objects are PIC.
15275 lt_prog_compiler_pic_CXX
=
15276 lt_prog_compiler_static_CXX
='-non_shared'
15278 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15279 # IBM XL 8.0, 9.0 on PPC and BlueGene
15280 lt_prog_compiler_wl_CXX
='-Wl,'
15281 lt_prog_compiler_pic_CXX
='-qpic'
15282 lt_prog_compiler_static_CXX
='-qstaticlink'
15285 case `$CC -V 2>&1 | sed 5q` in
15288 lt_prog_compiler_pic_CXX
='-KPIC'
15289 lt_prog_compiler_static_CXX
='-Bstatic'
15290 lt_prog_compiler_wl_CXX
='-Qoption ld '
15301 case $cc_basename in
15303 lt_prog_compiler_pic_CXX
='-W c,exportall'
15312 # QNX uses GNU C++, but need to define -shared option too, otherwise
15313 # it will coredump.
15314 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15316 osf3
* | osf4
* | osf5
*)
15317 case $cc_basename in
15319 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15322 # Rational C++ 2.4.1
15323 lt_prog_compiler_pic_CXX
='-pic'
15326 # Digital/Compaq C++
15327 lt_prog_compiler_wl_CXX
='-Wl,'
15328 # Make sure the PIC flag is empty. It appears that all Alpha
15329 # Linux and Compaq Tru64 Unix objects are PIC.
15330 lt_prog_compiler_pic_CXX
=
15331 lt_prog_compiler_static_CXX
='-non_shared'
15340 case $cc_basename in
15342 # Sun C++ 4.2, 5.x and Centerline C++
15343 lt_prog_compiler_pic_CXX
='-KPIC'
15344 lt_prog_compiler_static_CXX
='-Bstatic'
15345 lt_prog_compiler_wl_CXX
='-Qoption ld '
15348 # Green Hills C++ Compiler
15349 lt_prog_compiler_pic_CXX
='-PIC'
15356 case $cc_basename in
15359 lt_prog_compiler_pic_CXX
='-pic'
15360 lt_prog_compiler_static_CXX
='-Bstatic'
15364 lt_prog_compiler_pic_CXX
='-pic'
15370 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15371 case $cc_basename in
15373 lt_prog_compiler_wl_CXX
='-Wl,'
15374 lt_prog_compiler_pic_CXX
='-KPIC'
15375 lt_prog_compiler_static_CXX
='-Bstatic'
15380 case $cc_basename in
15382 # NonStop-UX NCC 3.20
15383 lt_prog_compiler_pic_CXX
='-KPIC'
15392 lt_prog_compiler_can_build_shared_CXX
=no
15398 # For platforms which do not support PIC, -DPIC is meaningless:
15400 lt_prog_compiler_pic_CXX
=
15403 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15407 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15412 # Check to make sure the PIC flag actually works.
15414 if test -n "$lt_prog_compiler_pic_CXX"; then
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15416 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15417 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15418 $as_echo_n "(cached) " >&6
15420 lt_cv_prog_compiler_pic_works_CXX
=no
15421 ac_outfile
=conftest.
$ac_objext
15422 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15423 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15424 # Insert the option either (1) after the last *FLAGS variable, or
15425 # (2) before a word containing "conftest.", or (3) at the end.
15426 # Note that $ac_compile itself does not contain backslashes and begins
15427 # with a dollar sign (not a hyphen), so the echo should work correctly.
15428 # The option is referenced via a variable to avoid confusing sed.
15429 lt_compile
=`echo "$ac_compile" | $SED \
15430 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15431 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15432 -e 's:$: $lt_compiler_flag:'`
15433 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15434 (eval "$lt_compile" 2>conftest.err
)
15436 cat conftest.err
>&5
15437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15438 if (exit $ac_status) && test -s "$ac_outfile"; then
15439 # The compiler can only warn and ignore the option if not recognized
15440 # So say no if there are warnings other than the usual output.
15441 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
15442 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15443 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15444 lt_cv_prog_compiler_pic_works_CXX
=yes
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15451 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15453 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15454 case $lt_prog_compiler_pic_CXX in
15456 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15459 lt_prog_compiler_pic_CXX
=
15460 lt_prog_compiler_can_build_shared_CXX
=no
15468 # Check to make sure the static flag actually works.
15470 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15472 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15473 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15474 $as_echo_n "(cached) " >&6
15476 lt_cv_prog_compiler_static_works_CXX
=no
15477 save_LDFLAGS
="$LDFLAGS"
15478 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15479 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15480 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15481 # The linker can only warn and ignore the option if not recognized
15482 # So say no if there are warnings
15483 if test -s conftest.err
; then
15484 # Append any errors to the config.log.
15485 cat conftest.err
1>&5
15486 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15487 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15488 if diff conftest.exp conftest.er2
>/dev
/null
; then
15489 lt_cv_prog_compiler_static_works_CXX
=yes
15492 lt_cv_prog_compiler_static_works_CXX
=yes
15496 LDFLAGS
="$save_LDFLAGS"
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15500 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15502 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15505 lt_prog_compiler_static_CXX
=
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15512 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15513 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15514 $as_echo_n "(cached) " >&6
15516 lt_cv_prog_compiler_c_o_CXX
=no
15517 $RM -r conftest
2>/dev
/null
15521 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15523 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15524 # Insert the option either (1) after the last *FLAGS variable, or
15525 # (2) before a word containing "conftest.", or (3) at the end.
15526 # Note that $ac_compile itself does not contain backslashes and begins
15527 # with a dollar sign (not a hyphen), so the echo should work correctly.
15528 lt_compile
=`echo "$ac_compile" | $SED \
15529 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15530 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15531 -e 's:$: $lt_compiler_flag:'`
15532 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15533 (eval "$lt_compile" 2>out
/conftest.err
)
15535 cat out
/conftest.err
>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15539 # The compiler can only warn and ignore the option if not recognized
15540 # So say no if there are warnings
15541 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15542 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15543 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15544 lt_cv_prog_compiler_c_o_CXX
=yes
15549 # SGI C++ compiler will create directory out/ii_files/ for
15550 # template instantiation
15551 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15552 $RM out
/* && rmdir out
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15559 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15564 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15565 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15566 $as_echo_n "(cached) " >&6
15568 lt_cv_prog_compiler_c_o_CXX
=no
15569 $RM -r conftest
2>/dev
/null
15573 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15575 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15576 # Insert the option either (1) after the last *FLAGS variable, or
15577 # (2) before a word containing "conftest.", or (3) at the end.
15578 # Note that $ac_compile itself does not contain backslashes and begins
15579 # with a dollar sign (not a hyphen), so the echo should work correctly.
15580 lt_compile
=`echo "$ac_compile" | $SED \
15581 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15582 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15583 -e 's:$: $lt_compiler_flag:'`
15584 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15585 (eval "$lt_compile" 2>out
/conftest.err
)
15587 cat out
/conftest.err
>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15591 # The compiler can only warn and ignore the option if not recognized
15592 # So say no if there are warnings
15593 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15594 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15595 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15596 lt_cv_prog_compiler_c_o_CXX
=yes
15601 # SGI C++ compiler will create directory out/ii_files/ for
15602 # template instantiation
15603 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15604 $RM out
/* && rmdir out
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15611 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15616 hard_links
="nottested"
15617 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15618 # do not overwrite the value of need_locks provided by the user
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15620 $as_echo_n "checking if we can lock with hard links... " >&6; }
15623 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15625 ln conftest.a conftest.b
2>&5 || hard_links
=no
15626 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15628 $as_echo "$hard_links" >&6; }
15629 if test "$hard_links" = no
; then
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15631 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15641 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15643 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15646 # If we're using GNU nm, then we don't want the "-C" option.
15647 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15648 # Also, AIX nm treats weak defined symbols like other global defined
15649 # symbols, whereas GNU nm marks them as "W".
15650 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15651 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15653 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'
15657 export_symbols_cmds_CXX
="$ltdll_cmds"
15659 cygwin
* | mingw
* | cegcc
*)
15660 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'
15663 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15666 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15669 $as_echo "$ld_shlibs_CXX" >&6; }
15670 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15672 with_gnu_ld_CXX
=$with_gnu_ld
15680 # Do we need to explicitly link libc?
15682 case "x$archive_cmds_need_lc_CXX" in
15684 # Assume -lc should be added
15685 archive_cmds_need_lc_CXX
=yes
15687 if test "$enable_shared" = yes && test "$GCC" = yes; then
15688 case $archive_cmds_CXX in
15690 # FIXME: we may have to deal with multi-command sequences.
15693 # Test whether the compiler implicitly links with -lc since on some
15694 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15695 # to ld, don't add -lc before -lgcc.
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15697 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15698 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15699 $as_echo_n "(cached) " >&6
15702 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15705 (eval $ac_compile) 2>&5
15707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15708 test $ac_status = 0; } 2>conftest.err
; then
15711 libobjs
=conftest.
$ac_objext
15713 wl
=$lt_prog_compiler_wl_CXX
15714 pic_flag
=$lt_prog_compiler_pic_CXX
15720 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15721 allow_undefined_flag_CXX
=
15722 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15723 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15726 test $ac_status = 0; }
15728 lt_cv_archive_cmds_need_lc_CXX
=no
15730 lt_cv_archive_cmds_need_lc_CXX
=yes
15732 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15734 cat conftest.err
1>&5
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15740 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15741 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15812 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15814 library_names_spec
=
15815 libname_spec
='lib$name'
15819 postuninstall_cmds
=
15823 shlibpath_overrides_runpath
=unknown
15825 dynamic_linker
="$host_os ld.so"
15826 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15827 need_lib_prefix
=unknown
15828 hardcode_into_libs
=no
15830 # when you set need_version to no, make sure it does not cause -set_version
15831 # flags to be left without arguments
15832 need_version
=unknown
15837 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15838 shlibpath_var
=LIBPATH
15840 # AIX 3 has no versioning support, so we append a major version to the name.
15841 soname_spec
='${libname}${release}${shared_ext}$major'
15848 hardcode_into_libs
=yes
15849 if test "$host_cpu" = ia64
; then
15850 # AIX 5 supports IA64
15851 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15852 shlibpath_var
=LD_LIBRARY_PATH
15854 # With GCC up to 2.95.x, collect2 would create an import file
15855 # for dependence libraries. The import file would start with
15856 # the line `#! .'. This would cause the generated library to
15857 # depend on `.', always an invalid library. This was fixed in
15858 # development snapshots of GCC prior to 3.0.
15860 aix4 | aix4.
[01] | aix4.
[01].
*)
15861 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15863 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15866 can_build_shared
=no
15870 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15871 # soname into executable. Probably we can add versioning support to
15872 # collect2, so additional links can be useful in future.
15873 if test "$aix_use_runtimelinking" = yes; then
15874 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15875 # instead of lib<name>.a to let people know that these are not
15876 # typical AIX shared libraries.
15877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15879 # We preserve .a as extension for shared libraries through AIX4.2
15880 # and later when we are not doing run time linking.
15881 library_names_spec
='${libname}${release}.a $libname.a'
15882 soname_spec
='${libname}${release}${shared_ext}$major'
15884 shlibpath_var
=LIBPATH
15891 # Since July 2007 AmigaOS4 officially supports .so libraries.
15892 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15896 library_names_spec
='$libname.ixlibrary $libname.a'
15897 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15898 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15904 library_names_spec
='${libname}${shared_ext}'
15905 dynamic_linker
="$host_os ld.so"
15906 shlibpath_var
=LIBRARY_PATH
15912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15913 soname_spec
='${libname}${release}${shared_ext}$major'
15914 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15915 shlibpath_var
=LD_LIBRARY_PATH
15916 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15917 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15918 # the default ld.so.conf also contains /usr/contrib/lib and
15919 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15920 # libtool to hard-code these into programs
15923 cygwin
* | mingw
* | pw32
* | cegcc
*)
15924 version_type
=windows
15929 case $GCC,$host_os in
15930 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15931 library_names_spec
='$libname.dll.a'
15932 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15933 postinstall_cmds
='base_file=`basename \${file}`~
15934 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15935 dldir=$destdir/`dirname \$dlpath`~
15936 test -d \$dldir || mkdir -p \$dldir~
15937 $install_prog $dir/$dlname \$dldir/$dlname~
15938 chmod a+x \$dldir/$dlname~
15939 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15940 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15942 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15943 dlpath=$dir/\$dldll~
15945 shlibpath_overrides_runpath
=yes
15949 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15950 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15954 # MinGW DLLs use traditional 'lib' prefix
15955 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15958 # pw32 DLLs use 'pw' prefix rather than 'lib'
15959 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15965 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15968 dynamic_linker
='Win32 ld.exe'
15969 # FIXME: first we should search . and the directory the executable is in
15973 darwin
* | rhapsody
*)
15974 dynamic_linker
="$host_os dyld"
15975 version_type
=darwin
15978 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15979 soname_spec
='${libname}${release}${major}$shared_ext'
15980 shlibpath_overrides_runpath
=yes
15981 shlibpath_var
=DYLD_LIBRARY_PATH
15982 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15984 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15992 soname_spec
='${libname}${release}${shared_ext}$major'
15993 shlibpath_var
=LD_LIBRARY_PATH
15996 freebsd
* | dragonfly
*)
15997 # DragonFly does not have aout. When/if they implement a new
15998 # versioning mechanism, adjust this.
15999 if test -x /usr
/bin
/objformat
; then
16000 objformat
=`/usr/bin/objformat`
16003 freebsd
[123]*) objformat
=aout
;;
16004 *) objformat
=elf
;;
16007 version_type
=freebsd-
$objformat
16008 case $version_type in
16010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16015 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16019 shlibpath_var
=LD_LIBRARY_PATH
16022 shlibpath_overrides_runpath
=yes
16024 freebsd3.
[01]* | freebsdelf3.
[01]*)
16025 shlibpath_overrides_runpath
=yes
16026 hardcode_into_libs
=yes
16028 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16029 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16030 shlibpath_overrides_runpath
=no
16031 hardcode_into_libs
=yes
16033 *) # from 4.6 on, and DragonFly
16034 shlibpath_overrides_runpath
=yes
16035 hardcode_into_libs
=yes
16044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16045 soname_spec
='${libname}${release}${shared_ext}$major'
16046 shlibpath_var
=LD_LIBRARY_PATH
16047 hardcode_into_libs
=yes
16054 dynamic_linker
="$host_os runtime_loader"
16055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16056 soname_spec
='${libname}${release}${shared_ext}$major'
16057 shlibpath_var
=LIBRARY_PATH
16058 shlibpath_overrides_runpath
=yes
16059 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
16060 hardcode_into_libs
=yes
16063 hpux9
* | hpux10
* | hpux11
*)
16064 # Give a soname corresponding to the major version so that dld.sl refuses to
16065 # link against other versions.
16072 hardcode_into_libs
=yes
16073 dynamic_linker
="$host_os dld.so"
16074 shlibpath_var
=LD_LIBRARY_PATH
16075 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16077 soname_spec
='${libname}${release}${shared_ext}$major'
16078 if test "X$HPUX_IA64_MODE" = X32
; then
16079 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16081 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16083 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16087 hardcode_into_libs
=yes
16088 dynamic_linker
="$host_os dld.sl"
16089 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16090 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16092 soname_spec
='${libname}${release}${shared_ext}$major'
16093 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16094 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16098 dynamic_linker
="$host_os dld.sl"
16099 shlibpath_var
=SHLIB_PATH
16100 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16102 soname_spec
='${libname}${release}${shared_ext}$major'
16105 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16106 postinstall_cmds
='chmod 555 $lib'
16107 # or fails outright, so override atomically:
16108 install_override_mode
=555
16115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16116 soname_spec
='${libname}${release}${shared_ext}$major'
16117 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16118 shlibpath_var
=LD_LIBRARY_PATH
16119 shlibpath_overrides_runpath
=no
16120 hardcode_into_libs
=yes
16123 irix5
* | irix6
* | nonstopux
*)
16125 nonstopux
*) version_type
=nonstopux
;;
16127 if test "$lt_cv_prog_gnu_ld" = yes; then
16135 soname_spec
='${libname}${release}${shared_ext}$major'
16136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16138 irix5
* | nonstopux
*)
16139 libsuff
= shlibsuff
=
16142 case $LD in # libtool.m4 will add one of these switches to LD
16143 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16144 libsuff
= shlibsuff
= libmagic
=32-bit;;
16145 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16146 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16147 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16148 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16149 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16153 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16154 shlibpath_overrides_runpath
=no
16155 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16156 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16157 hardcode_into_libs
=yes
16160 # No shared lib support for Linux oldld, aout, or coff.
16161 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16165 # This must be Linux ELF.
16166 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16171 soname_spec
='${libname}${release}${shared_ext}$major'
16172 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16173 shlibpath_var
=LD_LIBRARY_PATH
16174 shlibpath_overrides_runpath
=no
16176 # Some binutils ld are patched to set DT_RUNPATH
16177 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16178 $as_echo_n "(cached) " >&6
16180 lt_cv_shlibpath_overrides_runpath
=no
16181 save_LDFLAGS
=$LDFLAGS
16182 save_libdir
=$libdir
16183 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16184 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16185 if test x
$gcc_no_link = xyes
; then
16186 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16189 /* end confdefs.h. */
16199 if ac_fn_cxx_try_link
"$LINENO"; then :
16200 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16201 lt_cv_shlibpath_overrides_runpath
=yes
16204 rm -f core conftest.err conftest.
$ac_objext \
16205 conftest
$ac_exeext conftest.
$ac_ext
16206 LDFLAGS
=$save_LDFLAGS
16207 libdir
=$save_libdir
16211 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16213 # This implies no fast_install, which is unacceptable.
16214 # Some rework will be needed to allow for fast_install
16215 # before this can be enabled.
16216 hardcode_into_libs
=yes
16218 # Append ld.so.conf contents to the search path
16219 if test -f /etc
/ld.so.conf
; then
16220 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
16221 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16224 # We used to test for /lib/ld.so.1 and disable shared libraries on
16225 # powerpc, because MkLinux only supported shared libraries with the
16226 # GNU dynamic linker. Since this was broken with cross compilers,
16227 # most powerpc-linux boxes support dynamic linking these days and
16228 # people can always --disable-shared, the test was removed, and we
16229 # assume the GNU/Linux dynamic linker is in use.
16230 dynamic_linker
='GNU/Linux ld.so'
16237 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16239 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16240 dynamic_linker
='NetBSD (a.out) ld.so'
16242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16243 soname_spec
='${libname}${release}${shared_ext}$major'
16244 dynamic_linker
='NetBSD ld.elf_so'
16246 shlibpath_var
=LD_LIBRARY_PATH
16247 shlibpath_overrides_runpath
=yes
16248 hardcode_into_libs
=yes
16253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16254 shlibpath_var
=LD_LIBRARY_PATH
16255 shlibpath_overrides_runpath
=yes
16262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16263 soname_spec
='${libname}${release}${shared_ext}$major'
16264 shlibpath_var
=LD_LIBRARY_PATH
16265 shlibpath_overrides_runpath
=no
16266 hardcode_into_libs
=yes
16267 dynamic_linker
='ldqnx.so'
16272 sys_lib_dlsearch_path_spec
="/usr/lib"
16274 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16276 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16277 *) need_version
=no
;;
16279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16280 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16281 shlibpath_var
=LD_LIBRARY_PATH
16282 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16284 openbsd2.
[89] | openbsd2.
[89].
*)
16285 shlibpath_overrides_runpath
=no
16288 shlibpath_overrides_runpath
=yes
16292 shlibpath_overrides_runpath
=yes
16297 libname_spec
='$name'
16300 library_names_spec
='$libname${shared_ext} $libname.a'
16301 dynamic_linker
='OS/2 ld.exe'
16302 shlibpath_var
=LIBPATH
16305 osf3
* | osf4
* | osf5
*)
16309 soname_spec
='${libname}${release}${shared_ext}$major'
16310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16311 shlibpath_var
=LD_LIBRARY_PATH
16312 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16313 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16325 soname_spec
='${libname}${release}${shared_ext}$major'
16326 shlibpath_var
=LD_LIBRARY_PATH
16327 shlibpath_overrides_runpath
=yes
16328 hardcode_into_libs
=yes
16329 # ldd complains unless libraries are executable
16330 postinstall_cmds
='chmod +x $lib'
16335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16336 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16337 shlibpath_var
=LD_LIBRARY_PATH
16338 shlibpath_overrides_runpath
=yes
16339 if test "$with_gnu_ld" = yes; then
16347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16348 soname_spec
='${libname}${release}${shared_ext}$major'
16349 shlibpath_var
=LD_LIBRARY_PATH
16350 case $host_vendor in
16352 shlibpath_overrides_runpath
=no
16354 runpath_var
=LD_RUN_PATH
16362 shlibpath_overrides_runpath
=no
16363 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16369 if test -d /usr
/nec
;then
16371 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16372 soname_spec
='$libname${shared_ext}.$major'
16373 shlibpath_var
=LD_LIBRARY_PATH
16377 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16378 version_type
=freebsd-elf
16381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16382 soname_spec
='${libname}${release}${shared_ext}$major'
16383 shlibpath_var
=LD_LIBRARY_PATH
16384 shlibpath_overrides_runpath
=yes
16385 hardcode_into_libs
=yes
16386 if test "$with_gnu_ld" = yes; then
16387 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16389 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16392 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16396 sys_lib_dlsearch_path_spec
='/usr/lib'
16400 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16405 shlibpath_var
=LD_LIBRARY_PATH
16406 shlibpath_overrides_runpath
=no
16407 hardcode_into_libs
=yes
16412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16413 soname_spec
='${libname}${release}${shared_ext}$major'
16414 shlibpath_var
=LD_LIBRARY_PATH
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16422 $as_echo "$dynamic_linker" >&6; }
16423 test "$dynamic_linker" = no
&& can_build_shared
=no
16425 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16426 if test "$GCC" = yes; then
16427 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16430 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16431 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16433 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16434 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16475 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16476 hardcode_action_CXX
=
16477 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16478 test -n "$runpath_var_CXX" ||
16479 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16481 # We can hardcode non-existent directories.
16482 if test "$hardcode_direct_CXX" != no
&&
16483 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16484 # have to relink, otherwise we might link with an installed library
16485 # when we should be linking with a yet-to-be-installed one
16486 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16487 test "$hardcode_minus_L_CXX" != no
; then
16488 # Linking always hardcodes the temporary library directory.
16489 hardcode_action_CXX
=relink
16491 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16492 hardcode_action_CXX
=immediate
16495 # We cannot hardcode anything, or else we can only hardcode existing
16497 hardcode_action_CXX
=unsupported
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16500 $as_echo "$hardcode_action_CXX" >&6; }
16502 if test "$hardcode_action_CXX" = relink ||
16503 test "$inherit_rpath_CXX" = yes; then
16504 # Fast installation is not supported
16505 enable_fast_install
=no
16506 elif test "$shlibpath_overrides_runpath" = yes ||
16507 test "$enable_shared" = no
; then
16508 # Fast installation is not necessary
16509 enable_fast_install
=needless
16518 fi # test -n "$compiler"
16524 with_gnu_ld
=$lt_save_with_gnu_ld
16525 lt_cv_path_LDCXX
=$lt_cv_path_LD
16526 lt_cv_path_LD
=$lt_save_path_LD
16527 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16528 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16529 fi # test "$_lt_caught_CXX_error" != yes
16532 ac_cpp
='$CPP $CPPFLAGS'
16533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16539 # Handle -Werror default case.
16540 if test "$ENABLE_WERROR" = default
; then
16543 if test "$GCC" = yes; then
16550 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
16551 # Extract the first word of "perl", so it can be a program name with args.
16552 set dummy perl
; ac_word
=$2
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16554 $as_echo_n "checking for $ac_word... " >&6; }
16555 if test "${ac_cv_path_PERL+set}" = set; then :
16556 $as_echo_n "(cached) " >&6
16560 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
16563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16564 for as_dir
in $PATH
16567 test -z "$as_dir" && as_dir
=.
16568 for ac_exec_ext
in '' $ac_executable_extensions; do
16569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16570 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
16571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16581 PERL
=$ac_cv_path_PERL
16582 if test -n "$PERL"; then
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16584 $as_echo "$PERL" >&6; }
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16587 $as_echo "no" >&6; }
16593 ac_config_files
="$ac_config_files lib/mkcollections.pl"
16595 ac_config_commands
="$ac_config_commands mkcollections.pl"
16599 if test "x${COMPILE_JNI}" = xyes
; then
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((,,))" >&5
16604 $as_echo_n "checking __attribute__((,,))... " >&6; }
16605 if test "${gcc_cv_c_gcc_attribute_supported+set}" = set; then :
16606 $as_echo_n "(cached) " >&6
16609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16610 /* end confdefs.h. */
16615 extern int testfunction(int x) __attribute__((,,))
16620 if ac_fn_c_try_compile
"$LINENO"; then :
16621 gcc_cv_c_gcc_attribute_supported
=yes
16623 gcc_cv_c_gcc_attribute_supported
=no
16625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16629 if test "x$gcc_cv_c_gcc_attribute_supported" = xyes
; then
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16632 $as_echo "yes" >&6; }
16634 $as_echo "#define HAVE_GNUC25_ATTRIB /**/" >>confdefs.h
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16640 $as_echo "no" >&6; }
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((unused))" >&5
16653 $as_echo_n "checking __attribute__((unused))... " >&6; }
16654 if test "${gcc_cv_c_gcc_attribute_unused+set}" = set; then :
16655 $as_echo_n "(cached) " >&6
16658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16664 extern int testfunction(int x) __attribute__((unused))
16669 if ac_fn_c_try_compile
"$LINENO"; then :
16670 gcc_cv_c_gcc_attribute_unused
=yes
16672 gcc_cv_c_gcc_attribute_unused
=no
16674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16678 if test "x$gcc_cv_c_gcc_attribute_unused" = xyes
; then
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16681 $as_echo "yes" >&6; }
16683 $as_echo "#define HAVE_GNUC25_UNUSED /**/" >>confdefs.h
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16689 $as_echo "no" >&6; }
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16698 $as_echo_n "checking for ANSI C header files... " >&6; }
16699 if test "${ac_cv_header_stdc+set}" = set; then :
16700 $as_echo_n "(cached) " >&6
16702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16703 /* end confdefs.h. */
16704 #include <stdlib.h>
16705 #include <stdarg.h>
16706 #include <string.h>
16717 if ac_fn_c_try_compile
"$LINENO"; then :
16718 ac_cv_header_stdc
=yes
16720 ac_cv_header_stdc
=no
16722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16724 if test $ac_cv_header_stdc = yes; then
16725 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16728 #include <string.h>
16731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16732 $EGREP "memchr" >/dev
/null
2>&1; then :
16735 ac_cv_header_stdc
=no
16741 if test $ac_cv_header_stdc = yes; then
16742 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16744 /* end confdefs.h. */
16745 #include <stdlib.h>
16748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16749 $EGREP "free" >/dev
/null
2>&1; then :
16752 ac_cv_header_stdc
=no
16758 if test $ac_cv_header_stdc = yes; then
16759 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16760 if test "$cross_compiling" = yes; then :
16763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16766 #include <stdlib.h>
16767 #if ((' ' & 0x0FF) == 0x020)
16768 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16769 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16771 # define ISLOWER(c) \
16772 (('a' <= (c) && (c) <= 'i') \
16773 || ('j' <= (c) && (c) <= 'r') \
16774 || ('s' <= (c) && (c) <= 'z'))
16775 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16778 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16783 for (i = 0; i < 256; i++)
16784 if (XOR (islower (i), ISLOWER (i))
16785 || toupper (i) != TOUPPER (i))
16790 if ac_fn_c_try_run
"$LINENO"; then :
16793 ac_cv_header_stdc
=no
16795 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16796 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16802 $as_echo "$ac_cv_header_stdc" >&6; }
16803 if test $ac_cv_header_stdc = yes; then
16805 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16811 $as_echo_n "checking size of void *... " >&6; }
16812 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16813 $as_echo_n "(cached) " >&6
16815 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
16816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16817 /* end confdefs.h. */
16818 #include "confdefs.h"
16819 #include <sys/types.h>
16825 switch (0) case 0: case (sizeof (void *) == $ac_size):;
16830 if ac_fn_c_try_compile
"$LINENO"; then :
16831 ac_cv_sizeof_void_p
=$ac_size
16833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16834 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
16839 if test x
$ac_cv_sizeof_void_p = x
; then
16840 as_fn_error
"cannot determine a size for void *" "$LINENO" 5
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16843 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16845 cat >>confdefs.h
<<_ACEOF
16846 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16852 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16853 if test "${ac_cv_c_bigendian+set}" = set; then :
16854 $as_echo_n "(cached) " >&6
16856 ac_cv_c_bigendian
=unknown
16857 # See if sys/param.h defines the BYTE_ORDER macro.
16858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16859 /* end confdefs.h. */
16860 #include <sys/types.h>
16861 #include <sys/param.h>
16866 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16867 bogus endian macros
16873 if ac_fn_c_try_compile
"$LINENO"; then :
16874 # It does; now see whether it defined to BIG_ENDIAN or not.
16875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16876 /* end confdefs.h. */
16877 #include <sys/types.h>
16878 #include <sys/param.h>
16883 #if BYTE_ORDER != BIG_ENDIAN
16890 if ac_fn_c_try_compile
"$LINENO"; then :
16891 ac_cv_c_bigendian
=yes
16893 ac_cv_c_bigendian
=no
16895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16898 if test $ac_cv_c_bigendian = unknown
; then
16899 if test "$cross_compiling" = yes; then :
16900 echo $ac_n "cross-compiling... " 2>&6
16902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16905 /* Are we little or big endian? From Harbison&Steele. */
16909 char c[sizeof (long)];
16912 exit (u.c[sizeof (long) - 1] == 1);
16915 if ac_fn_c_try_run
"$LINENO"; then :
16916 ac_cv_c_bigendian
=no
16918 ac_cv_c_bigendian
=yes
16920 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16921 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16927 $as_echo "$ac_cv_c_bigendian" >&6; }
16928 if test $ac_cv_c_bigendian = unknown
; then
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to probe for byte ordering" >&5
16930 $as_echo_n "checking to probe for byte ordering... " >&6; }
16932 cat >conftest.c
<<EOF
16933 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16934 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16935 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
16936 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16937 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16938 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
16939 int main() { _ascii (); _ebcdic (); return 0; }
16941 if test -f conftest.c
; then
16942 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
16943 if test `grep -l BIGenDianSyS conftest.o` ; then
16944 echo $ac_n ' big endian probe OK, ' 1>&6
16945 ac_cv_c_bigendian
=yes
16947 if test `grep -l LiTTleEnDian conftest.o` ; then
16948 echo $ac_n ' little endian probe OK, ' 1>&6
16949 if test $ac_cv_c_bigendian = yes ; then
16950 ac_cv_c_bigendian
=unknown
;
16952 ac_cv_c_bigendian
=no
16955 echo $ac_n 'guessing bigendian ... ' >&6
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16959 $as_echo "$ac_cv_c_bigendian" >&6; }
16961 if test $ac_cv_c_bigendian = yes; then
16963 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16966 $as_echo "#define HOST_WORDS_BIG_ENDIAN 1" >>confdefs.h
16973 cat >>confdefs.h
<<_ACEOF
16974 #define BYTEORDER $BYTEORDER
16977 if test $ac_cv_c_bigendian = unknown
; then
16978 as_fn_error
"unknown endianess - sorry, please pre-set ac_cv_c_bigendian" "$LINENO" 5
16982 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
16984 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
16991 sys
/event.h sys
/epoll.h \
16993 netinet
/in_systm.h netinet
/ip.h net
/if.h \
16994 sys
/loadavg.h sys
/sockio.h
16996 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16997 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16998 eval as_val
=\$
$as_ac_Header
16999 if test "x$as_val" = x
""yes; then :
17000 cat >>confdefs.h
<<_ACEOF
17001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17010 /* end confdefs.h. */
17011 #include <stdint.h>
17014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17015 $EGREP "uint32_t" >/dev
/null
2>&1; then :
17017 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h. */
17024 #include <inttypes.h>
17027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17028 $EGREP "uint32_t" >/dev
/null
2>&1; then :
17030 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h. */
17037 #include <sys/types.h>
17040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17041 $EGREP "u_int32_t" >/dev
/null
2>&1; then :
17043 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h. */
17050 #include <sys/config.h>
17053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17054 $EGREP "u_int32_t" >/dev
/null
2>&1; then :
17056 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
17063 $as_echo_n "checking for library containing inet_pton... " >&6; }
17064 if test "${ac_cv_search_inet_pton+set}" = set; then :
17065 $as_echo_n "(cached) " >&6
17067 ac_func_search_save_LIBS
=$LIBS
17068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17069 /* end confdefs.h. */
17071 /* Override any GCC internal prototype to avoid an error.
17072 Use char because int might match the return type of a GCC
17073 builtin and then its argument prototype would still apply. */
17081 return inet_pton ();
17086 for ac_lib
in '' nsl
; do
17087 if test -z "$ac_lib"; then
17088 ac_res
="none required"
17091 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17093 if test x
$gcc_no_link = xyes
; then
17094 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17096 if ac_fn_c_try_link
"$LINENO"; then :
17097 ac_cv_search_inet_pton
=$ac_res
17099 rm -f core conftest.err conftest.
$ac_objext \
17101 if test "${ac_cv_search_inet_pton+set}" = set; then :
17105 if test "${ac_cv_search_inet_pton+set}" = set; then :
17108 ac_cv_search_inet_pton
=no
17110 rm conftest.
$ac_ext
17111 LIBS
=$ac_func_search_save_LIBS
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
17114 $as_echo "$ac_cv_search_inet_pton" >&6; }
17115 ac_res
=$ac_cv_search_inet_pton
17116 if test "$ac_res" != no
; then :
17117 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lsocket" >&5
17122 $as_echo_n "checking for gethostname in -lsocket... " >&6; }
17123 if test "${ac_cv_lib_socket_gethostname+set}" = set; then :
17124 $as_echo_n "(cached) " >&6
17126 ac_check_lib_save_LIBS
=$LIBS
17127 LIBS
="-lsocket $LIBS"
17128 if test x
$gcc_no_link = xyes
; then
17129 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17134 /* Override any GCC internal prototype to avoid an error.
17135 Use char because int might match the return type of a GCC
17136 builtin and then its argument prototype would still apply. */
17140 char gethostname ();
17144 return gethostname ();
17149 if ac_fn_c_try_link
"$LINENO"; then :
17150 ac_cv_lib_socket_gethostname
=yes
17152 ac_cv_lib_socket_gethostname
=no
17154 rm -f core conftest.err conftest.
$ac_objext \
17155 conftest
$ac_exeext conftest.
$ac_ext
17156 LIBS
=$ac_check_lib_save_LIBS
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostname" >&5
17159 $as_echo "$ac_cv_lib_socket_gethostname" >&6; }
17160 if test "x$ac_cv_lib_socket_gethostname" = x
""yes; then :
17161 cat >>confdefs.h
<<_ACEOF
17162 #define HAVE_LIBSOCKET 1
17165 LIBS
="-lsocket $LIBS"
17169 for ac_func
in ftruncate fsync
select \
17170 gethostname socket strerror fork pipe execve open close \
17171 lseek fstat
read readv
write writev htonl memset htons connect \
17172 getsockname getpeername
bind listen accept \
17173 recvfrom send sendto setsockopt getsockopt
time mktime \
17174 gethostbyname_r localtime_r \
17178 mmap munmap mincore msync madvise getpagesize sysconf \
17180 inet_aton inet_addr inet_pton \
17181 getifaddrs kqueue kevent epoll_create \
17184 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17185 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17186 eval as_val
=\$
$as_ac_var
17187 if test "x$as_val" = x
""yes; then :
17188 cat >>confdefs.h
<<_ACEOF
17189 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
17198 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
17199 if test "${ac_cv_lib_magic_magic_open+set}" = set; then :
17200 $as_echo_n "(cached) " >&6
17202 ac_check_lib_save_LIBS
=$LIBS
17203 LIBS
="-lmagic $LIBS"
17204 if test x
$gcc_no_link = xyes
; then
17205 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17210 /* Override any GCC internal prototype to avoid an error.
17211 Use char because int might match the return type of a GCC
17212 builtin and then its argument prototype would still apply. */
17216 char magic_open ();
17220 return magic_open ();
17225 if ac_fn_c_try_link
"$LINENO"; then :
17226 ac_cv_lib_magic_magic_open
=yes
17228 ac_cv_lib_magic_magic_open
=no
17230 rm -f core conftest.err conftest.
$ac_objext \
17231 conftest
$ac_exeext conftest.
$ac_ext
17232 LIBS
=$ac_check_lib_save_LIBS
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
17235 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
17236 if test "x$ac_cv_lib_magic_magic_open" = x
""yes; then :
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
17243 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
17244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17246 #include <netinet/in.h>
17250 struct sockaddr_in6 addr6;
17255 if ac_fn_c_try_compile
"$LINENO"; then :
17257 $as_echo "#define HAVE_INET6 1" >>confdefs.h
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17260 $as_echo "yes" >&6; }
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17263 $as_echo "no" >&6; }
17265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
17268 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
17269 if test "${ac_cv_header_time+set}" = set; then :
17270 $as_echo_n "(cached) " >&6
17272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17273 /* end confdefs.h. */
17274 #include <sys/types.h>
17275 #include <sys/time.h>
17281 if ((struct tm *) 0)
17287 if ac_fn_c_try_compile
"$LINENO"; then :
17288 ac_cv_header_time
=yes
17290 ac_cv_header_time
=no
17292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
17295 $as_echo "$ac_cv_header_time" >&6; }
17296 if test $ac_cv_header_time = yes; then
17298 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
17303 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
17304 if test "${ac_cv_struct_tm+set}" = set; then :
17305 $as_echo_n "(cached) " >&6
17307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 #include <sys/types.h>
17316 int *p = &tm.tm_sec;
17322 if ac_fn_c_try_compile
"$LINENO"; then :
17323 ac_cv_struct_tm
=time.h
17325 ac_cv_struct_tm
=sys
/time.h
17327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
17330 $as_echo "$ac_cv_struct_tm" >&6; }
17331 if test $ac_cv_struct_tm = sys
/time.h
; then
17333 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
17337 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
17338 #include <$ac_cv_struct_tm>
17341 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
17343 cat >>confdefs.h
<<_ACEOF
17344 #define HAVE_STRUCT_TM_TM_ZONE 1
17350 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
17352 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
17355 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
17357 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
17363 cat >>confdefs.h
<<_ACEOF
17364 #define HAVE_DECL_TZNAME $ac_have_decl
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
17368 $as_echo_n "checking for tzname... " >&6; }
17369 if test "${ac_cv_var_tzname+set}" = set; then :
17370 $as_echo_n "(cached) " >&6
17372 if test x
$gcc_no_link = xyes
; then
17373 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h. */
17378 #if !HAVE_DECL_TZNAME
17379 extern char *tzname[];
17385 return tzname[0][0];
17390 if ac_fn_c_try_link
"$LINENO"; then :
17391 ac_cv_var_tzname
=yes
17393 ac_cv_var_tzname
=no
17395 rm -f core conftest.err conftest.
$ac_objext \
17396 conftest
$ac_exeext conftest.
$ac_ext
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
17399 $as_echo "$ac_cv_var_tzname" >&6; }
17400 if test $ac_cv_var_tzname = yes; then
17402 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
17409 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
17410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17416 struct tm tim; tim.tm_gmtoff = 0;
17421 if ac_fn_c_try_compile
"$LINENO"; then :
17423 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17426 $as_echo "yes" >&6; }
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17429 $as_echo "no" >&6; }
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
17431 $as_echo_n "checking for global timezone variable... " >&6; }
17432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17438 void i(){long z2 = 2*timezone;}
17443 if ac_fn_c_try_compile
"$LINENO"; then :
17445 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17448 $as_echo "yes" >&6; }
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17451 $as_echo "no" >&6; }
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
17453 $as_echo_n "checking for global _timezone variable... " >&6; }
17454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17455 /* end confdefs.h. */
17460 long z2 = _timezone;
17465 if ac_fn_c_try_compile
"$LINENO"; then :
17467 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17470 $as_echo "yes" >&6; }
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17473 $as_echo "no" >&6; }
17475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17482 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17483 if test "${ac_cv_c_const+set}" = set; then :
17484 $as_echo_n "(cached) " >&6
17486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17492 /* FIXME: Include the comments suggested by Paul. */
17493 #ifndef __cplusplus
17494 /* Ultrix mips cc rejects this. */
17495 typedef int charset[2];
17497 /* SunOS 4.1.1 cc rejects this. */
17498 char const *const *pcpcc;
17500 /* NEC SVR4.0.2 mips cc rejects this. */
17501 struct point {int x, y;};
17502 static struct point const zero = {0,0};
17503 /* AIX XL C 1.02.0.0 rejects this.
17504 It does not let you subtract one const X* pointer from another in
17505 an arm of an if-expression whose if-part is not a constant
17507 const char *g = "string";
17508 pcpcc = &g + (g ? g-g : 0);
17509 /* HPUX 7.0 cc rejects these. */
17511 ppc = (char**) pcpcc;
17512 pcpcc = (char const *const *) ppc;
17513 { /* SCO 3.2v4 cc rejects this. */
17515 char const *s = 0 ? (char *) 0 : (char const *) 0;
17520 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17521 int x[] = {25, 17};
17522 const int *foo = &x[0];
17525 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17526 typedef const int *iptr;
17530 { /* AIX XL C 1.02.0.0 rejects this saying
17531 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17532 struct s { int j; const int *ap[3]; };
17533 struct s *b; b->j = 5;
17535 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17536 const int foo = 10;
17537 if (!foo) return 0;
17539 return !cs[0] && !zero.x;
17546 if ac_fn_c_try_compile
"$LINENO"; then :
17551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17554 $as_echo "$ac_cv_c_const" >&6; }
17555 if test $ac_cv_c_const = no
; then
17557 $as_echo "#define const /**/" >>confdefs.h
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17562 $as_echo_n "checking for inline... " >&6; }
17563 if test "${ac_cv_c_inline+set}" = set; then :
17564 $as_echo_n "(cached) " >&6
17567 for ac_kw
in inline __inline__ __inline
; do
17568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17570 #ifndef __cplusplus
17572 static $ac_kw foo_t static_foo () {return 0; }
17573 $ac_kw foo_t foo () {return 0; }
17577 if ac_fn_c_try_compile
"$LINENO"; then :
17578 ac_cv_c_inline
=$ac_kw
17580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17581 test "$ac_cv_c_inline" != no
&& break
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17586 $as_echo "$ac_cv_c_inline" >&6; }
17588 case $ac_cv_c_inline in
17591 case $ac_cv_c_inline in
17593 *) ac_val
=$ac_cv_c_inline;;
17595 cat >>confdefs.h
<<_ACEOF
17596 #ifndef __cplusplus
17597 #define inline $ac_val
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
17604 $as_echo_n "checking for __attribute__... " >&6; }
17605 if test "${ac_cv_c_attribute+set}" = set; then :
17606 $as_echo_n "(cached) " >&6
17609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17610 /* end confdefs.h. */
17611 void foo(void) __attribute__ ((__noreturn__));
17614 if ac_fn_c_try_compile
"$LINENO"; then :
17615 ac_cv_c_attribute
=yes
17617 ac_cv_c_attribute
=no
17620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_attribute" >&5
17624 $as_echo "$ac_cv_c_attribute" >&6; }
17626 case $ac_cv_c_attribute in
17629 cat >>confdefs.h
<<_ACEOF
17630 #define __attribute__(x) /* nothing */
17638 ac_cpp
='$CPP $CPPFLAGS'
17639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
17644 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
17646 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
17647 $as_echo_n "(cached) " >&6
17651 ################################################################
17653 ac_cv_func_which_gethostbyname_r
=unknown
17656 # ONE ARGUMENT (sanity check)
17659 # This should fail, as there is no variant of gethostbyname_r() that takes
17660 # a single argument. If it actually compiles, then we can assume that
17661 # netdb.h is not declaring the function, and the compiler is thereby
17662 # assuming an implicit prototype. In which case, we're out of luck.
17664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17671 char *name = "www.gnu.org";
17672 (void)gethostbyname_r(name) /* ; */
17678 if ac_fn_c_try_compile
"$LINENO"; then :
17679 ac_cv_func_which_gethostbyname_r
=no
17681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17688 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h. */
17697 char *name = "www.gnu.org";
17698 struct hostent ret, *retp;
17702 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
17708 if ac_fn_c_try_compile
"$LINENO"; then :
17709 ac_cv_func_which_gethostbyname_r
=six
17711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17720 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17723 /* end confdefs.h. */
17729 char *name = "www.gnu.org";
17730 struct hostent ret;
17734 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
17740 if ac_fn_c_try_compile
"$LINENO"; then :
17741 ac_cv_func_which_gethostbyname_r
=five
17743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17749 # (e.g. AIX, HP-UX, Tru64)
17752 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17761 char *name = "www.gnu.org";
17762 struct hostent ret;
17763 struct hostent_data data;
17764 (void)gethostbyname_r(name, &ret, &data) /* ; */
17770 if ac_fn_c_try_compile
"$LINENO"; then :
17771 ac_cv_func_which_gethostbyname_r
=three
17773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17777 ################################################################
17782 case "$ac_cv_func_which_gethostbyname_r" in
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
17785 $as_echo "three" >&6; }
17787 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
17793 $as_echo "five" >&6; }
17795 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
17801 $as_echo "six" >&6; }
17803 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
17809 $as_echo "cannot find function declaration in netdb.h" >&6; }
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
17814 $as_echo "can't tell" >&6; }
17818 as_fn_error
"internal error" "$LINENO" 5
17823 ac_cpp
='$CPP $CPPFLAGS'
17824 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17825 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17826 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17832 if test "X$prefix" = "XNONE"; then
17833 acl_final_prefix
="$ac_default_prefix"
17835 acl_final_prefix
="$prefix"
17837 if test "X$exec_prefix" = "XNONE"; then
17838 acl_final_exec_prefix
='${prefix}'
17840 acl_final_exec_prefix
="$exec_prefix"
17842 acl_save_prefix
="$prefix"
17843 prefix
="$acl_final_prefix"
17844 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
17845 prefix
="$acl_save_prefix"
17848 # Check whether --with-gnu-ld was given.
17849 if test "${with_gnu_ld+set}" = set; then :
17850 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
17855 # Prepare PATH_SEPARATOR.
17856 # The user is always right.
17857 if test "${PATH_SEPARATOR+set}" != set; then
17858 echo "#! /bin/sh" >conf$$.sh
17859 echo "exit 0" >>conf$$.sh
17861 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17869 if test "$GCC" = yes; then
17870 # Check if gcc -print-prog-name=ld gives a path.
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17872 $as_echo_n "checking for ld used by GCC... " >&6; }
17875 # gcc leaves a trailing carriage return which upsets mingw
17876 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17878 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
17881 # Accept absolute paths.
17882 [\\/]* |
[A-Za-z
]:[\\/]*)
17883 re_direlt
='/[^/][^/]*/\.\./'
17884 # Canonicalize the path of ld
17885 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
17886 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
17887 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
17889 test -z "$LD" && LD
="$ac_prog"
17892 # If it fails, then pretend we aren't using GCC.
17896 # If it is relative, then search for the first ld in PATH.
17897 with_gnu_ld
=unknown
17900 elif test "$with_gnu_ld" = yes; then
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17902 $as_echo_n "checking for GNU ld... " >&6; }
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17905 $as_echo_n "checking for non-GNU ld... " >&6; }
17907 if test "${acl_cv_path_LD+set}" = set; then :
17908 $as_echo_n "(cached) " >&6
17910 if test -z "$LD"; then
17911 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17912 for ac_dir
in $PATH; do
17913 test -z "$ac_dir" && ac_dir
=.
17914 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
17915 acl_cv_path_LD
="$ac_dir/$ac_prog"
17916 # Check to see if the program is GNU ld. I'd rather use --version,
17917 # but apparently some GNU ld's only accept -v.
17918 # Break only if it was the GNU/non-GNU ld that we prefer.
17919 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
17920 test "$with_gnu_ld" != no
&& break
17922 test "$with_gnu_ld" != yes && break
17928 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
17932 LD
="$acl_cv_path_LD"
17933 if test -n "$LD"; then
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17935 $as_echo "$LD" >&6; }
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17938 $as_echo "no" >&6; }
17940 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17942 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17943 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
17944 $as_echo_n "(cached) " >&6
17946 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
17947 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
17948 acl_cv_prog_gnu_ld
=yes
17950 acl_cv_prog_gnu_ld
=no
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17954 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
17955 with_gnu_ld
=$acl_cv_prog_gnu_ld
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17960 $as_echo_n "checking for shared library run path origin... " >&6; }
17961 if test "${acl_cv_rpath+set}" = set; then :
17962 $as_echo_n "(cached) " >&6
17965 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
17966 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17968 rm -f .
/conftest.sh
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17973 $as_echo "$acl_cv_rpath" >&6; }
17975 libext
="$acl_cv_libext"
17976 shlibext
="$acl_cv_shlibext"
17977 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
17978 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
17979 hardcode_direct
="$acl_cv_hardcode_direct"
17980 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
17981 # Check whether --enable-rpath was given.
17982 if test "${enable_rpath+set}" = set; then :
17983 enableval
=$enable_rpath; :
17997 acl_save_prefix
="$prefix"
17998 prefix
="$acl_final_prefix"
17999 acl_save_exec_prefix
="$exec_prefix"
18000 exec_prefix
="$acl_final_exec_prefix"
18002 eval additional_includedir
=\"$includedir\"
18003 eval additional_libdir
=\"$libdir\"
18005 exec_prefix
="$acl_save_exec_prefix"
18006 prefix
="$acl_save_prefix"
18009 # Check whether --with-libiconv-prefix was given.
18010 if test "${with_libiconv_prefix+set}" = set; then :
18011 withval
=$with_libiconv_prefix;
18012 if test "X$withval" = "Xno"; then
18015 if test "X$withval" = "X"; then
18017 acl_save_prefix
="$prefix"
18018 prefix
="$acl_final_prefix"
18019 acl_save_exec_prefix
="$exec_prefix"
18020 exec_prefix
="$acl_final_exec_prefix"
18022 eval additional_includedir
=\"$includedir\"
18023 eval additional_libdir
=\"$libdir\"
18025 exec_prefix
="$acl_save_exec_prefix"
18026 prefix
="$acl_save_prefix"
18029 additional_includedir
="$withval/include"
18030 additional_libdir
="$withval/lib"
18041 names_already_handled
=
18042 names_next_round
='iconv '
18043 while test -n "$names_next_round"; do
18044 names_this_round
="$names_next_round"
18046 for name
in $names_this_round; do
18048 for n
in $names_already_handled; do
18049 if test "$n" = "$name"; then
18050 already_handled
=yes
18054 if test -z "$already_handled"; then
18055 names_already_handled
="$names_already_handled $name"
18056 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18057 eval value
=\"\
$HAVE_LIB$uppername\"
18058 if test -n "$value"; then
18059 if test "$value" = yes; then
18060 eval value
=\"\
$LIB$uppername\"
18061 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
18062 eval value
=\"\
$LTLIB$uppername\"
18063 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
18072 if test $use_additional = yes; then
18073 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
18074 found_dir
="$additional_libdir"
18075 found_so
="$additional_libdir/lib$name.$shlibext"
18076 if test -f "$additional_libdir/lib$name.la"; then
18077 found_la
="$additional_libdir/lib$name.la"
18080 if test -f "$additional_libdir/lib$name.$libext"; then
18081 found_dir
="$additional_libdir"
18082 found_a
="$additional_libdir/lib$name.$libext"
18083 if test -f "$additional_libdir/lib$name.la"; then
18084 found_la
="$additional_libdir/lib$name.la"
18089 if test "X$found_dir" = "X"; then
18090 for x
in $LDFLAGS $LTLIBICONV; do
18092 acl_save_prefix
="$prefix"
18093 prefix
="$acl_final_prefix"
18094 acl_save_exec_prefix
="$exec_prefix"
18095 exec_prefix
="$acl_final_exec_prefix"
18097 exec_prefix
="$acl_save_exec_prefix"
18098 prefix
="$acl_save_prefix"
18102 dir
=`echo "X$x" | sed -e 's/^X-L//'`
18103 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
18105 found_so
="$dir/lib$name.$shlibext"
18106 if test -f "$dir/lib$name.la"; then
18107 found_la
="$dir/lib$name.la"
18110 if test -f "$dir/lib$name.$libext"; then
18112 found_a
="$dir/lib$name.$libext"
18113 if test -f "$dir/lib$name.la"; then
18114 found_la
="$dir/lib$name.la"
18120 if test "X$found_dir" != "X"; then
18125 if test "X$found_dir" != "X"; then
18126 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18127 if test "X$found_so" != "X"; then
18128 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
18129 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18132 for x
in $ltrpathdirs; do
18133 if test "X$x" = "X$found_dir"; then
18138 if test -z "$haveit"; then
18139 ltrpathdirs
="$ltrpathdirs $found_dir"
18141 if test "$hardcode_direct" = yes; then
18142 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18144 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
18145 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18147 for x
in $rpathdirs; do
18148 if test "X$x" = "X$found_dir"; then
18153 if test -z "$haveit"; then
18154 rpathdirs
="$rpathdirs $found_dir"
18158 for x
in $LDFLAGS $LIBICONV; do
18160 acl_save_prefix
="$prefix"
18161 prefix
="$acl_final_prefix"
18162 acl_save_exec_prefix
="$exec_prefix"
18163 exec_prefix
="$acl_final_exec_prefix"
18165 exec_prefix
="$acl_save_exec_prefix"
18166 prefix
="$acl_save_prefix"
18168 if test "X$x" = "X-L$found_dir"; then
18173 if test -z "$haveit"; then
18174 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18176 if test "$hardcode_minus_L" != no
; then
18177 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18179 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18185 if test "X$found_a" != "X"; then
18186 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
18188 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18191 additional_includedir
=
18192 case "$found_dir" in
18194 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
18195 additional_includedir
="$basedir/include"
18198 if test "X$additional_includedir" != "X"; then
18199 if test "X$additional_includedir" != "X/usr/include"; then
18201 if test "X$additional_includedir" = "X/usr/local/include"; then
18202 if test -n "$GCC"; then
18204 linux
*) haveit
=yes;;
18208 if test -z "$haveit"; then
18209 for x
in $CPPFLAGS $INCICONV; do
18211 acl_save_prefix
="$prefix"
18212 prefix
="$acl_final_prefix"
18213 acl_save_exec_prefix
="$exec_prefix"
18214 exec_prefix
="$acl_final_exec_prefix"
18216 exec_prefix
="$acl_save_exec_prefix"
18217 prefix
="$acl_save_prefix"
18219 if test "X$x" = "X-I$additional_includedir"; then
18224 if test -z "$haveit"; then
18225 if test -d "$additional_includedir"; then
18226 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18232 if test -n "$found_la"; then
18233 save_libdir
="$libdir"
18234 case "$found_la" in
18235 */* |
*\\*) .
"$found_la" ;;
18236 *) .
"./$found_la" ;;
18238 libdir
="$save_libdir"
18239 for dep
in $dependency_libs; do
18242 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
18243 if test "X$additional_libdir" != "X/usr/lib"; then
18245 if test "X$additional_libdir" = "X/usr/local/lib"; then
18246 if test -n "$GCC"; then
18248 linux
*) haveit
=yes;;
18252 if test -z "$haveit"; then
18254 for x
in $LDFLAGS $LIBICONV; do
18256 acl_save_prefix
="$prefix"
18257 prefix
="$acl_final_prefix"
18258 acl_save_exec_prefix
="$exec_prefix"
18259 exec_prefix
="$acl_final_exec_prefix"
18261 exec_prefix
="$acl_save_exec_prefix"
18262 prefix
="$acl_save_prefix"
18264 if test "X$x" = "X-L$additional_libdir"; then
18269 if test -z "$haveit"; then
18270 if test -d "$additional_libdir"; then
18271 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18275 for x
in $LDFLAGS $LTLIBICONV; do
18277 acl_save_prefix
="$prefix"
18278 prefix
="$acl_final_prefix"
18279 acl_save_exec_prefix
="$exec_prefix"
18280 exec_prefix
="$acl_final_exec_prefix"
18282 exec_prefix
="$acl_save_exec_prefix"
18283 prefix
="$acl_save_prefix"
18285 if test "X$x" = "X-L$additional_libdir"; then
18290 if test -z "$haveit"; then
18291 if test -d "$additional_libdir"; then
18292 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18299 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
18300 if test "$enable_rpath" != no
; then
18302 for x
in $rpathdirs; do
18303 if test "X$x" = "X$dir"; then
18308 if test -z "$haveit"; then
18309 rpathdirs
="$rpathdirs $dir"
18312 for x
in $ltrpathdirs; do
18313 if test "X$x" = "X$dir"; then
18318 if test -z "$haveit"; then
18319 ltrpathdirs
="$ltrpathdirs $dir"
18324 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18327 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18330 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
18331 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18337 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18338 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18344 if test "X$rpathdirs" != "X"; then
18345 if test -n "$hardcode_libdir_separator"; then
18347 for found_dir
in $rpathdirs; do
18348 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
18350 acl_save_libdir
="$libdir"
18352 eval flag
=\"$hardcode_libdir_flag_spec\"
18353 libdir
="$acl_save_libdir"
18354 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
18356 for found_dir
in $rpathdirs; do
18357 acl_save_libdir
="$libdir"
18358 libdir
="$found_dir"
18359 eval flag
=\"$hardcode_libdir_flag_spec\"
18360 libdir
="$acl_save_libdir"
18361 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
18365 if test "X$ltrpathdirs" != "X"; then
18366 for found_dir
in $ltrpathdirs; do
18367 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18377 am_save_CPPFLAGS
="$CPPFLAGS"
18379 for element
in $INCICONV; do
18381 for x
in $CPPFLAGS; do
18383 acl_save_prefix
="$prefix"
18384 prefix
="$acl_final_prefix"
18385 acl_save_exec_prefix
="$exec_prefix"
18386 exec_prefix
="$acl_final_exec_prefix"
18388 exec_prefix
="$acl_save_exec_prefix"
18389 prefix
="$acl_save_prefix"
18391 if test "X$x" = "X$element"; then
18396 if test -z "$haveit"; then
18397 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18403 $as_echo_n "checking for iconv... " >&6; }
18404 if test "${am_cv_func_iconv+set}" = set; then :
18405 $as_echo_n "(cached) " >&6
18408 am_cv_func_iconv
="no, consider installing GNU libiconv"
18410 if test x
$gcc_no_link = xyes
; then
18411 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18414 /* end confdefs.h. */
18415 #include <stdlib.h>
18420 iconv_t cd = iconv_open("","");
18421 iconv(cd,NULL,NULL,NULL,NULL);
18427 if ac_fn_c_try_link
"$LINENO"; then :
18428 am_cv_func_iconv
=yes
18430 rm -f core conftest.err conftest.
$ac_objext \
18431 conftest
$ac_exeext conftest.
$ac_ext
18432 if test "$am_cv_func_iconv" != yes; then
18433 am_save_LIBS
="$LIBS"
18434 LIBS
="$LIBS $LIBICONV"
18435 if test x
$gcc_no_link = xyes
; then
18436 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h. */
18440 #include <stdlib.h>
18445 iconv_t cd = iconv_open("","");
18446 iconv(cd,NULL,NULL,NULL,NULL);
18452 if ac_fn_c_try_link
"$LINENO"; then :
18453 am_cv_lib_iconv
=yes
18454 am_cv_func_iconv
=yes
18456 rm -f core conftest.err conftest.
$ac_objext \
18457 conftest
$ac_exeext conftest.
$ac_ext
18458 LIBS
="$am_save_LIBS"
18462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18463 $as_echo "$am_cv_func_iconv" >&6; }
18464 if test "$am_cv_func_iconv" = yes; then
18466 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18469 if test "$am_cv_lib_iconv" = yes; then
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18471 $as_echo_n "checking how to link with libiconv... " >&6; }
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18473 $as_echo "$LIBICONV" >&6; }
18475 CPPFLAGS
="$am_save_CPPFLAGS"
18482 if test "$am_cv_func_iconv" = yes; then
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
18484 $as_echo_n "checking for iconv declaration... " >&6; }
18485 if test "${am_cv_proto_iconv+set}" = set; then :
18486 $as_echo_n "(cached) " >&6
18489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18490 /* end confdefs.h. */
18492 #include <stdlib.h>
18498 #if defined(__STDC__) || defined(__cplusplus)
18499 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
18512 if ac_fn_c_try_compile
"$LINENO"; then :
18513 am_cv_proto_iconv_arg1
=""
18515 am_cv_proto_iconv_arg1
="const"
18517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18518 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);"
18521 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
18523 }$am_cv_proto_iconv" >&5
18525 }$am_cv_proto_iconv" >&6; }
18527 cat >>confdefs.h
<<_ACEOF
18528 #define ICONV_CONST $am_cv_proto_iconv_arg1
18534 if test "x${GCC}" = xyes
; then
18536 WARNING_CFLAGS
='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
18539 EXTRA_CFLAGS
='-fexceptions -fasynchronous-unwind-tables'
18542 STRICT_WARNING_CFLAGS
='-Wstrict-prototypes -pedantic'
18546 if test "x${ENABLE_WERROR}" = xyes
; then
18547 ERROR_CFLAGS
='-Werror'
18552 if test "x${COMPILE_XMLJ}" = xyes
; then
18556 if test -z "$PKG_CONFIG"; then
18557 # Extract the first word of "pkg-config", so it can be a program name with args.
18558 set dummy pkg-config
; ac_word
=$2
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18560 $as_echo_n "checking for $ac_word... " >&6; }
18561 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18562 $as_echo_n "(cached) " >&6
18564 case $PKG_CONFIG in
18566 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18570 for as_dir
in $PATH
18573 test -z "$as_dir" && as_dir
=.
18574 for ac_exec_ext
in '' $ac_executable_extensions; do
18575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18576 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18584 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
18588 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18589 if test -n "$PKG_CONFIG"; then
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18591 $as_echo "$PKG_CONFIG" >&6; }
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18594 $as_echo "no" >&6; }
18600 if test "$PKG_CONFIG" = "no" ; then
18601 echo "*** The pkg-config script could not be found. Make sure it is"
18602 echo "*** in your path, or set the PKG_CONFIG environment variable"
18603 echo "*** to the full path to pkg-config."
18604 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18606 PKG_CONFIG_MIN_VERSION
=0.9.0
18607 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.6.8" >&5
18609 $as_echo_n "checking for libxml-2.0 >= 2.6.8... " >&6; }
18611 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
18612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18613 $as_echo "yes" >&6; }
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_CFLAGS" >&5
18617 $as_echo_n "checking XML_CFLAGS... " >&6; }
18618 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CFLAGS" >&5
18620 $as_echo "$XML_CFLAGS" >&6; }
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_LIBS" >&5
18623 $as_echo_n "checking XML_LIBS... " >&6; }
18624 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_LIBS" >&5
18626 $as_echo "$XML_LIBS" >&6; }
18630 ## If we have a custom action on failure, don't print errors, but
18631 ## do set a variable so people can do so.
18632 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
18633 echo $XML_PKG_ERRORS
18639 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18640 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18644 if test $succeeded = yes; then
18647 as_fn_error
"Library requirements (libxml-2.0 >= 2.6.8) 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
18653 if test -z "$PKG_CONFIG"; then
18654 # Extract the first word of "pkg-config", so it can be a program name with args.
18655 set dummy pkg-config
; ac_word
=$2
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18657 $as_echo_n "checking for $ac_word... " >&6; }
18658 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18659 $as_echo_n "(cached) " >&6
18661 case $PKG_CONFIG in
18663 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18667 for as_dir
in $PATH
18670 test -z "$as_dir" && as_dir
=.
18671 for ac_exec_ext
in '' $ac_executable_extensions; do
18672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18673 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18681 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
18685 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18686 if test -n "$PKG_CONFIG"; then
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18688 $as_echo "$PKG_CONFIG" >&6; }
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18691 $as_echo "no" >&6; }
18697 if test "$PKG_CONFIG" = "no" ; then
18698 echo "*** The pkg-config script could not be found. Make sure it is"
18699 echo "*** in your path, or set the PKG_CONFIG environment variable"
18700 echo "*** to the full path to pkg-config."
18701 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18703 PKG_CONFIG_MIN_VERSION
=0.9.0
18704 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxslt >= 1.1.11" >&5
18706 $as_echo_n "checking for libxslt >= 1.1.11... " >&6; }
18708 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18710 $as_echo "yes" >&6; }
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_CFLAGS" >&5
18714 $as_echo_n "checking XSLT_CFLAGS... " >&6; }
18715 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_CFLAGS" >&5
18717 $as_echo "$XSLT_CFLAGS" >&6; }
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_LIBS" >&5
18720 $as_echo_n "checking XSLT_LIBS... " >&6; }
18721 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_LIBS" >&5
18723 $as_echo "$XSLT_LIBS" >&6; }
18727 ## If we have a custom action on failure, don't print errors, but
18728 ## do set a variable so people can do so.
18729 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
18730 echo $XSLT_PKG_ERRORS
18736 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18737 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18741 if test $succeeded = yes; then
18744 as_fn_error
"Library requirements (libxslt >= 1.1.11) 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
18753 if test "x${COMPILE_GTK_PEER}" = xyes
; then
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
18755 $as_echo_n "checking for X... " >&6; }
18758 # Check whether --with-x was given.
18759 if test "${with_x+set}" = set; then :
18763 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18764 if test "x$with_x" = xno
; then
18765 # The user explicitly disabled X.
18768 case $x_includes,$x_libraries in #(
18769 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
18770 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
18771 $as_echo_n "(cached) " >&6
18773 # One or both of the vars are not set, and there is no cached value.
18774 ac_x_includes
=no ac_x_libraries
=no
18775 rm -f -r conftest.dir
18776 if mkdir conftest.dir
; then
18778 cat >Imakefile
<<'_ACEOF'
18780 @echo incroot='${INCROOT}'
18782 @echo usrlibdir='${USRLIBDIR}'
18784 @echo libdir='${LIBDIR}'
18786 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
18787 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18788 for ac_var
in incroot usrlibdir libdir
; do
18789 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
18791 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
18792 for ac_extension
in a so sl dylib la dll
; do
18793 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
18794 test -f "$ac_im_libdir/libX11.$ac_extension"; then
18795 ac_im_usrlibdir
=$ac_im_libdir; break
18798 # Screen out bogus values from the imake configuration. They are
18799 # bogus both because they are the default anyway, and because
18800 # using them would break gcc on systems where it needs fixed includes.
18801 case $ac_im_incroot in
18802 /usr
/include
) ac_x_includes
= ;;
18803 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
18805 case $ac_im_usrlibdir in
18806 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
18807 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
18811 rm -f -r conftest.dir
18814 # Standard set of common directories for X headers.
18815 # Check X11 before X11Rn because it is often a symlink to the current release.
18829 /usr/local/X11/include
18830 /usr/local/X11R7/include
18831 /usr/local/X11R6/include
18832 /usr/local/X11R5/include
18833 /usr/local/X11R4/include
18835 /usr/local/include/X11
18836 /usr/local/include/X11R7
18837 /usr/local/include/X11R6
18838 /usr/local/include/X11R5
18839 /usr/local/include/X11R4
18843 /usr/XFree86/include/X11
18847 /usr/unsupported/include
18848 /usr/athena/include
18849 /usr/local/x11r5/include
18850 /usr/lpp/Xamples/include
18852 /usr/openwin/include
18853 /usr/openwin/share/include'
18855 if test "$ac_x_includes" = no
; then
18856 # Guess where to find include files, by looking for Xlib.h.
18857 # First, try using that file with no special directory specified.
18858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18859 /* end confdefs.h. */
18860 #include <X11/Xlib.h>
18862 if ac_fn_c_try_cpp
"$LINENO"; then :
18863 # We can compile using X headers with no special include directory.
18866 for ac_dir
in $ac_x_header_dirs; do
18867 if test -r "$ac_dir/X11/Xlib.h"; then
18868 ac_x_includes
=$ac_dir
18873 rm -f conftest.err conftest.
$ac_ext
18874 fi # $ac_x_includes = no
18876 if test "$ac_x_libraries" = no
; then
18877 # Check for the libraries.
18878 # See if we find them without any special options.
18879 # Don't add to $LIBS permanently.
18882 if test x
$gcc_no_link = xyes
; then
18883 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18887 #include <X11/Xlib.h>
18896 if ac_fn_c_try_link
"$LINENO"; then :
18898 # We can link X programs with no special library path.
18902 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
18904 # Don't even attempt the hair of trying to link an X program!
18905 for ac_extension
in a so sl dylib la dll
; do
18906 if test -r "$ac_dir/libX11.$ac_extension"; then
18907 ac_x_libraries
=$ac_dir
18913 rm -f core conftest.err conftest.
$ac_objext \
18914 conftest
$ac_exeext conftest.
$ac_ext
18915 fi # $ac_x_libraries = no
18917 case $ac_x_includes,$ac_x_libraries in #(
18918 no
,* |
*,no |
*\'*)
18919 # Didn't find X, or a directory has "'" in its name.
18920 ac_cv_have_x
="have_x=no";; #(
18922 # Record where we found X for the cache.
18923 ac_cv_have_x
="have_x=yes\
18924 ac_x_includes='$ac_x_includes'\
18925 ac_x_libraries='$ac_x_libraries'"
18931 eval "$ac_cv_have_x"
18934 if test "$have_x" != yes; then
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
18936 $as_echo "$have_x" >&6; }
18939 # If each of the values was on the command line, it overrides each guess.
18940 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
18941 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
18942 # Update the cache value to reflect the command line values.
18943 ac_cv_have_x
="have_x=yes\
18944 ac_x_includes='$x_includes'\
18945 ac_x_libraries='$x_libraries'"
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
18947 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
18950 if test "$no_x" = yes; then
18951 # Not all programs may use this symbol, but it does not hurt to define it.
18953 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
18955 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
18957 if test -n "$x_includes"; then
18958 X_CFLAGS
="$X_CFLAGS -I$x_includes"
18961 # It would also be nice to do this for all -L options, not just this one.
18962 if test -n "$x_libraries"; then
18963 X_LIBS
="$X_LIBS -L$x_libraries"
18964 # For Solaris; some versions of Sun CC require a space after -R and
18965 # others require no space. Words are not sufficient . . . .
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
18967 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
18968 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
18969 ac_xsave_c_werror_flag
=$ac_c_werror_flag
18970 ac_c_werror_flag
=yes
18971 if test x
$gcc_no_link = xyes
; then
18972 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h. */
18985 if ac_fn_c_try_link
"$LINENO"; then :
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18987 $as_echo "no" >&6; }
18988 X_LIBS
="$X_LIBS -R$x_libraries"
18990 LIBS
="$ac_xsave_LIBS -R $x_libraries"
18991 if test x
$gcc_no_link = xyes
; then
18992 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
19005 if ac_fn_c_try_link
"$LINENO"; then :
19006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19007 $as_echo "yes" >&6; }
19008 X_LIBS
="$X_LIBS -R $x_libraries"
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
19011 $as_echo "neither works" >&6; }
19013 rm -f core conftest.err conftest.
$ac_objext \
19014 conftest
$ac_exeext conftest.
$ac_ext
19016 rm -f core conftest.err conftest.
$ac_objext \
19017 conftest
$ac_exeext conftest.
$ac_ext
19018 ac_c_werror_flag
=$ac_xsave_c_werror_flag
19019 LIBS
=$ac_xsave_LIBS
19022 # Check for system-dependent libraries X programs must link with.
19023 # Do this before checking for the system-independent R6 libraries
19024 # (-lICE), since we may need -lsocket or whatever for X linking.
19026 if test "$ISC" = yes; then
19027 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19029 # Martyn Johnson says this is needed for Ultrix, if the X
19030 # libraries were built with DECnet support. And Karl Berry says
19031 # the Alpha needs dnet_stub (dnet does not exist).
19032 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19033 if test x
$gcc_no_link = xyes
; then
19034 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19039 /* Override any GCC internal prototype to avoid an error.
19040 Use char because int might match the return type of a GCC
19041 builtin and then its argument prototype would still apply. */
19045 char XOpenDisplay ();
19049 return XOpenDisplay ();
19054 if ac_fn_c_try_link
"$LINENO"; then :
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
19058 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
19059 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
19060 $as_echo_n "(cached) " >&6
19062 ac_check_lib_save_LIBS
=$LIBS
19063 LIBS
="-ldnet $LIBS"
19064 if test x
$gcc_no_link = xyes
; then
19065 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19068 /* end confdefs.h. */
19070 /* Override any GCC internal prototype to avoid an error.
19071 Use char because int might match the return type of a GCC
19072 builtin and then its argument prototype would still apply. */
19080 return dnet_ntoa ();
19085 if ac_fn_c_try_link
"$LINENO"; then :
19086 ac_cv_lib_dnet_dnet_ntoa
=yes
19088 ac_cv_lib_dnet_dnet_ntoa
=no
19090 rm -f core conftest.err conftest.
$ac_objext \
19091 conftest
$ac_exeext conftest.
$ac_ext
19092 LIBS
=$ac_check_lib_save_LIBS
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19095 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19096 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
19097 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19100 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
19102 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
19103 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
19104 $as_echo_n "(cached) " >&6
19106 ac_check_lib_save_LIBS
=$LIBS
19107 LIBS
="-ldnet_stub $LIBS"
19108 if test x
$gcc_no_link = xyes
; then
19109 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19112 /* end confdefs.h. */
19114 /* Override any GCC internal prototype to avoid an error.
19115 Use char because int might match the return type of a GCC
19116 builtin and then its argument prototype would still apply. */
19124 return dnet_ntoa ();
19129 if ac_fn_c_try_link
"$LINENO"; then :
19130 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19132 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19134 rm -f core conftest.err conftest.
$ac_objext \
19135 conftest
$ac_exeext conftest.
$ac_ext
19136 LIBS
=$ac_check_lib_save_LIBS
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19139 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19140 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
19141 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19146 rm -f core conftest.err conftest.
$ac_objext \
19147 conftest
$ac_exeext conftest.
$ac_ext
19148 LIBS
="$ac_xsave_LIBS"
19150 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19151 # to get the SysV transport functions.
19152 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19154 # The nsl library prevents programs from opening the X display
19155 # on Irix 5.2, according to T.E. Dickey.
19156 # The functions gethostbyname, getservbyname, and inet_addr are
19157 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19158 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
19159 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
19163 if test $ac_cv_func_gethostbyname = no
; then
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
19165 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
19166 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
19167 $as_echo_n "(cached) " >&6
19169 ac_check_lib_save_LIBS
=$LIBS
19171 if test x
$gcc_no_link = xyes
; then
19172 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19175 /* end confdefs.h. */
19177 /* Override any GCC internal prototype to avoid an error.
19178 Use char because int might match the return type of a GCC
19179 builtin and then its argument prototype would still apply. */
19183 char gethostbyname ();
19187 return gethostbyname ();
19192 if ac_fn_c_try_link
"$LINENO"; then :
19193 ac_cv_lib_nsl_gethostbyname
=yes
19195 ac_cv_lib_nsl_gethostbyname
=no
19197 rm -f core conftest.err conftest.
$ac_objext \
19198 conftest
$ac_exeext conftest.
$ac_ext
19199 LIBS
=$ac_check_lib_save_LIBS
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
19202 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
19203 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
19204 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19207 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
19209 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
19210 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
19211 $as_echo_n "(cached) " >&6
19213 ac_check_lib_save_LIBS
=$LIBS
19215 if test x
$gcc_no_link = xyes
; then
19216 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19219 /* end confdefs.h. */
19221 /* Override any GCC internal prototype to avoid an error.
19222 Use char because int might match the return type of a GCC
19223 builtin and then its argument prototype would still apply. */
19227 char gethostbyname ();
19231 return gethostbyname ();
19236 if ac_fn_c_try_link
"$LINENO"; then :
19237 ac_cv_lib_bsd_gethostbyname
=yes
19239 ac_cv_lib_bsd_gethostbyname
=no
19241 rm -f core conftest.err conftest.
$ac_objext \
19242 conftest
$ac_exeext conftest.
$ac_ext
19243 LIBS
=$ac_check_lib_save_LIBS
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
19246 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
19247 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
19248 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19254 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19255 # socket/setsockopt and other routines are undefined under SCO ODT
19256 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19257 # on later versions), says Simon Leinen: it contains gethostby*
19258 # variants that don't use the name server (or something). -lsocket
19259 # must be given before -lnsl if both are needed. We assume that
19260 # if connect needs -lnsl, so does gethostbyname.
19261 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
19262 if test "x$ac_cv_func_connect" = x
""yes; then :
19266 if test $ac_cv_func_connect = no
; then
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
19268 $as_echo_n "checking for connect in -lsocket... " >&6; }
19269 if test "${ac_cv_lib_socket_connect+set}" = set; then :
19270 $as_echo_n "(cached) " >&6
19272 ac_check_lib_save_LIBS
=$LIBS
19273 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19274 if test x
$gcc_no_link = xyes
; then
19275 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h. */
19280 /* Override any GCC internal prototype to avoid an error.
19281 Use char because int might match the return type of a GCC
19282 builtin and then its argument prototype would still apply. */
19295 if ac_fn_c_try_link
"$LINENO"; then :
19296 ac_cv_lib_socket_connect
=yes
19298 ac_cv_lib_socket_connect
=no
19300 rm -f core conftest.err conftest.
$ac_objext \
19301 conftest
$ac_exeext conftest.
$ac_ext
19302 LIBS
=$ac_check_lib_save_LIBS
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
19305 $as_echo "$ac_cv_lib_socket_connect" >&6; }
19306 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
19307 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
19312 # Guillermo Gomez says -lposix is necessary on A/UX.
19313 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
19314 if test "x$ac_cv_func_remove" = x
""yes; then :
19318 if test $ac_cv_func_remove = no
; then
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
19320 $as_echo_n "checking for remove in -lposix... " >&6; }
19321 if test "${ac_cv_lib_posix_remove+set}" = set; then :
19322 $as_echo_n "(cached) " >&6
19324 ac_check_lib_save_LIBS
=$LIBS
19325 LIBS
="-lposix $LIBS"
19326 if test x
$gcc_no_link = xyes
; then
19327 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19332 /* Override any GCC internal prototype to avoid an error.
19333 Use char because int might match the return type of a GCC
19334 builtin and then its argument prototype would still apply. */
19347 if ac_fn_c_try_link
"$LINENO"; then :
19348 ac_cv_lib_posix_remove
=yes
19350 ac_cv_lib_posix_remove
=no
19352 rm -f core conftest.err conftest.
$ac_objext \
19353 conftest
$ac_exeext conftest.
$ac_ext
19354 LIBS
=$ac_check_lib_save_LIBS
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
19357 $as_echo "$ac_cv_lib_posix_remove" >&6; }
19358 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
19359 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
19364 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
19365 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
19366 if test "x$ac_cv_func_shmat" = x
""yes; then :
19370 if test $ac_cv_func_shmat = no
; then
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
19372 $as_echo_n "checking for shmat in -lipc... " >&6; }
19373 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
19374 $as_echo_n "(cached) " >&6
19376 ac_check_lib_save_LIBS
=$LIBS
19378 if test x
$gcc_no_link = xyes
; then
19379 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19382 /* end confdefs.h. */
19384 /* Override any GCC internal prototype to avoid an error.
19385 Use char because int might match the return type of a GCC
19386 builtin and then its argument prototype would still apply. */
19399 if ac_fn_c_try_link
"$LINENO"; then :
19400 ac_cv_lib_ipc_shmat
=yes
19402 ac_cv_lib_ipc_shmat
=no
19404 rm -f core conftest.err conftest.
$ac_objext \
19405 conftest
$ac_exeext conftest.
$ac_ext
19406 LIBS
=$ac_check_lib_save_LIBS
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
19409 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
19410 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
19411 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
19417 # Check for libraries that X11R6 Xt/Xaw programs need.
19418 ac_save_LDFLAGS
=$LDFLAGS
19419 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
19420 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
19421 # check for ICE first), but we must link in the order -lSM -lICE or
19422 # we get undefined symbols. So assume we have SM if we have ICE.
19423 # These have to be linked with before -lX11, unlike the other
19424 # libraries we check for below, so use a different variable.
19425 # John Interrante, Karl Berry
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
19427 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
19428 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
19429 $as_echo_n "(cached) " >&6
19431 ac_check_lib_save_LIBS
=$LIBS
19432 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
19433 if test x
$gcc_no_link = xyes
; then
19434 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19437 /* end confdefs.h. */
19439 /* Override any GCC internal prototype to avoid an error.
19440 Use char because int might match the return type of a GCC
19441 builtin and then its argument prototype would still apply. */
19445 char IceConnectionNumber ();
19449 return IceConnectionNumber ();
19454 if ac_fn_c_try_link
"$LINENO"; then :
19455 ac_cv_lib_ICE_IceConnectionNumber
=yes
19457 ac_cv_lib_ICE_IceConnectionNumber
=no
19459 rm -f core conftest.err conftest.
$ac_objext \
19460 conftest
$ac_exeext conftest.
$ac_ext
19461 LIBS
=$ac_check_lib_save_LIBS
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
19464 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
19465 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
19466 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
19469 LDFLAGS
=$ac_save_LDFLAGS
19473 if test "$no_x" = yes; then
19474 as_fn_error
"GTK+ peers requested but no X library available" "$LINENO" 5
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
19477 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
19478 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
19479 $as_echo_n "(cached) " >&6
19481 ac_check_lib_save_LIBS
=$LIBS
19482 LIBS
="-lXtst ${X_LIBS} $LIBS"
19483 if test x
$gcc_no_link = xyes
; then
19484 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19487 /* end confdefs.h. */
19489 /* Override any GCC internal prototype to avoid an error.
19490 Use char because int might match the return type of a GCC
19491 builtin and then its argument prototype would still apply. */
19495 char XTestQueryExtension ();
19499 return XTestQueryExtension ();
19504 if ac_fn_c_try_link
"$LINENO"; then :
19505 ac_cv_lib_Xtst_XTestQueryExtension
=yes
19507 ac_cv_lib_Xtst_XTestQueryExtension
=no
19509 rm -f core conftest.err conftest.
$ac_objext \
19510 conftest
$ac_exeext conftest.
$ac_ext
19511 LIBS
=$ac_check_lib_save_LIBS
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
19514 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
19515 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x
""yes; then :
19517 $as_echo "#define HAVE_XTEST 1" >>confdefs.h
19518 XTEST_LIBS
="$XTEST_LIBS -X11 -lXtst"
19528 if test -z "$PKG_CONFIG"; then
19529 # Extract the first word of "pkg-config", so it can be a program name with args.
19530 set dummy pkg-config
; ac_word
=$2
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19532 $as_echo_n "checking for $ac_word... " >&6; }
19533 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19534 $as_echo_n "(cached) " >&6
19536 case $PKG_CONFIG in
19538 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19542 for as_dir
in $PATH
19545 test -z "$as_dir" && as_dir
=.
19546 for ac_exec_ext
in '' $ac_executable_extensions; do
19547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19548 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19556 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19560 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19561 if test -n "$PKG_CONFIG"; then
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19563 $as_echo "$PKG_CONFIG" >&6; }
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19566 $as_echo "no" >&6; }
19572 if test "$PKG_CONFIG" = "no" ; then
19573 echo "*** The pkg-config script could not be found. Make sure it is"
19574 echo "*** in your path, or set the PKG_CONFIG environment variable"
19575 echo "*** to the full path to pkg-config."
19576 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19578 PKG_CONFIG_MIN_VERSION
=0.9.0
19579 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
19581 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
19583 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19585 $as_echo "yes" >&6; }
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
19589 $as_echo_n "checking GTK_CFLAGS... " >&6; }
19590 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
19592 $as_echo "$GTK_CFLAGS" >&6; }
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
19595 $as_echo_n "checking GTK_LIBS... " >&6; }
19596 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
19598 $as_echo "$GTK_LIBS" >&6; }
19602 ## If we have a custom action on failure, don't print errors, but
19603 ## do set a variable so people can do so.
19604 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19605 echo $GTK_PKG_ERRORS
19611 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19612 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19616 if test $succeeded = yes; then
19619 as_fn_error
"Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) 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
19625 if test -z "$PKG_CONFIG"; then
19626 # Extract the first word of "pkg-config", so it can be a program name with args.
19627 set dummy pkg-config
; ac_word
=$2
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19629 $as_echo_n "checking for $ac_word... " >&6; }
19630 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19631 $as_echo_n "(cached) " >&6
19633 case $PKG_CONFIG in
19635 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19639 for as_dir
in $PATH
19642 test -z "$as_dir" && as_dir
=.
19643 for ac_exec_ext
in '' $ac_executable_extensions; do
19644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19645 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19653 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19657 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19658 if test -n "$PKG_CONFIG"; then
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19660 $as_echo "$PKG_CONFIG" >&6; }
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19663 $as_echo "no" >&6; }
19669 if test "$PKG_CONFIG" = "no" ; then
19670 echo "*** The pkg-config script could not be found. Make sure it is"
19671 echo "*** in your path, or set the PKG_CONFIG environment variable"
19672 echo "*** to the full path to pkg-config."
19673 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19675 PKG_CONFIG_MIN_VERSION
=0.9.0
19676 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
19678 $as_echo_n "checking for freetype2... " >&6; }
19680 if $PKG_CONFIG --exists "freetype2" ; then
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19682 $as_echo "yes" >&6; }
19685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_CFLAGS" >&5
19686 $as_echo_n "checking FREETYPE2_CFLAGS... " >&6; }
19687 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_CFLAGS" >&5
19689 $as_echo "$FREETYPE2_CFLAGS" >&6; }
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_LIBS" >&5
19692 $as_echo_n "checking FREETYPE2_LIBS... " >&6; }
19693 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_LIBS" >&5
19695 $as_echo "$FREETYPE2_LIBS" >&6; }
19697 FREETYPE2_CFLAGS
=""
19699 ## If we have a custom action on failure, don't print errors, but
19700 ## do set a variable so people can do so.
19701 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
19702 echo $FREETYPE2_PKG_ERRORS
19708 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19709 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19713 if test $succeeded = yes; then
19716 as_fn_error
"Library requirements (freetype2) 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
19722 if test -z "$PKG_CONFIG"; then
19723 # Extract the first word of "pkg-config", so it can be a program name with args.
19724 set dummy pkg-config
; ac_word
=$2
19725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19726 $as_echo_n "checking for $ac_word... " >&6; }
19727 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19728 $as_echo_n "(cached) " >&6
19730 case $PKG_CONFIG in
19732 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19736 for as_dir
in $PATH
19739 test -z "$as_dir" && as_dir
=.
19740 for ac_exec_ext
in '' $ac_executable_extensions; do
19741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19742 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19750 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19754 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19755 if test -n "$PKG_CONFIG"; then
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19757 $as_echo "$PKG_CONFIG" >&6; }
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19760 $as_echo "no" >&6; }
19766 if test "$PKG_CONFIG" = "no" ; then
19767 echo "*** The pkg-config script could not be found. Make sure it is"
19768 echo "*** in your path, or set the PKG_CONFIG environment variable"
19769 echo "*** to the full path to pkg-config."
19770 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19772 PKG_CONFIG_MIN_VERSION
=0.9.0
19773 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pangoft2" >&5
19775 $as_echo_n "checking for pangoft2... " >&6; }
19777 if $PKG_CONFIG --exists "pangoft2" ; then
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19779 $as_echo "yes" >&6; }
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_CFLAGS" >&5
19783 $as_echo_n "checking PANGOFT2_CFLAGS... " >&6; }
19784 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_CFLAGS" >&5
19786 $as_echo "$PANGOFT2_CFLAGS" >&6; }
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_LIBS" >&5
19789 $as_echo_n "checking PANGOFT2_LIBS... " >&6; }
19790 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_LIBS" >&5
19792 $as_echo "$PANGOFT2_LIBS" >&6; }
19796 ## If we have a custom action on failure, don't print errors, but
19797 ## do set a variable so people can do so.
19798 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
19799 echo $PANGOFT2_PKG_ERRORS
19805 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19806 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19810 if test $succeeded = yes; then
19813 as_fn_error
"Library requirements (pangoft2) 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
19819 if test -z "$PKG_CONFIG"; then
19820 # Extract the first word of "pkg-config", so it can be a program name with args.
19821 set dummy pkg-config
; ac_word
=$2
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19823 $as_echo_n "checking for $ac_word... " >&6; }
19824 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19825 $as_echo_n "(cached) " >&6
19827 case $PKG_CONFIG in
19829 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19833 for as_dir
in $PATH
19836 test -z "$as_dir" && as_dir
=.
19837 for ac_exec_ext
in '' $ac_executable_extensions; do
19838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19839 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19847 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19851 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19852 if test -n "$PKG_CONFIG"; then
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19854 $as_echo "$PKG_CONFIG" >&6; }
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19857 $as_echo "no" >&6; }
19863 if test "$PKG_CONFIG" = "no" ; then
19864 echo "*** The pkg-config script could not be found. Make sure it is"
19865 echo "*** in your path, or set the PKG_CONFIG environment variable"
19866 echo "*** to the full path to pkg-config."
19867 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19869 PKG_CONFIG_MIN_VERSION
=0.9.0
19870 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.1.8" >&5
19872 $as_echo_n "checking for cairo >= 1.1.8... " >&6; }
19874 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19876 $as_echo "yes" >&6; }
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_CFLAGS" >&5
19880 $as_echo_n "checking CAIRO_CFLAGS... " >&6; }
19881 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
19882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_CFLAGS" >&5
19883 $as_echo "$CAIRO_CFLAGS" >&6; }
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_LIBS" >&5
19886 $as_echo_n "checking CAIRO_LIBS... " >&6; }
19887 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_LIBS" >&5
19889 $as_echo "$CAIRO_LIBS" >&6; }
19893 ## If we have a custom action on failure, don't print errors, but
19894 ## do set a variable so people can do so.
19895 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
19896 echo $CAIRO_PKG_ERRORS
19902 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19903 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19907 if test $succeeded = yes; then
19910 as_fn_error
"Library requirements (cairo >= 1.1.8) 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
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
19914 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
19915 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then :
19916 $as_echo_n "(cached) " >&6
19918 ac_check_lib_save_LIBS
=$LIBS
19919 LIBS
="-lXrender ${X_LIBS} $LIBS"
19920 if test x
$gcc_no_link = xyes
; then
19921 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h. */
19926 /* Override any GCC internal prototype to avoid an error.
19927 Use char because int might match the return type of a GCC
19928 builtin and then its argument prototype would still apply. */
19932 char XRenderQueryExtension ();
19936 return XRenderQueryExtension ();
19941 if ac_fn_c_try_link
"$LINENO"; then :
19942 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
19944 ac_cv_lib_Xrender_XRenderQueryExtension
=no
19946 rm -f core conftest.err conftest.
$ac_objext \
19947 conftest
$ac_exeext conftest.
$ac_ext
19948 LIBS
=$ac_check_lib_save_LIBS
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
19951 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
19952 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x
""yes; then :
19954 $as_echo "#define HAVE_XRENDER 1" >>confdefs.h
19955 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRQueryExtension in -lXrandr" >&5
19962 $as_echo_n "checking for XRRQueryExtension in -lXrandr... " >&6; }
19963 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then :
19964 $as_echo_n "(cached) " >&6
19966 ac_check_lib_save_LIBS
=$LIBS
19967 LIBS
="-lXrandr ${X_LIBS} $LIBS"
19968 if test x
$gcc_no_link = xyes
; then
19969 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19972 /* end confdefs.h. */
19974 /* Override any GCC internal prototype to avoid an error.
19975 Use char because int might match the return type of a GCC
19976 builtin and then its argument prototype would still apply. */
19980 char XRRQueryExtension ();
19984 return XRRQueryExtension ();
19989 if ac_fn_c_try_link
"$LINENO"; then :
19990 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
19992 ac_cv_lib_Xrandr_XRRQueryExtension
=no
19994 rm -f core conftest.err conftest.
$ac_objext \
19995 conftest
$ac_exeext conftest.
$ac_ext
19996 LIBS
=$ac_check_lib_save_LIBS
19998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
19999 $as_echo "$ac_cv_lib_Xrandr_XRRQueryExtension" >&6; }
20000 if test "x$ac_cv_lib_Xrandr_XRRQueryExtension" = x
""yes; then :
20002 $as_echo "#define HAVE_XRANDR 1" >>confdefs.h
20003 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
20018 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
20022 if test -z "$PKG_CONFIG"; then
20023 # Extract the first word of "pkg-config", so it can be a program name with args.
20024 set dummy pkg-config
; ac_word
=$2
20025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20026 $as_echo_n "checking for $ac_word... " >&6; }
20027 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20028 $as_echo_n "(cached) " >&6
20030 case $PKG_CONFIG in
20032 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20036 for as_dir
in $PATH
20039 test -z "$as_dir" && as_dir
=.
20040 for ac_exec_ext
in '' $ac_executable_extensions; do
20041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20042 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20050 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20054 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20055 if test -n "$PKG_CONFIG"; then
20056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20057 $as_echo "$PKG_CONFIG" >&6; }
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20060 $as_echo "no" >&6; }
20066 if test "$PKG_CONFIG" = "no" ; then
20067 echo "*** The pkg-config script could not be found. Make sure it is"
20068 echo "*** in your path, or set the PKG_CONFIG environment variable"
20069 echo "*** to the full path to pkg-config."
20070 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20072 PKG_CONFIG_MIN_VERSION
=0.9.0
20073 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.6.0" >&5
20075 $as_echo_n "checking for gconf-2.0 >= 2.6.0... " >&6; }
20077 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20079 $as_echo "yes" >&6; }
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5
20083 $as_echo_n "checking GCONF_CFLAGS... " >&6; }
20084 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
20085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5
20086 $as_echo "$GCONF_CFLAGS" >&6; }
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5
20089 $as_echo_n "checking GCONF_LIBS... " >&6; }
20090 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5
20092 $as_echo "$GCONF_LIBS" >&6; }
20096 ## If we have a custom action on failure, don't print errors, but
20097 ## do set a variable so people can do so.
20098 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
20099 echo $GCONF_PKG_ERRORS
20105 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20106 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20110 if test $succeeded = yes; then
20113 as_fn_error
"Library requirements (gconf-2.0 >= 2.6.0) 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
20121 if test -z "$PKG_CONFIG"; then
20122 # Extract the first word of "pkg-config", so it can be a program name with args.
20123 set dummy pkg-config
; ac_word
=$2
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20125 $as_echo_n "checking for $ac_word... " >&6; }
20126 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20127 $as_echo_n "(cached) " >&6
20129 case $PKG_CONFIG in
20131 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20135 for as_dir
in $PATH
20138 test -z "$as_dir" && as_dir
=.
20139 for ac_exec_ext
in '' $ac_executable_extensions; do
20140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20141 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20149 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20153 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20154 if test -n "$PKG_CONFIG"; then
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20156 $as_echo "$PKG_CONFIG" >&6; }
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20159 $as_echo "no" >&6; }
20165 if test "$PKG_CONFIG" = "no" ; then
20166 echo "*** The pkg-config script could not be found. Make sure it is"
20167 echo "*** in your path, or set the PKG_CONFIG environment variable"
20168 echo "*** to the full path to pkg-config."
20169 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20171 PKG_CONFIG_MIN_VERSION
=0.9.0
20172 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
20174 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
20176 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20178 $as_echo "yes" >&6; }
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
20182 $as_echo_n "checking GDK_CFLAGS... " >&6; }
20183 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
20184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
20185 $as_echo "$GDK_CFLAGS" >&6; }
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
20188 $as_echo_n "checking GDK_LIBS... " >&6; }
20189 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
20190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
20191 $as_echo "$GDK_LIBS" >&6; }
20195 ## If we have a custom action on failure, don't print errors, but
20196 ## do set a variable so people can do so.
20197 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
20198 echo $GDK_PKG_ERRORS
20204 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20205 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20209 if test $succeeded = yes; then
20212 as_fn_error
"Library requirements (gdk-2.0 >= 2.8) 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
20217 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
20218 if test "$USE_GCONF_PREFS_PEER" = ""; then
20219 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
20223 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
20224 GST_MAJORMINOR
=0.10
20225 GST_REQUIRED
=0.10.10
20230 if test -z "$PKG_CONFIG"; then
20231 # Extract the first word of "pkg-config", so it can be a program name with args.
20232 set dummy pkg-config
; ac_word
=$2
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20234 $as_echo_n "checking for $ac_word... " >&6; }
20235 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20236 $as_echo_n "(cached) " >&6
20238 case $PKG_CONFIG in
20240 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20244 for as_dir
in $PATH
20247 test -z "$as_dir" && as_dir
=.
20248 for ac_exec_ext
in '' $ac_executable_extensions; do
20249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20250 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20258 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20262 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20263 if test -n "$PKG_CONFIG"; then
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20265 $as_echo "$PKG_CONFIG" >&6; }
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20268 $as_echo "no" >&6; }
20274 if test "$PKG_CONFIG" = "no" ; then
20275 echo "*** The pkg-config script could not be found. Make sure it is"
20276 echo "*** in your path, or set the PKG_CONFIG environment variable"
20277 echo "*** to the full path to pkg-config."
20278 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20280 PKG_CONFIG_MIN_VERSION
=0.9.0
20281 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
20283 $as_echo_n "checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
20285 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20287 $as_echo "yes" >&6; }
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_CFLAGS" >&5
20291 $as_echo_n "checking GSTREAMER_CFLAGS... " >&6; }
20292 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_CFLAGS" >&5
20294 $as_echo "$GSTREAMER_CFLAGS" >&6; }
20296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_LIBS" >&5
20297 $as_echo_n "checking GSTREAMER_LIBS... " >&6; }
20298 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_LIBS" >&5
20300 $as_echo "$GSTREAMER_LIBS" >&6; }
20302 GSTREAMER_CFLAGS
=""
20304 ## If we have a custom action on failure, don't print errors, but
20305 ## do set a variable so people can do so.
20306 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
20307 echo $GSTREAMER_PKG_ERRORS
20313 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20314 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20318 if test $succeeded = yes; then
20321 as_fn_error
"Library requirements (gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED) 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
20330 if test -z "$PKG_CONFIG"; then
20331 # Extract the first word of "pkg-config", so it can be a program name with args.
20332 set dummy pkg-config
; ac_word
=$2
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20334 $as_echo_n "checking for $ac_word... " >&6; }
20335 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20336 $as_echo_n "(cached) " >&6
20338 case $PKG_CONFIG in
20340 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20344 for as_dir
in $PATH
20347 test -z "$as_dir" && as_dir
=.
20348 for ac_exec_ext
in '' $ac_executable_extensions; do
20349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20350 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20358 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20362 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20363 if test -n "$PKG_CONFIG"; then
20364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20365 $as_echo "$PKG_CONFIG" >&6; }
20367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20368 $as_echo "no" >&6; }
20374 if test "$PKG_CONFIG" = "no" ; then
20375 echo "*** The pkg-config script could not be found. Make sure it is"
20376 echo "*** in your path, or set the PKG_CONFIG environment variable"
20377 echo "*** to the full path to pkg-config."
20378 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20380 PKG_CONFIG_MIN_VERSION
=0.9.0
20381 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
20383 $as_echo_n "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
20385 if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20387 $as_echo "yes" >&6; }
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_CFLAGS" >&5
20391 $as_echo_n "checking GSTREAMER_BASE_CFLAGS... " >&6; }
20392 GSTREAMER_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_CFLAGS" >&5
20394 $as_echo "$GSTREAMER_BASE_CFLAGS" >&6; }
20396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_LIBS" >&5
20397 $as_echo_n "checking GSTREAMER_BASE_LIBS... " >&6; }
20398 GSTREAMER_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_LIBS" >&5
20400 $as_echo "$GSTREAMER_BASE_LIBS" >&6; }
20402 GSTREAMER_BASE_CFLAGS
=""
20403 GSTREAMER_BASE_LIBS
=""
20404 ## If we have a custom action on failure, don't print errors, but
20405 ## do set a variable so people can do so.
20406 GSTREAMER_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20407 echo $GSTREAMER_BASE_PKG_ERRORS
20413 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20414 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20418 if test $succeeded = yes; then
20421 as_fn_error
"Library requirements (gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED) 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
20430 if test -z "$PKG_CONFIG"; then
20431 # Extract the first word of "pkg-config", so it can be a program name with args.
20432 set dummy pkg-config
; ac_word
=$2
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20434 $as_echo_n "checking for $ac_word... " >&6; }
20435 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20436 $as_echo_n "(cached) " >&6
20438 case $PKG_CONFIG in
20440 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20444 for as_dir
in $PATH
20447 test -z "$as_dir" && as_dir
=.
20448 for ac_exec_ext
in '' $ac_executable_extensions; do
20449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20450 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20458 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20462 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20463 if test -n "$PKG_CONFIG"; then
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20465 $as_echo "$PKG_CONFIG" >&6; }
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20468 $as_echo "no" >&6; }
20474 if test "$PKG_CONFIG" = "no" ; then
20475 echo "*** The pkg-config script could not be found. Make sure it is"
20476 echo "*** in your path, or set the PKG_CONFIG environment variable"
20477 echo "*** to the full path to pkg-config."
20478 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20480 PKG_CONFIG_MIN_VERSION
=0.9.0
20481 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
20483 $as_echo_n "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
20485 if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20487 $as_echo "yes" >&6; }
20490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
20491 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_CFLAGS... " >&6; }
20492 GSTREAMER_PLUGINS_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
20494 $as_echo "$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6; }
20496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
20497 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_LIBS... " >&6; }
20498 GSTREAMER_PLUGINS_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
20500 $as_echo "$GSTREAMER_PLUGINS_BASE_LIBS" >&6; }
20502 GSTREAMER_PLUGINS_BASE_CFLAGS
=""
20503 GSTREAMER_PLUGINS_BASE_LIBS
=""
20504 ## If we have a custom action on failure, don't print errors, but
20505 ## do set a variable so people can do so.
20506 GSTREAMER_PLUGINS_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20507 echo $GSTREAMER_PLUGINS_BASE_PKG_ERRORS
20513 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20514 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20518 if test $succeeded = yes; then
20521 as_fn_error
"Library requirements (gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED) 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
20527 GST_PLUGIN_LDFLAGS
='-module -avoid-version -Wno-unused-parameter -no-undefined'
20533 if test -z "$PKG_CONFIG"; then
20534 # Extract the first word of "pkg-config", so it can be a program name with args.
20535 set dummy pkg-config
; ac_word
=$2
20536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20537 $as_echo_n "checking for $ac_word... " >&6; }
20538 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20539 $as_echo_n "(cached) " >&6
20541 case $PKG_CONFIG in
20543 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20547 for as_dir
in $PATH
20550 test -z "$as_dir" && as_dir
=.
20551 for ac_exec_ext
in '' $ac_executable_extensions; do
20552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20553 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20561 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20565 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20566 if test -n "$PKG_CONFIG"; then
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20568 $as_echo "$PKG_CONFIG" >&6; }
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20571 $as_echo "no" >&6; }
20577 if test "$PKG_CONFIG" = "no" ; then
20578 echo "*** The pkg-config script could not be found. Make sure it is"
20579 echo "*** in your path, or set the PKG_CONFIG environment variable"
20580 echo "*** to the full path to pkg-config."
20581 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20583 PKG_CONFIG_MIN_VERSION
=0.9.0
20584 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
20586 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
20588 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20590 $as_echo "yes" >&6; }
20593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
20594 $as_echo_n "checking GDK_CFLAGS... " >&6; }
20595 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
20597 $as_echo "$GDK_CFLAGS" >&6; }
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
20600 $as_echo_n "checking GDK_LIBS... " >&6; }
20601 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
20602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
20603 $as_echo "$GDK_LIBS" >&6; }
20607 ## If we have a custom action on failure, don't print errors, but
20608 ## do set a variable so people can do so.
20609 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
20610 echo $GDK_PKG_ERRORS
20616 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20617 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20621 if test $succeeded = yes; then
20624 as_fn_error
"Library requirements (gdk-2.0 >= 2.8) 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
20630 GSTREAMER_FILE_READER
=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader
20631 GSTREAMER_MIXER_PROVIDER
=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider
20636 if test "x${COMPILE_QT_PEER}" = xyes
; then
20640 if test -z "$PKG_CONFIG"; then
20641 # Extract the first word of "pkg-config", so it can be a program name with args.
20642 set dummy pkg-config
; ac_word
=$2
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20644 $as_echo_n "checking for $ac_word... " >&6; }
20645 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20646 $as_echo_n "(cached) " >&6
20648 case $PKG_CONFIG in
20650 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20654 for as_dir
in $PATH
20657 test -z "$as_dir" && as_dir
=.
20658 for ac_exec_ext
in '' $ac_executable_extensions; do
20659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20660 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20668 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20672 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20673 if test -n "$PKG_CONFIG"; then
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20675 $as_echo "$PKG_CONFIG" >&6; }
20677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20678 $as_echo "no" >&6; }
20684 if test "$PKG_CONFIG" = "no" ; then
20685 echo "*** The pkg-config script could not be found. Make sure it is"
20686 echo "*** in your path, or set the PKG_CONFIG environment variable"
20687 echo "*** to the full path to pkg-config."
20688 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20690 PKG_CONFIG_MIN_VERSION
=0.9.0
20691 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QtCore QtGui >= 4.1.0" >&5
20693 $as_echo_n "checking for QtCore QtGui >= 4.1.0... " >&6; }
20695 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20697 $as_echo "yes" >&6; }
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_CFLAGS" >&5
20701 $as_echo_n "checking QT_CFLAGS... " >&6; }
20702 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
20703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CFLAGS" >&5
20704 $as_echo "$QT_CFLAGS" >&6; }
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_LIBS" >&5
20707 $as_echo_n "checking QT_LIBS... " >&6; }
20708 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_LIBS" >&5
20710 $as_echo "$QT_LIBS" >&6; }
20714 ## If we have a custom action on failure, don't print errors, but
20715 ## do set a variable so people can do so.
20716 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
20723 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20724 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20728 if test $succeeded = yes; then
20734 if test "x$HAVE_QT4" = "xyes"; then
20735 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
20736 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
20737 as_ac_File
=`$as_echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
20738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $QT_INCLUDE_DIR/QWidget" >&5
20739 $as_echo_n "checking for $QT_INCLUDE_DIR/QWidget... " >&6; }
20740 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
20741 $as_echo_n "(cached) " >&6
20743 test "$cross_compiling" = yes &&
20744 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
20745 if test -r "$QT_INCLUDE_DIR/QWidget"; then
20746 eval "$as_ac_File=yes"
20748 eval "$as_ac_File=no"
20751 eval ac_res
=\$
$as_ac_File
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20753 $as_echo "$ac_res" >&6; }
20754 eval as_val
=\$
$as_ac_File
20755 if test "x$as_val" = x
""yes; then :
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: No extra QT_INCLUDE_DIR needed" >&5
20757 $as_echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
20759 as_ac_File
=`$as_echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
20760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
20761 $as_echo_n "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... " >&6; }
20762 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
20763 $as_echo_n "(cached) " >&6
20765 test "$cross_compiling" = yes &&
20766 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
20767 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
20768 eval "$as_ac_File=yes"
20770 eval "$as_ac_File=no"
20773 eval ac_res
=\$
$as_ac_File
20774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20775 $as_echo "$ac_res" >&6; }
20776 eval as_val
=\$
$as_ac_File
20777 if test "x$as_val" = x
""yes; then :
20778 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
20780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: QWidget not found" >&5
20781 $as_echo "$as_me: WARNING: QWidget not found" >&2;}
20786 # Extract the first word of "moc", so it can be a program name with args.
20787 set dummy moc
; ac_word
=$2
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20789 $as_echo_n "checking for $ac_word... " >&6; }
20790 if test "${ac_cv_prog_MOC+set}" = set; then :
20791 $as_echo_n "(cached) " >&6
20793 if test -n "$MOC"; then
20794 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
20796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20797 for as_dir
in $PATH
20800 test -z "$as_dir" && as_dir
=.
20801 for ac_exec_ext
in '' $ac_executable_extensions; do
20802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20803 ac_cv_prog_MOC
="moc"
20804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20813 MOC
=$ac_cv_prog_MOC
20814 if test -n "$MOC"; then
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
20816 $as_echo "$MOC" >&6; }
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20819 $as_echo "no" >&6; }
20823 # Extract the first word of "moc-qt4", so it can be a program name with args.
20824 set dummy moc-qt4
; ac_word
=$2
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20826 $as_echo_n "checking for $ac_word... " >&6; }
20827 if test "${ac_cv_prog_MOC+set}" = set; then :
20828 $as_echo_n "(cached) " >&6
20830 if test -n "$MOC"; then
20831 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
20833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20834 for as_dir
in $PATH
20837 test -z "$as_dir" && as_dir
=.
20838 for ac_exec_ext
in '' $ac_executable_extensions; do
20839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20840 ac_cv_prog_MOC
="moc-qt4"
20841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20850 MOC
=$ac_cv_prog_MOC
20851 if test -n "$MOC"; then
20852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
20853 $as_echo "$MOC" >&6; }
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20856 $as_echo "no" >&6; }
20861 if test "x$HAVE_QT4" = "xno"; then
20862 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
20863 $as_echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
20867 # Check whether --with-qt4dir was given.
20868 if test "${with_qt4dir+set}" = set; then :
20869 withval
=$with_qt4dir; QT4DIR
=$withval
20873 if test x
"$QT4DIR" = x
; then
20874 as_fn_error
"*** No path for Qt4 --with-qt4dir option given" "$LINENO" 5
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: QT4DIR... $QT4DIR" >&5
20877 $as_echo "QT4DIR... $QT4DIR" >&6; }
20878 # Extract the first word of "moc", so it can be a program name with args.
20879 set dummy moc
; ac_word
=$2
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20881 $as_echo_n "checking for $ac_word... " >&6; }
20882 if test "${ac_cv_prog_MOC+set}" = set; then :
20883 $as_echo_n "(cached) " >&6
20885 if test -n "$MOC"; then
20886 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
20888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20889 for as_dir
in $QT4DIR/bin
20892 test -z "$as_dir" && as_dir
=.
20893 for ac_exec_ext
in '' $ac_executable_extensions; do
20894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20895 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
20896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20905 MOC
=$ac_cv_prog_MOC
20906 if test -n "$MOC"; then
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
20908 $as_echo "$MOC" >&6; }
20910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20911 $as_echo "no" >&6; }
20915 if test x
"$MOC" = x
; then
20916 as_fn_error
"*** This is not the right Qt installation" "$LINENO" 5
20918 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
20919 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
20920 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
20921 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
20924 as_fn_error
"*** Please check PKG_CONFIG_PATH or the version
20925 of your installed Qt4 installation." "$LINENO" 5
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: Set QT_CFLAGS... $QT_CFLAGS" >&5
20930 $as_echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
20935 $as_echo_n "checking for MSG_NOSIGNAL... " >&6; }
20936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20937 /* end confdefs.h. */
20938 #include <sys/socket.h>
20942 int f = MSG_NOSIGNAL;
20947 if ac_fn_c_try_compile
"$LINENO"; then :
20948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20949 $as_echo "yes" >&6; }
20951 $as_echo "#define HAVE_MSG_NOSIGNAL 1" >>confdefs.h
20954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20955 $as_echo "no" >&6; }
20958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SO_NOSIGPIPE " >&5
20960 $as_echo_n "checking for SO_NOSIGPIPE ... " >&6; }
20961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20962 /* end confdefs.h. */
20963 #include <sys/socket.h>
20967 int f = SO_NOSIGPIPE;
20972 if ac_fn_c_try_compile
"$LINENO"; then :
20973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20974 $as_echo "yes" >&6; }
20976 $as_echo "#define HAVE_SO_NOSIGPIPE 1" >>confdefs.h
20979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20980 $as_echo "no" >&6; }
20983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_WAITALL" >&5
20985 $as_echo_n "checking for MSG_WAITALL... " >&6; }
20986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20988 #include <sys/socket.h>
20992 int f = MSG_WAITALL;
20997 if ac_fn_c_try_compile
"$LINENO"; then :
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20999 $as_echo "yes" >&6; }
21001 $as_echo "#define HAVE_MSG_WAITALL 1" >>confdefs.h
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21005 $as_echo "no" >&6; }
21008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21010 if test "x${COMPILE_PLUGIN}" = xyes
; then
21014 if test -z "$PKG_CONFIG"; then
21015 # Extract the first word of "pkg-config", so it can be a program name with args.
21016 set dummy pkg-config
; ac_word
=$2
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21018 $as_echo_n "checking for $ac_word... " >&6; }
21019 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21020 $as_echo_n "(cached) " >&6
21022 case $PKG_CONFIG in
21024 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21028 for as_dir
in $PATH
21031 test -z "$as_dir" && as_dir
=.
21032 for ac_exec_ext
in '' $ac_executable_extensions; do
21033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21034 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21042 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21046 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21047 if test -n "$PKG_CONFIG"; then
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21049 $as_echo "$PKG_CONFIG" >&6; }
21051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21052 $as_echo "no" >&6; }
21058 if test "$PKG_CONFIG" = "no" ; then
21059 echo "*** The pkg-config script could not be found. Make sure it is"
21060 echo "*** in your path, or set the PKG_CONFIG environment variable"
21061 echo "*** to the full path to pkg-config."
21062 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21064 PKG_CONFIG_MIN_VERSION
=0.9.0
21065 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin libxul-unstable" >&5
21067 $as_echo_n "checking for mozilla-plugin libxul-unstable... " >&6; }
21069 if $PKG_CONFIG --exists "mozilla-plugin libxul-unstable" ; then
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21071 $as_echo "yes" >&6; }
21074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21075 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21076 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin libxul-unstable"`
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21078 $as_echo "$MOZILLA_CFLAGS" >&6; }
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21081 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21082 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin libxul-unstable"`
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21084 $as_echo "$MOZILLA_LIBS" >&6; }
21088 ## If we have a custom action on failure, don't print errors, but
21089 ## do set a variable so people can do so.
21090 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin libxul-unstable"`
21097 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21098 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21102 if test $succeeded = yes; then
21108 if test "x${MOZILLA_FOUND}" = xno
; then
21112 if test -z "$PKG_CONFIG"; then
21113 # Extract the first word of "pkg-config", so it can be a program name with args.
21114 set dummy pkg-config
; ac_word
=$2
21115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21116 $as_echo_n "checking for $ac_word... " >&6; }
21117 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21118 $as_echo_n "(cached) " >&6
21120 case $PKG_CONFIG in
21122 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21126 for as_dir
in $PATH
21129 test -z "$as_dir" && as_dir
=.
21130 for ac_exec_ext
in '' $ac_executable_extensions; do
21131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21132 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21140 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21144 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21145 if test -n "$PKG_CONFIG"; then
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21147 $as_echo "$PKG_CONFIG" >&6; }
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21150 $as_echo "no" >&6; }
21156 if test "$PKG_CONFIG" = "no" ; then
21157 echo "*** The pkg-config script could not be found. Make sure it is"
21158 echo "*** in your path, or set the PKG_CONFIG environment variable"
21159 echo "*** to the full path to pkg-config."
21160 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21162 PKG_CONFIG_MIN_VERSION
=0.9.0
21163 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin" >&5
21165 $as_echo_n "checking for mozilla-plugin... " >&6; }
21167 if $PKG_CONFIG --exists "mozilla-plugin" ; then
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21169 $as_echo "yes" >&6; }
21172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21173 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21174 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21176 $as_echo "$MOZILLA_CFLAGS" >&6; }
21178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21179 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21180 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21182 $as_echo "$MOZILLA_LIBS" >&6; }
21186 ## If we have a custom action on failure, don't print errors, but
21187 ## do set a variable so people can do so.
21188 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
21195 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21196 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21200 if test $succeeded = yes; then
21207 if test "x${MOZILLA_FOUND}" = xno
; then
21211 if test -z "$PKG_CONFIG"; then
21212 # Extract the first word of "pkg-config", so it can be a program name with args.
21213 set dummy pkg-config
; ac_word
=$2
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21215 $as_echo_n "checking for $ac_word... " >&6; }
21216 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21217 $as_echo_n "(cached) " >&6
21219 case $PKG_CONFIG in
21221 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21225 for as_dir
in $PATH
21228 test -z "$as_dir" && as_dir
=.
21229 for ac_exec_ext
in '' $ac_executable_extensions; do
21230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21231 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21239 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21243 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21244 if test -n "$PKG_CONFIG"; then
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21246 $as_echo "$PKG_CONFIG" >&6; }
21248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21249 $as_echo "no" >&6; }
21255 if test "$PKG_CONFIG" = "no" ; then
21256 echo "*** The pkg-config script could not be found. Make sure it is"
21257 echo "*** in your path, or set the PKG_CONFIG environment variable"
21258 echo "*** to the full path to pkg-config."
21259 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21261 PKG_CONFIG_MIN_VERSION
=0.9.0
21262 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for firefox-plugin firefox-xpcom" >&5
21264 $as_echo_n "checking for firefox-plugin firefox-xpcom... " >&6; }
21266 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21268 $as_echo "yes" >&6; }
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21272 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21273 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21275 $as_echo "$MOZILLA_CFLAGS" >&6; }
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21278 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21279 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21281 $as_echo "$MOZILLA_LIBS" >&6; }
21285 ## If we have a custom action on failure, don't print errors, but
21286 ## do set a variable so people can do so.
21287 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
21294 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21295 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21299 if test $succeeded = yes; then
21306 if test "x${MOZILLA_FOUND}" = xno
; then
21310 if test -z "$PKG_CONFIG"; then
21311 # Extract the first word of "pkg-config", so it can be a program name with args.
21312 set dummy pkg-config
; ac_word
=$2
21313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21314 $as_echo_n "checking for $ac_word... " >&6; }
21315 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21316 $as_echo_n "(cached) " >&6
21318 case $PKG_CONFIG in
21320 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21324 for as_dir
in $PATH
21327 test -z "$as_dir" && as_dir
=.
21328 for ac_exec_ext
in '' $ac_executable_extensions; do
21329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21330 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21338 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21342 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21343 if test -n "$PKG_CONFIG"; then
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21345 $as_echo "$PKG_CONFIG" >&6; }
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21348 $as_echo "no" >&6; }
21354 if test "$PKG_CONFIG" = "no" ; then
21355 echo "*** The pkg-config script could not be found. Make sure it is"
21356 echo "*** in your path, or set the PKG_CONFIG environment variable"
21357 echo "*** to the full path to pkg-config."
21358 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21360 PKG_CONFIG_MIN_VERSION
=0.9.0
21361 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xulrunner-plugin xulrunner-xpcom" >&5
21363 $as_echo_n "checking for xulrunner-plugin xulrunner-xpcom... " >&6; }
21365 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21367 $as_echo "yes" >&6; }
21370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21371 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21372 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
21373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21374 $as_echo "$MOZILLA_CFLAGS" >&6; }
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21377 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21378 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21380 $as_echo "$MOZILLA_LIBS" >&6; }
21384 ## If we have a custom action on failure, don't print errors, but
21385 ## do set a variable so people can do so.
21386 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
21393 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21394 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21398 if test $succeeded = yes; then
21405 if test "x${MOZILLA_FOUND}" = xno
; then
21409 if test -z "$PKG_CONFIG"; then
21410 # Extract the first word of "pkg-config", so it can be a program name with args.
21411 set dummy pkg-config
; ac_word
=$2
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21413 $as_echo_n "checking for $ac_word... " >&6; }
21414 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21415 $as_echo_n "(cached) " >&6
21417 case $PKG_CONFIG in
21419 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21423 for as_dir
in $PATH
21426 test -z "$as_dir" && as_dir
=.
21427 for ac_exec_ext
in '' $ac_executable_extensions; do
21428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21429 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21437 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21441 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21442 if test -n "$PKG_CONFIG"; then
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21444 $as_echo "$PKG_CONFIG" >&6; }
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21447 $as_echo "no" >&6; }
21453 if test "$PKG_CONFIG" = "no" ; then
21454 echo "*** The pkg-config script could not be found. Make sure it is"
21455 echo "*** in your path, or set the PKG_CONFIG environment variable"
21456 echo "*** to the full path to pkg-config."
21457 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21459 PKG_CONFIG_MIN_VERSION
=0.9.0
21460 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
21462 $as_echo_n "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... " >&6; }
21464 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
21465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21466 $as_echo "yes" >&6; }
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21470 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21471 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21473 $as_echo "$MOZILLA_CFLAGS" >&6; }
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21476 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21477 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
21478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21479 $as_echo "$MOZILLA_LIBS" >&6; }
21483 ## If we have a custom action on failure, don't print errors, but
21484 ## do set a variable so people can do so.
21485 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
21492 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21493 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21497 if test $succeeded = yes; then
21504 if test "x${MOZILLA_FOUND}" = xno
; then
21508 if test -z "$PKG_CONFIG"; then
21509 # Extract the first word of "pkg-config", so it can be a program name with args.
21510 set dummy pkg-config
; ac_word
=$2
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21512 $as_echo_n "checking for $ac_word... " >&6; }
21513 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21514 $as_echo_n "(cached) " >&6
21516 case $PKG_CONFIG in
21518 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21522 for as_dir
in $PATH
21525 test -z "$as_dir" && as_dir
=.
21526 for ac_exec_ext
in '' $ac_executable_extensions; do
21527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21528 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21536 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21540 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21541 if test -n "$PKG_CONFIG"; then
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21543 $as_echo "$PKG_CONFIG" >&6; }
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21546 $as_echo "no" >&6; }
21552 if test "$PKG_CONFIG" = "no" ; then
21553 echo "*** The pkg-config script could not be found. Make sure it is"
21554 echo "*** in your path, or set the PKG_CONFIG environment variable"
21555 echo "*** to the full path to pkg-config."
21556 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21558 PKG_CONFIG_MIN_VERSION
=0.9.0
21559 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for seamonkey-plugin seamonkey-xpcom" >&5
21561 $as_echo_n "checking for seamonkey-plugin seamonkey-xpcom... " >&6; }
21563 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21565 $as_echo "yes" >&6; }
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21569 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21570 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21572 $as_echo "$MOZILLA_CFLAGS" >&6; }
21574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21575 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21576 MOZILLA_LIBS
=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
21577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21578 $as_echo "$MOZILLA_LIBS" >&6; }
21582 ## If we have a custom action on failure, don't print errors, but
21583 ## do set a variable so people can do so.
21584 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
21591 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21592 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21596 if test $succeeded = yes; then
21603 if test "x${MOZILLA_FOUND}" = xno
; then
21607 if test -z "$PKG_CONFIG"; then
21608 # Extract the first word of "pkg-config", so it can be a program name with args.
21609 set dummy pkg-config
; ac_word
=$2
21610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21611 $as_echo_n "checking for $ac_word... " >&6; }
21612 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21613 $as_echo_n "(cached) " >&6
21615 case $PKG_CONFIG in
21617 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21621 for as_dir
in $PATH
21624 test -z "$as_dir" && as_dir
=.
21625 for ac_exec_ext
in '' $ac_executable_extensions; do
21626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21627 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21635 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21639 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21640 if test -n "$PKG_CONFIG"; then
21641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21642 $as_echo "$PKG_CONFIG" >&6; }
21644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21645 $as_echo "no" >&6; }
21651 if test "$PKG_CONFIG" = "no" ; then
21652 echo "*** The pkg-config script could not be found. Make sure it is"
21653 echo "*** in your path, or set the PKG_CONFIG environment variable"
21654 echo "*** to the full path to pkg-config."
21655 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21657 PKG_CONFIG_MIN_VERSION
=0.9.0
21658 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iceape-plugin iceape-xpcom" >&5
21660 $as_echo_n "checking for iceape-plugin iceape-xpcom... " >&6; }
21662 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
21663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21664 $as_echo "yes" >&6; }
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21668 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21669 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21671 $as_echo "$MOZILLA_CFLAGS" >&6; }
21673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21674 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21675 MOZILLA_LIBS
=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
21676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21677 $as_echo "$MOZILLA_LIBS" >&6; }
21681 ## If we have a custom action on failure, don't print errors, but
21682 ## do set a variable so people can do so.
21683 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
21690 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21691 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21695 if test $succeeded = yes; then
21702 if test "x${MOZILLA_FOUND}" = xno
; then
21703 as_fn_error
"Couldn't find plugin support headers and libraries, try --disable-plugin" "$LINENO" 5
21709 if test -z "$PKG_CONFIG"; then
21710 # Extract the first word of "pkg-config", so it can be a program name with args.
21711 set dummy pkg-config
; ac_word
=$2
21712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21713 $as_echo_n "checking for $ac_word... " >&6; }
21714 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21715 $as_echo_n "(cached) " >&6
21717 case $PKG_CONFIG in
21719 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21723 for as_dir
in $PATH
21726 test -z "$as_dir" && as_dir
=.
21727 for ac_exec_ext
in '' $ac_executable_extensions; do
21728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21729 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21737 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21741 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21742 if test -n "$PKG_CONFIG"; then
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21744 $as_echo "$PKG_CONFIG" >&6; }
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21747 $as_echo "no" >&6; }
21753 if test "$PKG_CONFIG" = "no" ; then
21754 echo "*** The pkg-config script could not be found. Make sure it is"
21755 echo "*** in your path, or set the PKG_CONFIG environment variable"
21756 echo "*** to the full path to pkg-config."
21757 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21759 PKG_CONFIG_MIN_VERSION
=0.9.0
21760 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0" >&5
21762 $as_echo_n "checking for glib-2.0... " >&6; }
21764 if $PKG_CONFIG --exists "glib-2.0" ; then
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21766 $as_echo "yes" >&6; }
21769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
21770 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
21771 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
21772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
21773 $as_echo "$GLIB_CFLAGS" >&6; }
21775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
21776 $as_echo_n "checking GLIB_LIBS... " >&6; }
21777 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
21779 $as_echo "$GLIB_LIBS" >&6; }
21783 ## If we have a custom action on failure, don't print errors, but
21784 ## do set a variable so people can do so.
21785 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
21786 echo $GLIB_PKG_ERRORS
21792 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21793 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21797 if test $succeeded = yes; then
21800 as_fn_error
"Library requirements (glib-2.0) 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
21806 if test -z "$PKG_CONFIG"; then
21807 # Extract the first word of "pkg-config", so it can be a program name with args.
21808 set dummy pkg-config
; ac_word
=$2
21809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21810 $as_echo_n "checking for $ac_word... " >&6; }
21811 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21812 $as_echo_n "(cached) " >&6
21814 case $PKG_CONFIG in
21816 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21820 for as_dir
in $PATH
21823 test -z "$as_dir" && as_dir
=.
21824 for ac_exec_ext
in '' $ac_executable_extensions; do
21825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21826 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21834 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21838 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21839 if test -n "$PKG_CONFIG"; then
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21841 $as_echo "$PKG_CONFIG" >&6; }
21843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21844 $as_echo "no" >&6; }
21850 if test "$PKG_CONFIG" = "no" ; then
21851 echo "*** The pkg-config script could not be found. Make sure it is"
21852 echo "*** in your path, or set the PKG_CONFIG environment variable"
21853 echo "*** to the full path to pkg-config."
21854 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21856 PKG_CONFIG_MIN_VERSION
=0.9.0
21857 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
21859 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
21861 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
21862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21863 $as_echo "yes" >&6; }
21866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
21867 $as_echo_n "checking GTK_CFLAGS... " >&6; }
21868 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
21870 $as_echo "$GTK_CFLAGS" >&6; }
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
21873 $as_echo_n "checking GTK_LIBS... " >&6; }
21874 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
21876 $as_echo "$GTK_LIBS" >&6; }
21880 ## If we have a custom action on failure, don't print errors, but
21881 ## do set a variable so people can do so.
21882 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21883 echo $GTK_PKG_ERRORS
21889 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21890 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21894 if test $succeeded = yes; then
21897 as_fn_error
"Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) 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
21908 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
21913 # Check whether --with-gmp was given.
21914 if test "${with_gmp+set}" = set; then :
21919 # Check whether --with-gmp_include was given.
21920 if test "${with_gmp_include+set}" = set; then :
21921 withval
=$with_gmp_include;
21925 # Check whether --with-gmp_lib was given.
21926 if test "${with_gmp_lib+set}" = set; then :
21927 withval
=$with_gmp_lib;
21931 if test "x$with_gmp" != x
; then
21934 gmplibs
="-L$with_gmp/lib $gmplibs"
21935 gmpinc
="-I$with_gmp/include $gmpinc"
21936 if test "x$with_gmp_include" != x
; then
21937 gmpinc
="-I$with_gmp_include $gmpinc"
21939 if test "x$with_gmp_lib" != x
; then
21940 gmplibs
="-L$with_gmp_lib $gmplibs"
21944 gmpinc
="-I/usr/include"
21947 if test "x${COMPILE_GMP}" = xyes
; then
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMP directories" >&5
21949 $as_echo_n "checking for GMP directories... " >&6; }
21950 if test "x$with_gmp" != x
; then
21951 gmplibs
="-L$with_gmp/lib -lgmp"
21952 gmpinc
="-I$with_gmp/include"
21953 if test "x$with_gmp_include" != x
; then
21954 gmpinc
="-I$with_gmp_include $gmpinc"
21956 if test "x$with_gmp_lib" != x
; then
21957 gmplibs
="-L$with_gmp_lib $gmplibs"
21962 gmpinc
="-I/usr/include"
21964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: prefix=$with_gmp, libs=$gmplibs, inc=$gmpinc" >&5
21965 $as_echo "prefix=$with_gmp, libs=$gmplibs, inc=$gmpinc" >&6; }
21966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_mul_si in -lgmp" >&5
21967 $as_echo_n "checking for __gmpz_mul_si in -lgmp... " >&6; }
21968 if test "${ac_cv_lib_gmp___gmpz_mul_si+set}" = set; then :
21969 $as_echo_n "(cached) " >&6
21971 ac_check_lib_save_LIBS
=$LIBS
21973 if test x
$gcc_no_link = xyes
; then
21974 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21977 /* end confdefs.h. */
21979 /* Override any GCC internal prototype to avoid an error.
21980 Use char because int might match the return type of a GCC
21981 builtin and then its argument prototype would still apply. */
21985 char __gmpz_mul_si ();
21989 return __gmpz_mul_si ();
21994 if ac_fn_c_try_link
"$LINENO"; then :
21995 ac_cv_lib_gmp___gmpz_mul_si
=yes
21997 ac_cv_lib_gmp___gmpz_mul_si
=no
21999 rm -f core conftest.err conftest.
$ac_objext \
22000 conftest
$ac_exeext conftest.
$ac_ext
22001 LIBS
=$ac_check_lib_save_LIBS
22003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_mul_si" >&5
22004 $as_echo "$ac_cv_lib_gmp___gmpz_mul_si" >&6; }
22005 if test "x$ac_cv_lib_gmp___gmpz_mul_si" = x
""yes; then :
22006 GMP_CFLAGS
="$gmpinc"
22007 GMP_LIBS
="$gmplibs"
22016 for ac_header
in gmp.h
22018 ac_fn_c_check_header_mongrel
"$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
22019 if test "x$ac_cv_header_gmp_h" = x
""yes; then :
22020 cat >>confdefs.h
<<_ACEOF
22021 #define HAVE_GMP_H 1
22034 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
22037 # Check whether --with-javah was given.
22038 if test "${with_javah+set}" = set; then :
22039 withval
=$with_javah;
22040 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
22042 if test "x${withval}" != x
; then
22043 if test -f "${withval}"; then
22044 USER_JAVAH
="${withval}"
22046 # Extract the first word of ""${withval}"", so it can be a program name with args.
22047 set dummy
"${withval}"; ac_word
=$2
22048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22049 $as_echo_n "checking for $ac_word... " >&6; }
22050 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22051 $as_echo_n "(cached) " >&6
22053 case $USER_JAVAH in
22055 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22059 for as_dir
in $PATH
22062 test -z "$as_dir" && as_dir
=.
22063 for ac_exec_ext
in '' $ac_executable_extensions; do
22064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22065 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22076 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22077 if test -n "$USER_JAVAH"; then
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22079 $as_echo "$USER_JAVAH" >&6; }
22081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22082 $as_echo "no" >&6; }
22088 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
22090 # Extract the first word of "$ac_prog", so it can be a program name with args.
22091 set dummy
$ac_prog; ac_word
=$2
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22093 $as_echo_n "checking for $ac_word... " >&6; }
22094 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22095 $as_echo_n "(cached) " >&6
22097 case $USER_JAVAH in
22099 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22103 for as_dir
in $PATH
22106 test -z "$as_dir" && as_dir
=.
22107 for ac_exec_ext
in '' $ac_executable_extensions; do
22108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22109 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22120 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22121 if test -n "$USER_JAVAH"; then
22122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22123 $as_echo "$USER_JAVAH" >&6; }
22125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22126 $as_echo "no" >&6; }
22130 test -n "$USER_JAVAH" && break
22135 if test "x${USER_JAVAH}" = x
; then
22136 as_fn_error
"can not find javah" "$LINENO" 5
22141 if test "x" != x
; then
22142 if test -f ""; then
22145 # Extract the first word of """", so it can be a program name with args.
22146 set dummy
""; ac_word
=$2
22147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22148 $as_echo_n "checking for $ac_word... " >&6; }
22149 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22150 $as_echo_n "(cached) " >&6
22152 case $USER_JAVAH in
22154 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22158 for as_dir
in $PATH
22161 test -z "$as_dir" && as_dir
=.
22162 for ac_exec_ext
in '' $ac_executable_extensions; do
22163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22164 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22175 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22176 if test -n "$USER_JAVAH"; then
22177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22178 $as_echo "$USER_JAVAH" >&6; }
22180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22181 $as_echo "no" >&6; }
22187 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
22189 # Extract the first word of "$ac_prog", so it can be a program name with args.
22190 set dummy
$ac_prog; ac_word
=$2
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22192 $as_echo_n "checking for $ac_word... " >&6; }
22193 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22194 $as_echo_n "(cached) " >&6
22196 case $USER_JAVAH in
22198 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22202 for as_dir
in $PATH
22205 test -z "$as_dir" && as_dir
=.
22206 for ac_exec_ext
in '' $ac_executable_extensions; do
22207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22208 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22219 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22220 if test -n "$USER_JAVAH"; then
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22222 $as_echo "$USER_JAVAH" >&6; }
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22225 $as_echo "no" >&6; }
22229 test -n "$USER_JAVAH" && break
22234 if test "x${USER_JAVAH}" = x
; then
22235 as_fn_error
"can not find javah" "$LINENO" 5
22243 if test "x" != x
; then
22244 if test -f ""; then
22247 # Extract the first word of """", so it can be a program name with args.
22248 set dummy
""; ac_word
=$2
22249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22250 $as_echo_n "checking for $ac_word... " >&6; }
22251 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22252 $as_echo_n "(cached) " >&6
22254 case $USER_JAVAH in
22256 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22260 for as_dir
in $PATH
22263 test -z "$as_dir" && as_dir
=.
22264 for ac_exec_ext
in '' $ac_executable_extensions; do
22265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22266 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22277 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22278 if test -n "$USER_JAVAH"; then
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22280 $as_echo "$USER_JAVAH" >&6; }
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22283 $as_echo "no" >&6; }
22289 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
22291 # Extract the first word of "$ac_prog", so it can be a program name with args.
22292 set dummy
$ac_prog; ac_word
=$2
22293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22294 $as_echo_n "checking for $ac_word... " >&6; }
22295 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22296 $as_echo_n "(cached) " >&6
22298 case $USER_JAVAH in
22300 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22304 for as_dir
in $PATH
22307 test -z "$as_dir" && as_dir
=.
22308 for ac_exec_ext
in '' $ac_executable_extensions; do
22309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22310 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22321 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22322 if test -n "$USER_JAVAH"; then
22323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22324 $as_echo "$USER_JAVAH" >&6; }
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22327 $as_echo "no" >&6; }
22331 test -n "$USER_JAVAH" && break
22336 if test "x${USER_JAVAH}" = x
; then
22337 as_fn_error
"can not find javah" "$LINENO" 5
22347 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
22350 if test "x${COMPILE_JNI}" = xyes
; then
22351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking jni_md.h support" >&5
22352 $as_echo_n "checking jni_md.h support... " >&6; }
22353 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
22354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22355 $as_echo "yes" >&6; }
22358 target_os
=linux-gnu
22359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no" >&5
22360 $as_echo "$as_me: WARNING: no" >&2;}
22362 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
22363 ac_dests
="include/jni_md.h"
22364 while test -n "$ac_sources"; do
22365 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
22366 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
22367 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
22369 ac_config_links
="$ac_config_links $ac_config_links_1"
22375 # Check whether --with-vm-classes was given.
22376 if test "${with_vm_classes+set}" = set; then :
22377 withval
=$with_vm_classes; vm_classes
="$with_vm_classes"
22379 vm_classes
='${top_srcdir}/vm/reference'
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
22387 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
22388 # Check whether --enable-maintainer-mode was given.
22389 if test "${enable_maintainer_mode+set}" = set; then :
22390 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
22392 USE_MAINTAINER_MODE
=no
22395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
22396 $as_echo "$USE_MAINTAINER_MODE" >&6; }
22397 if test $USE_MAINTAINER_MODE = yes; then
22398 MAINTAINER_MODE_TRUE
=
22399 MAINTAINER_MODE_FALSE
='#'
22401 MAINTAINER_MODE_TRUE
='#'
22402 MAINTAINER_MODE_FALSE
=
22405 MAINT
=$MAINTAINER_MODE_TRUE
22409 # Check whether --enable-debug was given.
22410 if test "${enable_debug+set}" = set; then :
22411 enableval
=$enable_debug; case "${enableval}" in
22415 $as_echo "#define DEBUG 1" >>confdefs.h
22418 no
) LIBDEBUG
="false" ;;
22419 *) as_fn_error
"bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
22427 # Check whether --enable-load-library was given.
22428 if test "${enable_load_library+set}" = set; then :
22429 enableval
=$enable_load_library; case "${enableval}" in
22430 yes) INIT_LOAD_LIBRARY
="true" ;;
22431 no
) INIT_LOAD_LIBRARY
="false" ;;
22432 *) as_fn_error
"bad value ${enableval} for --enable-load-library" "$LINENO" 5 ;;
22435 INIT_LOAD_LIBRARY
="true"
22442 # Check whether --with-ecj-jar was given.
22443 if test "${with_ecj_jar+set}" = set; then :
22444 withval
=$with_ecj_jar; ECJ_JAR
=$withval
22446 if test -f $multi_basedir/ecj.jar
; then
22447 ECJ_JAR
='$(jardir)/ecj.jar'
22453 # Check whether --enable-java-lang-system-explicit-initialization was given.
22454 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then :
22455 enableval
=$enable_java_lang_system_explicit_initialization; case "${enableval}" in
22456 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
22457 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
22458 *) as_fn_error
"bad value ${enableval} for --enable-java-lang-system-explicit-initialization" "$LINENO" 5 ;;
22461 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
22470 # Extract the first word of "mkdir", so it can be a program name with args.
22471 set dummy mkdir
; ac_word
=$2
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22473 $as_echo_n "checking for $ac_word... " >&6; }
22474 if test "${ac_cv_path_MKDIR+set}" = set; then :
22475 $as_echo_n "(cached) " >&6
22479 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
22482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22483 for as_dir
in $PATH
22486 test -z "$as_dir" && as_dir
=.
22487 for ac_exec_ext
in '' $ac_executable_extensions; do
22488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22489 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
22490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22500 MKDIR
=$ac_cv_path_MKDIR
22501 if test -n "$MKDIR"; then
22502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
22503 $as_echo "$MKDIR" >&6; }
22505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22506 $as_echo "no" >&6; }
22510 # Extract the first word of "cp", so it can be a program name with args.
22511 set dummy
cp; ac_word
=$2
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22513 $as_echo_n "checking for $ac_word... " >&6; }
22514 if test "${ac_cv_path_CP+set}" = set; then :
22515 $as_echo_n "(cached) " >&6
22519 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
22522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22523 for as_dir
in $PATH
22526 test -z "$as_dir" && as_dir
=.
22527 for ac_exec_ext
in '' $ac_executable_extensions; do
22528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22529 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
22530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22541 if test -n "$CP"; then
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
22543 $as_echo "$CP" >&6; }
22545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22546 $as_echo "no" >&6; }
22550 # Extract the first word of "date", so it can be a program name with args.
22551 set dummy
date; ac_word
=$2
22552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22553 $as_echo_n "checking for $ac_word... " >&6; }
22554 if test "${ac_cv_path_DATE+set}" = set; then :
22555 $as_echo_n "(cached) " >&6
22559 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
22562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22563 for as_dir
in $PATH
22566 test -z "$as_dir" && as_dir
=.
22567 for ac_exec_ext
in '' $ac_executable_extensions; do
22568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22569 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
22570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22580 DATE
=$ac_cv_path_DATE
22581 if test -n "$DATE"; then
22582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
22583 $as_echo "$DATE" >&6; }
22585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22586 $as_echo "no" >&6; }
22591 # Extract the first word of "find", so it can be a program name with args.
22592 set dummy
find; ac_word
=$2
22593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22594 $as_echo_n "checking for $ac_word... " >&6; }
22595 if test "${ac_cv_path_FIND+set}" = set; then :
22596 $as_echo_n "(cached) " >&6
22600 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
22603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22604 for as_dir
in $PATH
22607 test -z "$as_dir" && as_dir
=.
22608 for ac_exec_ext
in '' $ac_executable_extensions; do
22609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22610 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
22611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22621 FIND
=$ac_cv_path_FIND
22622 if test -n "$FIND"; then
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
22624 $as_echo "$FIND" >&6; }
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22627 $as_echo "no" >&6; }
22633 # Extract the first word of "zip", so it can be a program name with args.
22634 set dummy
zip; ac_word
=$2
22635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22636 $as_echo_n "checking for $ac_word... " >&6; }
22637 if test "${ac_cv_path_ZIP+set}" = set; then :
22638 $as_echo_n "(cached) " >&6
22642 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
22645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22646 for as_dir
in $PATH
22649 test -z "$as_dir" && as_dir
=.
22650 for ac_exec_ext
in '' $ac_executable_extensions; do
22651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22652 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
22653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22663 ZIP
=$ac_cv_path_ZIP
22664 if test -n "$ZIP"; then
22665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
22666 $as_echo "$ZIP" >&6; }
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22669 $as_echo "no" >&6; }
22674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a jar-like tool" >&5
22675 $as_echo_n "checking for a jar-like tool... " >&6; }
22677 # Check whether --with-jar was given.
22678 if test "${with_jar+set}" = set; then :
22680 case "${withval}" in
22686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
22687 $as_echo "${JAR}" >&6; }
22690 if test -f "${withval}"; then
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
22693 $as_echo "${JAR}" >&6; }
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22696 $as_echo "not found" >&6; }
22697 as_fn_error
"The jar tool ${withval} was not found." "$LINENO" 5
22708 if test x
"${JAR}" = "xyes"; then
22709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: trying fastjar, gjar and jar" >&5
22710 $as_echo "trying fastjar, gjar and jar" >&6; }
22711 for ac_prog
in fastjar gjar jar
22713 # Extract the first word of "$ac_prog", so it can be a program name with args.
22714 set dummy
$ac_prog; ac_word
=$2
22715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22716 $as_echo_n "checking for $ac_word... " >&6; }
22717 if test "${ac_cv_path_JAR+set}" = set; then :
22718 $as_echo_n "(cached) " >&6
22722 ac_cv_path_JAR
="$JAR" # Let the user override the test with a path.
22725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22726 for as_dir
in $PATH
22729 test -z "$as_dir" && as_dir
=.
22730 for ac_exec_ext
in '' $ac_executable_extensions; do
22731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22732 ac_cv_path_JAR
="$as_dir/$ac_word$ac_exec_ext"
22733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22743 JAR
=$ac_cv_path_JAR
22744 if test -n "$JAR"; then
22745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
22746 $as_echo "$JAR" >&6; }
22748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22749 $as_echo "no" >&6; }
22753 test -n "$JAR" && break
22756 if test x
"${RHINO_JAR}" = "xyes"; then
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22758 $as_echo "not found" >&6; }
22761 if test x
"${JAR}" = "xno" && test x
"${ZIP}" = ""; then
22762 as_fn_error
"No zip or jar tool found." "$LINENO" 5
22764 if test x
"${JAR}" != "xno" && test x
"${JAR}" != "xyes"; then
22775 # Check whether --with-glibj was given.
22776 if test "${with_glibj+set}" = set; then :
22777 withval
=$with_glibj;
22778 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
22779 install_class_files
=no
22780 build_class_files
=yes
22782 elif test "x${withval}" = xboth
; then
22783 install_class_files
=yes
22784 build_class_files
=yes
22786 elif test "x${withval}" = xflat
; then
22787 install_class_files
=yes
22788 build_class_files
=yes
22790 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
22791 install_class_files
=no
22792 build_class_files
=no
22794 elif test "x${withval}" = xbuild
; then
22795 install_class_files
=no
22796 build_class_files
=yes
22799 as_fn_error
"unknown value given to --with-glibj" "$LINENO" 5
22804 install_class_files
=no
22809 if test "x${use_zip}" = xyes
; then
22810 INSTALL_GLIBJ_ZIP_TRUE
=
22811 INSTALL_GLIBJ_ZIP_FALSE
='#'
22813 INSTALL_GLIBJ_ZIP_TRUE
='#'
22814 INSTALL_GLIBJ_ZIP_FALSE
=
22817 if test "x${install_class_files}" = xyes
; then
22818 INSTALL_CLASS_FILES_TRUE
=
22819 INSTALL_CLASS_FILES_FALSE
='#'
22821 INSTALL_CLASS_FILES_TRUE
='#'
22822 INSTALL_CLASS_FILES_FALSE
=
22825 if test "x${build_class_files}" = xyes
; then
22826 BUILD_CLASS_FILES_TRUE
=
22827 BUILD_CLASS_FILES_FALSE
='#'
22829 BUILD_CLASS_FILES_TRUE
='#'
22830 BUILD_CLASS_FILES_FALSE
=
22834 # Check whether --enable-examples was given.
22835 if test "${enable_examples+set}" = set; then :
22836 enableval
=$enable_examples; case "${enableval}" in
22837 yes) EXAMPLESDIR
="examples" ;;
22838 no
) EXAMPLESDIR
="" ;;
22839 *) as_fn_error
"bad value ${enableval} for --enable-examples" "$LINENO" 5 ;;
22842 EXAMPLESDIR
="examples"
22845 if test "x${build_class_files}" = xno
; then
22850 # Check whether --enable-tools was given.
22851 if test "${enable_tools+set}" = set; then :
22852 enableval
=$enable_tools; case "${enableval}" in
22853 yes) TOOLSDIR
="tools" ;;
22855 *) as_fn_error
"bad value ${enableval} for --enable-tools" "$LINENO" 5 ;;
22861 if test "x${build_class_files}" = xno
; then
22869 # Check whether --with-gjdoc was given.
22870 if test "${with_gjdoc+set}" = set; then :
22871 withval
=$with_gjdoc; if test "x${withval}" = xno
; then
22873 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
22875 # Extract the first word of "gjdoc", so it can be a program name with args.
22876 set dummy gjdoc
; ac_word
=$2
22877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22878 $as_echo_n "checking for $ac_word... " >&6; }
22879 if test "${ac_cv_path_GJDOC+set}" = set; then :
22880 $as_echo_n "(cached) " >&6
22884 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
22887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22888 for as_dir
in $PATH
22891 test -z "$as_dir" && as_dir
=.
22892 for ac_exec_ext
in '' $ac_executable_extensions; do
22893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22894 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
22895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22902 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
22906 GJDOC
=$ac_cv_path_GJDOC
22907 if test -n "$GJDOC"; then
22908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GJDOC" >&5
22909 $as_echo "$GJDOC" >&6; }
22911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22912 $as_echo "no" >&6; }
22916 if test "x${GJDOC}" = xno
; then
22917 as_fn_error
"\"gjdoc executable not found\"" "$LINENO" 5;
22922 as_ac_File
=`$as_echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
22923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${GJDOC}" >&5
22924 $as_echo_n "checking for ${GJDOC}... " >&6; }
22925 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
22926 $as_echo_n "(cached) " >&6
22928 test "$cross_compiling" = yes &&
22929 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
22930 if test -r "${GJDOC}"; then
22931 eval "$as_ac_File=yes"
22933 eval "$as_ac_File=no"
22936 eval ac_res
=\$
$as_ac_File
22937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22938 $as_echo "$ac_res" >&6; }
22939 eval as_val
=\$
$as_ac_File
22940 if test "x$as_val" = x
""yes; then :
22943 as_fn_error
"\"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" "$LINENO" 5
22951 if test "x${WITH_GJDOC}" = xyes
; then
22952 CREATE_API_DOCS_TRUE
=
22953 CREATE_API_DOCS_FALSE
='#'
22955 CREATE_API_DOCS_TRUE
='#'
22956 CREATE_API_DOCS_FALSE
=
22959 if test "x${WITH_GJDOC}" = xyes
; then
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of GJDoc" >&5
22961 $as_echo_n "checking version of GJDoc... " >&6; }
22962 gjdoc_version
=$
(${GJDOC} --version|cut
-d ' ' -f2)
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gjdoc_version}" >&5
22964 $as_echo "${gjdoc_version}" >&6; }
22965 case ${gjdoc_version} in
22968 *) as_fn_error
"Building documentation requires GJDoc >= 0.7.9, ${gjdoc_version} found." "$LINENO" 5 ;;
22975 # Check whether --with-jay was given.
22976 if test "${with_jay+set}" = set; then :
22978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
22979 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
22982 if test "x${withval}" = xno
; then
22983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22984 $as_echo "no" >&6; }
22985 elif test "x${withval}" = xyes
; then
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22987 $as_echo "yes" >&6; }
22988 JAY_DIR_PATH
="/usr/share/jay"
22989 elif test -d "${withval}"; then
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22991 $as_echo "yes" >&6; }
22992 JAY_DIR_PATH
="${withval}"
22993 elif test -f "${withval}"; then
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22995 $as_echo "yes" >&6; }
22996 JAY_DIR_PATH
=`dirname "${withval}"`
22999 as_fn_error
"jay not found at ${withval}" "$LINENO" 5
23002 if test "x${JAY_DIR_PATH}" != x
; then
23003 # Extract the first word of "jay", so it can be a program name with args.
23004 set dummy jay
; ac_word
=$2
23005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23006 $as_echo_n "checking for $ac_word... " >&6; }
23007 if test "${ac_cv_path_JAY+set}" = set; then :
23008 $as_echo_n "(cached) " >&6
23012 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
23015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23016 as_dummy
="${JAY_DIR_PATH}:${PATH}"
23017 for as_dir
in $as_dummy
23020 test -z "$as_dir" && as_dir
=.
23021 for ac_exec_ext
in '' $ac_executable_extensions; do
23022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23023 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
23024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23031 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
23035 JAY
=$ac_cv_path_JAY
23036 if test -n "$JAY"; then
23037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAY" >&5
23038 $as_echo "$JAY" >&6; }
23040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23041 $as_echo "no" >&6; }
23045 if test "x${JAY}" = xno
; then
23046 as_fn_error
"jay executable not found" "$LINENO" 5;
23048 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
23049 as_ac_File
=`$as_echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
23050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${JAY_SKELETON}" >&5
23051 $as_echo_n "checking for ${JAY_SKELETON}... " >&6; }
23052 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
23053 $as_echo_n "(cached) " >&6
23055 test "$cross_compiling" = yes &&
23056 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
23057 if test -r "${JAY_SKELETON}"; then
23058 eval "$as_ac_File=yes"
23060 eval "$as_ac_File=no"
23063 eval ac_res
=\$
$as_ac_File
23064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23065 $as_echo "$ac_res" >&6; }
23066 eval as_val
=\$
$as_ac_File
23067 if test "x$as_val" = x
""yes; then :
23070 as_fn_error
"Expected skeleton file in ${JAY_DIR_PATH}" "$LINENO" 5
23078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
23079 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
23080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23081 $as_echo "no" >&6; }
23086 if test "x${JAY_FOUND}" = xyes
; then
23087 REGEN_PARSERS_TRUE
=
23088 REGEN_PARSERS_FALSE
='#'
23090 REGEN_PARSERS_TRUE
='#'
23091 REGEN_PARSERS_FALSE
=
23096 # Check whether --enable-portable-native-sync was given.
23097 if test "${enable_portable_native_sync+set}" = set; then :
23098 enableval
=$enable_portable_native_sync; case "${enableval}" in
23101 $as_echo "#define PORTABLE_NATIVE_SYNC 1" >>confdefs.h
23106 as_fn_error
"bad value ${enableval} for --enable-portable-native-sync" "$LINENO" 5
23112 # ------ AX CREATE STDINT H -------------------------------------
23113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
23114 $as_echo_n "checking for stdint types... " >&6; }
23115 ac_stdint_h
=`echo include/config-int.h`
23116 # try to shortcircuit - if the default include path of the compiler
23117 # can find a "stdint.h" header then we assume that all compilers can.
23118 if test "${ac_cv_header_stdint_t+set}" = set; then :
23119 $as_echo_n "(cached) " >&6
23122 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
23123 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
23124 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
23125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23126 /* end confdefs.h. */
23127 #include <stdint.h>
23131 int_least32_t v = 0;
23136 if ac_fn_c_try_compile
"$LINENO"; then :
23137 ac_cv_stdint_result
="(assuming C99 compatible system)"
23138 ac_cv_header_stdint_t
="stdint.h";
23140 ac_cv_header_stdint_t
=""
23142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23143 CXXFLAGS
="$old_CXXFLAGS"
23144 CPPFLAGS
="$old_CPPFLAGS"
23145 CFLAGS
="$old_CFLAGS"
23149 v
="... $ac_cv_header_stdint_h"
23150 if test "$ac_stdint_h" = "stdint.h" ; then
23151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
23152 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
23153 elif test "$ac_stdint_h" = "inttypes.h" ; then
23154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
23155 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
23156 elif test "_$ac_cv_header_stdint_t" = "_" ; then
23157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
23158 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
23160 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
23161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
23162 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
23165 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
23168 inttype_headers
=`echo | sed -e 's/,/ /g'`
23170 ac_cv_stdint_result
="(no helpful system typedefs seen)"
23172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
23173 $as_echo_n "checking for stdint uintptr_t... " >&6; }
23174 if test "${ac_cv_header_stdint_x+set}" = set; then :
23175 $as_echo_n "(cached) " >&6
23178 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
23179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23180 $as_echo "(..)" >&6; }
23181 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
23182 unset ac_cv_type_uintptr_t
23183 unset ac_cv_type_uint64_t
23184 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
23186 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
23187 ac_cv_header_stdint_x
=$i
23192 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
23194 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
23200 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
23204 $as_echo_n "checking for stdint uintptr_t... " >&6; }
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
23208 $as_echo "$ac_cv_header_stdint_x" >&6; }
23211 if test "_$ac_cv_header_stdint_x" = "_" ; then
23213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
23214 $as_echo_n "checking for stdint uint32_t... " >&6; }
23215 if test "${ac_cv_header_stdint_o+set}" = set; then :
23216 $as_echo_n "(cached) " >&6
23219 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
23220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23221 $as_echo "(..)" >&6; }
23222 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
23223 unset ac_cv_type_uint32_t
23224 unset ac_cv_type_uint64_t
23225 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
23227 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
23228 ac_cv_header_stdint_o
=$i
23233 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
23235 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
23241 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
23246 $as_echo_n "checking for stdint uint32_t... " >&6; }
23249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
23250 $as_echo "$ac_cv_header_stdint_o" >&6; }
23254 if test "_$ac_cv_header_stdint_x" = "_" ; then
23255 if test "_$ac_cv_header_stdint_o" = "_" ; then
23257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
23258 $as_echo_n "checking for stdint u_int32_t... " >&6; }
23259 if test "${ac_cv_header_stdint_u+set}" = set; then :
23260 $as_echo_n "(cached) " >&6
23263 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23265 $as_echo "(..)" >&6; }
23266 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
23267 unset ac_cv_type_u_int32_t
23268 unset ac_cv_type_u_int64_t
23269 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
23271 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
23272 ac_cv_header_stdint_u
=$i
23277 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
23279 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
23285 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
23289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
23290 $as_echo_n "checking for stdint u_int32_t... " >&6; }
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
23294 $as_echo "$ac_cv_header_stdint_u" >&6; }
23298 if test "_$ac_cv_header_stdint_x" = "_" ; then
23299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
23300 $as_echo_n "checking for stdint datatype model... " >&6; }
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23302 $as_echo "(..)" >&6; }
23304 # The cast to long int works around a bug in the HP C Compiler
23305 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23306 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23307 # This bug is HP SR number 8606223364.
23308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
23309 $as_echo_n "checking size of char... " >&6; }
23310 if test "${ac_cv_sizeof_char+set}" = set; then :
23311 $as_echo_n "(cached) " >&6
23313 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
23316 if test "$ac_cv_type_char" = yes; then
23317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23319 { as_fn_set_status
77
23320 as_fn_error
"cannot compute sizeof (char)
23321 See \`config.log' for more details." "$LINENO" 5; }; }
23323 ac_cv_sizeof_char
=0
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
23329 $as_echo "$ac_cv_sizeof_char" >&6; }
23333 cat >>confdefs.h
<<_ACEOF
23334 #define SIZEOF_CHAR $ac_cv_sizeof_char
23338 # The cast to long int works around a bug in the HP C Compiler
23339 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23340 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23341 # This bug is HP SR number 8606223364.
23342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
23343 $as_echo_n "checking size of short... " >&6; }
23344 if test "${ac_cv_sizeof_short+set}" = set; then :
23345 $as_echo_n "(cached) " >&6
23347 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
23350 if test "$ac_cv_type_short" = yes; then
23351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23353 { as_fn_set_status
77
23354 as_fn_error
"cannot compute sizeof (short)
23355 See \`config.log' for more details." "$LINENO" 5; }; }
23357 ac_cv_sizeof_short
=0
23362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
23363 $as_echo "$ac_cv_sizeof_short" >&6; }
23367 cat >>confdefs.h
<<_ACEOF
23368 #define SIZEOF_SHORT $ac_cv_sizeof_short
23372 # The cast to long int works around a bug in the HP C Compiler
23373 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23374 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23375 # This bug is HP SR number 8606223364.
23376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
23377 $as_echo_n "checking size of int... " >&6; }
23378 if test "${ac_cv_sizeof_int+set}" = set; then :
23379 $as_echo_n "(cached) " >&6
23381 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
23384 if test "$ac_cv_type_int" = yes; then
23385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23387 { as_fn_set_status
77
23388 as_fn_error
"cannot compute sizeof (int)
23389 See \`config.log' for more details." "$LINENO" 5; }; }
23396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
23397 $as_echo "$ac_cv_sizeof_int" >&6; }
23401 cat >>confdefs.h
<<_ACEOF
23402 #define SIZEOF_INT $ac_cv_sizeof_int
23406 # The cast to long int works around a bug in the HP C Compiler
23407 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23408 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23409 # This bug is HP SR number 8606223364.
23410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
23411 $as_echo_n "checking size of long... " >&6; }
23412 if test "${ac_cv_sizeof_long+set}" = set; then :
23413 $as_echo_n "(cached) " >&6
23415 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
23418 if test "$ac_cv_type_long" = yes; then
23419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23421 { as_fn_set_status
77
23422 as_fn_error
"cannot compute sizeof (long)
23423 See \`config.log' for more details." "$LINENO" 5; }; }
23425 ac_cv_sizeof_long
=0
23430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
23431 $as_echo "$ac_cv_sizeof_long" >&6; }
23435 cat >>confdefs.h
<<_ACEOF
23436 #define SIZEOF_LONG $ac_cv_sizeof_long
23440 # The cast to long int works around a bug in the HP C Compiler
23441 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23442 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23443 # This bug is HP SR number 8606223364.
23444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
23445 $as_echo_n "checking size of void*... " >&6; }
23446 if test "${ac_cv_sizeof_voidp+set}" = set; then :
23447 $as_echo_n "(cached) " >&6
23449 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
23452 if test "$ac_cv_type_voidp" = yes; then
23453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23455 { as_fn_set_status
77
23456 as_fn_error
"cannot compute sizeof (void*)
23457 See \`config.log' for more details." "$LINENO" 5; }; }
23459 ac_cv_sizeof_voidp
=0
23464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
23465 $as_echo "$ac_cv_sizeof_voidp" >&6; }
23469 cat >>confdefs.h
<<_ACEOF
23470 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
23474 ac_cv_char_data_model
=""
23475 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
23476 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
23477 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
23478 ac_cv_long_data_model
=""
23479 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
23480 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
23481 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
23482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
23483 $as_echo_n "checking data model... " >&6; }
23484 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
23485 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
23486 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
23487 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
23488 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
23489 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
23490 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
23491 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
23492 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
23493 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
23494 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
23495 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
23496 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
23497 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
23498 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
23499 222/*|
333/*|
444/*|
666/*|
888/*) :
23500 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
23501 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
23504 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
23508 if test "_$ac_cv_header_stdint_x" != "_" ; then
23509 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
23510 elif test "_$ac_cv_header_stdint_o" != "_" ; then
23511 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
23512 elif test "_$ac_cv_header_stdint_u" != "_" ; then
23513 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
23515 ac_cv_header_stdint
="stddef.h"
23518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
23519 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
23521 $as_echo "($ac_cv_header_stdint)" >&6; }
23522 unset ac_cv_type_int_least32_t
23523 unset ac_cv_type_int_fast32_t
23524 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
23526 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
23530 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
23532 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
23536 ac_fn_c_check_type
"$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
23538 if test "x$ac_cv_type_intmax_t" = x
""yes; then :
23543 fi # shortcircut to system "stdint.h"
23544 # ------------------ PREPARE VARIABLES ------------------------------
23545 if test "$GCC" = "yes" ; then
23546 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
23548 ac_cv_stdint_message
="using $CC"
23551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
23552 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
23554 # ----------------- DONE inttypes.h checks START header -------------
23555 ac_config_commands
="$ac_config_commands $ac_stdint_h"
23560 # Check whether --with-glibj_zip was given.
23561 if test "${with_glibj_zip+set}" = set; then :
23562 withval
=$with_glibj_zip;
23566 case "$with_glibj_zip" in
23568 use_glibj_zip
=false
23571 use_glibj_zip
=false
23574 as_fn_error
"Please suply an absolute path to a prebuilt glibj.zip" "$LINENO" 5
23578 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
23582 if test x
$use_glibj_zip = xtrue
; then
23583 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
23584 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
23586 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
23587 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
23592 if test "x${TOOLSDIR}" != x
; then
23593 if test "x${COMPILE_WRAPPERS}" = xno
&& test "x${enable_java_maintainer_mode}" = xyes
; then
23596 if test "x$JAVAPREFIX" = x
; then
23597 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
23599 # Extract the first word of "$ac_prog", so it can be a program name with args.
23600 set dummy
$ac_prog; ac_word
=$2
23601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23602 $as_echo_n "checking for $ac_word... " >&6; }
23603 if test "${ac_cv_prog_JAVA+set}" = set; then :
23604 $as_echo_n "(cached) " >&6
23606 if test -n "$JAVA"; then
23607 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
23609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23610 for as_dir
in $PATH
23613 test -z "$as_dir" && as_dir
=.
23614 for ac_exec_ext
in '' $ac_executable_extensions; do
23615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23616 ac_cv_prog_JAVA
="$ac_prog"
23617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23626 JAVA
=$ac_cv_prog_JAVA
23627 if test -n "$JAVA"; then
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
23629 $as_echo "$JAVA" >&6; }
23631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23632 $as_echo "no" >&6; }
23636 test -n "$JAVA" && break
23640 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
23642 # Extract the first word of "$ac_prog", so it can be a program name with args.
23643 set dummy
$ac_prog; ac_word
=$2
23644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23645 $as_echo_n "checking for $ac_word... " >&6; }
23646 if test "${ac_cv_prog_JAVA+set}" = set; then :
23647 $as_echo_n "(cached) " >&6
23649 if test -n "$JAVA"; then
23650 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
23652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23653 for as_dir
in $PATH
23656 test -z "$as_dir" && as_dir
=.
23657 for ac_exec_ext
in '' $ac_executable_extensions; do
23658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23659 ac_cv_prog_JAVA
="$ac_prog"
23660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23669 JAVA
=$ac_cv_prog_JAVA
23670 if test -n "$JAVA"; then
23671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
23672 $as_echo "$JAVA" >&6; }
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23675 $as_echo "no" >&6; }
23679 test -n "$JAVA" && break
23681 test -n "$JAVA" || JAVA
="$JAVAPREFIX"
23684 test "x$JAVA" = x
&& as_fn_error
"no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
23687 ECJ_OPTS
="-warn:-deprecation,serial,unusedImport"
23688 JAVAC_OPTS
="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
23690 if test "x$JAVAPREFIX" = x
; then
23691 test "x$JAVAC" = x
&& for ac_prog
in "ecj$EXEEXT $ECJ_OPTS" "ecj-3.3$EXEEXT $ECJ_OPTS" "ecj-3.2$EXEEXT $ECJ_OPTS" "javac$EXEEXT $JAVAC_OPTS" "gcj$EXEEXT -C"
23693 # Extract the first word of "$ac_prog", so it can be a program name with args.
23694 set dummy
$ac_prog; ac_word
=$2
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23696 $as_echo_n "checking for $ac_word... " >&6; }
23697 if test "${ac_cv_prog_JAVAC+set}" = set; then :
23698 $as_echo_n "(cached) " >&6
23700 if test -n "$JAVAC"; then
23701 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
23703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23704 for as_dir
in $PATH
23707 test -z "$as_dir" && as_dir
=.
23708 for ac_exec_ext
in '' $ac_executable_extensions; do
23709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23710 ac_cv_prog_JAVAC
="$ac_prog"
23711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23720 JAVAC
=$ac_cv_prog_JAVAC
23721 if test -n "$JAVAC"; then
23722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
23723 $as_echo "$JAVAC" >&6; }
23725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23726 $as_echo "no" >&6; }
23730 test -n "$JAVAC" && break
23734 test "x$JAVAC" = x
&& for ac_prog
in "ecj$EXEEXT $ECJ_OPTS" "ecj-3.3$EXEEXT $ECJ_OPTS" "ecj-3.2$EXEEXT $ECJ_OPTS" "javac$EXEEXT $JAVAC_OPTS" "gcj$EXEEXT -C"
23736 # Extract the first word of "$ac_prog", so it can be a program name with args.
23737 set dummy
$ac_prog; ac_word
=$2
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23739 $as_echo_n "checking for $ac_word... " >&6; }
23740 if test "${ac_cv_prog_JAVAC+set}" = set; then :
23741 $as_echo_n "(cached) " >&6
23743 if test -n "$JAVAC"; then
23744 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
23746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23747 for as_dir
in $PATH
23750 test -z "$as_dir" && as_dir
=.
23751 for ac_exec_ext
in '' $ac_executable_extensions; do
23752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23753 ac_cv_prog_JAVAC
="$ac_prog"
23754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23763 JAVAC
=$ac_cv_prog_JAVAC
23764 if test -n "$JAVAC"; then
23765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
23766 $as_echo "$JAVAC" >&6; }
23768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23769 $as_echo "no" >&6; }
23773 test -n "$JAVAC" && break
23775 test -n "$JAVAC" || JAVAC
="$JAVAPREFIX"
23778 test "x$JAVAC" = x
&& as_fn_error
"no acceptable Java compiler found in \$PATH" "$LINENO" 5
23779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC is a version of gcj" >&5
23780 $as_echo_n "checking if $JAVAC is a version of gcj... " >&6; }
23781 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then :
23782 $as_echo_n "(cached) " >&6
23785 if $JAVAC --version 2>&1 |
grep gcj
>&5 ; then
23786 ac_cv_prog_javac_is_gcj
=yes;
23787 JAVAC
="$JAVAC $GCJ_OPTS";
23789 ac_cv_prog_javac_is_gcj
=no
;
23793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_is_gcj" >&5
23794 $as_echo "$ac_cv_prog_javac_is_gcj" >&6; }
23795 JAVAC_IS_GCJ
=$ac_cv_prog_javac_is_gcj
23797 if test x
"${JAVAC_IS_GCJ}" = xyes
; then
23799 GCJ_JAVAC_FALSE
='#'
23808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
23809 $as_echo_n "checking if $JAVAC works... " >&6; }
23810 if test "${ac_cv_prog_javac_works+set}" = set; then :
23811 $as_echo_n "(cached) " >&6
23814 JAVA_TEST
=Object.java
23815 CLASS_TEST
=Object.class
23816 cat << \EOF
> $JAVA_TEST
23817 /* #line 23817 "configure" */
23820 public class Object
23822 static
<T
> void doStuff
()
23827 if test x
$JAVAC_IS_GCJ = xyes
; then
23828 CMD
="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
23830 CMD
="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
23833 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
23834 (eval $ac_try) 2>&5
23836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23837 test $ac_status = 0; }; } >/dev
/null
2>&1; then
23838 ac_cv_prog_javac_works
=yes
23840 as_fn_error
"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
23841 echo "configure: failed program was:" >&5
23844 rm -f $JAVA_TEST $CLASS_TEST
23847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
23848 $as_echo "$ac_cv_prog_javac_works" >&6; }
23852 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
23853 set dummy
uudecode$EXEEXT; ac_word
=$2
23854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23855 $as_echo_n "checking for $ac_word... " >&6; }
23856 if test "${ac_cv_prog_uudecode+set}" = set; then :
23857 $as_echo_n "(cached) " >&6
23859 if test -n "$uudecode"; then
23860 ac_cv_prog_uudecode
="$uudecode" # Let the user override the test.
23862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23863 for as_dir
in $PATH
23866 test -z "$as_dir" && as_dir
=.
23867 for ac_exec_ext
in '' $ac_executable_extensions; do
23868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23869 ac_cv_prog_uudecode
="yes"
23870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23879 uudecode=$ac_cv_prog_uudecode
23880 if test -n "$uudecode"; then
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
23882 $as_echo "$uudecode" >&6; }
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23885 $as_echo "no" >&6; }
23889 if test x
$uudecode = xyes
; then
23890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
23891 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
23892 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :
23893 $as_echo_n "(cached) " >&6
23896 cat << \EOF
> Test.uue
23897 begin-base64
644 Test.class
23898 yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
23899 bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
23900 bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
23901 YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
23902 aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
23903 AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
23904 AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ
=
23907 if uudecode$EXEEXT Test.uue
; then
23908 ac_cv_prog_uudecode_base64
=yes
23910 echo "configure: 23910: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
23911 echo "configure: failed file was:" >&5
23913 ac_cv_prog_uudecode_base64
=no
23917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
23918 $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
23920 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
23923 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
23924 if test x
$ac_cv_prog_javac_works = xno
; then
23925 as_fn_error
"Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
23928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
23929 $as_echo_n "checking if $JAVA works... " >&6; }
23930 if test "${ac_cv_prog_java_works+set}" = set; then :
23931 $as_echo_n "(cached) " >&6
23934 JAVA_TEST
=Test.java
23935 CLASS_TEST
=Test.class
23937 cat << \EOF
> $JAVA_TEST
23938 /* [#]line 23938 "configure" */
23939 public class Test
{
23940 public static void main
(String args
[]) {
23944 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
23946 if { ac_try
='$JAVAC $JAVACFLAGS $JAVA_TEST'
23947 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
23948 (eval $ac_try) 2>&5
23950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23951 test $ac_status = 0; }; } && test -s $CLASS_TEST; then
23954 echo "configure: failed program was:" >&5
23956 as_fn_error
"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
23959 if { ac_try
='CLASSPATH=.:$CLASSPATH $JAVA $JAVAFLAGS $TEST'
23960 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
23961 (eval $ac_try) 2>&5
23963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23964 test $ac_status = 0; }; } >/dev
/null
2>&1; then
23965 ac_cv_prog_java_works
=yes
23967 echo "configure: failed program was:" >&5
23969 as_fn_error
"The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
23971 rm -fr $JAVA_TEST $CLASS_TEST Test.uue
23974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
23975 $as_echo "$ac_cv_prog_java_works" >&6; }
23979 if test "x${COMPILE_GJDOC}" = xyes
; then
23981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the ANTLR parser generator JAR file" >&5
23982 $as_echo_n "checking for the ANTLR parser generator JAR file... " >&6; }
23983 if test -z "$ANTLR_JAR"; then
23984 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
23985 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
23987 if test -f "$antlr_lib_home/antlr.jar"; then
23988 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
23993 test -f $ANTLR_JAR || as_fn_error
"specified ANTLR jar file $ANTLR_JAR not found." "$LINENO" 5 \
23994 && { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
23995 $as_echo "$ANTLR_JAR" >&6; }
23998 if test "x${REGENERATE_GJDOC_PARSER}" = xyes
&& test "x${enable_java_maintainer_mode}" = xyes
; then
24000 if test -n "$ac_tool_prefix"; then
24001 for ac_prog
in cantlr runantlr antlr
24003 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
24004 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
24005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24006 $as_echo_n "checking for $ac_word... " >&6; }
24007 if test "${ac_cv_prog_ANTLR+set}" = set; then :
24008 $as_echo_n "(cached) " >&6
24010 if test -n "$ANTLR"; then
24011 ac_cv_prog_ANTLR
="$ANTLR" # Let the user override the test.
24013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24014 for as_dir
in $PATH
24017 test -z "$as_dir" && as_dir
=.
24018 for ac_exec_ext
in '' $ac_executable_extensions; do
24019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24020 ac_cv_prog_ANTLR
="$ac_tool_prefix$ac_prog"
24021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24030 ANTLR
=$ac_cv_prog_ANTLR
24031 if test -n "$ANTLR"; then
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR" >&5
24033 $as_echo "$ANTLR" >&6; }
24035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24036 $as_echo "no" >&6; }
24040 test -n "$ANTLR" && break
24043 if test -z "$ANTLR"; then
24045 for ac_prog
in cantlr runantlr antlr
24047 # Extract the first word of "$ac_prog", so it can be a program name with args.
24048 set dummy
$ac_prog; ac_word
=$2
24049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24050 $as_echo_n "checking for $ac_word... " >&6; }
24051 if test "${ac_cv_prog_ac_ct_ANTLR+set}" = set; then :
24052 $as_echo_n "(cached) " >&6
24054 if test -n "$ac_ct_ANTLR"; then
24055 ac_cv_prog_ac_ct_ANTLR
="$ac_ct_ANTLR" # Let the user override the test.
24057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24058 for as_dir
in $PATH
24061 test -z "$as_dir" && as_dir
=.
24062 for ac_exec_ext
in '' $ac_executable_extensions; do
24063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24064 ac_cv_prog_ac_ct_ANTLR
="$ac_prog"
24065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24074 ac_ct_ANTLR
=$ac_cv_prog_ac_ct_ANTLR
24075 if test -n "$ac_ct_ANTLR"; then
24076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ANTLR" >&5
24077 $as_echo "$ac_ct_ANTLR" >&6; }
24079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24080 $as_echo "no" >&6; }
24084 test -n "$ac_ct_ANTLR" && break
24087 if test "x$ac_ct_ANTLR" = x
; then
24090 case $cross_compiling:$ac_tool_warned in
24092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24094 ac_tool_warned
=yes ;;
24100 if test "x$ANTLR" = x
; then
24101 if test -z "$JAVA"; then
24102 as_fn_error
"Failed to find either an antlr binary or a suitable Java runtime for ANTLR." "$LINENO" 5
24104 if test -z "$ANTLR_JAR"; then
24105 as_fn_error
"Failed to find either an antlr binary or a suitable antlr jar file." "$LINENO" 5
24107 ANTLR
="$JAVA -classpath $ANTLR_JAR antlr.Tool"
24112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr 2.7.1 or better" >&5
24113 $as_echo_n "checking for antlr 2.7.1 or better... " >&6; }
24114 antlr_version_str
=`$ANTLR 2>&1 | head -n 1 | sed '/.*Version */!d; s///;q'`
24115 if test "$antlr_version_str"; then
24116 antlr_version_regex
='s/\([[:digit:]]\+\)\.\([[:digit:]]\+\)\.\([[:digit:]]\+\).*$/'
24117 antlr_version_major
=`echo $antlr_version_str | sed "$antlr_version_regex\\1/"`
24118 antlr_version_minor
=`echo $antlr_version_str | sed "$antlr_version_regex\\2/"`
24119 antlr_version_micro
=`echo $antlr_version_str | sed "$antlr_version_regex\\3/"`
24120 (test $antlr_version_major -gt 2 || \
24121 (test $antlr_version_major -eq 2 && \
24122 test $antlr_version_minor -gt 7) || \
24123 (test $antlr_version_major -eq 2 && \
24124 test $antlr_version_minor -eq 7 && \
24125 test $antlr_version_micro -ge 1))
24127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&5
24128 $as_echo "$antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&6; }
24135 # Check for javac if we need to build either the class library,
24136 # the examples or the tools
24137 if test "x${use_glibj_zip}" = xfalse || \
24138 test "x${EXAMPLESDIR}" != x || \
24139 test "x${TOOLSDIR}" != x
&& \
24140 test "x${build_class_files}" != xno
&& \
24141 test "${enable_java_maintainer_mode}" = yes; then
24143 JAVA_TEST
=Test.java
24144 CLASS_TEST
=Test.class
24145 cat << \EOF
> $JAVA_TEST
24146 /* #line 24146 "configure" */
24149 public static void main
(String args
)
24151 System.out.println
("Hello World");
24155 if test x
$JAVAC_IS_GCJ != xyes
; then
24156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether javac supports -J" >&5
24157 $as_echo_n "checking whether javac supports -J... " >&6; }
24158 $JAVAC $JAVACFLAGS -J-Xmx768M -sourcepath '' $JAVA_TEST
24160 if test "x$javac_result" = "x0"; then
24161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24162 $as_echo "yes" >&6; }
24163 JAVAC_MEM_OPT
="-J-Xmx768M"
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24166 $as_echo "no" >&6; }
24169 rm -f $JAVA_TEST $CLASS_TEST
24175 GCJ_JAVAC_FALSE
='#'
24184 # Check whether --with-escher was given.
24185 if test "${with_escher+set}" = set; then :
24186 withval
=$with_escher;
24189 case "$with_escher" in
24197 as_fn_error
"Please supply an absolute path to Escher library" "$LINENO" 5
24201 PATH_TO_ESCHER
=$with_escher
24205 if test x
$use_escher = xtrue
; then
24207 USE_ESCHER_FALSE
='#'
24209 USE_ESCHER_TRUE
='#'
24215 # Check whether --enable-local-sockets was given.
24216 if test "${enable_local_sockets+set}" = set; then :
24217 enableval
=$enable_local_sockets; case "${enableval}" in
24219 ENABLE_LOCAL_SOCKETS
=yes
24222 ENABLE_LOCAL_SOCKETS
=no
24227 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
24229 ac_fn_c_check_header_mongrel
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
24230 if test "x$ac_cv_header_sys_un_h" = x
""yes; then :
24235 for ac_func
in read write bind listen accept shutdown
24237 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24238 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
24239 eval as_val
=\$
$as_ac_var
24240 if test "x$as_val" = x
""yes; then :
24241 cat >>confdefs.h
<<_ACEOF
24242 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24246 as_fn_error
"networking support not available" "$LINENO" 5
24251 $as_echo "#define ENABLE_LOCAL_SOCKETS 1" >>confdefs.h
24254 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
24255 ENABLE_LOCAL_SOCKETS_TRUE
=
24256 ENABLE_LOCAL_SOCKETS_FALSE
='#'
24258 ENABLE_LOCAL_SOCKETS_TRUE
='#'
24259 ENABLE_LOCAL_SOCKETS_FALSE
=
24265 WANT_NATIVE_BIG_INTEGER
=false
24266 if test "x${COMPILE_GMP}" = xyes
; then
24267 if test "x${ac_cv_lib_gmp___gmpz_mul_si}" = xyes
; then
24268 if test "x${ac_cv_header_gmp_h}" = xyes
; then
24269 WANT_NATIVE_BIG_INTEGER
=true
24271 $as_echo "#define WITH_GNU_MP 1" >>confdefs.h
24281 if test "x${COMPILE_GMP}" = xyes
; then
24282 CREATE_GMPBI_LIBRARY_TRUE
=
24283 CREATE_GMPBI_LIBRARY_FALSE
='#'
24285 CREATE_GMPBI_LIBRARY_TRUE
='#'
24286 CREATE_GMPBI_LIBRARY_FALSE
=
24290 ac_config_files
="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile external/relaxngDatatype/Makefile external/jsr166/Makefile gnu/classpath/Configuration.java gnu/java/security/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-math/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/gconf-peer/Makefile native/jni/gstreamer-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/jni/native-lib/Makefile native/plugin/Makefile resource/Makefile resource/META-INF/services/java.util.prefs.PreferencesFactory resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader resource/META-INF/services/javax.sound.sampled.spi.MixerProvider scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh scripts/check_jni_methods.sh tools/Makefile examples/Makefile examples/Makefile.jawt examples/Makefile.java2d"
24293 if test "x${COMPILE_WRAPPERS}" = xyes
; then
24296 ac_config_files
="$ac_config_files tools/gappletviewer tools/gjarsigner tools/gkeytool tools/gjar tools/gnative2ascii tools/gserialver tools/grmiregistry tools/gtnameserv tools/gorbd tools/grmid tools/grmic tools/gjavah"
24299 ac_config_commands
="$ac_config_commands gappletviewer"
24301 ac_config_commands
="$ac_config_commands gjarsigner"
24303 ac_config_commands
="$ac_config_commands gkeytool"
24305 ac_config_commands
="$ac_config_commands gjar"
24307 ac_config_commands
="$ac_config_commands gnative2ascii"
24309 ac_config_commands
="$ac_config_commands gserialver"
24311 ac_config_commands
="$ac_config_commands grmiregistry"
24313 ac_config_commands
="$ac_config_commands gtnameserv"
24315 ac_config_commands
="$ac_config_commands gorbd"
24317 ac_config_commands
="$ac_config_commands grmid"
24319 ac_config_commands
="$ac_config_commands grmic"
24321 ac_config_commands
="$ac_config_commands gjavah"
24326 if test "x${COMPILE_GJDOC}" = xyes
24328 ac_config_files
="$ac_config_files tools/gjdoc"
24330 ac_config_commands
="$ac_config_commands gjdoc"
24334 ac_config_commands
="$ac_config_commands gen-classlist"
24336 ac_config_commands
="$ac_config_commands copy-vmresources"
24338 cat >confcache
<<\_ACEOF
24339 # This file is a shell script that caches the results of configure
24340 # tests run on this system so they can be shared between configure
24341 # scripts and configure runs, see configure's option --config-cache.
24342 # It is not useful on other systems. If it contains results you don't
24343 # want to keep, you may remove or edit it.
24345 # config.status only pays attention to the cache file if you give it
24346 # the --recheck option to rerun configure.
24348 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24349 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24350 # following values.
24354 # The following way of writing the cache mishandles newlines in values,
24355 # but we know of no workaround that is simple, portable, and efficient.
24356 # So, we kill variables containing newlines.
24357 # Ultrix sh set writes to stderr and can't be redirected directly,
24358 # and sets the high bit in the cache file unless we assign to the vars.
24360 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24361 eval ac_val
=\$
$ac_var
24365 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24366 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24369 _ | IFS | as_nl
) ;; #(
24370 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24371 *) { eval $ac_var=; unset $ac_var;} ;;
24377 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24378 *${as_nl}ac_space
=\
*)
24379 # `set' does not quote correctly, so add quotes: double-quote
24380 # substitution turns \\\\ into \\, and sed turns \\ into \.
24383 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24386 # `set' quotes correctly as required by POSIX, so do not add quotes.
24387 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24396 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24398 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24400 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24401 if test -w "$cache_file"; then
24402 test "x$cache_file" != "x/dev/null" &&
24403 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24404 $as_echo "$as_me: updating cache $cache_file" >&6;}
24405 cat confcache
>$cache_file
24407 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24408 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24413 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24414 # Let make expand exec_prefix.
24415 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24417 DEFS
=-DHAVE_CONFIG_H
24421 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24422 # 1. Remove the extension, and $U if already installed.
24423 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24424 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24425 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24426 # will be set to the directory where LIBOBJS objects are built.
24427 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24428 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
24430 LIBOBJS
=$ac_libobjs
24432 LTLIBOBJS
=$ac_ltlibobjs
24435 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
24436 as_fn_error
"conditional \"JAVA_MAINTAINER_MODE\" was never defined.
24437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24439 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
24440 as_fn_error
"conditional \"GENINSRC\" was never defined.
24441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24443 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
24444 as_fn_error
"conditional \"INSTALL_BINARIES\" was never defined.
24445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24447 if test -n "$EXEEXT"; then
24449 am__EXEEXT_FALSE
='#'
24451 am__EXEEXT_TRUE
='#'
24455 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
24456 as_fn_error
"conditional \"CREATE_COLLECTIONS\" was never defined.
24457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24459 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
24460 as_fn_error
"conditional \"CREATE_JNI_LIBRARIES\" was never defined.
24461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24463 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
24464 as_fn_error
"conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
24465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24467 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
24468 as_fn_error
"conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
24469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24471 if test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_FALSE}"; then
24472 as_fn_error
"conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
24473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24475 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
24476 as_fn_error
"conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
24477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24479 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24480 as_fn_error
"conditional \"AMDEP\" was never defined.
24481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24483 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24484 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
24485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24487 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
24488 as_fn_error
"conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
24489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24491 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
24492 as_fn_error
"conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
24493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24495 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
24496 as_fn_error
"conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
24497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24499 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
24500 as_fn_error
"conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
24501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24503 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
24504 as_fn_error
"conditional \"CREATE_PLUGIN\" was never defined.
24505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24507 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
24508 as_fn_error
"conditional \"CREATE_GJDOC\" was never defined.
24509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24511 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
24512 as_fn_error
"conditional \"CREATE_JNI_HEADERS\" was never defined.
24513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24515 if test -z "${CREATE_GJDOC_PARSER_TRUE}" && test -z "${CREATE_GJDOC_PARSER_FALSE}"; then
24516 as_fn_error
"conditional \"CREATE_GJDOC_PARSER\" was never defined.
24517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24519 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
24520 as_fn_error
"conditional \"CREATE_WRAPPERS\" was never defined.
24521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24523 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24524 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
24525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24527 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24528 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
24529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24531 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24532 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
24533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24535 if test -z "${WITH_JAR_TRUE}" && test -z "${WITH_JAR_FALSE}"; then
24536 as_fn_error
"conditional \"WITH_JAR\" was never defined.
24537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24539 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
24540 as_fn_error
"conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
24541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24543 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
24544 as_fn_error
"conditional \"INSTALL_CLASS_FILES\" was never defined.
24545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24547 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
24548 as_fn_error
"conditional \"BUILD_CLASS_FILES\" was never defined.
24549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24551 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
24552 as_fn_error
"conditional \"CREATE_API_DOCS\" was never defined.
24553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24555 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
24556 as_fn_error
"conditional \"REGEN_PARSERS\" was never defined.
24557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24559 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
24560 as_fn_error
"conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
24561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24563 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
24564 as_fn_error
"conditional \"GCJ_JAVAC\" was never defined.
24565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24567 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
24568 as_fn_error
"conditional \"GCJ_JAVAC\" was never defined.
24569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24571 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
24572 as_fn_error
"conditional \"USE_ESCHER\" was never defined.
24573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24575 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
24576 as_fn_error
"conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
24577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24579 if test -z "${CREATE_GMPBI_LIBRARY_TRUE}" && test -z "${CREATE_GMPBI_LIBRARY_FALSE}"; then
24580 as_fn_error
"conditional \"CREATE_GMPBI_LIBRARY\" was never defined.
24581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24584 : ${CONFIG_STATUS=./config.status}
24586 ac_clean_files_save
=$ac_clean_files
24587 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24589 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24591 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24593 # Generated by $as_me.
24594 # Run this file to recreate the current configuration.
24595 # Compiler output produced by configure, useful for debugging
24596 # configure, is in config.log if it exists.
24599 ac_cs_recheck=false
24602 SHELL=\${CONFIG_SHELL-$SHELL}
24605 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
24606 ## -------------------- ##
24607 ## M4sh Initialization. ##
24608 ## -------------------- ##
24610 # Be more Bourne compatible
24611 DUALCASE
=1; export DUALCASE
# for MKS sh
24612 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24615 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24616 # is contrary to our usage. Disable this feature.
24617 alias -g '${1+"$@"}'='"$@"'
24618 setopt NO_GLOB_SUBST
24620 case `(set -o) 2>/dev/null` in #(
24632 # Printing a long string crashes Solaris 7 /usr/bin/printf.
24633 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24634 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24635 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24636 # Prefer a ksh shell builtin over an external printf program on Solaris,
24637 # but without wasting forks for bash or zsh.
24638 if test -z "$BASH_VERSION$ZSH_VERSION" \
24639 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
24640 as_echo='print
-r --'
24641 as_echo_n='print
-rn --'
24642 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24643 as_echo='printf %s
\n'
24644 as_echo_n='printf %s
'
24646 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24647 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
24648 as_echo_n='/usr
/ucb
/echo -n'
24650 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24651 as_echo_n_body='eval
24655 expr "X$arg" : "X\\(.*\\)$as_nl";
24656 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24658 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
24660 export as_echo_n_body
24661 as_echo_n='sh
-c $as_echo_n_body as_echo
'
24663 export as_echo_body
24664 as_echo='sh
-c $as_echo_body as_echo
'
24667 # The user is always right.
24668 if test "${PATH_SEPARATOR+set}" != set; then
24670 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24671 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24678 # We need space, tab and new line, in precisely that order. Quoting is
24679 # there to prevent editors from complaining about space-tab.
24680 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24681 # splitting by setting IFS to empty value.)
24684 # Find who we are. Look in the path if we contain no directory separator.
24686 *[\\/]* ) as_myself=$0 ;;
24687 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24688 for as_dir in $PATH
24691 test -z "$as_dir" && as_dir=.
24692 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24698 # We did not find ourselves, most probably we were run as `sh COMMAND'
24699 # in which case we are not to be found in the path.
24700 if test "x$as_myself" = x
; then
24703 if test ! -f "$as_myself"; then
24704 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24708 # Unset variables that we do not need and which cause bugs (e.g. in
24709 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
24710 # suppresses any "Segmentation fault" message there. '((' could
24711 # trigger a bug in pdksh 5.2.14.
24712 for as_var
in BASH_ENV ENV MAIL MAILPATH
24713 do eval test x\
${$as_var+set} = xset \
24714 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
24727 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
24730 # as_fn_error ERROR [LINENO LOG_FD]
24731 # ---------------------------------
24732 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24733 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24734 # script with status $?, using 1 if that was 0.
24737 as_status
=$?
; test $as_status -eq 0 && as_status
=1
24739 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
24740 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
24742 $as_echo "$as_me: error: $1" >&2
24743 as_fn_exit
$as_status
24747 # as_fn_set_status STATUS
24748 # -----------------------
24749 # Set $? to STATUS, without forking.
24750 as_fn_set_status
()
24753 } # as_fn_set_status
24755 # as_fn_exit STATUS
24756 # -----------------
24757 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24761 as_fn_set_status
$1
24767 # Portably unset VAR.
24770 { eval $1=; unset $1;}
24772 as_unset
=as_fn_unset
24773 # as_fn_append VAR VALUE
24774 # ----------------------
24775 # Append the text in VALUE to the end of the definition contained in VAR. Take
24776 # advantage of any shell optimizations that allow amortized linear growth over
24777 # repeated appends, instead of the typical quadratic growth present in naive
24779 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
24780 eval 'as_fn_append ()
24791 # as_fn_arith ARG...
24792 # ------------------
24793 # Perform arithmetic evaluation on the ARGs, and store the result in the
24794 # global $as_val. Take advantage of shells that can avoid forks. The arguments
24795 # must be portable across $(()) and expr.
24796 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
24797 eval 'as_fn_arith ()
24804 as_val
=`expr "$@" || test $? -eq 1`
24809 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24810 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24816 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24817 as_basename
=basename
24822 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24828 as_me
=`$as_basename -- "$0" ||
24829 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24830 X"$0" : 'X\(//\)$' \| \
24831 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24833 sed '/^.*\/\([^/][^/]*\)\/*$/{
24847 # Avoid depending upon Character Ranges.
24848 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24849 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24850 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24851 as_cr_digits
='0123456789'
24852 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24854 ECHO_C
= ECHO_N
= ECHO_T
=
24855 case `echo -n x` in #(((((
24857 case `echo 'xy\c'` in
24858 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24860 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
24867 rm -f conf$$ conf$$.exe conf$$.
file
24868 if test -d conf$$.dir
; then
24869 rm -f conf$$.dir
/conf$$.
file
24872 mkdir conf$$.dir
2>/dev
/null
24874 if (echo >conf$$.
file) 2>/dev
/null
; then
24875 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24877 # ... but there are two gotchas:
24878 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24879 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24880 # In both cases, we have to default to `cp -p'.
24881 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24883 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24891 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24892 rmdir conf$$.dir
2>/dev
/null
24897 # Create "$as_dir" as a directory, including parents if necessary.
24902 -*) as_dir
=.
/$as_dir;;
24904 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
24908 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24909 *) as_qdir
=$as_dir;;
24911 as_dirs
="'$as_qdir' $as_dirs"
24912 as_dir
=`$as_dirname -- "$as_dir" ||
24913 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24914 X"$as_dir" : 'X\(//\)[^/]' \| \
24915 X"$as_dir" : 'X\(//\)$' \| \
24916 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24917 $as_echo X"$as_dir" |
24918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24922 /^X\(\/\/\)[^/].*/{
24935 test -d "$as_dir" && break
24937 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24938 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
24942 if mkdir
-p .
2>/dev
/null
; then
24943 as_mkdir_p
='mkdir -p "$as_dir"'
24945 test -d .
/-p && rmdir .
/-p
24949 if test -x / >/dev
/null
2>&1; then
24950 as_test_x
='test -x'
24952 if ls -dL / >/dev
/null
2>&1; then
24959 if test -d "$1"; then
24965 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
24966 ???[sx]*):;;*)false;;esac;fi
24970 as_executable_p
=$as_test_x
24972 # Sed expression to map a string onto a valid CPP name.
24973 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24975 # Sed expression to map a string onto a valid variable name.
24976 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24980 ## ----------------------------------- ##
24981 ## Main body of $CONFIG_STATUS script. ##
24982 ## ----------------------------------- ##
24984 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
24986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24987 # Save the log message, to keep $0 and so on meaningful, and to
24988 # report actual input values of CONFIG_FILES etc. instead of their
24989 # values after options handling.
24991 This file was extended by GNU Classpath $as_me 0.99-pre, which was
24992 generated by GNU Autoconf 2.64. Invocation command line was
24994 CONFIG_FILES = $CONFIG_FILES
24995 CONFIG_HEADERS = $CONFIG_HEADERS
24996 CONFIG_LINKS = $CONFIG_LINKS
24997 CONFIG_COMMANDS = $CONFIG_COMMANDS
25000 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25005 case $ac_config_files in *"
25006 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25009 case $ac_config_headers in *"
25010 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25015 # Files that config.status was made for.
25016 config_files="$ac_config_files"
25017 config_headers="$ac_config_headers"
25018 config_links="$ac_config_links"
25019 config_commands="$ac_config_commands"
25023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25025 \`$as_me' instantiates files and other configuration actions
25026 from templates according to the current configuration. Unless the files
25027 and actions are specified as TAGs, all are instantiated by default.
25029 Usage: $0 [OPTION]... [TAG]...
25031 -h, --help print this help, then exit
25032 -V, --version print version number and configuration settings, then exit
25033 -q, --quiet, --silent
25034 do not print progress messages
25035 -d, --debug don't remove temporary files
25036 --recheck update $as_me by reconfiguring in the same conditions
25037 --file=FILE[:TEMPLATE]
25038 instantiate the configuration file FILE
25039 --header=FILE[:TEMPLATE]
25040 instantiate the configuration header FILE
25042 Configuration files:
25045 Configuration headers:
25048 Configuration links:
25051 Configuration commands:
25054 Report bugs to <classpath@gnu.org>.
25055 GNU Classpath home page: <http://www.gnu.org/software/classpath/>.
25056 General help using GNU software: <http://www.gnu.org/gethelp/>."
25059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25061 GNU Classpath config.status 0.99-pre
25062 configured by $0, generated by GNU Autoconf 2.64,
25063 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25065 Copyright (C) 2009 Free Software Foundation, Inc.
25066 This config.status script is free software; the Free Software Foundation
25067 gives unlimited permission to copy, distribute and modify it."
25074 test -n "\$AWK" || AWK=awk
25077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25078 # The default lists apply if the user does not specify any file.
25084 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25085 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25096 # Handling of the options.
25097 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25099 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25100 $as_echo "$ac_cs_version"; exit ;;
25101 --debug |
--debu |
--deb |
--de |
--d |
-d )
25103 --file |
--fil |
--fi |
--f )
25106 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25108 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25109 ac_need_defaults
=false
;;
25110 --header |
--heade |
--head |
--hea )
25113 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25115 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25116 ac_need_defaults
=false
;;
25118 # Conflict between --help and --header
25119 as_fn_error
"ambiguous option: \`$1'
25120 Try \`$0 --help' for more information.";;
25121 --help |
--hel |
-h )
25122 $as_echo "$ac_cs_usage"; exit ;;
25123 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25124 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25127 # This is an error.
25128 -*) as_fn_error
"unrecognized option: \`$1'
25129 Try \`$0 --help' for more information." ;;
25131 *) as_fn_append ac_config_targets
" $1"
25132 ac_need_defaults
=false
;;
25138 ac_configure_extra_args
=
25140 if $ac_cs_silent; then
25142 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25147 if \$ac_cs_recheck; then
25148 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25150 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25151 CONFIG_SHELL='$SHELL'
25152 export CONFIG_SHELL
25157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25161 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25162 ## Running $as_me. ##
25168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25176 with_multisubdir="$with_multisubdir"
25177 with_multisrctop="$with_multisrctop"
25178 with_target_subdir="$with_target_subdir"
25179 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25180 multi_basedir="$multi_basedir"
25181 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25184 GFORTRAN="$GFORTRAN"
25186 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25189 # The HP-UX ksh and POSIX shell print the target directory to stdout
25190 # if CDPATH is set.
25191 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25193 sed_quote_subst='$sed_quote_subst'
25194 double_quote_subst='$double_quote_subst'
25195 delay_variable_subst='$delay_variable_subst'
25196 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25197 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25198 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25199 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25200 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25201 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25202 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25203 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25204 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25205 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25206 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25207 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25208 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25209 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25210 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25211 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25212 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25213 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25214 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25215 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25216 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25217 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25218 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25219 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25220 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25221 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25222 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25223 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25224 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25225 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25226 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25227 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25228 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25229 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25230 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25231 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25232 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25233 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25234 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25235 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25236 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25237 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25238 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25239 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25240 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25241 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25242 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25243 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25244 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
25245 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25246 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25247 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25248 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25249 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25250 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25251 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25252 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25253 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25254 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25255 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25256 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25257 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25258 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25259 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25260 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25261 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25262 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25263 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25264 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25265 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25266 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25267 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25268 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25269 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25270 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25271 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25272 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25273 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25274 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25275 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25276 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25277 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25278 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25279 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25280 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25281 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25282 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25283 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25284 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25285 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25286 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25287 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25288 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25289 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25290 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25291 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25292 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25293 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25294 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25295 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25296 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25297 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25298 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25299 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25300 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25301 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25302 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25303 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25304 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25305 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25306 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25307 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25308 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25309 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25310 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25311 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25312 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25313 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25314 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25315 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25316 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25317 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25318 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25319 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25320 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25321 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25322 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25323 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25324 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25325 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25326 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25327 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25328 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25329 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25330 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25331 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25332 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25333 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25334 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25335 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25336 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25337 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25338 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25339 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25340 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25341 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25342 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25343 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25344 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25345 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25346 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25347 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25348 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
25349 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25350 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25351 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25352 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25353 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25354 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25355 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25356 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
25357 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
25358 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
25359 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25360 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25361 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25362 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25363 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
25364 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
25365 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
25366 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25367 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25368 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
25369 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
25370 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
25373 LTCFLAGS='$LTCFLAGS'
25374 compiler='$compiler_DEFAULT'
25376 # A function that is used when there is no print builtin or printf.
25377 func_fallback_echo ()
25379 eval 'cat <<_LTECHO_EOF
25384 # Quote evaled strings.
25398 deplibs_check_method \
25407 lt_cv_sys_global_symbol_pipe \
25408 lt_cv_sys_global_symbol_to_cdecl \
25409 lt_cv_sys_global_symbol_to_c_name_address \
25410 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25411 lt_prog_compiler_no_builtin_flag \
25412 lt_prog_compiler_wl \
25413 lt_prog_compiler_pic \
25414 lt_prog_compiler_static \
25415 lt_cv_prog_compiler_c_o \
25423 export_dynamic_flag_spec \
25424 whole_archive_flag_spec \
25425 compiler_needs_object \
25427 allow_undefined_flag \
25428 no_undefined_flag \
25429 hardcode_libdir_flag_spec \
25430 hardcode_libdir_flag_spec_ld \
25431 hardcode_libdir_separator \
25436 variables_saved_for_relink \
25438 library_names_spec \
25440 install_override_mode \
25444 compiler_lib_search_dirs \
25449 compiler_lib_search_path \
25453 lt_prog_compiler_no_builtin_flag_CXX \
25454 lt_prog_compiler_wl_CXX \
25455 lt_prog_compiler_pic_CXX \
25456 lt_prog_compiler_static_CXX \
25457 lt_cv_prog_compiler_c_o_CXX \
25458 export_dynamic_flag_spec_CXX \
25459 whole_archive_flag_spec_CXX \
25460 compiler_needs_object_CXX \
25462 allow_undefined_flag_CXX \
25463 no_undefined_flag_CXX \
25464 hardcode_libdir_flag_spec_CXX \
25465 hardcode_libdir_flag_spec_ld_CXX \
25466 hardcode_libdir_separator_CXX \
25467 fix_srcfile_path_CXX \
25468 exclude_expsyms_CXX \
25469 include_expsyms_CXX \
25470 file_list_spec_CXX \
25471 compiler_lib_search_dirs_CXX \
25472 predep_objects_CXX \
25473 postdep_objects_CXX \
25476 compiler_lib_search_path_CXX; do
25477 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25478 *[\\\\\\\`\\"\\\$]*)
25479 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
25482 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25487 # Double-quote double-evaled strings.
25488 for var in reload_cmds \
25489 old_postinstall_cmds \
25490 old_postuninstall_cmds \
25492 extract_expsyms_cmds \
25493 old_archive_from_new_cmds \
25494 old_archive_from_expsyms_cmds \
25496 archive_expsym_cmds \
25498 module_expsym_cmds \
25499 export_symbols_cmds \
25502 postuninstall_cmds \
25504 sys_lib_search_path_spec \
25505 sys_lib_dlsearch_path_spec \
25507 old_archive_cmds_CXX \
25508 old_archive_from_new_cmds_CXX \
25509 old_archive_from_expsyms_cmds_CXX \
25511 archive_expsym_cmds_CXX \
25513 module_expsym_cmds_CXX \
25514 export_symbols_cmds_CXX \
25515 prelink_cmds_CXX; do
25516 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25517 *[\\\\\\\`\\"\\\$]*)
25518 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
25521 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25526 ac_aux_dir='$ac_aux_dir'
25527 xsi_shell='$xsi_shell'
25528 lt_shell_append='$lt_shell_append'
25530 # See if we are running on zsh, and set the options which allow our
25531 # commands through without removal of \ escapes INIT.
25532 if test -n "\${ZSH_VERSION+set}" ; then
25533 setopt NO_GLOB_SUBST
25539 TIMESTAMP='$TIMESTAMP'
25547 # variables for create stdint.h replacement
25550 ac_stdint_h="$ac_stdint_h"
25551 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
25552 ac_cv_stdint_message="$ac_cv_stdint_message"
25553 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
25554 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
25555 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
25556 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
25557 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
25558 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
25559 ac_cv_char_data_model="$ac_cv_char_data_model"
25560 ac_cv_long_data_model="$ac_cv_long_data_model"
25561 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
25562 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
25563 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
25568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25570 # Handling of arguments.
25571 for ac_config_target
in $ac_config_targets
25573 case $ac_config_target in
25574 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
25575 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
25576 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25577 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
25578 "lib/mkcollections.pl") CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
25579 "mkcollections.pl") CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
25580 "$ac_config_links_1") CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
25581 "$ac_stdint_h") CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
25582 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25583 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
25584 "doc/api/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
25585 "external/Makefile") CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
25586 "external/sax/Makefile") CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
25587 "external/w3c_dom/Makefile") CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
25588 "external/relaxngDatatype/Makefile") CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
25589 "external/jsr166/Makefile") CONFIG_FILES
="$CONFIG_FILES external/jsr166/Makefile" ;;
25590 "gnu/classpath/Configuration.java") CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
25591 "gnu/java/security/Configuration.java") CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
25592 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
25593 "native/Makefile") CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
25594 "native/fdlibm/Makefile") CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
25595 "native/jawt/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
25596 "native/jni/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
25597 "native/jni/classpath/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
25598 "native/jni/java-io/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
25599 "native/jni/java-lang/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
25600 "native/jni/java-math/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-math/Makefile" ;;
25601 "native/jni/java-net/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
25602 "native/jni/java-nio/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
25603 "native/jni/java-util/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
25604 "native/jni/gtk-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
25605 "native/jni/gconf-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
25606 "native/jni/gstreamer-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gstreamer-peer/Makefile" ;;
25607 "native/jni/qt-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
25608 "native/jni/xmlj/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
25609 "native/jni/midi-alsa/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
25610 "native/jni/midi-dssi/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
25611 "native/jni/native-lib/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
25612 "native/plugin/Makefile") CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
25613 "resource/Makefile") CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
25614 "resource/META-INF/services/java.util.prefs.PreferencesFactory") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
25615 "resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ;;
25616 "resource/META-INF/services/javax.sound.sampled.spi.MixerProvider") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ;;
25617 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
25618 "scripts/classpath.spec") CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
25619 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
25620 "lib/gen-classlist.sh") CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
25621 "lib/copy-vmresources.sh") CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
25622 "scripts/check_jni_methods.sh") CONFIG_FILES
="$CONFIG_FILES scripts/check_jni_methods.sh" ;;
25623 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
25624 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
25625 "examples/Makefile.jawt") CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
25626 "examples/Makefile.java2d") CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
25627 "tools/gappletviewer") CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
25628 "tools/gjarsigner") CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
25629 "tools/gkeytool") CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
25630 "tools/gjar") CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
25631 "tools/gnative2ascii") CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
25632 "tools/gserialver") CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
25633 "tools/grmiregistry") CONFIG_FILES
="$CONFIG_FILES tools/grmiregistry" ;;
25634 "tools/gtnameserv") CONFIG_FILES
="$CONFIG_FILES tools/gtnameserv" ;;
25635 "tools/gorbd") CONFIG_FILES
="$CONFIG_FILES tools/gorbd" ;;
25636 "tools/grmid") CONFIG_FILES
="$CONFIG_FILES tools/grmid" ;;
25637 "tools/grmic") CONFIG_FILES
="$CONFIG_FILES tools/grmic" ;;
25638 "tools/gjavah") CONFIG_FILES
="$CONFIG_FILES tools/gjavah" ;;
25639 "gappletviewer") CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
25640 "gjarsigner") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
25641 "gkeytool") CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
25642 "gjar") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
25643 "gnative2ascii") CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
25644 "gserialver") CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
25645 "grmiregistry") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmiregistry" ;;
25646 "gtnameserv") CONFIG_COMMANDS
="$CONFIG_COMMANDS gtnameserv" ;;
25647 "gorbd") CONFIG_COMMANDS
="$CONFIG_COMMANDS gorbd" ;;
25648 "grmid") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmid" ;;
25649 "grmic") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmic" ;;
25650 "gjavah") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjavah" ;;
25651 "tools/gjdoc") CONFIG_FILES
="$CONFIG_FILES tools/gjdoc" ;;
25652 "gjdoc") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjdoc" ;;
25653 "gen-classlist") CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
25654 "copy-vmresources") CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
25656 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25661 # If the user did not use the arguments to specify the items to instantiate,
25662 # then the envvar interface is used. Set only those that are not.
25663 # We use the long form for the default assignment because of an extremely
25664 # bizarre bug on SunOS 4.1.3.
25665 if $ac_need_defaults; then
25666 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25667 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25668 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
25669 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25672 # Have a temporary directory for convenience. Make it in the build tree
25673 # simply because there is no reason against having it here, and in addition,
25674 # creating and moving files from /tmp can sometimes cause problems.
25675 # Hook for its removal unless debugging.
25676 # Note that there is a small window in which the directory will not be cleaned:
25677 # after its creation but before its name has been assigned to `$tmp'.
25681 trap 'exit_status=$?
25682 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25684 trap 'as_fn_exit 1' 1 2 13 15
25686 # Create a (secure) tmp directory for tmp files.
25689 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25690 test -n "$tmp" && test -d "$tmp"
25693 tmp
=.
/conf$$
-$RANDOM
25694 (umask 077 && mkdir
"$tmp")
25695 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
25697 # Set up the scripts for CONFIG_FILES section.
25698 # No need to generate them if there are no CONFIG_FILES.
25699 # This happens for instance with `./config.status config.h'.
25700 if test -n "$CONFIG_FILES"; then
25703 ac_cr
=`echo X | tr X '\015'`
25704 # On cygwin, bash can eat \r inside `` if the user requested igncr.
25705 # But we know of no other shell where ac_cr would be empty at this
25706 # point, so we can use a bashism as a fallback.
25707 if test "x$ac_cr" = x
; then
25708 eval ac_cr
=\$
\'\\r
\'
25710 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25711 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25714 ac_cs_awk_cr
=$ac_cr
25717 echo 'BEGIN {' >"$tmp/subs1.awk" &&
25722 echo "cat >conf$$subs.awk <<_ACEOF" &&
25723 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25725 } >conf$$subs.sh ||
25726 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25727 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
25729 for ac_last_try in false false false false false :; do
25730 . ./conf$$subs.sh ||
25731 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25733 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
25734 if test $ac_delim_n = $ac_delim_num; then
25736 elif $ac_last_try; then
25737 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25739 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25742 rm -f conf$$subs.sh
25744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25745 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
25749 s/^/S["/; s
/!.
*/"]=/
25759 s/\(.\{148\}\).*/\1/
25761 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
25766 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25773 s/\(.\{148\}\).*/\1/
25775 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
25779 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25784 ' <conf$$subs.awk | sed '
25789 ' >>$CONFIG_STATUS || ac_write_fail=1
25790 rm -f conf$$subs.awk
25791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25793 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
25794 for (key in S) S_is_set[key] = 1
25800 nfields = split(line, field, "@
")
25802 len = length(field[1])
25803 for (i = 2; i < nfields; i++) {
25805 keylen = length(key)
25806 if (S_is_set[key]) {
25808 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25809 len += length(value) + length(field[++i])
25820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25821 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25822 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
25825 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
25826 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
25829 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25830 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
25831 # trailing colons and then remove the whole line if VPATH becomes empty
25832 # (actually we leave an empty line to preserve line numbers).
25833 if test "x
$srcdir" = x.; then
25834 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25835 s/:*\$(srcdir):*/:/
25836 s/:*\${srcdir}:*/:/
25838 s/^\([^=]*=[ ]*\):*/\1/
25844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25845 fi # test -n "$CONFIG_FILES"
25847 # Set up the scripts for CONFIG_HEADERS section.
25848 # No need to generate them if there are no CONFIG_HEADERS.
25849 # This happens for instance with `./config.status Makefile'.
25850 if test -n "$CONFIG_HEADERS"; then
25851 cat >"$tmp/defines.
awk" <<\_ACAWK ||
25855 # Transform confdefs.h into an awk script `defines.awk', embedded as
25856 # here-document in config.status, that substitutes the proper values into
25857 # config.h.in to produce config.h.
25859 # Create a delimiter string that does not exist in confdefs.h, to ease
25860 # handling of long lines.
25862 for ac_last_try in false false :; do
25863 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
25864 if test -z "$ac_t"; then
25866 elif $ac_last_try; then
25867 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
25869 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25873 # For the awk script, D is an array of macro values keyed by name,
25874 # likewise P contains macro parameters if any. Preserve backslash
25875 # newline sequences.
25877 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25879 s/.\{148\}/&'"$ac_delim"'/g
25882 s/^[ ]*#[ ]*define[ ][ ]*/ /
25889 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
25891 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
25895 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
25896 D["\
1"]=" \
3\\\\\\n
"\\/p
25898 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
25903 s/.\{148\}/&'"$ac_delim"'/g
25908 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
25911 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
25913 ' <confdefs.h | sed '
25914 s/'"$ac_delim"'/"\\\
25915 "/g' >>$CONFIG_STATUS || ac_write_fail=1
25917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25918 for (key in D) D_is_set[key] = 1
25921 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
25923 split(line, arg, " ")
25924 if (arg[1] == "#") {
25928 defundef
= substr
(arg
[1], 2)
25931 split(mac1
, mac2
, "(") #)
25933 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
25934 if (D_is_set
[macro
]) {
25935 # Preserve the white space surrounding the "#".
25936 print prefix
"define", macro P
[macro
] D
[macro
]
25939 # Replace #undef with comments. This is necessary, for example,
25940 # in the case of _POSIX_SOURCE, which is predefined and required
25941 # on some systems where configure will not decide to define it.
25942 if (defundef
== "undef") {
25943 print
"/*", prefix defundef
, macro
, "*/"
25951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25952 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
25953 fi # test -n "$CONFIG_HEADERS"
25956 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
25961 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25963 case $ac_mode$ac_tag in
25965 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
25966 :[FH
]-) ac_tag
=-:-;;
25967 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25984 -) ac_f
="$tmp/stdin";;
25985 *) # Look for the file first in the build tree, then in the source tree
25986 # (if the path is not absolute). The absolute path cannot be DOS-style,
25987 # because $ac_f cannot contain `:'.
25991 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25993 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
25995 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
25996 as_fn_append ac_file_inputs
" '$ac_f'"
25999 # Let's still pretend it is `configure' which instantiates (i.e., don't
26000 # use $as_me), people would be surprised to read:
26001 # /* config.h. Generated by config.status. */
26002 configure_input
='Generated from '`
26003 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26005 if test x
"$ac_file" != x-
; then
26006 configure_input
="$ac_file. $configure_input"
26007 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26008 $as_echo "$as_me: creating $ac_file" >&6;}
26010 # Neutralize special characters interpreted by sed in replacement strings.
26011 case $configure_input in #(
26012 *\
&* |
*\|
* |
*\\* )
26013 ac_sed_conf_input
=`$as_echo "$configure_input" |
26014 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26015 *) ac_sed_conf_input
=$configure_input;;
26019 *:-:* |
*:-) cat >"$tmp/stdin" \
26020 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
26025 ac_dir
=`$as_dirname -- "$ac_file" ||
26026 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26027 X"$ac_file" : 'X\(//\)[^/]' \| \
26028 X"$ac_file" : 'X\(//\)$' \| \
26029 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26030 $as_echo X"$ac_file" |
26031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26035 /^X\(\/\/\)[^/].*/{
26048 as_dir
="$ac_dir"; as_fn_mkdir_p
26052 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26054 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26055 # A ".." for each directory in $ac_dir_suffix.
26056 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26057 case $ac_top_builddir_sub in
26058 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26059 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26062 ac_abs_top_builddir
=$ac_pwd
26063 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26064 # for backward compatibility:
26065 ac_top_builddir
=$ac_top_build_prefix
26068 .
) # We are building in place.
26070 ac_top_srcdir
=$ac_top_builddir_sub
26071 ac_abs_top_srcdir
=$ac_pwd ;;
26072 [\\/]* | ?
:[\\/]* ) # Absolute name.
26073 ac_srcdir
=$srcdir$ac_dir_suffix;
26074 ac_top_srcdir
=$srcdir
26075 ac_abs_top_srcdir
=$srcdir ;;
26076 *) # Relative name.
26077 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26078 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26079 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26081 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26091 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26092 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26094 ac_MKDIR_P
=$MKDIR_P
26096 [\\/$
]* | ?
:[\\/]* ) ;;
26097 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26102 # If the template does not know about datarootdir, expand it.
26103 # FIXME: This hack should be removed a few years after 2.60.
26104 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26115 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26116 *datarootdir
*) ac_datarootdir_seen
=yes;;
26117 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26119 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26122 ac_datarootdir_hack='
26123 s&@datadir@&$datadir&g
26124 s&@docdir@&$docdir&g
26125 s&@infodir@&$infodir&g
26126 s&@localedir@&$localedir&g
26127 s&@mandir@&$mandir&g
26128 s&\\\${datarootdir}&$datarootdir&g' ;;
26132 # Neutralize VPATH when `$srcdir' = `.'.
26133 # Shell code in configure.ac might set extrasub.
26134 # FIXME: do we really want to maintain this feature?
26135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26136 ac_sed_extra="$ac_vpsub
26139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26141 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26142 s|@configure_input@|
$ac_sed_conf_input|
;t t
26143 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26144 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26145 s
&@srcdir@
&$ac_srcdir&;t t
26146 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26147 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26148 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26149 s
&@builddir@
&$ac_builddir&;t t
26150 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26151 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26152 s
&@INSTALL@
&$ac_INSTALL&;t t
26153 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26154 $ac_datarootdir_hack
26156 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26157 || as_fn_error "could not create
$ac_file" "$LINENO" 5
26159 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26160 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26161 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26163 which seems to be undefined. Please make sure it is defined." >&5
26164 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26165 which seems to be undefined. Please make sure it is defined." >&2;}
26169 -) cat "$tmp/out" && rm -f "$tmp/out";;
26170 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26172 || as_fn_error "could not create $ac_file" "$LINENO" 5
26178 if test x"$ac_file" != x-; then
26180 $as_echo "/* $configure_input */" \
26181 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26182 } >"$tmp/config.h" \
26183 || as_fn_error "could not create $ac_file" "$LINENO" 5
26184 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26185 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26186 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26189 mv "$tmp/config.h" "$ac_file" \
26190 || as_fn_error "could not create $ac_file" "$LINENO" 5
26193 $as_echo "/* $configure_input */" \
26194 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26195 || as_fn_error "could not create -" "$LINENO" 5
26197 # Compute "$ac_file"'s index
in $config_headers.
26200 for _am_header
in $config_headers :; do
26201 case $_am_header in
26202 $_am_arg |
$_am_arg:* )
26205 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26208 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26209 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26210 X"$_am_arg" : 'X\(//\)[^/]' \| \
26211 X"$_am_arg" : 'X\(//\)$' \| \
26212 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26213 $as_echo X"$_am_arg" |
26214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26218 /^X\(\/\/\)[^/].*/{
26230 s/.*/./; q'`/stamp-h
$_am_stamp_count
26237 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
26240 # Prefer the file from the source tree if names are identical.
26241 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
26242 ac_source
=$srcdir/$ac_source
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
26246 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
26248 if test ! -r "$ac_source"; then
26249 as_fn_error
"$ac_source: file not found" "$LINENO" 5
26253 # Try a relative symlink, then a hard link, then a copy.
26255 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
26256 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
26258 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
26259 ln "$ac_source" "$ac_file" 2>/dev
/null ||
26260 cp -p "$ac_source" "$ac_file" ||
26261 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
26264 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26265 $as_echo "$as_me: executing $ac_file commands" >&6;}
26270 case $ac_file$ac_mode in
26272 # Only add multilib support code if we just rebuilt the top-level
26274 case " $CONFIG_FILES " in
26276 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
26279 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26280 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26281 # are listed without --file. Let's play safe and only enable the eval
26282 # if we detect the quoting.
26283 case $CONFIG_FILES in
26284 *\'*) eval set x
"$CONFIG_FILES" ;;
26285 *) set x
$CONFIG_FILES ;;
26290 # Strip MF so we end up with the name of the file.
26291 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26292 # Check whether this is an Automake generated Makefile or not.
26293 # We used to match only the files named `Makefile.in', but
26294 # some people rename them; so instead we look at the file content.
26295 # Grep'ing the first line is not enough: some people post-process
26296 # each Makefile.in and add a new line on top of each file to say so.
26297 # Grep'ing the whole file is not good either: AIX grep has a line
26298 # limit of 2048, but all sed's we know have understand at least 4000.
26299 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26300 dirpart
=`$as_dirname -- "$mf" ||
26301 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26302 X"$mf" : 'X\(//\)[^/]' \| \
26303 X"$mf" : 'X\(//\)$' \| \
26304 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26310 /^X\(\/\/\)[^/].*/{
26326 # Extract the definition of DEPDIR, am__include, and am__quote
26327 # from the Makefile without running `make'.
26328 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26329 test -z "$DEPDIR" && continue
26330 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26331 test -z "am__include" && continue
26332 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26333 # When using ansi2knr, U may be empty or an underscore; expand it
26334 U
=`sed -n 's/^U = //p' < "$mf"`
26335 # Find all dependency output files, they are included files with
26336 # $(DEPDIR) in their names. We invoke sed twice because it is the
26337 # simplest approach to changing $(DEPDIR) to its actual value in the
26339 for file in `sed -n "
26340 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26341 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26342 # Make sure the directory exists.
26343 test -f "$dirpart/$file" && continue
26344 fdir
=`$as_dirname -- "$file" ||
26345 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26346 X"$file" : 'X\(//\)[^/]' \| \
26347 X"$file" : 'X\(//\)$' \| \
26348 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26349 $as_echo X"$file" |
26350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26354 /^X\(\/\/\)[^/].*/{
26367 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26368 # echo "creating $dirpart/$file"
26369 echo '# dummy' > "$dirpart/$file"
26376 # See if we are running on zsh, and set the options which allow our
26377 # commands through without removal of \ escapes.
26378 if test -n "${ZSH_VERSION+set}" ; then
26379 setopt NO_GLOB_SUBST
26382 cfgfile
="${ofile}T"
26383 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26386 cat <<_LT_EOF >> "$cfgfile"
26389 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26390 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26391 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26392 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26394 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26395 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26396 # Written by Gordon Matzigkeit, 1996
26398 # This file is part of GNU Libtool.
26400 # GNU Libtool is free software; you can redistribute it and/or
26401 # modify it under the terms of the GNU General Public License as
26402 # published by the Free Software Foundation; either version 2 of
26403 # the License, or (at your option) any later version.
26405 # As a special exception to the GNU General Public License,
26406 # if you distribute this file as part of a program or library that
26407 # is built using GNU Libtool, you may include this file under the
26408 # same distribution terms that you use for the rest of that program.
26410 # GNU Libtool is distributed in the hope that it will be useful,
26411 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26412 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26413 # GNU General Public License for more details.
26415 # You should have received a copy of the GNU General Public License
26416 # along with GNU Libtool; see the file COPYING. If not, a copy
26417 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26418 # obtained by writing to the Free Software Foundation, Inc.,
26419 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26422 # The names of the tagged configurations supported by this script.
26423 available_tags="CXX "
26425 # ### BEGIN LIBTOOL CONFIG
26427 # Whether or not to build static libraries.
26428 build_old_libs=$enable_static
26430 # Which release of libtool.m4 was used?
26431 macro_version=$macro_version
26432 macro_revision=$macro_revision
26434 # Whether or not to build shared libraries.
26435 build_libtool_libs=$enable_shared
26437 # What type of objects to build.
26440 # Whether or not to optimize for fast installation.
26441 fast_install=$enable_fast_install
26443 # Shell to use when invoking shell scripts.
26446 # An echo program that protects backslashes.
26450 host_alias=$host_alias
26454 # The build system.
26455 build_alias=$build_alias
26459 # A sed program that does not truncate output.
26462 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26463 Xsed="\$SED -e 1s/^X//"
26465 # A grep program that handles long lines.
26471 # A literal string matcher.
26474 # A BSD- or MS-compatible name lister.
26477 # Whether we need soft or hard links.
26480 # What is the maximum length of a command?
26481 max_cmd_len=$max_cmd_len
26483 # Object file suffix (normally "o").
26486 # Executable file suffix (normally "").
26489 # whether the shell understands "unset".
26492 # turn spaces into newlines.
26495 # turn newlines into spaces.
26498 # An object symbol dumper.
26499 OBJDUMP=$lt_OBJDUMP
26501 # Method to check whether dependent libraries are shared objects.
26502 deplibs_check_method=$lt_deplibs_check_method
26504 # Command to use when deplibs_check_method == "file_magic".
26505 file_magic_cmd=$lt_file_magic_cmd
26509 AR_FLAGS=$lt_AR_FLAGS
26511 # A symbol stripping program.
26514 # Commands used to install an old-style archive.
26516 old_postinstall_cmds=$lt_old_postinstall_cmds
26517 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26519 # Whether to use a lock for old archive extraction.
26520 lock_old_archive_extraction=$lock_old_archive_extraction
26525 # LTCC compiler flags.
26526 LTCFLAGS=$lt_CFLAGS
26528 # Take the output of nm and produce a listing of raw symbols and C names.
26529 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26531 # Transform the output of nm in a proper C declaration.
26532 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26534 # Transform the output of nm in a C name address pair.
26535 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26537 # Transform the output of nm in a C name address pair when lib prefix is needed.
26538 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26540 # The name of the directory that contains temporary libtool files.
26543 # Used to examine libraries when file_magic_cmd begins with "file".
26544 MAGIC_CMD=$MAGIC_CMD
26546 # Must we lock files when doing compilation?
26547 need_locks=$lt_need_locks
26549 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26550 DSYMUTIL=$lt_DSYMUTIL
26552 # Tool to change global to local symbols on Mac OS X.
26555 # Tool to manipulate fat objects and archives on Mac OS X.
26558 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26561 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26562 OTOOL64=$lt_OTOOL64
26564 # Old archive suffix (normally "a").
26567 # Shared library suffix (normally ".so").
26568 shrext_cmds=$lt_shrext_cmds
26570 # The commands to extract the exported symbol list from a shared archive.
26571 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26573 # Variables whose values should be saved in libtool wrapper scripts and
26574 # restored at link time.
26575 variables_saved_for_relink=$lt_variables_saved_for_relink
26577 # Do we need the "lib" prefix for modules?
26578 need_lib_prefix=$need_lib_prefix
26580 # Do we need a version for libraries?
26581 need_version=$need_version
26583 # Library versioning type.
26584 version_type=$version_type
26586 # Shared library runtime path variable.
26587 runpath_var=$runpath_var
26589 # Shared library path variable.
26590 shlibpath_var=$shlibpath_var
26592 # Is shlibpath searched before the hard-coded library search path?
26593 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26595 # Format of library name prefix.
26596 libname_spec=$lt_libname_spec
26598 # List of archive names. First name is the real one, the rest are links.
26599 # The last name is the one that the linker finds with -lNAME
26600 library_names_spec=$lt_library_names_spec
26602 # The coded name of the library, if different from the real name.
26603 soname_spec=$lt_soname_spec
26605 # Permission mode override for installation of shared libraries.
26606 install_override_mode=$lt_install_override_mode
26608 # Command to use after installation of a shared archive.
26609 postinstall_cmds=$lt_postinstall_cmds
26611 # Command to use after uninstallation of a shared archive.
26612 postuninstall_cmds=$lt_postuninstall_cmds
26614 # Commands used to finish a libtool library installation in a directory.
26615 finish_cmds=$lt_finish_cmds
26617 # As "finish_cmds", except a single script fragment to be evaled but
26619 finish_eval=$lt_finish_eval
26621 # Whether we should hardcode library paths into libraries.
26622 hardcode_into_libs=$hardcode_into_libs
26624 # Compile-time system search path for libraries.
26625 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26627 # Run-time system search path for libraries.
26628 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26630 # Whether dlopen is supported.
26631 dlopen_support=$enable_dlopen
26633 # Whether dlopen of programs is supported.
26634 dlopen_self=$enable_dlopen_self
26636 # Whether dlopen of statically linked programs is supported.
26637 dlopen_self_static=$enable_dlopen_self_static
26639 # Commands to strip libraries.
26640 old_striplib=$lt_old_striplib
26641 striplib=$lt_striplib
26644 # The linker used to build libraries.
26647 # How to create reloadable object files.
26648 reload_flag=$lt_reload_flag
26649 reload_cmds=$lt_reload_cmds
26651 # Commands used to build an old-style archive.
26652 old_archive_cmds=$lt_old_archive_cmds
26654 # A language specific compiler.
26657 # Is the compiler the GNU compiler?
26660 # Compiler flag to turn off builtin functions.
26661 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26663 # How to pass a linker flag through the compiler.
26664 wl=$lt_lt_prog_compiler_wl
26666 # Additional compiler flags for building library objects.
26667 pic_flag=$lt_lt_prog_compiler_pic
26669 # Compiler flag to prevent dynamic linking.
26670 link_static_flag=$lt_lt_prog_compiler_static
26672 # Does compiler simultaneously support -c and -o options?
26673 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26675 # Whether or not to add -lc for building shared libraries.
26676 build_libtool_need_lc=$archive_cmds_need_lc
26678 # Whether or not to disallow shared libs when runtime libs are static.
26679 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26681 # Compiler flag to allow reflexive dlopens.
26682 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26684 # Compiler flag to generate shared objects directly from archives.
26685 whole_archive_flag_spec=$lt_whole_archive_flag_spec
26687 # Whether the compiler copes with passing no objects directly.
26688 compiler_needs_object=$lt_compiler_needs_object
26690 # Create an old-style archive from a shared archive.
26691 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26693 # Create a temporary old-style archive to link instead of a shared archive.
26694 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26696 # Commands used to build a shared archive.
26697 archive_cmds=$lt_archive_cmds
26698 archive_expsym_cmds=$lt_archive_expsym_cmds
26700 # Commands used to build a loadable module if different from building
26701 # a shared archive.
26702 module_cmds=$lt_module_cmds
26703 module_expsym_cmds=$lt_module_expsym_cmds
26705 # Whether we are building with GNU ld or not.
26706 with_gnu_ld=$lt_with_gnu_ld
26708 # Flag that allows shared libraries with undefined symbols to be built.
26709 allow_undefined_flag=$lt_allow_undefined_flag
26711 # Flag that enforces no undefined symbols.
26712 no_undefined_flag=$lt_no_undefined_flag
26714 # Flag to hardcode \$libdir into a binary during linking.
26715 # This must work even if \$libdir does not exist
26716 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26718 # If ld is used when linking, flag to hardcode \$libdir into a binary
26719 # during linking. This must work even if \$libdir does not exist.
26720 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
26722 # Whether we need a single "-rpath" flag with a separated argument.
26723 hardcode_libdir_separator=$lt_hardcode_libdir_separator
26725 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26726 # DIR into the resulting binary.
26727 hardcode_direct=$hardcode_direct
26729 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26730 # DIR into the resulting binary and the resulting library dependency is
26731 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
26732 # library is relocated.
26733 hardcode_direct_absolute=$hardcode_direct_absolute
26735 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26736 # into the resulting binary.
26737 hardcode_minus_L=$hardcode_minus_L
26739 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26740 # into the resulting binary.
26741 hardcode_shlibpath_var=$hardcode_shlibpath_var
26743 # Set to "yes" if building a shared library automatically hardcodes DIR
26744 # into the library and all subsequent libraries and executables linked
26746 hardcode_automatic=$hardcode_automatic
26748 # Set to yes if linker adds runtime paths of dependent libraries
26749 # to runtime path list.
26750 inherit_rpath=$inherit_rpath
26752 # Whether libtool must link a program against all its dependency libraries.
26753 link_all_deplibs=$link_all_deplibs
26755 # Fix the shell variable \$srcfile for the compiler.
26756 fix_srcfile_path=$lt_fix_srcfile_path
26758 # Set to "yes" if exported symbols are required.
26759 always_export_symbols=$always_export_symbols
26761 # The commands to list exported symbols.
26762 export_symbols_cmds=$lt_export_symbols_cmds
26764 # Symbols that should not be listed in the preloaded symbols.
26765 exclude_expsyms=$lt_exclude_expsyms
26767 # Symbols that must always be exported.
26768 include_expsyms=$lt_include_expsyms
26770 # Commands necessary for linking programs (against libraries) with templates.
26771 prelink_cmds=$lt_prelink_cmds
26773 # Specify filename containing input files.
26774 file_list_spec=$lt_file_list_spec
26776 # How to hardcode a shared library path into an executable.
26777 hardcode_action=$hardcode_action
26779 # The directories searched by this compiler when creating a shared library.
26780 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
26782 # Dependencies to place before and after the objects being linked to
26783 # create a shared library.
26784 predep_objects=$lt_predep_objects
26785 postdep_objects=$lt_postdep_objects
26786 predeps=$lt_predeps
26787 postdeps=$lt_postdeps
26789 # The library search path used internally by the compiler when linking
26790 # a shared library.
26791 compiler_lib_search_path=$lt_compiler_lib_search_path
26793 # ### END LIBTOOL CONFIG
26799 cat <<\_LT_EOF
>> "$cfgfile"
26800 # AIX sometimes has problems with the GCC collect2 program. For some
26801 # reason, if we set the COLLECT_NAMES environment variable, the problems
26802 # vanish in a puff of smoke.
26803 if test "X${COLLECT_NAMES+set}" != Xset
; then
26805 export COLLECT_NAMES
26812 ltmain
="$ac_aux_dir/ltmain.sh"
26815 # We use sed instead of cat because bash on DJGPP gets confused if
26816 # if finds mixed CR/LF and LF-only lines. Since sed operates in
26817 # text mode, it properly converts lines to CR/LF. This bash problem
26818 # is reportedly fixed, but why not run on old versions too?
26819 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
26820 ||
(rm -f "$cfgfile"; exit 1)
26824 cat << \_LT_EOF
>> "$cfgfile"
26826 # func_dirname file append nondir_replacement
26827 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
26828 # otherwise set result to NONDIR_REPLACEMENT.
26832 */*) func_dirname_result
="${1%/*}${2}" ;;
26833 * ) func_dirname_result
="${3}" ;;
26837 # func_basename file
26840 func_basename_result
="${1##*/}"
26843 # func_dirname_and_basename file append nondir_replacement
26844 # perform func_basename and func_dirname in a single function
26846 # dirname: Compute the dirname of FILE. If nonempty,
26847 # add APPEND to the result, otherwise set result
26848 # to NONDIR_REPLACEMENT.
26849 # value returned in "$func_dirname_result"
26850 # basename: Compute filename of FILE.
26851 # value retuned in "$func_basename_result"
26852 # Implementation must be kept synchronized with func_dirname
26853 # and func_basename. For efficiency, we do not delegate to
26854 # those functions but instead duplicate the functionality here.
26855 func_dirname_and_basename
()
26858 */*) func_dirname_result
="${1%/*}${2}" ;;
26859 * ) func_dirname_result
="${3}" ;;
26861 func_basename_result
="${1##*/}"
26864 # func_stripname prefix suffix name
26865 # strip PREFIX and SUFFIX off of NAME.
26866 # PREFIX and SUFFIX must not contain globbing or regex special
26867 # characters, hashes, percent signs, but SUFFIX may contain a leading
26868 # dot (in which case that matches only a dot).
26871 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
26872 # positional parameters, so assign one to ordinary parameter first.
26873 func_stripname_result
=${3}
26874 func_stripname_result
=${func_stripname_result#"${1}"}
26875 func_stripname_result
=${func_stripname_result%"${2}"}
26881 func_opt_split_opt
=${1%%=*}
26882 func_opt_split_arg
=${1#*=}
26889 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
26890 *) func_lo2o_result
=${1} ;;
26894 # func_xform libobj-or-source
26897 func_xform_result
=${1%.*}.lo
26900 # func_arith arithmetic-term...
26903 func_arith_result
=$
(( $
* ))
26907 # STRING may not start with a hyphen.
26910 func_len_result
=${#1}
26915 *) # Bourne compatible functions.
26916 cat << \_LT_EOF
>> "$cfgfile"
26918 # func_dirname file append nondir_replacement
26919 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
26920 # otherwise set result to NONDIR_REPLACEMENT.
26923 # Extract subdirectory from the argument.
26924 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
26925 if test "X$func_dirname_result" = "X${1}"; then
26926 func_dirname_result
="${3}"
26928 func_dirname_result
="$func_dirname_result${2}"
26932 # func_basename file
26935 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
26939 # func_stripname prefix suffix name
26940 # strip PREFIX and SUFFIX off of NAME.
26941 # PREFIX and SUFFIX must not contain globbing or regex special
26942 # characters, hashes, percent signs, but SUFFIX may contain a leading
26943 # dot (in which case that matches only a dot).
26944 # func_strip_suffix prefix name
26948 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
26949 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
26954 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
26955 my_sed_long_arg
='1s/^-[^=]*=//'
26960 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
26961 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
26967 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
26970 # func_xform libobj-or-source
26973 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
26976 # func_arith arithmetic-term...
26979 func_arith_result
=`expr "$@"`
26983 # STRING may not start with a hyphen.
26986 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
26992 case $lt_shell_append in
26994 cat << \_LT_EOF
>> "$cfgfile"
26996 # func_append var value
26997 # Append VALUE to the end of shell variable VAR.
27005 cat << \_LT_EOF
>> "$cfgfile"
27007 # func_append var value
27008 # Append VALUE to the end of shell variable VAR.
27019 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27020 ||
(rm -f "$cfgfile"; exit 1)
27022 mv -f "$cfgfile" "$ofile" ||
27023 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27027 cat <<_LT_EOF >> "$ofile"
27029 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27031 # The linker used to build libraries.
27034 # How to create reloadable object files.
27035 reload_flag=$lt_reload_flag_CXX
27036 reload_cmds=$lt_reload_cmds_CXX
27038 # Commands used to build an old-style archive.
27039 old_archive_cmds=$lt_old_archive_cmds_CXX
27041 # A language specific compiler.
27042 CC=$lt_compiler_CXX
27044 # Is the compiler the GNU compiler?
27047 # Compiler flag to turn off builtin functions.
27048 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27050 # How to pass a linker flag through the compiler.
27051 wl=$lt_lt_prog_compiler_wl_CXX
27053 # Additional compiler flags for building library objects.
27054 pic_flag=$lt_lt_prog_compiler_pic_CXX
27056 # Compiler flag to prevent dynamic linking.
27057 link_static_flag=$lt_lt_prog_compiler_static_CXX
27059 # Does compiler simultaneously support -c and -o options?
27060 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27062 # Whether or not to add -lc for building shared libraries.
27063 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27065 # Whether or not to disallow shared libs when runtime libs are static.
27066 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27068 # Compiler flag to allow reflexive dlopens.
27069 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27071 # Compiler flag to generate shared objects directly from archives.
27072 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27074 # Whether the compiler copes with passing no objects directly.
27075 compiler_needs_object=$lt_compiler_needs_object_CXX
27077 # Create an old-style archive from a shared archive.
27078 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27080 # Create a temporary old-style archive to link instead of a shared archive.
27081 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27083 # Commands used to build a shared archive.
27084 archive_cmds=$lt_archive_cmds_CXX
27085 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27087 # Commands used to build a loadable module if different from building
27088 # a shared archive.
27089 module_cmds=$lt_module_cmds_CXX
27090 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27092 # Whether we are building with GNU ld or not.
27093 with_gnu_ld=$lt_with_gnu_ld_CXX
27095 # Flag that allows shared libraries with undefined symbols to be built.
27096 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27098 # Flag that enforces no undefined symbols.
27099 no_undefined_flag=$lt_no_undefined_flag_CXX
27101 # Flag to hardcode \$libdir into a binary during linking.
27102 # This must work even if \$libdir does not exist
27103 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27105 # If ld is used when linking, flag to hardcode \$libdir into a binary
27106 # during linking. This must work even if \$libdir does not exist.
27107 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27109 # Whether we need a single "-rpath" flag with a separated argument.
27110 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27112 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27113 # DIR into the resulting binary.
27114 hardcode_direct=$hardcode_direct_CXX
27116 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27117 # DIR into the resulting binary and the resulting library dependency is
27118 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27119 # library is relocated.
27120 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27122 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27123 # into the resulting binary.
27124 hardcode_minus_L=$hardcode_minus_L_CXX
27126 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27127 # into the resulting binary.
27128 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27130 # Set to "yes" if building a shared library automatically hardcodes DIR
27131 # into the library and all subsequent libraries and executables linked
27133 hardcode_automatic=$hardcode_automatic_CXX
27135 # Set to yes if linker adds runtime paths of dependent libraries
27136 # to runtime path list.
27137 inherit_rpath=$inherit_rpath_CXX
27139 # Whether libtool must link a program against all its dependency libraries.
27140 link_all_deplibs=$link_all_deplibs_CXX
27142 # Fix the shell variable \$srcfile for the compiler.
27143 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27145 # Set to "yes" if exported symbols are required.
27146 always_export_symbols=$always_export_symbols_CXX
27148 # The commands to list exported symbols.
27149 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27151 # Symbols that should not be listed in the preloaded symbols.
27152 exclude_expsyms=$lt_exclude_expsyms_CXX
27154 # Symbols that must always be exported.
27155 include_expsyms=$lt_include_expsyms_CXX
27157 # Commands necessary for linking programs (against libraries) with templates.
27158 prelink_cmds=$lt_prelink_cmds_CXX
27160 # Specify filename containing input files.
27161 file_list_spec=$lt_file_list_spec_CXX
27163 # How to hardcode a shared library path into an executable.
27164 hardcode_action=$hardcode_action_CXX
27166 # The directories searched by this compiler when creating a shared library.
27167 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27169 # Dependencies to place before and after the objects being linked to
27170 # create a shared library.
27171 predep_objects=$lt_predep_objects_CXX
27172 postdep_objects=$lt_postdep_objects_CXX
27173 predeps=$lt_predeps_CXX
27174 postdeps=$lt_postdeps_CXX
27176 # The library search path used internally by the compiler when linking
27177 # a shared library.
27178 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27180 # ### END LIBTOOL TAG CONFIG: CXX
27184 "mkcollections.pl":C
) chmod 755 lib
/mkcollections.pl
;;
27186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
27187 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
27188 ac_stdint
=$tmp/_stdint.h
27190 echo "#ifndef" $_ac_stdint_h >$ac_stdint
27191 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
27192 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
27193 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
27194 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
27195 if test "_$ac_cv_header_stdint_t" != "_" ; then
27196 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
27197 echo "#include <stdint.h>" >>$ac_stdint
27198 echo "#endif" >>$ac_stdint
27199 echo "#endif" >>$ac_stdint
27202 cat >>$ac_stdint <<STDINT_EOF
27204 /* ................... shortcircuit part ........................... */
27206 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
27207 #include <stdint.h>
27209 #include <stddef.h>
27211 /* .................... configured part ............................ */
27215 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
27216 if test "_$ac_cv_header_stdint_x" != "_" ; then
27217 ac_header
="$ac_cv_header_stdint_x"
27218 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
27220 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
27223 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
27224 if test "_$ac_cv_header_stdint_o" != "_" ; then
27225 ac_header
="$ac_cv_header_stdint_o"
27226 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
27228 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
27231 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
27232 if test "_$ac_cv_header_stdint_u" != "_" ; then
27233 ac_header
="$ac_cv_header_stdint_u"
27234 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
27236 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
27239 echo "" >>$ac_stdint
27241 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
27242 echo "#include <$ac_header>" >>$ac_stdint
27243 echo "" >>$ac_stdint
27246 echo "/* which 64bit typedef has been found */" >>$ac_stdint
27247 if test "$ac_cv_type_uint64_t" = "yes" ; then
27248 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
27250 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
27252 if test "$ac_cv_type_u_int64_t" = "yes" ; then
27253 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
27255 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
27257 echo "" >>$ac_stdint
27259 echo "/* which type model has been detected */" >>$ac_stdint
27260 if test "_$ac_cv_char_data_model" != "_" ; then
27261 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
27262 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
27264 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
27265 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
27267 echo "" >>$ac_stdint
27269 echo "/* whether int_least types were detected */" >>$ac_stdint
27270 if test "$ac_cv_type_int_least32_t" = "yes"; then
27271 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
27273 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
27275 echo "/* whether int_fast types were detected */" >>$ac_stdint
27276 if test "$ac_cv_type_int_fast32_t" = "yes"; then
27277 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
27279 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
27281 echo "/* whether intmax_t type was detected */" >>$ac_stdint
27282 if test "$ac_cv_type_intmax_t" = "yes"; then
27283 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
27285 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
27287 echo "" >>$ac_stdint
27289 cat >>$ac_stdint <<STDINT_EOF
27290 /* .................... detections part ............................ */
27292 /* whether we need to define bitspecific types from compiler base types */
27293 #ifndef _STDINT_HEADER_INTPTR
27294 #ifndef _STDINT_HEADER_UINT32
27295 #ifndef _STDINT_HEADER_U_INT32
27296 #define _STDINT_NEED_INT_MODEL_T
27298 #define _STDINT_HAVE_U_INT_TYPES
27303 #ifdef _STDINT_HAVE_U_INT_TYPES
27304 #undef _STDINT_NEED_INT_MODEL_T
27307 #ifdef _STDINT_CHAR_MODEL
27308 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
27309 #ifndef _STDINT_BYTE_MODEL
27310 #define _STDINT_BYTE_MODEL 12
27315 #ifndef _STDINT_HAVE_INT_LEAST32_T
27316 #define _STDINT_NEED_INT_LEAST_T
27319 #ifndef _STDINT_HAVE_INT_FAST32_T
27320 #define _STDINT_NEED_INT_FAST_T
27323 #ifndef _STDINT_HEADER_INTPTR
27324 #define _STDINT_NEED_INTPTR_T
27325 #ifndef _STDINT_HAVE_INTMAX_T
27326 #define _STDINT_NEED_INTMAX_T
27331 /* .................... definition part ............................ */
27333 /* some system headers have good uint64_t */
27334 #ifndef _HAVE_UINT64_T
27335 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
27336 #define _HAVE_UINT64_T
27337 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
27338 #define _HAVE_UINT64_T
27339 typedef u_int64_t uint64_t;
27343 #ifndef _HAVE_UINT64_T
27344 /* .. here are some common heuristics using compiler runtime specifics */
27345 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
27346 #define _HAVE_UINT64_T
27347 #define _HAVE_LONGLONG_UINT64_T
27348 typedef long long int64_t;
27349 typedef unsigned long long uint64_t;
27351 #elif !defined __STRICT_ANSI__
27352 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27353 #define _HAVE_UINT64_T
27354 typedef __int64 int64_t;
27355 typedef unsigned __int64 uint64_t;
27357 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
27358 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
27359 #if !defined _NO_LONGLONG
27360 #define _HAVE_UINT64_T
27361 #define _HAVE_LONGLONG_UINT64_T
27362 typedef long long int64_t;
27363 typedef unsigned long long uint64_t;
27366 #elif defined __alpha || (defined __mips && defined _ABIN32)
27367 #if !defined _NO_LONGLONG
27368 typedef long int64_t;
27369 typedef unsigned long uint64_t;
27371 /* compiler/cpu type to define int64_t */
27376 #if defined _STDINT_HAVE_U_INT_TYPES
27377 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
27378 typedef u_int8_t uint8_t;
27379 typedef u_int16_t uint16_t;
27380 typedef u_int32_t uint32_t;
27382 /* glibc compatibility */
27383 #ifndef __int8_t_defined
27384 #define __int8_t_defined
27388 #ifdef _STDINT_NEED_INT_MODEL_T
27389 /* we must guess all the basic types. Apart from byte-adressable system, */
27390 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
27391 /* (btw, those nibble-addressable systems are way off, or so we assume) */
27394 #if defined _STDINT_BYTE_MODEL
27395 #if _STDINT_LONG_MODEL+0 == 242
27396 /* 2:4:2 = IP16 = a normal 16-bit system */
27397 typedef unsigned char uint8_t;
27398 typedef unsigned short uint16_t;
27399 typedef unsigned long uint32_t;
27400 #ifndef __int8_t_defined
27401 #define __int8_t_defined
27402 typedef char int8_t;
27403 typedef short int16_t;
27404 typedef long int32_t;
27406 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
27407 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
27408 /* 4:4:4 = ILP32 = a normal 32-bit system */
27409 typedef unsigned char uint8_t;
27410 typedef unsigned short uint16_t;
27411 typedef unsigned int uint32_t;
27412 #ifndef __int8_t_defined
27413 #define __int8_t_defined
27414 typedef char int8_t;
27415 typedef short int16_t;
27416 typedef int int32_t;
27418 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
27419 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
27420 /* 4:8:8 = LP64 = a normal 64-bit system */
27421 typedef unsigned char uint8_t;
27422 typedef unsigned short uint16_t;
27423 typedef unsigned int uint32_t;
27424 #ifndef __int8_t_defined
27425 #define __int8_t_defined
27426 typedef char int8_t;
27427 typedef short int16_t;
27428 typedef int int32_t;
27430 /* this system has a "long" of 64bit */
27431 #ifndef _HAVE_UINT64_T
27432 #define _HAVE_UINT64_T
27433 typedef unsigned long uint64_t;
27434 typedef long int64_t;
27436 #elif _STDINT_LONG_MODEL+0 == 448
27437 /* LLP64 a 64-bit system derived from a 32-bit system */
27438 typedef unsigned char uint8_t;
27439 typedef unsigned short uint16_t;
27440 typedef unsigned int uint32_t;
27441 #ifndef __int8_t_defined
27442 #define __int8_t_defined
27443 typedef char int8_t;
27444 typedef short int16_t;
27445 typedef int int32_t;
27447 /* assuming the system has a "long long" */
27448 #ifndef _HAVE_UINT64_T
27449 #define _HAVE_UINT64_T
27450 #define _HAVE_LONGLONG_UINT64_T
27451 typedef unsigned long long uint64_t;
27452 typedef long long int64_t;
27455 #define _STDINT_NO_INT32_T
27458 #define _STDINT_NO_INT8_T
27459 #define _STDINT_NO_INT32_T
27464 * quote from SunOS-5.8 sys/inttypes.h:
27465 * Use at your own risk. As of February 1996, the committee is squarely
27466 * behind the fixed sized types; the "least" and "fast" types are still being
27467 * discussed. The probability that the "fast" types may be removed before
27468 * the standard is finalized is high enough that they are not currently
27472 #if defined _STDINT_NEED_INT_LEAST_T
27473 typedef int8_t int_least8_t;
27474 typedef int16_t int_least16_t;
27475 typedef int32_t int_least32_t;
27476 #ifdef _HAVE_UINT64_T
27477 typedef int64_t int_least64_t;
27480 typedef uint8_t uint_least8_t;
27481 typedef uint16_t uint_least16_t;
27482 typedef uint32_t uint_least32_t;
27483 #ifdef _HAVE_UINT64_T
27484 typedef uint64_t uint_least64_t;
27489 #if defined _STDINT_NEED_INT_FAST_T
27490 typedef int8_t int_fast8_t;
27491 typedef int int_fast16_t;
27492 typedef int32_t int_fast32_t;
27493 #ifdef _HAVE_UINT64_T
27494 typedef int64_t int_fast64_t;
27497 typedef uint8_t uint_fast8_t;
27498 typedef unsigned uint_fast16_t;
27499 typedef uint32_t uint_fast32_t;
27500 #ifdef _HAVE_UINT64_T
27501 typedef uint64_t uint_fast64_t;
27506 #ifdef _STDINT_NEED_INTMAX_T
27507 #ifdef _HAVE_UINT64_T
27508 typedef int64_t intmax_t;
27509 typedef uint64_t uintmax_t;
27511 typedef long intmax_t;
27512 typedef unsigned long uintmax_t;
27516 #ifdef _STDINT_NEED_INTPTR_T
27517 #ifndef __intptr_t_defined
27518 #define __intptr_t_defined
27519 /* we encourage using "long" to store pointer values, never use "int" ! */
27520 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
27521 typedef unsigned int uintptr_t;
27522 typedef int intptr_t;
27523 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
27524 typedef unsigned long uintptr_t;
27525 typedef long intptr_t;
27526 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
27527 typedef uint64_t uintptr_t;
27528 typedef int64_t intptr_t;
27529 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
27530 typedef unsigned long uintptr_t;
27531 typedef long intptr_t;
27536 /* The ISO C99 standard specifies that in C++ implementations these
27537 should only be defined if explicitly requested. */
27538 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
27542 # define INT8_C(c) c
27543 # define INT16_C(c) c
27544 # define INT32_C(c) c
27545 # ifdef _HAVE_LONGLONG_UINT64_T
27546 # define INT64_C(c) c ## L
27548 # define INT64_C(c) c ## LL
27552 # define UINT8_C(c) c ## U
27553 # define UINT16_C(c) c ## U
27554 # define UINT32_C(c) c ## U
27555 # ifdef _HAVE_LONGLONG_UINT64_T
27556 # define UINT64_C(c) c ## UL
27558 # define UINT64_C(c) c ## ULL
27561 /* Maximal type. */
27562 # ifdef _HAVE_LONGLONG_UINT64_T
27563 # define INTMAX_C(c) c ## L
27564 # define UINTMAX_C(c) c ## UL
27566 # define INTMAX_C(c) c ## LL
27567 # define UINTMAX_C(c) c ## ULL
27570 /* literalnumbers */
27574 /* These limits are merily those of a two complement byte-oriented system */
27576 /* Minimum of signed integral types. */
27578 # define INT8_MIN (-128)
27581 # define INT16_MIN (-32767-1)
27584 # define INT32_MIN (-2147483647-1)
27587 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
27590 /* Maximum of signed integral types. */
27592 # define INT8_MAX (127)
27595 # define INT16_MAX (32767)
27598 # define INT32_MAX (2147483647)
27601 # define INT64_MAX (__INT64_C(9223372036854775807))
27604 /* Maximum of unsigned integral types. */
27606 # define UINT8_MAX (255)
27609 # define UINT16_MAX (65535)
27612 # define UINT32_MAX (4294967295U)
27615 # define UINT64_MAX (__UINT64_C(18446744073709551615))
27618 /* Minimum of signed integral types having a minimum size. */
27619 # define INT_LEAST8_MIN INT8_MIN
27620 # define INT_LEAST16_MIN INT16_MIN
27621 # define INT_LEAST32_MIN INT32_MIN
27622 # define INT_LEAST64_MIN INT64_MIN
27623 /* Maximum of signed integral types having a minimum size. */
27624 # define INT_LEAST8_MAX INT8_MAX
27625 # define INT_LEAST16_MAX INT16_MAX
27626 # define INT_LEAST32_MAX INT32_MAX
27627 # define INT_LEAST64_MAX INT64_MAX
27629 /* Maximum of unsigned integral types having a minimum size. */
27630 # define UINT_LEAST8_MAX UINT8_MAX
27631 # define UINT_LEAST16_MAX UINT16_MAX
27632 # define UINT_LEAST32_MAX UINT32_MAX
27633 # define UINT_LEAST64_MAX UINT64_MAX
27642 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
27643 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
27644 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
27646 ac_dir
=`$as_dirname -- "$ac_stdint_h" ||
27647 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27648 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
27649 X"$ac_stdint_h" : 'X\(//\)$' \| \
27650 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
27651 $as_echo X"$ac_stdint_h" |
27652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27656 /^X\(\/\/\)[^/].*/{
27669 as_dir
="$ac_dir"; as_fn_mkdir_p
27671 mv $ac_stdint $ac_stdint_h
27674 "gappletviewer":C
) chmod 755 tools
/gappletviewer
;;
27675 "gjarsigner":C
) chmod 755 tools
/gjarsigner
;;
27676 "gkeytool":C
) chmod 755 tools
/gkeytool
;;
27677 "gjar":C
) chmod 755 tools
/gjar
;;
27678 "gnative2ascii":C
) chmod 755 tools
/gnative2ascii
;;
27679 "gserialver":C
) chmod 755 tools
/gserialver
;;
27680 "grmiregistry":C
) chmod 755 tools
/grmiregistry
;;
27681 "gtnameserv":C
) chmod 755 tools
/gtnameserv
;;
27682 "gorbd":C
) chmod 755 tools
/gorbd
;;
27683 "grmid":C
) chmod 755 tools
/grmid
;;
27684 "grmic":C
) chmod 755 tools
/grmic
;;
27685 "gjavah":C
) chmod 755 tools
/gjavah
;;
27686 "gjdoc":C
) chmod 755 tools
/gjdoc
;;
27687 "gen-classlist":C
) chmod 755 lib
/gen-classlist.sh
;;
27688 "copy-vmresources":C
) chmod 755 lib
/copy-vmresources.sh
;;
27696 ac_clean_files
=$ac_clean_files_save
27698 test $ac_write_fail = 0 ||
27699 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27702 # configure is writing to config.log, and then calls config.status.
27703 # config.status does its own redirection, appending to config.log.
27704 # Unfortunately, on DOS this fails, as config.log is still kept open
27705 # by configure, so config.status won't be able to write to it; its
27706 # output is simply discarded. So we exec the FD to /dev/null,
27707 # effectively closing config.log, so it can be properly (re)opened and
27708 # appended to by config.status. When coming back to configure, we
27709 # need to make the FD available again.
27710 if test "$no_create" != yes; then
27712 ac_config_status_args
=
27713 test "$silent" = yes &&
27714 ac_config_status_args
="$ac_config_status_args --quiet"
27716 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27718 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27719 # would make configure fail if this is the last instruction.
27720 $ac_cs_success || as_fn_exit $?
27722 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
27723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27724 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27728 # Create standard.omit based on decisions we just made.
27729 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
27730 if test x
$use_escher != xtrue
; then
27731 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit
27734 if test "x${COMPILE_PLUGIN}" = "xyes" ; then
27735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have enabled the browser plugin. Please note that this is no longer maintained as part of GNU Classpath; development has moved to the IcedTea project." >&5
27736 $as_echo "$as_me: WARNING: You have enabled the browser plugin. Please note that this is no longer maintained as part of GNU Classpath; development has moved to the IcedTea project." >&2;}