2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Classpath 0.98.
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.98'
563 PACKAGE_STRING
='GNU Classpath 0.98'
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.98 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.98:";;
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.98
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_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2316 $as_echo_n "checking whether $2 is declared... " >&6; }
2317 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2318 $as_echo_n "(cached) " >&6
2320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2321 /* end confdefs.h. */
2334 if ac_fn_c_try_compile "$LINENO"; then :
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2343 $as_echo "$ac_res" >&6; }
2344 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2346 } # ac_fn_c_check_decl
2348 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2349 # -------------------------------------------
2350 # Tests whether TYPE exists after having included INCLUDES, setting cache
2351 # variable VAR accordingly.
2352 ac_fn_c_check_type ()
2354 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2356 $as_echo_n "checking for $2... " >&6; }
2357 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2358 $as_echo_n "(cached) " >&6
2361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2362 /* end confdefs.h. */
2373 if ac_fn_c_try_compile "$LINENO"; then :
2374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2375 /* end confdefs.h. */
2386 if ac_fn_c_try_compile "$LINENO"; then :
2391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2397 $as_echo "$ac_res" >&6; }
2398 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2400 } # ac_fn_c_check_type
2402 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2403 # --------------------------------------------
2404 # Tries to find the compile-time value of EXPR in a program that includes
2405 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2407 ac_fn_c_compute_int ()
2409 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2410 if test "$cross_compiling" = yes; then
2411 # Depending upon the size, compute the lo and hi bounds.
2412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2413 /* end confdefs.h. */
2418 static int test_array [1 - 2 * !(($2) >= 0)];
2425 if ac_fn_c_try_compile "$LINENO"; then :
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2434 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2441 if ac_fn_c_try_compile "$LINENO"; then :
2442 ac_hi=$ac_mid; break
2444 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2445 if test $ac_lo -le $ac_mid; then
2449 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2460 static int test_array [1 - 2 * !(($2) < 0)];
2467 if ac_fn_c_try_compile "$LINENO"; then :
2470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2471 /* end confdefs.h. */
2476 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2483 if ac_fn_c_try_compile "$LINENO"; then :
2484 ac_lo=$ac_mid; break
2486 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2487 if test $ac_mid -le $ac_hi; then
2491 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 # Binary search between lo and hi bounds.
2502 while test "x$ac_lo" != "x$ac_hi"; do
2503 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2505 /* end confdefs.h. */
2510 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2517 if ac_fn_c_try_compile "$LINENO"; then :
2520 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2525 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h. */
2532 static long int longval () { return $2; }
2533 static unsigned long int ulongval () { return $2; }
2540 FILE *f = fopen ("conftest.val", "w");
2545 long int i = longval ();
2548 fprintf (f, "%ld", i);
2552 unsigned long int i = ulongval ();
2555 fprintf (f, "%lu", i);
2557 /* Do not output a trailing newline, as this causes \r\n confusion
2558 on some platforms. */
2559 return ferror (f) || fclose (f) != 0;
2565 if ac_fn_c_try_run "$LINENO"; then :
2566 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2571 conftest.$ac_objext conftest.beam conftest.$ac_ext
2575 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2578 } # ac_fn_c_compute_int
2579 cat >config.log <<_ACEOF
2580 This file contains any messages produced by compilers while
2581 running configure, to aid debugging if configure makes a mistake.
2583 It was created by GNU Classpath $as_me 0.98, which was
2584 generated by GNU Autoconf 2.64. Invocation command line was
2596 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2597 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2598 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2599 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2600 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2602 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2603 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2605 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2606 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2607 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2608 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2609 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2610 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2611 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir=.
2620 $as_echo "PATH: $as_dir"
2636 # Keep a trace of the command line.
2637 # Strip out --no-create and --no-recursion so they do not pile up.
2638 # Strip out --silent because we don't want to record it for future runs.
2639 # Also quote any args containing shell meta-characters.
2640 # Make two passes to allow for proper duplicate-argument suppression.
2644 ac_must_keep_next=false
2650 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2652 | -silent | --silent | --silen | --sile | --sil)
2655 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2658 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2660 as_fn_append ac_configure_args1 " '$ac_arg'"
2661 if test $ac_must_keep_next = true; then
2662 ac_must_keep_next=false # Got value, back to normal.
2665 *=* | --config-cache | -C | -disable-* | --disable-* \
2666 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2667 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2668 | -with-* | --with-* | -without-* | --without-* | --x)
2669 case "$ac_configure_args0 " in
2670 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2673 -* ) ac_must_keep_next=true ;;
2676 as_fn_append ac_configure_args " '$ac_arg'"
2681 { ac_configure_args0=; unset ac_configure_args0;}
2682 { ac_configure_args1=; unset ac_configure_args1;}
2684 # When interrupted or exit'd, cleanup temporary files, and complete
2685 # config.log. We remove comments because anyway the quotes in there
2686 # would cause problems or look ugly.
2687 # WARNING: Use '\'' to represent an apostrophe within the trap.
2688 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2689 trap 'exit_status=$?
2690 # Save into config.log some information that might help in debugging.
2695 ## ---------------- ##
2696 ## Cache variables. ##
2697 ## ---------------- ##
2700 # The following way of writing the cache mishandles newlines in values,
2702 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2703 eval ac_val=\$$ac_var
2707 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2708 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2711 _ | IFS | as_nl) ;; #(
2712 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2713 *) { eval $ac_var=; unset $ac_var;} ;;
2718 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2719 *${as_nl}ac_space=\ *)
2721 "s/'\''/'\''\\\\'\'''\''/g;
2722 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2733 ## ----------------- ##
2734 ## Output variables. ##
2735 ## ----------------- ##
2738 for ac_var in $ac_subst_vars
2740 eval ac_val=\$$ac_var
2742 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2744 $as_echo "$ac_var='\''$ac_val'\''"
2748 if test -n "$ac_subst_files"; then
2750 ## ------------------- ##
2751 ## File substitutions. ##
2752 ## ------------------- ##
2755 for ac_var in $ac_subst_files
2757 eval ac_val=\$$ac_var
2759 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2761 $as_echo "$ac_var='\''$ac_val'\''"
2766 if test -s confdefs.h; then
2776 test "$ac_signal" != 0 &&
2777 $as_echo "$as_me: caught signal $ac_signal"
2778 $as_echo "$as_me: exit $exit_status"
2780 rm -f core *.core core.conftest.* &&
2781 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2784 for ac_signal in 1 2 13 15; do
2785 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2789 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2790 rm -f -r conftest* confdefs.h
2792 $as_echo "/* confdefs.h */" > confdefs.h
2794 # Predefined preprocessor variables.
2796 cat >>confdefs.h <<_ACEOF
2797 #define PACKAGE_NAME "$PACKAGE_NAME"
2800 cat >>confdefs.h <<_ACEOF
2801 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2804 cat >>confdefs.h <<_ACEOF
2805 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2808 cat >>confdefs.h <<_ACEOF
2809 #define PACKAGE_STRING "$PACKAGE_STRING"
2812 cat >>confdefs.h <<_ACEOF
2813 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2816 cat >>confdefs.h <<_ACEOF
2817 #define PACKAGE_URL "$PACKAGE_URL"
2821 # Let the site file select an alternate cache file if it wants to.
2822 # Prefer an explicitly selected file to automatically selected ones.
2825 if test -n "$CONFIG_SITE"; then
2826 ac_site_file1=$CONFIG_SITE
2827 elif test "x$prefix" != xNONE; then
2828 ac_site_file1=$prefix/share/config.site
2829 ac_site_file2=$prefix/etc/config.site
2831 ac_site_file1=$ac_default_prefix/share/config.site
2832 ac_site_file2=$ac_default_prefix/etc/config.site
2834 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2836 test "x$ac_site_file" = xNONE && continue
2837 if test -r "$ac_site_file"; then
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2839 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2840 sed 's/^/| /' "$ac_site_file" >&5
2845 if test -r "$cache_file"; then
2846 # Some versions of bash will fail to source /dev/null (special
2847 # files actually), so we avoid doing that.
2848 if test -f "$cache_file"; then
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2850 $as_echo "$as_me: loading cache $cache_file" >&6;}
2852 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2853 *) . "./$cache_file";;
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2858 $as_echo "$as_me: creating cache $cache_file" >&6;}
2862 # Check that the precious variables saved in the cache have kept the same
2864 ac_cache_corrupted=false
2865 for ac_var in $ac_precious_vars; do
2866 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2867 eval ac_new_set=\$ac_env_${ac_var}_set
2868 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2869 eval ac_new_val=\$ac_env_${ac_var}_value
2870 case $ac_old_set,$ac_new_set in
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2873 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2874 ac_cache_corrupted=: ;;
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2877 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2878 ac_cache_corrupted=: ;;
2881 if test "x$ac_old_val" != "x$ac_new_val"; then
2882 # differences in whitespace do not lead to failure.
2883 ac_old_val_w=`echo x
$ac_old_val`
2884 ac_new_val_w=`echo x
$ac_new_val`
2885 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2887 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2888 ac_cache_corrupted=:
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2891 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2892 eval $ac_var=\$ac_old_val
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2895 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2897 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2900 # Pass precious variables to config.status.
2901 if test "$ac_new_set" = set; then
2903 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2904 *) ac_arg=$ac_var=$ac_new_val ;;
2906 case " $ac_configure_args " in
2907 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2908 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2912 if $ac_cache_corrupted; then
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2916 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2917 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2919 ## -------------------- ##
2920 ## Main body of script. ##
2921 ## -------------------- ##
2924 ac_cpp='$CPP $CPPFLAGS'
2925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2936 for ac_dir in ../.. "$srcdir"/../..; do
2937 for ac_t in install-sh install.sh shtool; do
2938 if test -f "$ac_dir/$ac_t"; then
2940 ac_install_sh="$ac_aux_dir/$ac_t -c"
2945 if test -z "$ac_aux_dir"; then
2946 as_fn_error "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2949 # These three variables are undocumented and unsupported,
2950 # and are intended to be withdrawn in a future Autoconf release.
2951 # They can cause serious problems if a builder's source tree is in a directory
2952 # whose full name contains unusual characters.
2953 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2954 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2955 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2959 # Make sure we can run config.sub.
2960 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2961 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2964 $as_echo_n "checking build system type... " >&6; }
2965 if test "${ac_cv_build+set}" = set; then :
2966 $as_echo_n "(cached) " >&6
2968 ac_build_alias=$build_alias
2969 test "x$ac_build_alias" = x &&
2970 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2971 test "x$ac_build_alias" = x &&
2972 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2973 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2974 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2978 $as_echo "$ac_cv_build" >&6; }
2979 case $ac_cv_build in
2981 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2984 ac_save_IFS=$IFS; IFS='-'
2990 # Remember, the first character of IFS is used to create $*,
2991 # except with old shells:
2994 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2998 $as_echo_n "checking host system type... " >&6; }
2999 if test "${ac_cv_host+set}" = set; then :
3000 $as_echo_n "(cached) " >&6
3002 if test "x$host_alias" = x; then
3003 ac_cv_host=$ac_cv_build
3005 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3006 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3011 $as_echo "$ac_cv_host" >&6; }
3014 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3017 ac_save_IFS=$IFS; IFS='-'
3023 # Remember, the first character of IFS is used to create $*,
3024 # except with old shells:
3027 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3031 $as_echo_n "checking target system type... " >&6; }
3032 if test "${ac_cv_target+set}" = set; then :
3033 $as_echo_n "(cached) " >&6
3035 if test "x$target_alias" = x; then
3036 ac_cv_target=$ac_cv_host
3038 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3039 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3044 $as_echo "$ac_cv_target" >&6; }
3045 case $ac_cv_target in
3047 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3049 target=$ac_cv_target
3050 ac_save_IFS=$IFS; IFS='-'
3056 # Remember, the first character of IFS is used to create $*,
3057 # except with old shells:
3060 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
3063 # The aliases save the names the user supplied, while $host etc.
3064 # will get canonicalized.
3065 test -n "$target_alias" &&
3066 test "$program_prefix$program_suffix$program_transform_name" = \
3068 program_prefix=${target_alias}-
3070 # Check whether --enable-java-maintainer-mode was given.
3071 if test "${enable_java_maintainer_mode+set}" = set; then :
3072 enableval=$enable_java_maintainer_mode;
3075 if test "$enable_java_maintainer_mode" = yes; then
3076 JAVA_MAINTAINER_MODE_TRUE=
3077 JAVA_MAINTAINER_MODE_FALSE='#'
3079 JAVA_MAINTAINER_MODE_TRUE='#'
3080 JAVA_MAINTAINER_MODE_FALSE=
3084 # We would like to our source tree to be readonly. However when releases or
3085 # pre-releases are generated, the man pages need to be included as they are
3086 # converted from the texi files via perl which we don't require end users to
3088 # Therefore we have --enable-generated-files-in-srcdir to do just that.
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to place generated files in the source directory" >&5
3091 $as_echo_n "checking whether to place generated files in the source directory... " >&6; }
3092 # Check whether --enable-generated-files-in-srcdir was given.
3093 if test "${enable_generated_files_in_srcdir+set}" = set; then :
3094 enableval=$enable_generated_files_in_srcdir; generated_files_in_srcdir=$enableval
3096 generated_files_in_srcdir=no
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $generated_files_in_srcdir" >&5
3101 $as_echo "$generated_files_in_srcdir" >&6; }
3102 if test x$generated_files_in_srcdir = xyes; then
3111 # Find the rest of the source tree framework.
3112 # Default to --enable-multilib
3113 # Check whether --enable-multilib was given.
3114 if test "${enable_multilib+set}" = set; then :
3115 enableval=$enable_multilib; case "$enableval" in
3116 yes) multilib=yes ;;
3118 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3125 # We may get other options which we leave undocumented:
3126 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3127 # See config-ml.in if you want the gory details.
3129 if test "$srcdir" = "."; then
3130 if test "$with_target_subdir" != "."; then
3131 multi_basedir="$srcdir/$with_multisrctop../../.."
3133 multi_basedir="$srcdir/$with_multisrctop../.."
3136 multi_basedir="$srcdir/../.."
3140 # Even if the default multilib is not a cross compilation,
3141 # it may be that some of the other multilibs are.
3142 if test $cross_compiling = no && test $multilib = yes \
3143 && test "x${with_multisubdir}" != x ; then
3144 cross_compiling=maybe
3147 ac_config_commands="$ac_config_commands default-1"
3150 if test -z "${with_multisubdir}"; then
3151 INSTALL_BINARIES_TRUE=
3152 INSTALL_BINARIES_FALSE='#'
3154 INSTALL_BINARIES_TRUE='#'
3155 INSTALL_BINARIES_FALSE=
3159 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
3172 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
3175 CLASSPATH_CONVENIENCE="-no-undefined"
3179 am__api_version='1.11'
3181 # Find a good install program. We prefer a C program (faster),
3182 # so one script is as good as another. But avoid the broken or
3183 # incompatible versions:
3184 # SysV /etc/install, /usr/sbin/install
3185 # SunOS /usr/etc/install
3186 # IRIX /sbin/install
3188 # AmigaOS /C/install, which installs bootblocks on floppy discs
3189 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3190 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3191 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3192 # OS/2's system install, which has a completely different semantic
3193 # ./install, which can be erroneously created by make from ./install.sh.
3194 # Reject install programs that cannot install multiple files.
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3196 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3197 if test -z "$INSTALL"; then
3198 if test "${ac_cv_path_install+set}" = set; then :
3199 $as_echo_n "(cached) " >&6
3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 test -z "$as_dir" && as_dir=.
3206 # Account for people who put trailing slashes in PATH elements.
3207 case $as_dir/ in #((
3208 ./ | .// | /[cC]/* | \
3209 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3210 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3213 # OSF1 and SCO ODT 3.0 have their own names for install.
3214 # Don't use installbsd from OSF since it installs stuff as root
3216 for ac_prog in ginstall scoinst install; do
3217 for ac_exec_ext in '' $ac_executable_extensions; do
3218 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3219 if test $ac_prog = install &&
3220 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3221 # AIX install. It has an incompatible calling convention.
3223 elif test $ac_prog = install &&
3224 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3225 # program-specific install script used by HP pwplus--don't use.
3228 rm -rf conftest.one conftest.two conftest.dir
3229 echo one > conftest.one
3230 echo two > conftest.two
3232 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3233 test -s conftest.one && test -s conftest.two &&
3234 test -s conftest.dir/conftest.one &&
3235 test -s conftest.dir/conftest.two
3237 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3250 rm -rf conftest.one conftest.two conftest.dir
3253 if test "${ac_cv_path_install+set}" = set; then
3254 INSTALL=$ac_cv_path_install
3256 # As a last resort, use the slow shell script. Don't cache a
3257 # value for INSTALL within a source directory, because that will
3258 # break other packages using the cache if that directory is
3259 # removed, or if the value is a relative name.
3260 INSTALL=$ac_install_sh
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3264 $as_echo "$INSTALL" >&6; }
3266 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3267 # It thinks the first close brace ends the variable substitution.
3268 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3270 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3272 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3275 $as_echo_n "checking whether build environment is sane... " >&6; }
3278 echo timestamp > conftest.file
3279 # Reject unsafe characters in $srcdir or the absolute working directory
3280 # name. Accept space and tab only in the latter.
3284 *[\\\"\#\$\&\'\`$am_lf]*)
3285 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3288 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3289 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3292 # Do `set' in a subshell so we don't clobber the current shell's
3293 # arguments. Must try -L first in case configure is actually a
3294 # symlink; some systems play weird games with the mod time of symlinks
3295 # (eg FreeBSD returns the mod time of the symlink's containing
3298 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3299 if test "$*" = "X"; then
3301 set X
`ls -t "$srcdir/configure" conftest.file`
3304 if test "$*" != "X $srcdir/configure conftest.file" \
3305 && test "$*" != "X conftest.file $srcdir/configure"; then
3307 # If neither matched, then we have a broken ls. This can happen
3308 # if, for instance, CONFIG_SHELL is bash and it inherits a
3309 # broken ls alias from the environment. This has actually
3310 # happened. Such a system could not be considered "sane".
3311 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3312 alias in your environment" "$LINENO" 5
3315 test "$2" = conftest.
file
3321 as_fn_error
"newly created file is older than distributed files!
3322 Check your system clock" "$LINENO" 5
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3325 $as_echo "yes" >&6; }
3326 test "$program_prefix" != NONE
&&
3327 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3328 # Use a double $ so make ignores it.
3329 test "$program_suffix" != NONE
&&
3330 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3331 # Double any \ or $.
3332 # By default was `s,x,x', remove it if useless.
3333 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3334 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3336 # expand $ac_aux_dir to an absolute path
3337 am_aux_dir
=`cd $ac_aux_dir && pwd`
3339 if test x
"${MISSING+set}" != xset
; then
3342 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3344 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3347 # Use eval to expand $SHELL
3348 if eval "$MISSING --run true"; then
3349 am_missing_run
="$MISSING --run "
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3353 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3356 if test x
"${install_sh}" != xset
; then
3359 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3361 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3365 # Installed binaries are usually stripped using `strip' when the user
3366 # run `make install-strip'. However `strip' might not be the right
3367 # tool to use in cross-compilation environments, therefore Automake
3368 # will honor the `STRIP' environment variable to overrule this program.
3369 if test "$cross_compiling" != no
; then
3370 if test -n "$ac_tool_prefix"; then
3371 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3372 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3374 $as_echo_n "checking for $ac_word... " >&6; }
3375 if test "${ac_cv_prog_STRIP+set}" = set; then :
3376 $as_echo_n "(cached) " >&6
3378 if test -n "$STRIP"; then
3379 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3385 test -z "$as_dir" && as_dir
=.
3386 for ac_exec_ext
in '' $ac_executable_extensions; do
3387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3388 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3398 STRIP
=$ac_cv_prog_STRIP
3399 if test -n "$STRIP"; then
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3401 $as_echo "$STRIP" >&6; }
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3404 $as_echo "no" >&6; }
3409 if test -z "$ac_cv_prog_STRIP"; then
3411 # Extract the first word of "strip", so it can be a program name with args.
3412 set dummy strip
; ac_word
=$2
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 $as_echo_n "checking for $ac_word... " >&6; }
3415 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3416 $as_echo_n "(cached) " >&6
3418 if test -n "$ac_ct_STRIP"; then
3419 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3425 test -z "$as_dir" && as_dir
=.
3426 for ac_exec_ext
in '' $ac_executable_extensions; do
3427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3428 ac_cv_prog_ac_ct_STRIP
="strip"
3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3439 if test -n "$ac_ct_STRIP"; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3441 $as_echo "$ac_ct_STRIP" >&6; }
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3447 if test "x$ac_ct_STRIP" = x
; then
3450 case $cross_compiling:$ac_tool_warned in
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3454 ac_tool_warned
=yes ;;
3459 STRIP
="$ac_cv_prog_STRIP"
3463 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3466 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3467 if test -z "$MKDIR_P"; then
3468 if test "${ac_cv_path_mkdir+set}" = set; then :
3469 $as_echo_n "(cached) " >&6
3471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3472 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3475 test -z "$as_dir" && as_dir
=.
3476 for ac_prog
in mkdir gmkdir
; do
3477 for ac_exec_ext
in '' $ac_executable_extensions; do
3478 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3479 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3480 'mkdir (GNU coreutils) '* | \
3481 'mkdir (coreutils) '* | \
3482 'mkdir (fileutils) '4.1*)
3483 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3493 if test "${ac_cv_path_mkdir+set}" = set; then
3494 MKDIR_P
="$ac_cv_path_mkdir -p"
3496 # As a last resort, use the slow shell script. Don't cache a
3497 # value for MKDIR_P within a source directory, because that will
3498 # break other packages using the cache if that directory is
3499 # removed, or if the value is a relative name.
3500 test -d .
/--version && rmdir .
/--version
3501 MKDIR_P
="$ac_install_sh -d"
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3505 $as_echo "$MKDIR_P" >&6; }
3509 [\\/$
]* | ?
:[\\/]*) ;;
3510 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3513 for ac_prog
in gawk mawk nawk
awk
3515 # Extract the first word of "$ac_prog", so it can be a program name with args.
3516 set dummy
$ac_prog; ac_word
=$2
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3518 $as_echo_n "checking for $ac_word... " >&6; }
3519 if test "${ac_cv_prog_AWK+set}" = set; then :
3520 $as_echo_n "(cached) " >&6
3522 if test -n "$AWK"; then
3523 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3529 test -z "$as_dir" && as_dir
=.
3530 for ac_exec_ext
in '' $ac_executable_extensions; do
3531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3532 ac_cv_prog_AWK
="$ac_prog"
3533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 if test -n "$AWK"; then
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3545 $as_echo "$AWK" >&6; }
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3548 $as_echo "no" >&6; }
3552 test -n "$AWK" && break
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3556 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3558 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3559 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3560 $as_echo_n "(cached) " >&6
3562 cat >conftest.
make <<\_ACEOF
3565 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3567 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3568 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3570 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3572 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3576 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3578 $as_echo "yes" >&6; }
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3582 $as_echo "no" >&6; }
3583 SET_MAKE
="MAKE=${MAKE-make}"
3586 rm -rf .tst
2>/dev
/null
3587 mkdir .tst
2>/dev
/null
3588 if test -d .tst
; then
3593 rmdir .tst
2>/dev
/null
3595 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3596 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3597 # is not polluted with repeated "-I."
3598 am__isrc
=' -I$(srcdir)'
3599 # test to see if srcdir already configured
3600 if test -f $srcdir/config.status
; then
3601 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3605 # test whether we have cygpath
3606 if test -z "$CYGPATH_W"; then
3607 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3608 CYGPATH_W
='cygpath -w'
3615 # Define the identity of the package.
3620 cat >>confdefs.h
<<_ACEOF
3621 #define PACKAGE "$PACKAGE"
3625 cat >>confdefs.h
<<_ACEOF
3626 #define VERSION "$VERSION"
3629 # Some tools Automake needs.
3631 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3634 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3637 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3640 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3643 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3645 # We need awk for the "check" target. The system "awk" is bad on
3647 # Always define AMTAR for backward compatibility.
3649 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3653 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3654 # Loop over all known methods to create a tar archive until one works.
3655 _am_tools
='gnutar plaintar pax cpio none'
3656 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
3657 # Do not fold the above two line into one, because Tru64 sh and
3658 # Solaris sh will not grok spaces in the rhs of `-'.
3659 for _am_tool
in $_am_tools
3663 for _am_tar
in tar gnutar gtar
;
3665 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3666 ($_am_tar --version) >&5 2>&5
3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); } && break
3671 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
3672 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
3673 am__untar
="$_am_tar -xf -"
3676 # Must skip GNU tar: if it does not support --format= it doesn't create
3677 # ustar tarball either.
3678 (tar --version) >/dev
/null
2>&1 && continue
3679 am__tar
='tar chf - "$$tardir"'
3680 am__tar_
='tar chf - "$tardir"'
3681 am__untar
='tar xf -'
3684 am__tar
='pax -L -x ustar -w "$$tardir"'
3685 am__tar_
='pax -L -x ustar -w "$tardir"'
3689 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
3690 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
3691 am__untar
='cpio -i -H ustar -d'
3700 # If the value was cached, stop now. We just wanted to have am__tar
3701 # and am__untar set.
3702 test -n "${am_cv_prog_tar_ustar}" && break
3704 # tar/untar a dummy directory, and stop if the command works
3707 echo GrepMe
> conftest.dir
/file
3708 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3709 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); }
3714 if test -s conftest.
tar; then
3715 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3716 ($am__untar <conftest.
tar) >&5 2>&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); }
3720 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
3725 if test "${am_cv_prog_tar_ustar+set}" = set; then :
3726 $as_echo_n "(cached) " >&6
3728 am_cv_prog_tar_ustar
=$_am_tool
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3732 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3738 ac_config_headers
="$ac_config_headers include/config.h"
3744 # Check whether --enable-collections was given.
3745 if test "${enable_collections+set}" = set; then :
3746 enableval
=$enable_collections; case x
"${enableval}" in
3747 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
3748 xno
) COMPILE_COLLECTIONS
=no
;;
3749 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
3750 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
3753 COMPILE_COLLECTIONS
=no
3756 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
3757 CREATE_COLLECTIONS_TRUE
=
3758 CREATE_COLLECTIONS_FALSE
='#'
3760 CREATE_COLLECTIONS_TRUE
='#'
3761 CREATE_COLLECTIONS_FALSE
=
3765 # Check whether --enable-jni was given.
3766 if test "${enable_jni+set}" = set; then :
3767 enableval
=$enable_jni; case "${enableval}" in
3768 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
3769 no
) COMPILE_JNI
=no
;;
3770 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
3776 if test "x${COMPILE_JNI}" = xyes
; then
3777 CREATE_JNI_LIBRARIES_TRUE
=
3778 CREATE_JNI_LIBRARIES_FALSE
='#'
3780 CREATE_JNI_LIBRARIES_TRUE
='#'
3781 CREATE_JNI_LIBRARIES_FALSE
=
3785 # Check whether --enable-core-jni was given.
3786 if test "${enable_core_jni+set}" = set; then :
3787 enableval
=$enable_core_jni; case "${enableval}" in
3788 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
3789 no
) COMPILE_CORE_JNI
=no
;;
3790 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
3793 COMPILE_CORE_JNI
=yes
3796 if test "x${COMPILE_CORE_JNI}" = xyes
; then
3797 CREATE_CORE_JNI_LIBRARIES_TRUE
=
3798 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
3800 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
3801 CREATE_CORE_JNI_LIBRARIES_FALSE
=
3805 # Check whether --enable-default-preferences-peer was given.
3806 if test "${enable_default_preferences_peer+set}" = set; then :
3807 enableval
=$enable_default_preferences_peer; case "${enableval}" in
3808 file) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.FileBasedFactory
;;
3809 gconf|
yes|true
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
;;
3810 memory
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.MemoryBasedFactory
;;
3811 no|false
) as_fn_error
"bad value '${enableval}' for --enable-default-preferences-peer" "$LINENO" 5 ;;
3812 *) DEFAULT_PREFS_PEER
=${enableval} ;;
3815 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
3819 # Check whether --enable-gconf-peer was given.
3820 if test "${enable_gconf_peer+set}" = set; then :
3821 enableval
=$enable_gconf_peer; case "${enableval}" in
3822 yes) COMPILE_GCONF_PEER
=yes ;;
3823 no
) COMPILE_GCONF_PEER
=no
;;
3824 *) COMPILE_GCONF_PEER
=yes ;;
3827 COMPILE_GCONF_PEER
=yes
3830 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
3831 CREATE_GCONF_PEER_LIBRARIES_TRUE
=
3832 CREATE_GCONF_PEER_LIBRARIES_FALSE
='#'
3834 CREATE_GCONF_PEER_LIBRARIES_TRUE
='#'
3835 CREATE_GCONF_PEER_LIBRARIES_FALSE
=
3839 # Check whether --enable-gconf-peers was given.
3840 if test "${enable_gconf_peers+set}" = set; then :
3841 enableval
=$enable_gconf_peers; as_fn_error
"No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" "$LINENO" 5
3845 # Check whether --enable-gstreamer-peer was given.
3846 if test "${enable_gstreamer_peer+set}" = set; then :
3847 enableval
=$enable_gstreamer_peer; case "${enableval}" in
3848 yes) COMPILE_GSTREAMER_PEER
=yes ;;
3849 no
) COMPILE_GSTREAMER_PEER
=no
;;
3850 *) COMPILE_GSTREAMER_PEER
=default
;;
3853 COMPILE_GSTREAMER_PEER
=default
3856 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
3857 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
=
3858 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
='#'
3860 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
='#'
3861 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
=
3865 # Check whether --enable-gstreamer-peers was given.
3866 if test "${enable_gstreamer_peers+set}" = set; then :
3867 enableval
=$enable_gstreamer_peers; as_fn_error
"No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" "$LINENO" 5
3871 # Check whether --enable-Werror was given.
3872 if test "${enable_Werror+set}" = set; then :
3873 enableval
=$enable_Werror; case "${enableval}" in
3874 yes) ENABLE_WERROR
=yes ;;
3875 no
) ENABLE_WERROR
=no
;;
3876 *) ENABLE_WERROR
=default
;;
3879 ENABLE_WERROR
=default
3883 # Check whether --enable-default-toolkit was given.
3884 if test "${enable_default_toolkit+set}" = set; then :
3885 enableval
=$enable_default_toolkit;
3888 default_toolkit
=$enable_default_toolkit
3889 if test "$default_toolkit" = ""; then
3890 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
3894 # Check whether --enable-xmlj was given.
3895 if test "${enable_xmlj+set}" = set; then :
3896 enableval
=$enable_xmlj; case "${enableval}" in
3897 yes) COMPILE_XMLJ
=yes ;;
3898 no
) COMPILE_XMLJ
=no
;;
3899 *) COMPILE_XMLJ
=no
;;
3905 if test "x${COMPILE_XMLJ}" = xyes
; then
3906 CREATE_XMLJ_LIBRARY_TRUE
=
3907 CREATE_XMLJ_LIBRARY_FALSE
='#'
3909 CREATE_XMLJ_LIBRARY_TRUE
='#'
3910 CREATE_XMLJ_LIBRARY_FALSE
=
3914 DEPDIR
="${am__leading_dot}deps"
3916 ac_config_commands
="$ac_config_commands depfiles"
3919 am_make
=${MAKE-make}
3920 cat > confinc
<< 'END'
3922 @
echo this is the am__doit target
3925 # If we don't find an include directive, just comment out the code.
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3927 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3931 # First try GNU make style include.
3932 echo "include confinc" > confmf
3933 # Ignore all kinds of additional output from `make'.
3934 case `$am_make -s -f confmf 2> /dev/null` in #(
3935 *the\ am__doit\ target
*)
3941 # Now try BSD make style include.
3942 if test "$am__include" = "#"; then
3943 echo '.include "confinc"' > confmf
3944 case `$am_make -s -f confmf 2> /dev/null` in #(
3945 *the\ am__doit\ target
*)
3946 am__include
=.include
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3955 $as_echo "$_am_result" >&6; }
3956 rm -f confinc confmf
3958 # Check whether --enable-dependency-tracking was given.
3959 if test "${enable_dependency_tracking+set}" = set; then :
3960 enableval
=$enable_dependency_tracking;
3963 if test "x$enable_dependency_tracking" != xno
; then
3964 am_depcomp
="$ac_aux_dir/depcomp"
3967 if test "x$enable_dependency_tracking" != xno; then
3977 ac_cpp
='$CPP $CPPFLAGS'
3978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3981 if test -n "$ac_tool_prefix"; then
3982 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3983 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3985 $as_echo_n "checking for $ac_word... " >&6; }
3986 if test "${ac_cv_prog_CC+set}" = set; then :
3987 $as_echo_n "(cached) " >&6
3989 if test -n "$CC"; then
3990 ac_cv_prog_CC
="$CC" # Let the user override the test.
3992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3996 test -z "$as_dir" && as_dir
=.
3997 for ac_exec_ext
in '' $ac_executable_extensions; do
3998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3999 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4010 if test -n "$CC"; then
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4012 $as_echo "$CC" >&6; }
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4015 $as_echo "no" >&6; }
4020 if test -z "$ac_cv_prog_CC"; then
4022 # Extract the first word of "gcc", so it can be a program name with args.
4023 set dummy gcc
; ac_word
=$2
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4025 $as_echo_n "checking for $ac_word... " >&6; }
4026 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4027 $as_echo_n "(cached) " >&6
4029 if test -n "$ac_ct_CC"; then
4030 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4036 test -z "$as_dir" && as_dir
=.
4037 for ac_exec_ext
in '' $ac_executable_extensions; do
4038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4039 ac_cv_prog_ac_ct_CC
="gcc"
4040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4050 if test -n "$ac_ct_CC"; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4052 $as_echo "$ac_ct_CC" >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4055 $as_echo "no" >&6; }
4058 if test "x$ac_ct_CC" = x
; then
4061 case $cross_compiling:$ac_tool_warned in
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4065 ac_tool_warned
=yes ;;
4073 if test -z "$CC"; then
4074 if test -n "$ac_tool_prefix"; then
4075 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4076 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4078 $as_echo_n "checking for $ac_word... " >&6; }
4079 if test "${ac_cv_prog_CC+set}" = set; then :
4080 $as_echo_n "(cached) " >&6
4082 if test -n "$CC"; then
4083 ac_cv_prog_CC
="$CC" # Let the user override the test.
4085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4089 test -z "$as_dir" && as_dir
=.
4090 for ac_exec_ext
in '' $ac_executable_extensions; do
4091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4092 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4103 if test -n "$CC"; then
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4105 $as_echo "$CC" >&6; }
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4108 $as_echo "no" >&6; }
4114 if test -z "$CC"; then
4115 # Extract the first word of "cc", so it can be a program name with args.
4116 set dummy cc
; ac_word
=$2
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4118 $as_echo_n "checking for $ac_word... " >&6; }
4119 if test "${ac_cv_prog_CC+set}" = set; then :
4120 $as_echo_n "(cached) " >&6
4122 if test -n "$CC"; then
4123 ac_cv_prog_CC
="$CC" # Let the user override the test.
4126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4130 test -z "$as_dir" && as_dir
=.
4131 for ac_exec_ext
in '' $ac_executable_extensions; do
4132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4133 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4134 ac_prog_rejected
=yes
4138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 if test $ac_prog_rejected = yes; then
4146 # We found a bogon in the path, so make sure we never use it.
4147 set dummy
$ac_cv_prog_CC
4149 if test $# != 0; then
4150 # We chose a different compiler from the bogus one.
4151 # However, it has the same basename, so the bogon will be chosen
4152 # first if we set CC to just the basename; use the full file name.
4154 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4160 if test -n "$CC"; then
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4162 $as_echo "$CC" >&6; }
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4165 $as_echo "no" >&6; }
4170 if test -z "$CC"; then
4171 if test -n "$ac_tool_prefix"; then
4172 for ac_prog
in cl.exe
4174 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4175 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4177 $as_echo_n "checking for $ac_word... " >&6; }
4178 if test "${ac_cv_prog_CC+set}" = set; then :
4179 $as_echo_n "(cached) " >&6
4181 if test -n "$CC"; then
4182 ac_cv_prog_CC
="$CC" # Let the user override the test.
4184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4188 test -z "$as_dir" && as_dir
=.
4189 for ac_exec_ext
in '' $ac_executable_extensions; do
4190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4191 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4202 if test -n "$CC"; then
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4204 $as_echo "$CC" >&6; }
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4207 $as_echo "no" >&6; }
4211 test -n "$CC" && break
4214 if test -z "$CC"; then
4216 for ac_prog
in cl.exe
4218 # Extract the first word of "$ac_prog", so it can be a program name with args.
4219 set dummy
$ac_prog; ac_word
=$2
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221 $as_echo_n "checking for $ac_word... " >&6; }
4222 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4223 $as_echo_n "(cached) " >&6
4225 if test -n "$ac_ct_CC"; then
4226 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir
=.
4233 for ac_exec_ext
in '' $ac_executable_extensions; do
4234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4235 ac_cv_prog_ac_ct_CC
="$ac_prog"
4236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4245 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4246 if test -n "$ac_ct_CC"; then
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4248 $as_echo "$ac_ct_CC" >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4255 test -n "$ac_ct_CC" && break
4258 if test "x$ac_ct_CC" = x
; then
4261 case $cross_compiling:$ac_tool_warned in
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4265 ac_tool_warned
=yes ;;
4274 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4276 as_fn_error
"no acceptable C compiler found in \$PATH
4277 See \`config.log' for more details." "$LINENO" 5; }
4279 # Provide some information about the compiler.
4280 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4283 for ac_option
in --version -v -V -qversion; do
4284 { { ac_try
="$ac_compiler $ac_option >&5"
4286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4287 *) ac_try_echo=$ac_try;;
4289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4290 $as_echo "$ac_try_echo"; } >&5
4291 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4293 if test -s conftest.err; then
4295 ... rest of stderr output deleted ...
4296 10q' conftest.err >conftest.er1
4297 cat conftest.er1 >&5
4298 rm -f conftest.er1 conftest.err
4300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4301 test $ac_status = 0; }
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4317 (eval $ac_link) 2>&5
4319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4320 test $ac_status = 0; }; then :
4325 if test x$gcc_no_link = xyes; then
4326 # Setting cross_compile will disable run tests; it will
4327 # also disable AC_CHECK_FILE but that's generally
4328 # correct if we can't link.
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4343 ac_clean_files_save=$ac_clean_files
4344 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4345 # Try to create an executable without -o first, disregard a.out.
4346 # It will help us diagnose broken compilers, and finding out an intuition
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4349 $as_echo_n "checking for C compiler default output file name... " >&6; }
4350 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4352 # The possible output files:
4353 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4356 for ac_file in $ac_files
4359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4360 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4365 if { { ac_try="$ac_link_default"
4367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4368 *) ac_try_echo
=$ac_try;;
4370 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4371 $as_echo "$ac_try_echo"; } >&5
4372 (eval "$ac_link_default") 2>&5
4374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4375 test $ac_status = 0; }; then :
4376 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4377 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4378 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4379 # so that the user can short-circuit this test for compilers unknown to
4381 for ac_file
in $ac_files ''
4383 test -f "$ac_file" ||
continue
4385 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4388 # We found the default executable, but exeext='' is most
4392 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4394 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4396 # We set ac_cv_exeext here because the later test for it is not
4397 # safe: cross compilers may not add the suffix if given an `-o'
4398 # argument, so we may need to know it at that point already.
4399 # Even if this section looks crufty: it has the advantage of
4406 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4412 $as_echo "$ac_file" >&6; }
4413 if test -z "$ac_file"; then :
4414 $as_echo "$as_me: failed program was:" >&5
4415 sed 's/^/| /' conftest.
$ac_ext >&5
4417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4419 { as_fn_set_status
77
4420 as_fn_error
"C compiler cannot create executables
4421 See \`config.log' for more details." "$LINENO" 5; }; }
4423 ac_exeext
=$ac_cv_exeext
4425 # Check that the compiler produces executables we can run. If not, either
4426 # the compiler is broken, or we cross compile.
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4428 $as_echo_n "checking whether the C compiler works... " >&6; }
4429 # If not cross compiling, check that we can run a simple program.
4430 if test "$cross_compiling" != yes; then
4431 if { ac_try
='./$ac_file'
4432 { { case "(($ac_try" in
4433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4434 *) ac_try_echo=$ac_try;;
4436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4437 $as_echo "$ac_try_echo"; } >&5
4438 (eval "$ac_try") 2>&5
4440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4441 test $ac_status = 0; }; }; then
4444 if test "$cross_compiling" = maybe; then
4447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4449 as_fn_error "cannot run C compiled programs.
4450 If you meant to cross compile
, use \
`--host'.
4451 See \`config.log
' for more details." "$LINENO" 5; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4456 $as_echo "yes" >&6; }
4458 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4459 ac_clean_files=$ac_clean_files_save
4460 # Check that the compiler produces executables we can run. If not, either
4461 # the compiler is broken, or we cross compile.
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4463 $as_echo_n "checking whether we are cross compiling... " >&6; }
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4465 $as_echo "$cross_compiling" >&6; }
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4468 $as_echo_n "checking for suffix of executables... " >&6; }
4469 if { { ac_try="$ac_link"
4471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4472 *) ac_try_echo=$ac_try;;
4474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4475 $as_echo "$ac_try_echo"; } >&5
4476 (eval "$ac_link") 2>&5
4478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4479 test $ac_status = 0; }; then :
4480 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4481 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4482 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4484 for ac_file
in conftest.exe conftest conftest.
*; do
4485 test -f "$ac_file" ||
continue
4487 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4488 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4496 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4497 See \`config.log' for more details." "$LINENO" 5; }
4499 rm -f conftest
$ac_cv_exeext
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4501 $as_echo "$ac_cv_exeext" >&6; }
4503 rm -f conftest.
$ac_ext
4504 EXEEXT
=$ac_cv_exeext
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4508 $as_echo_n "checking for suffix of object files... " >&6; }
4509 if test "${ac_cv_objext+set}" = set; then :
4510 $as_echo_n "(cached) " >&6
4512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4513 /* end confdefs.h. */
4523 rm -f conftest.o conftest.obj
4524 if { { ac_try
="$ac_compile"
4526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4527 *) ac_try_echo=$ac_try;;
4529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4530 $as_echo "$ac_try_echo"; } >&5
4531 (eval "$ac_compile") 2>&5
4533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4534 test $ac_status = 0; }; then :
4535 for ac_file in conftest.o conftest.obj conftest.*; do
4536 test -f "$ac_file" || continue;
4538 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4539 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4544 $as_echo "$as_me: failed program was:" >&5
4545 sed 's/^/| /' conftest.$ac_ext >&5
4547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4549 as_fn_error "cannot compute suffix of object files
: cannot compile
4550 See \
`config.log' for more details." "$LINENO" 5; }
4552 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4555 $as_echo "$ac_cv_objext" >&6; }
4556 OBJEXT=$ac_cv_objext
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4559 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4560 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4577 if ac_fn_c_try_compile "$LINENO"; then :
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4587 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4588 if test $ac_compiler_gnu = yes; then
4593 ac_test_CFLAGS=${CFLAGS+set}
4594 ac_save_CFLAGS=$CFLAGS
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4596 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4597 if test "${ac_cv_prog_cc_g+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4600 ac_save_c_werror_flag=$ac_c_werror_flag
4601 ac_c_werror_flag=yes
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4615 if ac_fn_c_try_compile "$LINENO"; then :
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4630 if ac_fn_c_try_compile "$LINENO"; then :
4633 ac_c_werror_flag=$ac_save_c_werror_flag
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4646 if ac_fn_c_try_compile "$LINENO"; then :
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 ac_c_werror_flag=$ac_save_c_werror_flag
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4657 $as_echo "$ac_cv_prog_cc_g" >&6; }
4658 if test "$ac_test_CFLAGS" = set; then
4659 CFLAGS=$ac_save_CFLAGS
4660 elif test $ac_cv_prog_cc_g = yes; then
4661 if test "$GCC" = yes; then
4667 if test "$GCC" = yes; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4674 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4675 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4676 $as_echo_n "(cached) " >&6
4678 ac_cv_prog_cc_c89=no
4680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4684 #include <sys/types.h>
4685 #include <sys/stat.h>
4686 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4687 struct buf { int x; };
4688 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4689 static char *e (p, i)
4695 static char *f (char * (*g) (char **, int), char **p, ...)
4700 s = g (p, va_arg (v,int));
4705 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4706 function prototypes and stuff, but not '\xHH' hex character constants.
4707 These don't provoke an error unfortunately, instead are silently treated
4708 as 'x'. The following induces an error, until -std is added to get
4709 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4710 array size at least. It's necessary to write '\x00'==0 to get something
4711 that's true only with -std. */
4712 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4714 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4715 inside strings and character constants. */
4717 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4719 int test (int i, double x);
4720 struct s1 {int (*f) (int a);};
4721 struct s2 {int (*f) (double a);};
4722 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4728 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4733 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4734 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4736 CC="$ac_save_CC $ac_arg"
4737 if ac_fn_c_try_compile "$LINENO"; then :
4738 ac_cv_prog_cc_c89=$ac_arg
4740 rm -f core conftest.err conftest.$ac_objext
4741 test "x$ac_cv_prog_cc_c89" != "xno" && break
4743 rm -f conftest.$ac_ext
4748 case "x$ac_cv_prog_cc_c89" in
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4751 $as_echo "none needed" >&6; } ;;
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4754 $as_echo "unsupported" >&6; } ;;
4756 CC="$CC $ac_cv_prog_cc_c89"
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4758 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4760 if test "x$ac_cv_prog_cc_c89" != xno; then :
4765 ac_cpp='$CPP $CPPFLAGS'
4766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4770 depcc="$CC" am_compiler_list=
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4773 $as_echo_n "checking dependency style of $depcc... " >&6; }
4774 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4775 $as_echo_n "(cached) " >&6
4777 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4778 # We make a subdir and do the tests there. Otherwise we can end up
4779 # making bogus files that we don't know about and never remove. For
4780 # instance it was reported that on HP-UX the gcc test will end up
4781 # making a dummy file named `D
' -- because `-MD' means
`put the output
4784 # Copy depcomp to subdir because otherwise we won't find it if we're
4785 # using a relative directory.
4786 cp "$am_depcomp" conftest.dir
4788 # We will build objects and dependencies in a subdirectory because
4789 # it helps to detect inapplicable dependency modes. For instance
4790 # both Tru64's cc and ICC support -MD to output dependencies as a
4791 # side effect of compilation, but ICC will put the dependencies in
4792 # the current directory while Tru64 will put them in the object
4796 am_cv_CC_dependencies_compiler_type=none
4797 if test "$am_compiler_list" = ""; then
4798 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4801 case " $depcc " in #(
4802 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4805 for depmode in $am_compiler_list; do
4806 # Setup a source with many dependencies, because some compilers
4807 # like to wrap large dependency lists on column 80 (with \), and
4808 # we should not choose a depcomp mode which is confused by this.
4810 # We need to recreate these files for each test, as the compiler may
4811 # overwrite some of them when testing with obscure command lines.
4812 # This happens at least with the AIX C compiler.
4814 for i in 1 2 3 4 5 6; do
4815 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4816 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4817 # Solaris 8's
{/usr
,}/bin
/sh.
4818 touch sub
/conftst
$i.h
4820 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4822 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4823 # mode. It turns out that the SunPro C++ compiler does not properly
4824 # handle `-M -o', and we need to detect this. Also, some Intel
4825 # versions had trouble with output in subdirs
4826 am__obj
=sub
/conftest.
${OBJEXT-o}
4827 am__minus_obj
="-o $am__obj"
4830 # This depmode causes a compiler race in universal mode.
4831 test "$am__universal" = false ||
continue
4834 # after this tag, mechanisms are not by side-effect, so they'll
4835 # only be used when explicitly requested
4836 if test "x$enable_dependency_tracking" = xyes
; then
4842 msvisualcpp | msvcmsys
)
4843 # This compiler won't grok `-c -o', but also, the minuso test has
4844 # not run yet. These depmodes are late enough in the game, and
4845 # so weak that their functioning should not be impacted.
4846 am__obj
=conftest.
${OBJEXT-o}
4851 if depmode
=$depmode \
4852 source=sub
/conftest.c object
=$am__obj \
4853 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4854 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4855 >/dev
/null
2>conftest.err
&&
4856 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4857 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4858 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4859 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4860 # icc doesn't choke on unknown options, it will just issue warnings
4861 # or remarks (even with -Werror). So we grep stderr for any message
4862 # that says an option was ignored or not supported.
4863 # When given -MP, icc 7.0 and 7.1 complain thusly:
4864 # icc: Command line warning: ignoring option '-M'; no argument required
4865 # The diagnosis changed in icc 8.0:
4866 # icc: Command line remark: option '-MP' not supported
4867 if (grep 'ignoring option' conftest.err ||
4868 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4869 am_cv_CC_dependencies_compiler_type
=$depmode
4878 am_cv_CC_dependencies_compiler_type
=none
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4883 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4884 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4887 test "x$enable_dependency_tracking" != xno \
4888 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4890 am__fastdepCC_FALSE
='#'
4892 am__fastdepCC_TRUE
='#'
4893 am__fastdepCC_FALSE
=
4899 ac_cpp
='$CPP $CPPFLAGS'
4900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4904 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4905 # On Suns, sometimes $CPP names a directory.
4906 if test -n "$CPP" && test -d "$CPP"; then
4909 if test -z "$CPP"; then
4910 if test "${ac_cv_prog_CPP+set}" = set; then :
4911 $as_echo_n "(cached) " >&6
4913 # Double quotes because CPP needs to be expanded
4914 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4917 for ac_c_preproc_warn_flag
in '' yes
4919 # Use a header file that comes with gcc, so configuring glibc
4920 # with a fresh cross-compiler works.
4921 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4922 # <limits.h> exists even on freestanding compilers.
4923 # On the NeXT, cc -E runs the code through the compiler's parser,
4924 # not just through cpp. "Syntax error" is here to catch this case.
4925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4928 # include <limits.h>
4930 # include <assert.h>
4934 if ac_fn_c_try_cpp
"$LINENO"; then :
4937 # Broken: fails on valid input.
4940 rm -f conftest.err conftest.
$ac_ext
4942 # OK, works on sane cases. Now check whether nonexistent headers
4943 # can be detected and how.
4944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4946 #include <ac_nonexistent.h>
4948 if ac_fn_c_try_cpp
"$LINENO"; then :
4949 # Broken: success on invalid input.
4952 # Passes both tests.
4956 rm -f conftest.err conftest.
$ac_ext
4959 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4960 rm -f conftest.err conftest.
$ac_ext
4961 if $ac_preproc_ok; then :
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4974 $as_echo "$CPP" >&6; }
4976 for ac_c_preproc_warn_flag
in '' yes
4978 # Use a header file that comes with gcc, so configuring glibc
4979 # with a fresh cross-compiler works.
4980 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4981 # <limits.h> exists even on freestanding compilers.
4982 # On the NeXT, cc -E runs the code through the compiler's parser,
4983 # not just through cpp. "Syntax error" is here to catch this case.
4984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4985 /* end confdefs.h. */
4987 # include <limits.h>
4989 # include <assert.h>
4993 if ac_fn_c_try_cpp
"$LINENO"; then :
4996 # Broken: fails on valid input.
4999 rm -f conftest.err conftest.
$ac_ext
5001 # OK, works on sane cases. Now check whether nonexistent headers
5002 # can be detected and how.
5003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5005 #include <ac_nonexistent.h>
5007 if ac_fn_c_try_cpp
"$LINENO"; then :
5008 # Broken: success on invalid input.
5011 # Passes both tests.
5015 rm -f conftest.err conftest.
$ac_ext
5018 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5019 rm -f conftest.err conftest.
$ac_ext
5020 if $ac_preproc_ok; then :
5023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5025 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5026 See \`config.log' for more details." "$LINENO" 5; }
5030 ac_cpp
='$CPP $CPPFLAGS'
5031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5037 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5038 if test "${ac_cv_path_GREP+set}" = set; then :
5039 $as_echo_n "(cached) " >&6
5041 if test -z "$GREP"; then
5042 ac_path_GREP_found
=false
5043 # Loop through the user's path and test for each of PROGNAME-LIST
5044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5045 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5048 test -z "$as_dir" && as_dir
=.
5049 for ac_prog
in grep ggrep
; do
5050 for ac_exec_ext
in '' $ac_executable_extensions; do
5051 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5052 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5053 # Check for GNU ac_path_GREP and select it if it is found.
5054 # Check for GNU $ac_path_GREP
5055 case `"$ac_path_GREP" --version 2>&1` in
5057 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5060 $as_echo_n 0123456789 >"conftest.in"
5063 cat "conftest.in" "conftest.in" >"conftest.tmp"
5064 mv "conftest.tmp" "conftest.in"
5065 cp "conftest.in" "conftest.nl"
5066 $as_echo 'GREP' >> "conftest.nl"
5067 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5068 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5069 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5070 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5071 # Best one so far, save it but keep looking for a better one
5072 ac_cv_path_GREP
="$ac_path_GREP"
5073 ac_path_GREP_max
=$ac_count
5075 # 10*(2^10) chars as input seems more than enough
5076 test $ac_count -gt 10 && break
5078 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5081 $ac_path_GREP_found && break 3
5086 if test -z "$ac_cv_path_GREP"; then
5087 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5090 ac_cv_path_GREP
=$GREP
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5095 $as_echo "$ac_cv_path_GREP" >&6; }
5096 GREP
="$ac_cv_path_GREP"
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5100 $as_echo_n "checking for egrep... " >&6; }
5101 if test "${ac_cv_path_EGREP+set}" = set; then :
5102 $as_echo_n "(cached) " >&6
5104 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5105 then ac_cv_path_EGREP
="$GREP -E"
5107 if test -z "$EGREP"; then
5108 ac_path_EGREP_found
=false
5109 # Loop through the user's path and test for each of PROGNAME-LIST
5110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5111 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5114 test -z "$as_dir" && as_dir
=.
5115 for ac_prog
in egrep; do
5116 for ac_exec_ext
in '' $ac_executable_extensions; do
5117 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5118 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5119 # Check for GNU ac_path_EGREP and select it if it is found.
5120 # Check for GNU $ac_path_EGREP
5121 case `"$ac_path_EGREP" --version 2>&1` in
5123 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5126 $as_echo_n 0123456789 >"conftest.in"
5129 cat "conftest.in" "conftest.in" >"conftest.tmp"
5130 mv "conftest.tmp" "conftest.in"
5131 cp "conftest.in" "conftest.nl"
5132 $as_echo 'EGREP' >> "conftest.nl"
5133 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5134 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5135 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5136 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5137 # Best one so far, save it but keep looking for a better one
5138 ac_cv_path_EGREP
="$ac_path_EGREP"
5139 ac_path_EGREP_max
=$ac_count
5141 # 10*(2^10) chars as input seems more than enough
5142 test $ac_count -gt 10 && break
5144 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5147 $ac_path_EGREP_found && break 3
5152 if test -z "$ac_cv_path_EGREP"; then
5153 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5156 ac_cv_path_EGREP
=$EGREP
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5162 $as_echo "$ac_cv_path_EGREP" >&6; }
5163 EGREP
="$ac_cv_path_EGREP"
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5167 $as_echo_n "checking for ANSI C header files... " >&6; }
5168 if test "${ac_cv_header_stdc+set}" = set; then :
5169 $as_echo_n "(cached) " >&6
5171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5172 /* end confdefs.h. */
5186 if ac_fn_c_try_compile
"$LINENO"; then :
5187 ac_cv_header_stdc
=yes
5189 ac_cv_header_stdc
=no
5191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5193 if test $ac_cv_header_stdc = yes; then
5194 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5196 /* end confdefs.h. */
5200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5201 $EGREP "memchr" >/dev
/null
2>&1; then :
5204 ac_cv_header_stdc
=no
5210 if test $ac_cv_header_stdc = yes; then
5211 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5213 /* end confdefs.h. */
5217 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5218 $EGREP "free" >/dev
/null
2>&1; then :
5221 ac_cv_header_stdc
=no
5227 if test $ac_cv_header_stdc = yes; then
5228 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5229 if test "$cross_compiling" = yes; then :
5232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5233 /* end confdefs.h. */
5236 #if ((' ' & 0x0FF) == 0x020)
5237 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5238 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5240 # define ISLOWER(c) \
5241 (('a' <= (c) && (c) <= 'i') \
5242 || ('j' <= (c) && (c) <= 'r') \
5243 || ('s' <= (c) && (c) <= 'z'))
5244 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5247 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5252 for (i = 0; i < 256; i++)
5253 if (XOR (islower (i), ISLOWER (i))
5254 || toupper (i) != TOUPPER (i))
5259 if ac_fn_c_try_run
"$LINENO"; then :
5262 ac_cv_header_stdc
=no
5264 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5265 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5271 $as_echo "$ac_cv_header_stdc" >&6; }
5272 if test $ac_cv_header_stdc = yes; then
5274 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5278 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5279 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5280 inttypes.h stdint.h unistd.h
5282 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5283 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5285 eval as_val
=\$
$as_ac_Header
5286 if test "x$as_val" = x
""yes; then :
5287 cat >>confdefs.h
<<_ACEOF
5288 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5296 # Check whether --enable-alsa was given.
5297 if test "${enable_alsa+set}" = set; then :
5298 enableval
=$enable_alsa; case "${enableval}" in
5299 yes) COMPILE_ALSA
=yes ;;
5300 no
) COMPILE_ALSA
=no
;;
5301 *) COMPILE_ALSA
=yes ;;
5304 for ac_header
in alsa
/asoundlib.h
5306 ac_fn_c_check_header_mongrel
"$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
5307 if test "x$ac_cv_header_alsa_asoundlib_h" = x
""yes; then :
5308 cat >>confdefs.h
<<_ACEOF
5309 #define HAVE_ALSA_ASOUNDLIB_H 1
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_seq_open in -lasound" >&5
5312 $as_echo_n "checking for snd_seq_open in -lasound... " >&6; }
5313 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then :
5314 $as_echo_n "(cached) " >&6
5316 ac_check_lib_save_LIBS
=$LIBS
5317 LIBS
="-lasound $LIBS"
5318 if test x
$gcc_no_link = xyes
; then
5319 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5324 /* Override any GCC internal prototype to avoid an error.
5325 Use char because int might match the return type of a GCC
5326 builtin and then its argument prototype would still apply. */
5330 char snd_seq_open ();
5334 return snd_seq_open ();
5339 if ac_fn_c_try_link
"$LINENO"; then :
5340 ac_cv_lib_asound_snd_seq_open
=yes
5342 ac_cv_lib_asound_snd_seq_open
=no
5344 rm -f core conftest.err conftest.
$ac_objext \
5345 conftest
$ac_exeext conftest.
$ac_ext
5346 LIBS
=$ac_check_lib_save_LIBS
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_seq_open" >&5
5349 $as_echo "$ac_cv_lib_asound_snd_seq_open" >&6; }
5350 if test "x$ac_cv_lib_asound_snd_seq_open" = x
""yes; then :
5364 if test "x${COMPILE_ALSA}" = xyes
; then
5365 CREATE_ALSA_LIBRARIES_TRUE
=
5366 CREATE_ALSA_LIBRARIES_FALSE
='#'
5368 CREATE_ALSA_LIBRARIES_TRUE
='#'
5369 CREATE_ALSA_LIBRARIES_FALSE
=
5373 # Check whether --enable-dssi was given.
5374 if test "${enable_dssi+set}" = set; then :
5375 enableval
=$enable_dssi; case "${enableval}" in
5376 yes) COMPILE_DSSI
=yes ;;
5377 no
) COMPILE_DSSI
=no
;;
5378 *) COMPILE_DSSI
=yes ;;
5382 for ac_header
in dssi.h
5384 ac_fn_c_check_header_mongrel
"$LINENO" "dssi.h" "ac_cv_header_dssi_h" "$ac_includes_default"
5385 if test "x$ac_cv_header_dssi_h" = x
""yes; then :
5386 cat >>confdefs.h
<<_ACEOF
5387 #define HAVE_DSSI_H 1
5390 for ac_header
in jack
/jack.h
5392 ac_fn_c_check_header_mongrel
"$LINENO" "jack/jack.h" "ac_cv_header_jack_jack_h" "$ac_includes_default"
5393 if test "x$ac_cv_header_jack_jack_h" = x
""yes; then :
5394 cat >>confdefs.h
<<_ACEOF
5395 #define HAVE_JACK_JACK_H 1
5408 if test "x${COMPILE_DSSI}" = xyes
; then
5409 CREATE_DSSI_LIBRARIES_TRUE
=
5410 CREATE_DSSI_LIBRARIES_FALSE
='#'
5412 CREATE_DSSI_LIBRARIES_TRUE
='#'
5413 CREATE_DSSI_LIBRARIES_FALSE
=
5417 # Check whether --enable-gtk-peer was given.
5418 if test "${enable_gtk_peer+set}" = set; then :
5419 enableval
=$enable_gtk_peer; case "${enableval}" in
5420 yes) COMPILE_GTK_PEER
=yes ;;
5421 no
) COMPILE_GTK_PEER
=no
;;
5422 *) COMPILE_GTK_PEER
=yes ;;
5425 COMPILE_GTK_PEER
=yes
5428 if test "x${COMPILE_GTK_PEER}" = xyes
; then
5429 CREATE_GTK_PEER_LIBRARIES_TRUE
=
5430 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
5432 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
5433 CREATE_GTK_PEER_LIBRARIES_FALSE
=
5437 # Check whether --enable-gtk-peers was given.
5438 if test "${enable_gtk_peers+set}" = set; then :
5439 enableval
=$enable_gtk_peers; as_fn_error
"No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" "$LINENO" 5
5443 # Check whether --enable-qt-peer was given.
5444 if test "${enable_qt_peer+set}" = set; then :
5445 enableval
=$enable_qt_peer; case "${enableval}" in
5446 yes) COMPILE_QT_PEER
=yes ;;
5447 no
) COMPILE_QT_PEER
=no
;;
5448 *) COMPILE_QT_PEER
=yes ;;
5454 if test "x${COMPILE_QT_PEER}" = xyes
; then
5455 CREATE_QT_PEER_LIBRARIES_TRUE
=
5456 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
5458 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
5459 CREATE_QT_PEER_LIBRARIES_FALSE
=
5463 # Check whether --enable-plugin was given.
5464 if test "${enable_plugin+set}" = set; then :
5465 enableval
=$enable_plugin; case "${enableval}" in
5466 yes) COMPILE_PLUGIN
=yes ;;
5467 no
) COMPILE_PLUGIN
=no
;;
5468 *) COMPILE_PLUGIN
=yes ;;
5474 if test "x${COMPILE_PLUGIN}" = xyes
; then
5476 CREATE_PLUGIN_FALSE
='#'
5478 CREATE_PLUGIN_TRUE
='#'
5479 CREATE_PLUGIN_FALSE
=
5483 # Check whether --enable-gmp was given.
5484 if test "${enable_gmp+set}" = set; then :
5485 enableval
=$enable_gmp; case "${enableval}" in
5486 yes|true
) COMPILE_GMP
=yes ;;
5487 no|false
) COMPILE_GMP
=no
;;
5488 *) COMPILE_GMP
=yes ;;
5495 # Check whether --enable-gjdoc was given.
5496 if test "${enable_gjdoc+set}" = set; then :
5497 enableval
=$enable_gjdoc; case "${enableval}" in
5498 yes) COMPILE_GJDOC
=yes ;;
5499 no
) COMPILE_GJDOC
=no
;;
5500 *) COMPILE_GJDOC
=yes ;;
5506 if test "x${COMPILE_GJDOC}" = xyes
; then
5508 CREATE_GJDOC_FALSE
='#'
5510 CREATE_GJDOC_TRUE
='#'
5516 multi_os_directory
=`$CC -print-multi-os-directory`
5517 case $multi_os_directory in
5518 .
) toolexeclibdir
=${libdir} ;; # Avoid trailing /.
5519 *) toolexeclibdir
=${libdir}/${multi_os_directory} ;;
5525 # Check whether --with-native-libdir was given.
5526 if test "${with_native_libdir+set}" = set; then :
5527 withval
=$with_native_libdir;
5528 nativeexeclibdir
=${withval}
5532 nativeexeclibdir
='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`-`awk -F: '/^[^#].*:/ { print $1 }' ${srcdir}/..
/libtool-version
`
5540 # Check whether --with-glibj-dir was given.
5541 if test "${with_glibj_dir+set}" = set; then :
5542 withval=$with_glibj_dir;
5547 glibjdir='${datadir}/${PACKAGE}'
5555 # Check whether --with-antlr-jar was given.
5556 if test "${with_antlr_jar+set}" = set; then :
5557 withval=$with_antlr_jar;
5562 ANTLR_JAR="$ANTLR_JAR"
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate the headers" >&5
5568 $as_echo_n "checking whether to regenerate the headers... " >&6; }
5569 # Check whether --enable-regen-headers was given.
5570 if test "${enable_regen_headers+set}" = set; then :
5571 enableval=$enable_regen_headers; case "${enableval}" in
5572 yes) REGENERATE_JNI_HEADERS=yes ;;
5573 no) REGENERATE_JNI_HEADERS=no ;;
5574 *) REGENERATE_JNI_HEADERS=yes ;;
5577 if test -e ${srcdir}/include/java_lang_VMSystem.h; then
5578 REGENERATE_JNI_HEADERS=no ;
5580 REGENERATE_JNI_HEADERS=yes ;
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${REGENERATE_JNI_HEADERS}" >&5
5585 $as_echo "${REGENERATE_JNI_HEADERS}" >&6; }
5586 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
5587 CREATE_JNI_HEADERS_TRUE=
5588 CREATE_JNI_HEADERS_FALSE='#'
5590 CREATE_JNI_HEADERS_TRUE='#'
5591 CREATE_JNI_HEADERS_FALSE=
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate the GJDoc parser" >&5
5596 $as_echo_n "checking whether to regenerate the GJDoc parser... " >&6; }
5597 # Check whether --enable-regen-gjdoc-parser was given.
5598 if test "${enable_regen_gjdoc_parser+set}" = set; then :
5599 enableval=$enable_regen_gjdoc_parser; case "${enableval}" in
5600 yes) REGENERATE_GJDOC_PARSER=yes ;;
5601 no) REGENERATE_GJDOC_PARSER=no ;;
5602 *) REGENERATE_GJDOC_PARSER=yes ;;
5605 if test -e ${srcdir}/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java; then
5606 REGENERATE_GJDOC_PARSER=no ;
5608 REGENERATE_GJDOC_PARSER=yes ;
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${REGENERATE_GJDOC_PARSER}" >&5
5613 $as_echo "${REGENERATE_GJDOC_PARSER}" >&6; }
5614 if test "x${REGENERATE_GJDOC_PARSER}" = xyes; then
5615 CREATE_GJDOC_PARSER_TRUE=
5616 CREATE_GJDOC_PARSER_FALSE='#'
5618 CREATE_GJDOC_PARSER_TRUE='#'
5619 CREATE_GJDOC_PARSER_FALSE=
5623 # Check whether --enable-tool-wrappers was given.
5624 if test "${enable_tool_wrappers+set}" = set; then :
5625 enableval=$enable_tool_wrappers; case x"${enableval}" in
5627 COMPILE_WRAPPERS=yes;
5628 for ac_header in ltdl.h
5630 ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default"
5631 if test "x$ac_cv_header_ltdl_h" = x""yes; then :
5632 cat >>confdefs.h <<_ACEOF
5633 #define HAVE_LTDL_H 1
5637 as_fn_error "cannot find ltdl.h" "$LINENO" 5
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlopen in -lltdl" >&5
5643 $as_echo_n "checking for lt_dlopen in -lltdl... " >&6; }
5644 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then :
5645 $as_echo_n "(cached) " >&6
5647 ac_check_lib_save_LIBS=$LIBS
5649 if test x$gcc_no_link = xyes; then
5650 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5653 /* end confdefs.h. */
5655 /* Override any GCC internal prototype to avoid an error.
5656 Use char because int might match the return type of a GCC
5657 builtin and then its argument prototype would still apply. */
5665 return lt_dlopen ();
5670 if ac_fn_c_try_link "$LINENO"; then :
5671 ac_cv_lib_ltdl_lt_dlopen=yes
5673 ac_cv_lib_ltdl_lt_dlopen=no
5675 rm -f core conftest.err conftest.$ac_objext \
5676 conftest$ac_exeext conftest.$ac_ext
5677 LIBS=$ac_check_lib_save_LIBS
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5680 $as_echo "$ac_cv_lib_ltdl_lt_dlopen" >&6; }
5681 if test "x$ac_cv_lib_ltdl_lt_dlopen" = x""yes; then :
5682 cat >>confdefs.h <<_ACEOF
5683 #define HAVE_LIBLTDL 1
5689 as_fn_error "cannot find libltdl" "$LINENO" 5
5693 xno) COMPILE_WRAPPERS=no ;;
5694 x) COMPILE_WRAPPERS=yes ;;
5695 *) COMPILE_WRAPPERS=yes ;;
5701 if test "x${COMPILE_WRAPPERS}" = xyes; then
5702 CREATE_WRAPPERS_TRUE=
5703 CREATE_WRAPPERS_FALSE='#'
5705 CREATE_WRAPPERS_TRUE='#'
5706 CREATE_WRAPPERS_FALSE=
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5711 $as_echo_n "checking whether ln -s works... " >&6; }
5713 if test "$LN_S" = "ln -s"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5715 $as_echo "yes" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5718 $as_echo "no, using $LN_S" >&6; }
5724 # Check whether --enable-static was given.
5725 if test "${enable_static+set}" = set; then :
5726 enableval=$enable_static; p=${PACKAGE-default}
5728 yes) enable_static=yes ;;
5729 no) enable_static=no ;;
5732 # Look at the argument we got. We use all the common list separators.
5733 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5734 for pkg in $enableval; do
5736 if test "X$pkg" = "X$p"; then
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5758 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5763 macro_version='2.2.7a'
5764 macro_revision='1.3134'
5778 ltmain="$ac_aux_dir/ltmain.sh"
5780 # Backslashify metacharacters that are still active within
5781 # double-quoted strings.
5782 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5784 # Same as above, but do not quote variable references.
5785 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5787 # Sed substitution to delay expansion of an escaped shell variable in a
5788 # double_quote_subst'ed string.
5789 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5791 # Sed substitution to delay expansion of an escaped single quote.
5792 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5794 # Sed substitution to avoid accidental globbing in evaled expressions
5795 no_glob_subst='s/\*/\\\*/g'
5797 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5798 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5799 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5802 $as_echo_n "checking how to print
strings...
" >&6; }
5803 # Test print first, because it will be a builtin if present.
5804 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5805 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5807 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5810 # Use this function as a fallback that always works.
5811 func_fallback_echo ()
5813 eval 'cat <<_LTECHO_EOF
5817 ECHO='func_fallback_echo'
5820 # func_echo_all arg...
5821 # Invoke $ECHO with all args, space-separated.
5828 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5829 $as_echo "printf" >&6; } ;;
5830 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5831 $as_echo "print
-r" >&6; } ;;
5832 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5833 $as_echo "cat" >&6; } ;;
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5850 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5851 if test "${ac_cv_path_SED+set}" = set; then :
5852 $as_echo_n "(cached
) " >&6
5854 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5855 for ac_i in 1 2 3 4 5 6 7; do
5856 ac_script="$ac_script$as_nl$ac_script"
5858 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5859 { ac_script=; unset ac_script;}
5860 if test -z "$SED"; then
5861 ac_path_SED_found=false
5862 # Loop through the user's path and test for each of PROGNAME-LIST
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 test -z "$as_dir" && as_dir=.
5868 for ac_prog in sed gsed; do
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5871 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5872 # Check for GNU ac_path_SED and select it if it is found.
5873 # Check for GNU $ac_path_SED
5874 case `"$ac_path_SED" --version 2>&1` in
5876 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5879 $as_echo_n 0123456789 >"conftest.
in"
5882 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5883 mv "conftest.tmp
" "conftest.
in"
5884 cp "conftest.
in" "conftest.
nl"
5885 $as_echo '' >> "conftest.
nl"
5886 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5887 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5888 as_fn_arith $ac_count + 1 && ac_count=$as_val
5889 if test $ac_count -gt ${ac_path_SED_max-0}; then
5890 # Best one so far, save it but keep looking for a better one
5891 ac_cv_path_SED="$ac_path_SED"
5892 ac_path_SED_max=$ac_count
5894 # 10*(2^10) chars as input seems more than enough
5895 test $ac_count -gt 10 && break
5897 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5900 $ac_path_SED_found && break 3
5905 if test -z "$ac_cv_path_SED"; then
5906 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5914 $as_echo "$ac_cv_path_SED" >&6; }
5915 SED="$ac_cv_path_SED"
5918 test -z "$SED" && SED=sed
5919 Xsed="$SED -e 1s
/^X
//"
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5932 $as_echo_n "checking
for fgrep...
" >&6; }
5933 if test "${ac_cv_path_FGREP+set}" = set; then :
5934 $as_echo_n "(cached
) " >&6
5936 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5937 then ac_cv_path_FGREP="$GREP -F"
5939 if test -z "$FGREP"; then
5940 ac_path_FGREP_found=false
5941 # Loop through the user's path and test for each of PROGNAME-LIST
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5946 test -z "$as_dir" && as_dir=.
5947 for ac_prog in fgrep; do
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5950 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5951 # Check for GNU ac_path_FGREP and select it if it is found.
5952 # Check for GNU $ac_path_FGREP
5953 case `"$ac_path_FGREP" --version 2>&1` in
5955 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5958 $as_echo_n 0123456789 >"conftest.
in"
5961 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5962 mv "conftest.tmp
" "conftest.
in"
5963 cp "conftest.
in" "conftest.
nl"
5964 $as_echo 'FGREP' >> "conftest.
nl"
5965 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5966 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5967 as_fn_arith $ac_count + 1 && ac_count=$as_val
5968 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5969 # Best one so far, save it but keep looking for a better one
5970 ac_cv_path_FGREP="$ac_path_FGREP"
5971 ac_path_FGREP_max=$ac_count
5973 # 10*(2^10) chars as input seems more than enough
5974 test $ac_count -gt 10 && break
5976 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5979 $ac_path_FGREP_found && break 3
5984 if test -z "$ac_cv_path_FGREP"; then
5985 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5988 ac_cv_path_FGREP=$FGREP
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5994 $as_echo "$ac_cv_path_FGREP" >&6; }
5995 FGREP="$ac_cv_path_FGREP"
5998 test -z "$GREP" && GREP=grep
6018 # Check whether --with-gnu-ld was given.
6019 if test "${with_gnu_ld+set}" = set; then :
6020 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6026 if test "$GCC" = yes; then
6027 # Check if gcc -print-prog-name=ld gives a path.
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6029 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6032 # gcc leaves a trailing carriage return which upsets mingw
6033 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6035 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6038 # Accept absolute paths.
6040 re_direlt='/[^/][^/]*/\.\./'
6041 # Canonicalize the pathname of ld
6042 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6043 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6044 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6046 test -z "$LD" && LD="$ac_prog"
6049 # If it fails, then pretend we aren't using GCC.
6053 # If it is relative, then search for the first ld in PATH.
6057 elif test "$with_gnu_ld" = yes; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6059 $as_echo_n "checking
for GNU ld...
" >&6; }
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6062 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6064 if test "${lt_cv_path_LD+set}" = set; then :
6065 $as_echo_n "(cached
) " >&6
6067 if test -z "$LD"; then
6068 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6069 for ac_dir in $PATH; do
6071 test -z "$ac_dir" && ac_dir=.
6072 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6073 lt_cv_path_LD="$ac_dir/$ac_prog"
6074 # Check to see if the program is GNU ld. I'd rather use --version,
6075 # but apparently some variants of GNU ld only accept -v.
6076 # Break only if it was the GNU/non-GNU ld that we prefer.
6077 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6078 *GNU* | *'with BFD'*)
6079 test "$with_gnu_ld" != no && break
6082 test "$with_gnu_ld" != yes && break
6089 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6094 if test -n "$LD"; then
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6096 $as_echo "$LD" >&6; }
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6099 $as_echo "no
" >&6; }
6101 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6103 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6104 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6105 $as_echo_n "(cached
) " >&6
6107 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6108 case `$LD -v 2>&1 </dev/null` in
6109 *GNU* | *'with BFD'*)
6110 lt_cv_prog_gnu_ld=yes
6113 lt_cv_prog_gnu_ld=no
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6118 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6119 with_gnu_ld=$lt_cv_prog_gnu_ld
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6130 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6131 if test "${lt_cv_path_NM+set}" = set; then :
6132 $as_echo_n "(cached
) " >&6
6134 if test -n "$NM"; then
6135 # Let the user override the test.
6138 lt_nm_to_check="${ac_tool_prefix}nm
"
6139 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6140 lt_nm_to_check="$lt_nm_to_check nm
"
6142 for lt_tmp_nm in $lt_nm_to_check; do
6143 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6144 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6146 test -z "$ac_dir" && ac_dir=.
6147 tmp_nm="$ac_dir/$lt_tmp_nm"
6148 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6149 # Check to see if the nm accepts a BSD-compat flag.
6150 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6151 # nm: unknown option "B
" ignored
6152 # Tru64's nm complains that /dev/null is an invalid object file
6153 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6154 */dev/null* | *'Invalid file or object type'*)
6155 lt_cv_path_NM="$tmp_nm -B"
6159 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6161 lt_cv_path_NM="$tmp_nm -p"
6165 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6166 continue # so that we can try to find one that supports BSD flags
6175 : ${lt_cv_path_NM=no}
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6179 $as_echo "$lt_cv_path_NM" >&6; }
6180 if test "$lt_cv_path_NM" != "no
"; then
6183 # Didn't find any BSD compatible name lister, look for dumpbin.
6184 if test -n "$DUMPBIN"; then :
6185 # Let the user override the test.
6187 if test -n "$ac_tool_prefix"; then
6188 for ac_prog in dumpbin "link
-dump"
6190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6191 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6193 $as_echo_n "checking
for $ac_word...
" >&6; }
6194 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6195 $as_echo_n "(cached
) " >&6
6197 if test -n "$DUMPBIN"; then
6198 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204 test -z "$as_dir" && as_dir=.
6205 for ac_exec_ext in '' $ac_executable_extensions; do
6206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6207 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6217 DUMPBIN=$ac_cv_prog_DUMPBIN
6218 if test -n "$DUMPBIN"; then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6220 $as_echo "$DUMPBIN" >&6; }
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6223 $as_echo "no
" >&6; }
6227 test -n "$DUMPBIN" && break
6230 if test -z "$DUMPBIN"; then
6231 ac_ct_DUMPBIN=$DUMPBIN
6232 for ac_prog in dumpbin "link
-dump"
6234 # Extract the first word of "$ac_prog", so it can be a program name with args.
6235 set dummy $ac_prog; ac_word=$2
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6237 $as_echo_n "checking
for $ac_word...
" >&6; }
6238 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6239 $as_echo_n "(cached
) " >&6
6241 if test -n "$ac_ct_DUMPBIN"; then
6242 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 test -z "$as_dir" && as_dir=.
6249 for ac_exec_ext in '' $ac_executable_extensions; do
6250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6251 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6252 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6261 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6262 if test -n "$ac_ct_DUMPBIN"; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6264 $as_echo "$ac_ct_DUMPBIN" >&6; }
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6267 $as_echo "no
" >&6; }
6271 test -n "$ac_ct_DUMPBIN" && break
6274 if test "x
$ac_ct_DUMPBIN" = x; then
6277 case $cross_compiling:$ac_tool_warned in
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6280 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6281 ac_tool_warned=yes ;;
6283 DUMPBIN=$ac_ct_DUMPBIN
6287 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6289 DUMPBIN="$DUMPBIN -symbols"
6297 if test "$DUMPBIN" != ":"; then
6301 test -z "$NM" && NM=nm
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6309 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6310 if test "${lt_cv_nm_interface+set}" = set; then :
6311 $as_echo_n "(cached
) " >&6
6313 lt_cv_nm_interface="BSD nm
"
6314 echo "int some_variable
= 0;" > conftest.$ac_ext
6315 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6316 (eval "$ac_compile" 2>conftest.err)
6317 cat conftest.err >&5
6318 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6319 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6320 cat conftest.err >&5
6321 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6322 cat conftest.out >&5
6323 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6324 lt_cv_nm_interface="MS dumpbin
"
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6329 $as_echo "$lt_cv_nm_interface" >&6; }
6331 # find the maximum length of command line arguments
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6333 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6334 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6335 $as_echo_n "(cached
) " >&6
6342 # On DJGPP, this test can blow up pretty badly due to problems in libc
6343 # (any single argument exceeding 2000 bytes causes a buffer overrun
6344 # during glob expansion). Even if it were fixed, the result of this
6345 # check would be larger than it should be.
6346 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6350 # Under GNU Hurd, this test is not required because there is
6351 # no limit to the length of command line arguments.
6352 # Libtool will interpret -1 as no limit whatsoever
6353 lt_cv_sys_max_cmd_len=-1;
6356 cygwin* | mingw* | cegcc*)
6357 # On Win9x/ME, this test blows up -- it succeeds, but takes
6358 # about 5 minutes as the teststring grows exponentially.
6359 # Worse, since 9x/ME are not pre-emptively multitasking,
6360 # you end up with a "frozen
" computer, even though with patience
6361 # the test eventually succeeds (with a max line length of 256k).
6362 # Instead, let's just punt: use the minimum linelength reported by
6363 # all of the supported platforms: 8192 (on NT/2K/XP).
6364 lt_cv_sys_max_cmd_len=8192;
6368 # On MiNT this can take a long time and run out of memory.
6369 lt_cv_sys_max_cmd_len=8192;
6373 # On AmigaOS with pdksh, this test takes hours, literally.
6374 # So we just punt and use a minimum line length of 8192.
6375 lt_cv_sys_max_cmd_len=8192;
6378 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6379 # This has been around since 386BSD, at least. Likely further.
6380 if test -x /sbin/sysctl; then
6381 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6382 elif test -x /usr/sbin/sysctl; then
6383 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6385 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6387 # And add a safety zone
6388 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6389 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6393 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6394 lt_cv_sys_max_cmd_len=196608
6398 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6399 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6400 # nice to cause kernel panics so lets avoid the loop below.
6401 # First set a reasonable default.
6402 lt_cv_sys_max_cmd_len=16384
6404 if test -x /sbin/sysconfig; then
6405 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6406 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6411 lt_cv_sys_max_cmd_len=102400
6413 sysv5* | sco5v6* | sysv4.2uw2*)
6414 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6415 if test -n "$kargmax"; then
6416 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6418 lt_cv_sys_max_cmd_len=32768
6422 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6423 if test -n "$lt_cv_sys_max_cmd_len"; then
6424 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6425 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6427 # Make teststring a little bigger before we do anything with it.
6428 # a 1K string should be a reasonable start.
6429 for i in 1 2 3 4 5 6 7 8 ; do
6430 teststring=$teststring$teststring
6432 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6433 # If test is not a shell built-in, we'll probably end up computing a
6434 # maximum length that is only half of the actual maximum length, but
6436 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6437 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6438 test $i != 17 # 1/2 MB should be enough
6441 teststring=$teststring$teststring
6443 # Only check the string length outside the loop.
6444 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6446 # Add a significant safety factor because C++ compilers can tack on
6447 # massive amounts of additional arguments before passing them to the
6448 # linker. It appears as though 1/2 is a usable value.
6449 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6456 if test -n $lt_cv_sys_max_cmd_len ; then
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6458 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6461 $as_echo "none
" >&6; }
6463 max_cmd_len=$lt_cv_sys_max_cmd_len
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6475 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6476 # Try some XSI features
6479 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6481 && eval 'test $(( 1 + 1 )) -eq 2 \
6482 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6485 $as_echo "$xsi_shell" >&6; }
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6489 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6491 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6493 && lt_shell_append
=yes
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6495 $as_echo "$lt_shell_append" >&6; }
6498 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6508 # test EBCDIC or ASCII
6509 case `echo X|tr X '\101'` in
6510 A
) # ASCII based system
6511 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6512 lt_SP2NL
='tr \040 \012'
6513 lt_NL2SP
='tr \015\012 \040\040'
6515 *) # EBCDIC based system
6516 lt_SP2NL
='tr \100 \n'
6517 lt_NL2SP
='tr \r\n \100\100'
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6530 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6531 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6532 $as_echo_n "(cached) " >&6
6534 lt_cv_ld_reload_flag
='-r'
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6537 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6538 reload_flag
=$lt_cv_ld_reload_flag
6539 case $reload_flag in
6541 *) reload_flag
=" $reload_flag" ;;
6543 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6546 if test "$GCC" = yes; then
6547 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6549 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6562 if test -n "$ac_tool_prefix"; then
6563 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6564 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6566 $as_echo_n "checking for $ac_word... " >&6; }
6567 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6568 $as_echo_n "(cached) " >&6
6570 if test -n "$OBJDUMP"; then
6571 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6577 test -z "$as_dir" && as_dir
=.
6578 for ac_exec_ext
in '' $ac_executable_extensions; do
6579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6580 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6590 OBJDUMP
=$ac_cv_prog_OBJDUMP
6591 if test -n "$OBJDUMP"; then
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6593 $as_echo "$OBJDUMP" >&6; }
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6596 $as_echo "no" >&6; }
6601 if test -z "$ac_cv_prog_OBJDUMP"; then
6602 ac_ct_OBJDUMP
=$OBJDUMP
6603 # Extract the first word of "objdump", so it can be a program name with args.
6604 set dummy objdump
; ac_word
=$2
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 $as_echo_n "checking for $ac_word... " >&6; }
6607 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6608 $as_echo_n "(cached) " >&6
6610 if test -n "$ac_ct_OBJDUMP"; then
6611 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6617 test -z "$as_dir" && as_dir
=.
6618 for ac_exec_ext
in '' $ac_executable_extensions; do
6619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6620 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6630 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6631 if test -n "$ac_ct_OBJDUMP"; then
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6633 $as_echo "$ac_ct_OBJDUMP" >&6; }
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 $as_echo "no" >&6; }
6639 if test "x$ac_ct_OBJDUMP" = x
; then
6642 case $cross_compiling:$ac_tool_warned in
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6646 ac_tool_warned
=yes ;;
6648 OBJDUMP
=$ac_ct_OBJDUMP
6651 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6654 test -z "$OBJDUMP" && OBJDUMP
=objdump
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6665 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6666 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6667 $as_echo_n "(cached) " >&6
6669 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6670 lt_cv_file_magic_test_file
=
6671 lt_cv_deplibs_check_method
='unknown'
6672 # Need to set the preceding variable on all platforms that support
6673 # interlibrary dependencies.
6674 # 'none' -- dependencies not supported.
6675 # `unknown' -- same as none, but documents that we really don't know.
6676 # 'pass_all' -- all dependencies passed with no checks.
6677 # 'test_compile' -- check by making test program.
6678 # 'file_magic [[regex]]' -- check by looking for files in library path
6679 # which responds to the $file_magic_cmd with a given extended regex.
6680 # If you have `file' or equivalent on your system and you're not sure
6681 # whether `pass_all' will *always* work, you probably want this one.
6685 lt_cv_deplibs_check_method
=pass_all
6689 lt_cv_deplibs_check_method
=pass_all
6693 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6694 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6695 lt_cv_file_magic_test_file
=/shlib
/libc.so
6699 # func_win32_libid is a shell function defined in ltmain.sh
6700 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6701 lt_cv_file_magic_cmd
='func_win32_libid'
6705 # Base MSYS/MinGW do not provide the 'file' command needed by
6706 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6707 # unless we find 'file', for example because we are cross-compiling.
6708 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6709 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6710 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6711 lt_cv_file_magic_cmd
='func_win32_libid'
6713 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6714 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6719 # use the weaker test based on 'objdump'. See mingw*.
6720 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6721 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6724 darwin
* | rhapsody
*)
6725 lt_cv_deplibs_check_method
=pass_all
6728 freebsd
* | dragonfly
*)
6729 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6732 # Not sure whether the presence of OpenBSD here was a mistake.
6733 # Let's accept both of them until this is cleared up.
6734 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6735 lt_cv_file_magic_cmd
=/usr
/bin
/file
6736 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6740 lt_cv_deplibs_check_method
=pass_all
6745 lt_cv_deplibs_check_method
=pass_all
6749 lt_cv_deplibs_check_method
=pass_all
6752 hpux10.20
* | hpux11
*)
6753 lt_cv_file_magic_cmd
=/usr
/bin
/file
6756 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6757 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6760 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]'
6761 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6764 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6765 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6771 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6772 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6775 irix5
* | irix6
* | nonstopux
*)
6777 *-32|
*"-32 ") libmagic
=32-bit;;
6778 *-n32|
*"-n32 ") libmagic
=N32
;;
6779 *-64|
*"-64 ") libmagic
=64-bit;;
6780 *) libmagic
=never-match
;;
6782 lt_cv_deplibs_check_method
=pass_all
6785 # This must be Linux ELF.
6786 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6787 lt_cv_deplibs_check_method
=pass_all
6791 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6792 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6794 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6799 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6800 lt_cv_file_magic_cmd
=/usr
/bin
/file
6801 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6805 lt_cv_deplibs_check_method
=pass_all
6809 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6810 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6812 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6816 osf3
* | osf4
* | osf5
*)
6817 lt_cv_deplibs_check_method
=pass_all
6821 lt_cv_deplibs_check_method
=pass_all
6825 lt_cv_deplibs_check_method
=pass_all
6828 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6829 lt_cv_deplibs_check_method
=pass_all
6833 case $host_vendor in
6835 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]'
6836 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6839 lt_cv_deplibs_check_method
=pass_all
6842 lt_cv_file_magic_cmd
='/bin/file'
6843 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6846 lt_cv_file_magic_cmd
='/bin/file'
6847 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6848 lt_cv_file_magic_test_file
=/lib
/libc.so
6851 lt_cv_deplibs_check_method
=pass_all
6854 lt_cv_deplibs_check_method
=pass_all
6860 lt_cv_deplibs_check_method
=pass_all
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6866 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6867 file_magic_cmd
=$lt_cv_file_magic_cmd
6868 deplibs_check_method
=$lt_cv_deplibs_check_method
6869 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6882 if test -n "$ac_tool_prefix"; then
6883 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6884 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6886 $as_echo_n "checking for $ac_word... " >&6; }
6887 if test "${ac_cv_prog_AR+set}" = set; then :
6888 $as_echo_n "(cached) " >&6
6890 if test -n "$AR"; then
6891 ac_cv_prog_AR
="$AR" # Let the user override the test.
6893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6897 test -z "$as_dir" && as_dir
=.
6898 for ac_exec_ext
in '' $ac_executable_extensions; do
6899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6900 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6911 if test -n "$AR"; then
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6913 $as_echo "$AR" >&6; }
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6916 $as_echo "no" >&6; }
6921 if test -z "$ac_cv_prog_AR"; then
6923 # Extract the first word of "ar", so it can be a program name with args.
6924 set dummy
ar; ac_word
=$2
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6926 $as_echo_n "checking for $ac_word... " >&6; }
6927 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6928 $as_echo_n "(cached) " >&6
6930 if test -n "$ac_ct_AR"; then
6931 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6937 test -z "$as_dir" && as_dir
=.
6938 for ac_exec_ext
in '' $ac_executable_extensions; do
6939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6940 ac_cv_prog_ac_ct_AR
="ar"
6941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6950 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6951 if test -n "$ac_ct_AR"; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6953 $as_echo "$ac_ct_AR" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6956 $as_echo "no" >&6; }
6959 if test "x$ac_ct_AR" = x
; then
6962 case $cross_compiling:$ac_tool_warned in
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6966 ac_tool_warned
=yes ;;
6974 test -z "$AR" && AR
=ar
6975 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6987 if test -n "$ac_tool_prefix"; then
6988 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6989 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6991 $as_echo_n "checking for $ac_word... " >&6; }
6992 if test "${ac_cv_prog_STRIP+set}" = set; then :
6993 $as_echo_n "(cached) " >&6
6995 if test -n "$STRIP"; then
6996 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7002 test -z "$as_dir" && as_dir
=.
7003 for ac_exec_ext
in '' $ac_executable_extensions; do
7004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7005 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015 STRIP
=$ac_cv_prog_STRIP
7016 if test -n "$STRIP"; then
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7018 $as_echo "$STRIP" >&6; }
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021 $as_echo "no" >&6; }
7026 if test -z "$ac_cv_prog_STRIP"; then
7028 # Extract the first word of "strip", so it can be a program name with args.
7029 set dummy strip
; ac_word
=$2
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7031 $as_echo_n "checking for $ac_word... " >&6; }
7032 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7033 $as_echo_n "(cached) " >&6
7035 if test -n "$ac_ct_STRIP"; then
7036 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7042 test -z "$as_dir" && as_dir
=.
7043 for ac_exec_ext
in '' $ac_executable_extensions; do
7044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7045 ac_cv_prog_ac_ct_STRIP
="strip"
7046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7056 if test -n "$ac_ct_STRIP"; then
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7058 $as_echo "$ac_ct_STRIP" >&6; }
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061 $as_echo "no" >&6; }
7064 if test "x$ac_ct_STRIP" = x
; then
7067 case $cross_compiling:$ac_tool_warned in
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7071 ac_tool_warned
=yes ;;
7076 STRIP
="$ac_cv_prog_STRIP"
7079 test -z "$STRIP" && STRIP
=:
7086 if test -n "$ac_tool_prefix"; then
7087 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7088 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7090 $as_echo_n "checking for $ac_word... " >&6; }
7091 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7092 $as_echo_n "(cached) " >&6
7094 if test -n "$RANLIB"; then
7095 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7101 test -z "$as_dir" && as_dir
=.
7102 for ac_exec_ext
in '' $ac_executable_extensions; do
7103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7104 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7114 RANLIB
=$ac_cv_prog_RANLIB
7115 if test -n "$RANLIB"; then
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7117 $as_echo "$RANLIB" >&6; }
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7120 $as_echo "no" >&6; }
7125 if test -z "$ac_cv_prog_RANLIB"; then
7126 ac_ct_RANLIB
=$RANLIB
7127 # Extract the first word of "ranlib", so it can be a program name with args.
7128 set dummy ranlib
; ac_word
=$2
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7130 $as_echo_n "checking for $ac_word... " >&6; }
7131 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7132 $as_echo_n "(cached) " >&6
7134 if test -n "$ac_ct_RANLIB"; then
7135 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7141 test -z "$as_dir" && as_dir
=.
7142 for ac_exec_ext
in '' $ac_executable_extensions; do
7143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7144 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7154 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7155 if test -n "$ac_ct_RANLIB"; then
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7157 $as_echo "$ac_ct_RANLIB" >&6; }
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7160 $as_echo "no" >&6; }
7163 if test "x$ac_ct_RANLIB" = x
; then
7166 case $cross_compiling:$ac_tool_warned in
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7170 ac_tool_warned
=yes ;;
7172 RANLIB
=$ac_ct_RANLIB
7175 RANLIB
="$ac_cv_prog_RANLIB"
7178 test -z "$RANLIB" && RANLIB
=:
7185 # Determine commands to create old-style static archives.
7186 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7187 old_postinstall_cmds
='chmod 644 $oldlib'
7188 old_postuninstall_cmds
=
7190 if test -n "$RANLIB"; then
7193 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7196 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7199 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7204 lock_old_archive_extraction
=yes ;;
7206 lock_old_archive_extraction
=no
;;
7247 # If no C compiler was specified, use CC.
7250 # If no C compiler flags were specified, use CFLAGS.
7251 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7253 # Allow CC to be a program name with arguments.
7257 # Check for command to grab the raw symbol name followed by C symbol from nm.
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7259 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7260 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7261 $as_echo_n "(cached) " >&6
7264 # These are sane defaults that work on at least a few old systems.
7265 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7267 # Character class describing NM global symbol codes.
7268 symcode
='[BCDEGRST]'
7270 # Regexp to match symbols that can be accessed directly from C.
7271 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7273 # Define system-specific variables.
7278 cygwin
* | mingw
* | pw32
* | cegcc
*)
7279 symcode
='[ABCDGISTW]'
7282 if test "$host_cpu" = ia64
; then
7283 symcode
='[ABCDEGRST]'
7287 symcode
='[BCDEGRST]'
7290 symcode
='[BCDEGQRST]'
7301 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7309 # If we're using GNU nm, then use its standard symbol codes.
7310 case `$NM -V 2>&1` in
7311 *GNU
* |
*'with BFD'*)
7312 symcode
='[ABCDGIRSTW]' ;;
7315 # Transform an extracted symbol line into a proper C declaration.
7316 # Some systems (esp. on ia64) link data and code symbols differently,
7317 # so use this general approach.
7318 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7320 # Transform an extracted symbol line into symbol name and symbol address
7321 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7322 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'"
7324 # Handle CRLF in mingw tool chain
7328 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7332 # Try without a prefix underscore, then with it.
7333 for ac_symprfx
in "" "_"; do
7335 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7336 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7338 # Write the raw and C identifiers.
7339 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7340 # Fake it for dumpbin and say T for any non-static function
7341 # and D for any global variable.
7342 # Also find C++ and __fastcall symbols from MSVC++,
7343 # which start with @ or ?.
7344 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7345 " {last_section=section; section=\$ 3};"\
7346 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7347 " \$ 0!~/External *\|/{next};"\
7348 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7349 " {if(hide[section]) next};"\
7350 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7351 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7352 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7353 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7354 " ' prfx=^$ac_symprfx"
7356 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7359 # Check to see that the pipe works correctly.
7363 cat > conftest.
$ac_ext <<_LT_EOF
7368 void nm_test_func(void);
7369 void nm_test_func(void){}
7373 int main(){nm_test_var='a';nm_test_func();return(0);}
7376 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7377 (eval $ac_compile) 2>&5
7379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7380 test $ac_status = 0; }; then
7381 # Now try to grab the symbols.
7383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7384 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7387 test $ac_status = 0; } && test -s "$nlist"; then
7388 # Try sorting and uniquifying the output.
7389 if sort "$nlist" |
uniq > "$nlist"T
; then
7390 mv -f "$nlist"T
"$nlist"
7395 # Make sure that we snagged all the symbols we need.
7396 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7397 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7398 cat <<_LT_EOF > conftest.$ac_ext
7404 # Now generate the symbol file.
7405 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7407 cat <<_LT_EOF >> conftest.$ac_ext
7409 /* The mapping between symbol names and symbols. */
7414 lt__PROGRAM__LTX_preloaded_symbols[] =
7416 { "@PROGRAM@", (void *) 0 },
7418 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7419 cat <<\_LT_EOF
>> conftest.
$ac_ext
7423 /* This works around a problem
in FreeBSD linker
*/
7424 #ifdef FREEBSD_WORKAROUND
7425 static const void
*lt_preloaded_setup
() {
7426 return lt__PROGRAM__LTX_preloaded_symbols
;
7434 # Now try linking the two files.
7435 mv conftest.
$ac_objext conftstm.
$ac_objext
7436 lt_save_LIBS
="$LIBS"
7437 lt_save_CFLAGS
="$CFLAGS"
7438 LIBS
="conftstm.$ac_objext"
7439 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7441 (eval $ac_link) 2>&5
7443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7444 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7447 LIBS
="$lt_save_LIBS"
7448 CFLAGS
="$lt_save_CFLAGS"
7450 echo "cannot find nm_test_func in $nlist" >&5
7453 echo "cannot find nm_test_var in $nlist" >&5
7456 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7459 echo "$progname: failed program was:" >&5
7460 cat conftest.
$ac_ext >&5
7462 rm -rf conftest
* conftst
*
7464 # Do not use the global_symbol_pipe unless it works.
7465 if test "$pipe_works" = yes; then
7468 lt_cv_sys_global_symbol_pipe
=
7474 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7475 lt_cv_sys_global_symbol_to_cdecl
=
7477 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7479 $as_echo "failed" >&6; }
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7482 $as_echo "ok" >&6; }
7506 # Check whether --enable-libtool-lock was given.
7507 if test "${enable_libtool_lock+set}" = set; then :
7508 enableval
=$enable_libtool_lock;
7511 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7513 # Some flags need to be propagated to the compiler or linker for good
7517 # Find out which ABI we are using.
7518 echo 'int i;' > conftest.
$ac_ext
7519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7520 (eval $ac_compile) 2>&5
7522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7523 test $ac_status = 0; }; then
7524 case `/usr/bin/file conftest.$ac_objext` in
7536 # Find out which ABI we are using.
7537 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7538 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7539 (eval $ac_compile) 2>&5
7541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7542 test $ac_status = 0; }; then
7543 if test "$lt_cv_prog_gnu_ld" = yes; then
7544 case `/usr/bin/file conftest.$ac_objext` in
7546 LD
="${LD-ld} -melf32bsmip"
7549 LD
="${LD-ld} -melf32bmipn32"
7552 LD
="${LD-ld} -melf64bmip"
7556 case `/usr/bin/file conftest.$ac_objext` in
7572 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
7573 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7574 # Find out which ABI we are using.
7575 echo 'int i;' > conftest.
$ac_ext
7576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7577 (eval $ac_compile) 2>&5
7579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7580 test $ac_status = 0; }; then
7581 case `/usr/bin/file conftest.o` in
7584 x86_64-
*kfreebsd
*-gnu)
7585 LD
="${LD-ld} -m elf_i386_fbsd"
7588 LD
="${LD-ld} -m elf_i386"
7590 ppc64-
*linux
*|powerpc64-
*linux
*)
7591 LD
="${LD-ld} -m elf32ppclinux"
7594 LD
="${LD-ld} -m elf_s390"
7597 LD
="${LD-ld} -m elf32_sparc"
7603 x86_64-
*kfreebsd
*-gnu)
7604 LD
="${LD-ld} -m elf_x86_64_fbsd"
7607 LD
="${LD-ld} -m elf_x86_64"
7609 ppc
*-*linux
*|powerpc
*-*linux
*)
7610 LD
="${LD-ld} -m elf64ppc"
7612 s390
*-*linux
*|s390
*-*tpf
*)
7613 LD
="${LD-ld} -m elf64_s390"
7616 LD
="${LD-ld} -m elf64_sparc"
7626 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7627 SAVE_CFLAGS
="$CFLAGS"
7628 CFLAGS
="$CFLAGS -belf"
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7630 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7631 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7632 $as_echo_n "(cached) " >&6
7635 ac_cpp
='$CPP $CPPFLAGS'
7636 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7637 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7638 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7640 if test x
$gcc_no_link = xyes
; then
7641 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7644 /* end confdefs.h. */
7654 if ac_fn_c_try_link
"$LINENO"; then :
7655 lt_cv_cc_needs_belf
=yes
7657 lt_cv_cc_needs_belf
=no
7659 rm -f core conftest.err conftest.
$ac_objext \
7660 conftest
$ac_exeext conftest.
$ac_ext
7662 ac_cpp
='$CPP $CPPFLAGS'
7663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7669 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7670 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7671 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7672 CFLAGS
="$SAVE_CFLAGS"
7676 # Find out which ABI we are using.
7677 echo 'int i;' > conftest.
$ac_ext
7678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7679 (eval $ac_compile) 2>&5
7681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7682 test $ac_status = 0; }; then
7683 case `/usr/bin/file conftest.o` in
7685 case $lt_cv_prog_gnu_ld in
7686 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7688 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7700 need_locks
="$enable_libtool_lock"
7704 rhapsody
* | darwin
*)
7705 if test -n "$ac_tool_prefix"; then
7706 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7707 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7709 $as_echo_n "checking for $ac_word... " >&6; }
7710 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7711 $as_echo_n "(cached) " >&6
7713 if test -n "$DSYMUTIL"; then
7714 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7720 test -z "$as_dir" && as_dir
=.
7721 for ac_exec_ext
in '' $ac_executable_extensions; do
7722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7723 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7733 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7734 if test -n "$DSYMUTIL"; then
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7736 $as_echo "$DSYMUTIL" >&6; }
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739 $as_echo "no" >&6; }
7744 if test -z "$ac_cv_prog_DSYMUTIL"; then
7745 ac_ct_DSYMUTIL
=$DSYMUTIL
7746 # Extract the first word of "dsymutil", so it can be a program name with args.
7747 set dummy dsymutil
; ac_word
=$2
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7749 $as_echo_n "checking for $ac_word... " >&6; }
7750 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7751 $as_echo_n "(cached) " >&6
7753 if test -n "$ac_ct_DSYMUTIL"; then
7754 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7760 test -z "$as_dir" && as_dir
=.
7761 for ac_exec_ext
in '' $ac_executable_extensions; do
7762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7763 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7773 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7774 if test -n "$ac_ct_DSYMUTIL"; then
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7776 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7779 $as_echo "no" >&6; }
7782 if test "x$ac_ct_DSYMUTIL" = x
; then
7785 case $cross_compiling:$ac_tool_warned in
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7789 ac_tool_warned
=yes ;;
7791 DSYMUTIL
=$ac_ct_DSYMUTIL
7794 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7797 if test -n "$ac_tool_prefix"; then
7798 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7799 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7801 $as_echo_n "checking for $ac_word... " >&6; }
7802 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7803 $as_echo_n "(cached) " >&6
7805 if test -n "$NMEDIT"; then
7806 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7812 test -z "$as_dir" && as_dir
=.
7813 for ac_exec_ext
in '' $ac_executable_extensions; do
7814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7815 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7825 NMEDIT
=$ac_cv_prog_NMEDIT
7826 if test -n "$NMEDIT"; then
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7828 $as_echo "$NMEDIT" >&6; }
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7831 $as_echo "no" >&6; }
7836 if test -z "$ac_cv_prog_NMEDIT"; then
7837 ac_ct_NMEDIT
=$NMEDIT
7838 # Extract the first word of "nmedit", so it can be a program name with args.
7839 set dummy nmedit
; ac_word
=$2
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7841 $as_echo_n "checking for $ac_word... " >&6; }
7842 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7843 $as_echo_n "(cached) " >&6
7845 if test -n "$ac_ct_NMEDIT"; then
7846 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7852 test -z "$as_dir" && as_dir
=.
7853 for ac_exec_ext
in '' $ac_executable_extensions; do
7854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7855 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7865 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7866 if test -n "$ac_ct_NMEDIT"; then
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7868 $as_echo "$ac_ct_NMEDIT" >&6; }
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7871 $as_echo "no" >&6; }
7874 if test "x$ac_ct_NMEDIT" = x
; then
7877 case $cross_compiling:$ac_tool_warned in
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7881 ac_tool_warned
=yes ;;
7883 NMEDIT
=$ac_ct_NMEDIT
7886 NMEDIT
="$ac_cv_prog_NMEDIT"
7889 if test -n "$ac_tool_prefix"; then
7890 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7891 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7893 $as_echo_n "checking for $ac_word... " >&6; }
7894 if test "${ac_cv_prog_LIPO+set}" = set; then :
7895 $as_echo_n "(cached) " >&6
7897 if test -n "$LIPO"; then
7898 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7904 test -z "$as_dir" && as_dir
=.
7905 for ac_exec_ext
in '' $ac_executable_extensions; do
7906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7907 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7917 LIPO
=$ac_cv_prog_LIPO
7918 if test -n "$LIPO"; then
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7920 $as_echo "$LIPO" >&6; }
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7923 $as_echo "no" >&6; }
7928 if test -z "$ac_cv_prog_LIPO"; then
7930 # Extract the first word of "lipo", so it can be a program name with args.
7931 set dummy lipo
; ac_word
=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7933 $as_echo_n "checking for $ac_word... " >&6; }
7934 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7935 $as_echo_n "(cached) " >&6
7937 if test -n "$ac_ct_LIPO"; then
7938 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7944 test -z "$as_dir" && as_dir
=.
7945 for ac_exec_ext
in '' $ac_executable_extensions; do
7946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7947 ac_cv_prog_ac_ct_LIPO
="lipo"
7948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7957 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7958 if test -n "$ac_ct_LIPO"; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7960 $as_echo "$ac_ct_LIPO" >&6; }
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7963 $as_echo "no" >&6; }
7966 if test "x$ac_ct_LIPO" = x
; then
7969 case $cross_compiling:$ac_tool_warned in
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7973 ac_tool_warned
=yes ;;
7978 LIPO
="$ac_cv_prog_LIPO"
7981 if test -n "$ac_tool_prefix"; then
7982 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7983 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7985 $as_echo_n "checking for $ac_word... " >&6; }
7986 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7987 $as_echo_n "(cached) " >&6
7989 if test -n "$OTOOL"; then
7990 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7996 test -z "$as_dir" && as_dir
=.
7997 for ac_exec_ext
in '' $ac_executable_extensions; do
7998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7999 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8009 OTOOL
=$ac_cv_prog_OTOOL
8010 if test -n "$OTOOL"; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8012 $as_echo "$OTOOL" >&6; }
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8015 $as_echo "no" >&6; }
8020 if test -z "$ac_cv_prog_OTOOL"; then
8022 # Extract the first word of "otool", so it can be a program name with args.
8023 set dummy otool
; ac_word
=$2
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8025 $as_echo_n "checking for $ac_word... " >&6; }
8026 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8027 $as_echo_n "(cached) " >&6
8029 if test -n "$ac_ct_OTOOL"; then
8030 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8036 test -z "$as_dir" && as_dir
=.
8037 for ac_exec_ext
in '' $ac_executable_extensions; do
8038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8039 ac_cv_prog_ac_ct_OTOOL
="otool"
8040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8049 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8050 if test -n "$ac_ct_OTOOL"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8052 $as_echo "$ac_ct_OTOOL" >&6; }
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8055 $as_echo "no" >&6; }
8058 if test "x$ac_ct_OTOOL" = x
; then
8061 case $cross_compiling:$ac_tool_warned in
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8065 ac_tool_warned
=yes ;;
8070 OTOOL
="$ac_cv_prog_OTOOL"
8073 if test -n "$ac_tool_prefix"; then
8074 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8075 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8077 $as_echo_n "checking for $ac_word... " >&6; }
8078 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8079 $as_echo_n "(cached) " >&6
8081 if test -n "$OTOOL64"; then
8082 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8088 test -z "$as_dir" && as_dir
=.
8089 for ac_exec_ext
in '' $ac_executable_extensions; do
8090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8091 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8101 OTOOL64
=$ac_cv_prog_OTOOL64
8102 if test -n "$OTOOL64"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8104 $as_echo "$OTOOL64" >&6; }
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8107 $as_echo "no" >&6; }
8112 if test -z "$ac_cv_prog_OTOOL64"; then
8113 ac_ct_OTOOL64
=$OTOOL64
8114 # Extract the first word of "otool64", so it can be a program name with args.
8115 set dummy otool64
; ac_word
=$2
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8117 $as_echo_n "checking for $ac_word... " >&6; }
8118 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8119 $as_echo_n "(cached) " >&6
8121 if test -n "$ac_ct_OTOOL64"; then
8122 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8128 test -z "$as_dir" && as_dir
=.
8129 for ac_exec_ext
in '' $ac_executable_extensions; do
8130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8131 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8141 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8142 if test -n "$ac_ct_OTOOL64"; then
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8144 $as_echo "$ac_ct_OTOOL64" >&6; }
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8147 $as_echo "no" >&6; }
8150 if test "x$ac_ct_OTOOL64" = x
; then
8153 case $cross_compiling:$ac_tool_warned in
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8157 ac_tool_warned
=yes ;;
8159 OTOOL64
=$ac_ct_OTOOL64
8162 OTOOL64
="$ac_cv_prog_OTOOL64"
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8192 $as_echo_n "checking for -single_module linker flag... " >&6; }
8193 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8194 $as_echo_n "(cached) " >&6
8196 lt_cv_apple_cc_single_mod
=no
8197 if test -z "${LT_MULTI_MODULE}"; then
8198 # By default we will add the -single_module flag. You can override
8199 # by either setting the environment variable LT_MULTI_MODULE
8200 # non-empty at configure time, or by adding -multi_module to the
8202 rm -rf libconftest.dylib
*
8203 echo "int foo(void){return 1;}" > conftest.c
8204 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8205 -dynamiclib -Wl,-single_module conftest.c" >&5
8206 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8207 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8209 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8210 lt_cv_apple_cc_single_mod
=yes
8212 cat conftest.err
>&5
8214 rm -rf libconftest.dylib
*
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8219 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8221 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8222 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8223 $as_echo_n "(cached) " >&6
8225 lt_cv_ld_exported_symbols_list
=no
8226 save_LDFLAGS
=$LDFLAGS
8227 echo "_main" > conftest.sym
8228 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8229 if test x
$gcc_no_link = xyes
; then
8230 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8233 /* end confdefs.h. */
8243 if ac_fn_c_try_link
"$LINENO"; then :
8244 lt_cv_ld_exported_symbols_list
=yes
8246 lt_cv_ld_exported_symbols_list
=no
8248 rm -f core conftest.err conftest.
$ac_objext \
8249 conftest
$ac_exeext conftest.
$ac_ext
8250 LDFLAGS
="$save_LDFLAGS"
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8254 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8256 $as_echo_n "checking for -force_load linker flag... " >&6; }
8257 if test "${lt_cv_ld_force_load+set}" = set; then :
8258 $as_echo_n "(cached) " >&6
8260 lt_cv_ld_force_load
=no
8261 cat > conftest.c
<< _LT_EOF
8262 int forced_loaded() { return 2;}
8264 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8265 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8266 echo "$AR cru libconftest.a conftest.o" >&5
8267 $AR cru libconftest.a conftest.o
2>&5
8268 cat > conftest.c
<< _LT_EOF
8269 int main() { return 0;}
8271 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8272 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8274 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8275 lt_cv_ld_force_load
=yes
8277 cat conftest.err
>&5
8279 rm -f conftest.err libconftest.a conftest conftest.c
8280 rm -rf conftest.dSYM
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8284 $as_echo "$lt_cv_ld_force_load" >&6; }
8286 rhapsody
* | darwin1.
[012])
8287 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8289 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8290 darwin
*) # darwin 5.x on
8291 # if running on 10.5 or later, the deployment target defaults
8292 # to the OS version, if on x86, and 10.4, the deployment
8293 # target defaults to 10.4. Don't you love it?
8294 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8295 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8296 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8298 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8300 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8304 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8305 _lt_dar_single_mod
='$single_module'
8307 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8308 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8310 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8312 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8313 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8320 for ac_header
in dlfcn.h
8322 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8324 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8325 cat >>confdefs.h
<<_ACEOF
8326 #define HAVE_DLFCN_H 1
8347 # Check whether --enable-shared was given.
8348 if test "${enable_shared+set}" = set; then :
8349 enableval
=$enable_shared; p
=${PACKAGE-default}
8351 yes) enable_shared
=yes ;;
8352 no
) enable_shared
=no
;;
8355 # Look at the argument we got. We use all the common list separators.
8356 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8357 for pkg
in $enableval; do
8359 if test "X$pkg" = "X$p"; then
8380 # Check whether --with-pic was given.
8381 if test "${with_pic+set}" = set; then :
8382 withval
=$with_pic; pic_mode
="$withval"
8388 test -z "$pic_mode" && pic_mode
=default
8396 # Check whether --enable-fast-install was given.
8397 if test "${enable_fast_install+set}" = set; then :
8398 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8400 yes) enable_fast_install
=yes ;;
8401 no
) enable_fast_install
=no
;;
8403 enable_fast_install
=no
8404 # Look at the argument we got. We use all the common list separators.
8405 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8406 for pkg
in $enableval; do
8408 if test "X$pkg" = "X$p"; then
8409 enable_fast_install
=yes
8416 enable_fast_install
=yes
8429 # This can be used to rebuild libtool when needed
8430 LIBTOOL_DEPS
="$ltmain"
8432 # Always use our own libtool.
8433 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8460 test -z "$LN_S" && LN_S
="ln -s"
8475 if test -n "${ZSH_VERSION+set}" ; then
8476 setopt NO_GLOB_SUBST
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8480 $as_echo_n "checking for objdir... " >&6; }
8481 if test "${lt_cv_objdir+set}" = set; then :
8482 $as_echo_n "(cached) " >&6
8484 rm -f .libs
2>/dev
/null
8485 mkdir .libs
2>/dev
/null
8486 if test -d .libs
; then
8489 # MS-DOS does not allow filenames that begin with a dot.
8492 rmdir .libs
2>/dev
/null
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8495 $as_echo "$lt_cv_objdir" >&6; }
8496 objdir
=$lt_cv_objdir
8502 cat >>confdefs.h
<<_ACEOF
8503 #define LT_OBJDIR "$lt_cv_objdir/"
8511 # AIX sometimes has problems with the GCC collect2 program. For some
8512 # reason, if we set the COLLECT_NAMES environment variable, the problems
8513 # vanish in a puff of smoke.
8514 if test "X${COLLECT_NAMES+set}" != Xset
; then
8516 export COLLECT_NAMES
8523 can_build_shared
=yes
8525 # All known linkers require a `.a' archive for static linking (except MSVC,
8526 # which needs '.lib').
8529 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8532 old_CFLAGS
="$CFLAGS"
8534 # Set sane defaults for various variables
8535 test -z "$CC" && CC
=cc
8536 test -z "$LTCC" && LTCC
=$CC
8537 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8538 test -z "$LD" && LD
=ld
8539 test -z "$ac_objext" && ac_objext
=o
8541 for cc_temp
in $compiler""; do
8543 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8544 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8549 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8552 # Only perform the check for file, if the check method requires it
8553 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8554 case $deplibs_check_method in
8556 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8558 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8559 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8560 $as_echo_n "(cached) " >&6
8564 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8567 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8568 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8569 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8570 for ac_dir
in $ac_dummy; do
8572 test -z "$ac_dir" && ac_dir
=.
8573 if test -f $ac_dir/${ac_tool_prefix}file; then
8574 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8575 if test -n "$file_magic_test_file"; then
8576 case $deplibs_check_method in
8578 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8579 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8580 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8581 $EGREP "$file_magic_regex" > /dev
/null
; then
8586 *** Warning: the command libtool uses to detect shared libraries,
8587 *** $file_magic_cmd, produces output that libtool cannot recognize.
8588 *** The result is that libtool may fail to recognize shared libraries
8589 *** as such. This will affect the creation of libtool libraries that
8590 *** depend on shared libraries, but programs linked with such libtool
8591 *** libraries will work regardless of this problem. Nevertheless, you
8592 *** may want to report the problem to your system manager and/or to
8593 *** bug-libtool@gnu.org
8603 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8608 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8609 if test -n "$MAGIC_CMD"; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8611 $as_echo "$MAGIC_CMD" >&6; }
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8614 $as_echo "no" >&6; }
8621 if test -z "$lt_cv_path_MAGIC_CMD"; then
8622 if test -n "$ac_tool_prefix"; then
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8624 $as_echo_n "checking for file... " >&6; }
8625 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8626 $as_echo_n "(cached) " >&6
8630 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8633 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8634 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8635 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8636 for ac_dir
in $ac_dummy; do
8638 test -z "$ac_dir" && ac_dir
=.
8639 if test -f $ac_dir/file; then
8640 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8641 if test -n "$file_magic_test_file"; then
8642 case $deplibs_check_method in
8644 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8645 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8646 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8647 $EGREP "$file_magic_regex" > /dev
/null
; then
8652 *** Warning: the command libtool uses to detect shared libraries,
8653 *** $file_magic_cmd, produces output that libtool cannot recognize.
8654 *** The result is that libtool may fail to recognize shared libraries
8655 *** as such. This will affect the creation of libtool libraries that
8656 *** depend on shared libraries, but programs linked with such libtool
8657 *** libraries will work regardless of this problem. Nevertheless, you
8658 *** may want to report the problem to your system manager and/or to
8659 *** bug-libtool@gnu.org
8669 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8674 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8675 if test -n "$MAGIC_CMD"; then
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8677 $as_echo "$MAGIC_CMD" >&6; }
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8680 $as_echo "no" >&6; }
8693 # Use C for the default configuration in the libtool script
8697 ac_cpp
='$CPP $CPPFLAGS'
8698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8703 # Source file extension for C test sources.
8706 # Object file extension for compiled C test sources.
8710 # Code to be used in simple compile tests
8711 lt_simple_compile_test_code
="int some_variable = 0;"
8713 # Code to be used in simple link tests
8714 lt_simple_link_test_code
='int main(){return(0);}'
8722 # If no C compiler was specified, use CC.
8725 # If no C compiler flags were specified, use CFLAGS.
8726 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8728 # Allow CC to be a program name with arguments.
8731 # Save the default compiler, since it gets overwritten when the other
8732 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8733 compiler_DEFAULT
=$CC
8735 # save warnings/boilerplate of simple test code
8736 ac_outfile
=conftest.
$ac_objext
8737 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8738 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8739 _lt_compiler_boilerplate
=`cat conftest.err`
8742 ac_outfile
=conftest.
$ac_objext
8743 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8744 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8745 _lt_linker_boilerplate
=`cat conftest.err`
8750 ## There is no encapsulation within the following macros, do not change
8751 ## the running order or otherwise move them around unless you know exactly
8752 ## what you are doing...
8753 if test -n "$compiler"; then
8755 lt_prog_compiler_no_builtin_flag
=
8757 if test "$GCC" = yes; then
8758 case $cc_basename in
8760 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8762 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8766 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8767 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8768 $as_echo_n "(cached) " >&6
8770 lt_cv_prog_compiler_rtti_exceptions
=no
8771 ac_outfile
=conftest.
$ac_objext
8772 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8773 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8774 # Insert the option either (1) after the last *FLAGS variable, or
8775 # (2) before a word containing "conftest.", or (3) at the end.
8776 # Note that $ac_compile itself does not contain backslashes and begins
8777 # with a dollar sign (not a hyphen), so the echo should work correctly.
8778 # The option is referenced via a variable to avoid confusing sed.
8779 lt_compile
=`echo "$ac_compile" | $SED \
8780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8782 -e 's:$: $lt_compiler_flag:'`
8783 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8784 (eval "$lt_compile" 2>conftest.err
)
8786 cat conftest.err
>&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 if (exit $ac_status) && test -s "$ac_outfile"; then
8789 # The compiler can only warn and ignore the option if not recognized
8790 # So say no if there are warnings other than the usual output.
8791 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8792 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8793 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8794 lt_cv_prog_compiler_rtti_exceptions
=yes
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8801 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8803 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8804 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8816 lt_prog_compiler_wl
=
8817 lt_prog_compiler_pic
=
8818 lt_prog_compiler_static
=
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8821 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8823 if test "$GCC" = yes; then
8824 lt_prog_compiler_wl
='-Wl,'
8825 lt_prog_compiler_static
='-static'
8829 # All AIX code is PIC.
8830 if test "$host_cpu" = ia64
; then
8831 # AIX 5 now supports IA64 processor
8832 lt_prog_compiler_static
='-Bstatic'
8839 # see comment about AmigaOS4 .so support
8840 lt_prog_compiler_pic
='-fPIC'
8843 # FIXME: we need at least 68020 code to build shared libraries, but
8844 # adding the `-m68020' flag to GCC prevents building anything better,
8846 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8851 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8852 # PIC is the default for these OSes.
8855 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8856 # This hack is so that the source file can tell whether it is being
8857 # built for inclusion in a dll (and should export symbols for example).
8858 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8859 # (--disable-auto-import) libraries
8860 lt_prog_compiler_pic
='-DDLL_EXPORT'
8863 darwin
* | rhapsody
*)
8864 # PIC is the default on this platform
8865 # Common symbols not allowed in MH_DYLIB files
8866 lt_prog_compiler_pic
='-fno-common'
8870 # PIC is the default for Haiku.
8871 # The "-static" flag exists, but is broken.
8872 lt_prog_compiler_static
=
8876 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8877 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8878 # sets the default TLS model and affects inlining.
8884 lt_prog_compiler_pic
='-fPIC'
8890 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8891 # Instead, we relocate shared libraries at runtime.
8895 # Just because we use GCC doesn't mean we suddenly get shared libraries
8896 # on systems that don't support them.
8897 lt_prog_compiler_can_build_shared
=no
8902 # QNX uses GNU C++, but need to define -shared option too, otherwise
8904 lt_prog_compiler_pic
='-fPIC -shared'
8908 if test -d /usr
/nec
; then
8909 lt_prog_compiler_pic
=-Kconform_pic
8914 lt_prog_compiler_pic
='-fPIC'
8918 case $cc_basename in
8919 nvcc
*) # Cuda Compiler Driver 2.2
8920 lt_prog_compiler_wl
='-Xlinker '
8921 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8925 # PORTME Check for flag to pass linker flags through the system compiler.
8928 lt_prog_compiler_wl
='-Wl,'
8929 if test "$host_cpu" = ia64
; then
8930 # AIX 5 now supports IA64 processor
8931 lt_prog_compiler_static
='-Bstatic'
8933 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8937 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8938 # This hack is so that the source file can tell whether it is being
8939 # built for inclusion in a dll (and should export symbols for example).
8940 lt_prog_compiler_pic
='-DDLL_EXPORT'
8943 hpux9
* | hpux10
* | hpux11
*)
8944 lt_prog_compiler_wl
='-Wl,'
8945 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8952 lt_prog_compiler_pic
='+Z'
8955 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8956 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8959 irix5
* | irix6
* | nonstopux
*)
8960 lt_prog_compiler_wl
='-Wl,'
8961 # PIC (with -KPIC) is the default.
8962 lt_prog_compiler_static
='-non_shared'
8965 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8966 case $cc_basename in
8967 # old Intel for x86_64 which still supported -KPIC.
8969 lt_prog_compiler_wl
='-Wl,'
8970 lt_prog_compiler_pic
='-KPIC'
8971 lt_prog_compiler_static
='-static'
8973 # icc used to be incompatible with GCC.
8974 # ICC 10 doesn't accept -KPIC any more.
8976 lt_prog_compiler_wl
='-Wl,'
8977 lt_prog_compiler_pic
='-fPIC'
8978 lt_prog_compiler_static
='-static'
8980 # Lahey Fortran 8.1.
8982 lt_prog_compiler_wl
='-Wl,'
8983 lt_prog_compiler_pic
='--shared'
8984 lt_prog_compiler_static
='--static'
8986 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8987 # Portland Group compilers (*not* the Pentium gcc compiler,
8988 # which looks to be a dead project)
8989 lt_prog_compiler_wl
='-Wl,'
8990 lt_prog_compiler_pic
='-fpic'
8991 lt_prog_compiler_static
='-Bstatic'
8994 lt_prog_compiler_wl
='-Wl,'
8995 # All Alpha code is PIC.
8996 lt_prog_compiler_static
='-non_shared'
8998 xl
* | bgxl
* | bgf
* | mpixl
*)
8999 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9000 lt_prog_compiler_wl
='-Wl,'
9001 lt_prog_compiler_pic
='-qpic'
9002 lt_prog_compiler_static
='-qstaticlink'
9005 case `$CC -V 2>&1 | sed 5q` in
9006 *Sun\ F
* |
*Sun
*Fortran
*)
9007 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9008 lt_prog_compiler_pic
='-KPIC'
9009 lt_prog_compiler_static
='-Bstatic'
9010 lt_prog_compiler_wl
=''
9014 lt_prog_compiler_pic
='-KPIC'
9015 lt_prog_compiler_static
='-Bstatic'
9016 lt_prog_compiler_wl
='-Wl,'
9024 lt_prog_compiler_pic
='-KPIC'
9025 lt_prog_compiler_static
='-Bstatic'
9029 # QNX uses GNU C++, but need to define -shared option too, otherwise
9031 lt_prog_compiler_pic
='-fPIC -shared'
9034 osf3
* | osf4
* | osf5
*)
9035 lt_prog_compiler_wl
='-Wl,'
9036 # All OSF/1 code is PIC.
9037 lt_prog_compiler_static
='-non_shared'
9041 lt_prog_compiler_static
='-non_shared'
9045 lt_prog_compiler_pic
='-KPIC'
9046 lt_prog_compiler_static
='-Bstatic'
9047 case $cc_basename in
9049 lt_prog_compiler_wl
='-Qoption ld ';;
9051 lt_prog_compiler_wl
='-Wl,';;
9056 lt_prog_compiler_wl
='-Qoption ld '
9057 lt_prog_compiler_pic
='-PIC'
9058 lt_prog_compiler_static
='-Bstatic'
9061 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9062 lt_prog_compiler_wl
='-Wl,'
9063 lt_prog_compiler_pic
='-KPIC'
9064 lt_prog_compiler_static
='-Bstatic'
9068 if test -d /usr
/nec
;then
9069 lt_prog_compiler_pic
='-Kconform_pic'
9070 lt_prog_compiler_static
='-Bstatic'
9074 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9075 lt_prog_compiler_wl
='-Wl,'
9076 lt_prog_compiler_pic
='-KPIC'
9077 lt_prog_compiler_static
='-Bstatic'
9081 lt_prog_compiler_wl
='-Wl,'
9082 lt_prog_compiler_can_build_shared
=no
9086 lt_prog_compiler_pic
='-pic'
9087 lt_prog_compiler_static
='-Bstatic'
9091 lt_prog_compiler_can_build_shared
=no
9097 # For platforms which do not support PIC, -DPIC is meaningless:
9099 lt_prog_compiler_pic
=
9102 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9106 $as_echo "$lt_prog_compiler_pic" >&6; }
9114 # Check to make sure the PIC flag actually works.
9116 if test -n "$lt_prog_compiler_pic"; then
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9118 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9119 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9120 $as_echo_n "(cached) " >&6
9122 lt_cv_prog_compiler_pic_works
=no
9123 ac_outfile
=conftest.
$ac_objext
9124 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9125 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9126 # Insert the option either (1) after the last *FLAGS variable, or
9127 # (2) before a word containing "conftest.", or (3) at the end.
9128 # Note that $ac_compile itself does not contain backslashes and begins
9129 # with a dollar sign (not a hyphen), so the echo should work correctly.
9130 # The option is referenced via a variable to avoid confusing sed.
9131 lt_compile
=`echo "$ac_compile" | $SED \
9132 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9133 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9134 -e 's:$: $lt_compiler_flag:'`
9135 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9136 (eval "$lt_compile" 2>conftest.err
)
9138 cat conftest.err
>&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 if (exit $ac_status) && test -s "$ac_outfile"; then
9141 # The compiler can only warn and ignore the option if not recognized
9142 # So say no if there are warnings other than the usual output.
9143 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9144 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9145 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9146 lt_cv_prog_compiler_pic_works
=yes
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9153 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9155 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9156 case $lt_prog_compiler_pic in
9158 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9161 lt_prog_compiler_pic
=
9162 lt_prog_compiler_can_build_shared
=no
9173 # Check to make sure the static flag actually works.
9175 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9177 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9178 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9179 $as_echo_n "(cached) " >&6
9181 lt_cv_prog_compiler_static_works
=no
9182 save_LDFLAGS
="$LDFLAGS"
9183 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9184 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9185 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9186 # The linker can only warn and ignore the option if not recognized
9187 # So say no if there are warnings
9188 if test -s conftest.err
; then
9189 # Append any errors to the config.log.
9190 cat conftest.err
1>&5
9191 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9192 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9193 if diff conftest.exp conftest.er2
>/dev
/null
; then
9194 lt_cv_prog_compiler_static_works
=yes
9197 lt_cv_prog_compiler_static_works
=yes
9201 LDFLAGS
="$save_LDFLAGS"
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9205 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9207 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9210 lt_prog_compiler_static
=
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9220 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9221 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9222 $as_echo_n "(cached) " >&6
9224 lt_cv_prog_compiler_c_o
=no
9225 $RM -r conftest
2>/dev
/null
9229 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9231 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9232 # Insert the option either (1) after the last *FLAGS variable, or
9233 # (2) before a word containing "conftest.", or (3) at the end.
9234 # Note that $ac_compile itself does not contain backslashes and begins
9235 # with a dollar sign (not a hyphen), so the echo should work correctly.
9236 lt_compile
=`echo "$ac_compile" | $SED \
9237 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9238 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9239 -e 's:$: $lt_compiler_flag:'`
9240 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9241 (eval "$lt_compile" 2>out
/conftest.err
)
9243 cat out
/conftest.err
>&5
9244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9247 # The compiler can only warn and ignore the option if not recognized
9248 # So say no if there are warnings
9249 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9250 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9251 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9252 lt_cv_prog_compiler_c_o
=yes
9257 # SGI C++ compiler will create directory out/ii_files/ for
9258 # template instantiation
9259 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9260 $RM out
/* && rmdir out
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9267 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9275 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9276 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9277 $as_echo_n "(cached) " >&6
9279 lt_cv_prog_compiler_c_o
=no
9280 $RM -r conftest
2>/dev
/null
9284 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9286 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9287 # Insert the option either (1) after the last *FLAGS variable, or
9288 # (2) before a word containing "conftest.", or (3) at the end.
9289 # Note that $ac_compile itself does not contain backslashes and begins
9290 # with a dollar sign (not a hyphen), so the echo should work correctly.
9291 lt_compile
=`echo "$ac_compile" | $SED \
9292 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9293 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9294 -e 's:$: $lt_compiler_flag:'`
9295 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9296 (eval "$lt_compile" 2>out
/conftest.err
)
9298 cat out
/conftest.err
>&5
9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9302 # The compiler can only warn and ignore the option if not recognized
9303 # So say no if there are warnings
9304 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9305 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9306 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9307 lt_cv_prog_compiler_c_o
=yes
9312 # SGI C++ compiler will create directory out/ii_files/ for
9313 # template instantiation
9314 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9315 $RM out
/* && rmdir out
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9322 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9327 hard_links
="nottested"
9328 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9329 # do not overwrite the value of need_locks provided by the user
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9331 $as_echo_n "checking if we can lock with hard links... " >&6; }
9334 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9336 ln conftest.a conftest.b
2>&5 || hard_links
=no
9337 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9339 $as_echo "$hard_links" >&6; }
9340 if test "$hard_links" = no
; then
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9342 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9355 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9358 allow_undefined_flag
=
9359 always_export_symbols
=no
9361 archive_expsym_cmds
=
9362 compiler_needs_object
=no
9363 enable_shared_with_static_runtimes
=no
9364 export_dynamic_flag_spec
=
9365 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9366 hardcode_automatic
=no
9368 hardcode_direct_absolute
=no
9369 hardcode_libdir_flag_spec
=
9370 hardcode_libdir_flag_spec_ld
=
9371 hardcode_libdir_separator
=
9373 hardcode_shlibpath_var
=unsupported
9375 link_all_deplibs
=unknown
9378 old_archive_from_new_cmds
=
9379 old_archive_from_expsyms_cmds
=
9380 thread_safe_flag_spec
=
9381 whole_archive_flag_spec
=
9382 # include_expsyms should be a list of space-separated symbols to be *always*
9383 # included in the symbol list
9385 # exclude_expsyms can be an extended regexp of symbols to exclude
9386 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9387 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9388 # as well as any symbol that contains `d'.
9389 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9390 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9391 # platforms (ab)use it in PIC code, but their linkers get confused if
9392 # the symbol is explicitly referenced. Since portable code cannot
9393 # rely on this symbol name, it's probably fine to never include it in
9394 # preloaded symbol tables.
9395 # Exclude shared library initialization/finalization symbols.
9396 extract_expsyms_cmds
=
9399 cygwin
* | mingw
* | pw32
* | cegcc
*)
9400 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9401 # When not using gcc, we currently assume that we are using
9402 # Microsoft Visual C++.
9403 if test "$GCC" != yes; then
9408 # we just hope/assume this is gcc and not c89 (= MSVC++)
9418 # On some targets, GNU ld is compatible enough with the native linker
9419 # that we're better off using the native interface for both.
9420 lt_use_gnu_ld_interface
=no
9421 if test "$with_gnu_ld" = yes; then
9424 # The AIX port of GNU ld has always aspired to compatibility
9425 # with the native linker. However, as the warning in the GNU ld
9426 # block says, versions before 2.19.5* couldn't really create working
9427 # shared libraries, regardless of the interface used.
9428 case `$LD -v 2>&1` in
9429 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9430 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9431 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9433 lt_use_gnu_ld_interface
=yes
9438 lt_use_gnu_ld_interface
=yes
9443 if test "$lt_use_gnu_ld_interface" = yes; then
9444 # If archive_cmds runs LD, not CC, wlarc should be empty
9447 # Set some defaults for GNU ld with shared library support. These
9448 # are reset later if shared libraries are not supported. Putting them
9449 # here allows them to be overridden if necessary.
9450 runpath_var
=LD_RUN_PATH
9451 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9452 export_dynamic_flag_spec
='${wl}--export-dynamic'
9453 # ancient GNU ld didn't support --whole-archive et. al.
9454 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9455 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9457 whole_archive_flag_spec
=
9459 supports_anon_versioning
=no
9460 case `$LD -v 2>&1` in
9461 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9462 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9463 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9464 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9465 *\
2.11.
*) ;; # other 2.11 versions
9466 *) supports_anon_versioning
=yes ;;
9469 # See if GNU ld supports shared libraries.
9472 # On AIX/PPC, the GNU linker is very broken
9473 if test "$host_cpu" != ia64
; then
9477 *** Warning: the GNU linker, at least up to release 2.19, is reported
9478 *** to be unable to reliably create shared libraries on AIX.
9479 *** Therefore, libtool is disabling shared libraries support. If you
9480 *** really care for shared libraries, you may want to install binutils
9481 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9482 *** You will then need to restart the configuration process.
9491 # see comment about AmigaOS4 .so support
9492 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9493 archive_expsym_cmds
=''
9496 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)'
9497 hardcode_libdir_flag_spec
='-L$libdir'
9498 hardcode_minus_L
=yes
9504 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9505 allow_undefined_flag
=unsupported
9506 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9507 # support --undefined. This deserves some investigation. FIXME
9508 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9514 cygwin
* | mingw
* | pw32
* | cegcc
*)
9515 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9516 # as there is no search path for DLLs.
9517 hardcode_libdir_flag_spec
='-L$libdir'
9518 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9519 allow_undefined_flag
=unsupported
9520 always_export_symbols
=no
9521 enable_shared_with_static_runtimes
=yes
9522 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9524 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9525 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9526 # If the export-symbols file already is a .def file (1st line
9527 # is EXPORTS), use it as is; otherwise, prepend...
9528 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9529 cp $export_symbols $output_objdir/$soname.def;
9531 echo EXPORTS > $output_objdir/$soname.def;
9532 cat $export_symbols >> $output_objdir/$soname.def;
9534 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9541 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9542 link_all_deplibs
=yes
9547 hardcode_shlibpath_var
=no
9548 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9549 export_dynamic_flag_spec
='${wl}-E'
9550 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9551 # Instead, shared libraries are loaded at an image base (0x10000000 by
9552 # default) and relocated if they conflict, which is a slow very memory
9553 # consuming and fragmenting process. To avoid this, we pick a random,
9554 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9555 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9556 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9557 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'
9560 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9562 if test "$host_os" = linux-dietlibc
; then
9563 case $cc_basename in
9564 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9567 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9568 && test "$tmp_diet" = no
9571 tmp_sharedflag
='-shared'
9572 case $cc_basename,$host_cpu in
9573 pgcc
*) # Portland Group C compiler
9574 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'
9575 tmp_addflag
=' $pic_flag'
9577 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9578 # Portland Group f77 and f90 compilers
9579 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'
9580 tmp_addflag
=' $pic_flag -Mnomain' ;;
9581 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9582 tmp_addflag
=' -i_dynamic' ;;
9583 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9584 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9585 ifc
* | ifort
*) # Intel Fortran compiler
9586 tmp_addflag
=' -nofor_main' ;;
9587 lf95
*) # Lahey Fortran 8.1
9588 whole_archive_flag_spec
=
9589 tmp_sharedflag
='--shared' ;;
9590 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9591 tmp_sharedflag
='-qmkshrobj'
9593 nvcc
*) # Cuda Compiler Driver 2.2
9594 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'
9595 compiler_needs_object
=yes
9598 case `$CC -V 2>&1 | sed 5q` in
9599 *Sun\ C
*) # Sun C 5.9
9600 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'
9601 compiler_needs_object
=yes
9602 tmp_sharedflag
='-G' ;;
9603 *Sun\ F
*) # Sun Fortran 8.3
9604 tmp_sharedflag
='-G' ;;
9606 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9608 if test "x$supports_anon_versioning" = xyes
; then
9609 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9610 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9611 echo "local: *; };" >> $output_objdir/$libname.ver~
9612 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9615 case $cc_basename in
9616 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9617 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9618 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9619 hardcode_libdir_flag_spec
=
9620 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9621 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9622 if test "x$supports_anon_versioning" = xyes
; then
9623 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9624 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9625 echo "local: *; };" >> $output_objdir/$libname.ver~
9626 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9636 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9637 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9640 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9641 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9646 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9650 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9651 *** create shared libraries on Solaris systems. Therefore, libtool
9652 *** is disabling shared libraries support. We urge you to upgrade GNU
9653 *** binutils to release 2.9.1 or newer. Another option is to modify
9654 *** your PATH or compiler configuration so that the native linker is
9655 *** used, and then restart.
9658 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9659 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9660 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9666 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9667 case `$LD -v 2>&1` in
9668 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9672 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9673 *** reliably create shared libraries on SCO systems. Therefore, libtool
9674 *** is disabling shared libraries support. We urge you to upgrade GNU
9675 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9676 *** your PATH or compiler configuration so that the native linker is
9677 *** used, and then restart.
9682 # For security reasons, it is highly recommended that you always
9683 # use absolute paths for naming shared libraries, and exclude the
9684 # DT_RUNPATH tag from executables and libraries. But doing so
9685 # requires that you compile everything twice, which is a pain.
9686 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9687 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9688 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9689 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9698 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9701 hardcode_shlibpath_var
=no
9705 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9706 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9707 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9714 if test "$ld_shlibs" = no
; then
9716 hardcode_libdir_flag_spec
=
9717 export_dynamic_flag_spec
=
9718 whole_archive_flag_spec
=
9721 # PORTME fill in a description of your system's linker (not GNU ld)
9724 allow_undefined_flag
=unsupported
9725 always_export_symbols
=yes
9726 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'
9727 # Note: this linker hardcodes the directories in LIBPATH if there
9728 # are no directories specified by -L.
9729 hardcode_minus_L
=yes
9730 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9731 # Neither direct hardcoding nor static linking is supported with a
9733 hardcode_direct
=unsupported
9738 if test "$host_cpu" = ia64
; then
9739 # On IA64, the linker does run time linking by default, so we don't
9740 # have to do anything special.
9741 aix_use_runtimelinking
=no
9742 exp_sym_flag
='-Bexport'
9745 # If we're using GNU nm, then we don't want the "-C" option.
9746 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9747 # Also, AIX nm treats weak defined symbols like other global
9748 # defined symbols, whereas GNU nm marks them as "W".
9749 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9750 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'
9752 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'
9754 aix_use_runtimelinking
=no
9756 # Test if we are trying to use run time linking or normal
9757 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9758 # need to do runtime linking.
9759 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9760 for ld_flag
in $LDFLAGS; do
9761 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9762 aix_use_runtimelinking
=yes
9769 exp_sym_flag
='-bexport'
9770 no_entry_flag
='-bnoentry'
9773 # When large executables or shared objects are built, AIX ld can
9774 # have problems creating the table of contents. If linking a library
9775 # or program results in "error TOC overflow" add -mminimal-toc to
9776 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9777 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9781 hardcode_direct_absolute
=yes
9782 hardcode_libdir_separator
=':'
9783 link_all_deplibs
=yes
9784 file_list_spec
='${wl}-f,'
9786 if test "$GCC" = yes; then
9787 case $host_os in aix4.
[012]|aix4.
[012].
*)
9788 # We only want to do this on AIX 4.2 and lower, the check
9789 # below for broken collect2 doesn't work under 4.3+
9790 collect2name
=`${CC} -print-prog-name=collect2`
9791 if test -f "$collect2name" &&
9792 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9794 # We have reworked collect2
9797 # We have old collect2
9798 hardcode_direct
=unsupported
9799 # It fails to find uninstalled libraries when the uninstalled
9800 # path is not listed in the libpath. Setting hardcode_minus_L
9801 # to unsupported forces relinking
9802 hardcode_minus_L
=yes
9803 hardcode_libdir_flag_spec
='-L$libdir'
9804 hardcode_libdir_separator
=
9808 shared_flag
='-shared'
9809 if test "$aix_use_runtimelinking" = yes; then
9810 shared_flag
="$shared_flag "'${wl}-G'
9814 if test "$host_cpu" = ia64
; then
9815 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9816 # chokes on -Wl,-G. The following line is correct:
9819 if test "$aix_use_runtimelinking" = yes; then
9820 shared_flag
='${wl}-G'
9822 shared_flag
='${wl}-bM:SRE'
9827 export_dynamic_flag_spec
='${wl}-bexpall'
9828 # It seems that -bexpall does not export symbols beginning with
9829 # underscore (_), so it is better to generate a list of symbols to export.
9830 always_export_symbols
=yes
9831 if test "$aix_use_runtimelinking" = yes; then
9832 # Warning - without using the other runtime loading flags (-brtl),
9833 # -berok will link without error, but may produce a broken library.
9834 allow_undefined_flag
='-berok'
9835 # Determine the default libpath from the value encoded in an
9837 if test x
$gcc_no_link = xyes
; then
9838 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9851 if ac_fn_c_try_link
"$LINENO"; then :
9853 lt_aix_libpath_sed
='
9854 /Import File Strings/,/^$/ {
9860 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9861 # Check for a 64-bit object if we didn't find anything.
9862 if test -z "$aix_libpath"; then
9863 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9866 rm -f core conftest.err conftest.
$ac_objext \
9867 conftest
$ac_exeext conftest.
$ac_ext
9868 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9870 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9871 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"
9873 if test "$host_cpu" = ia64
; then
9874 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9875 allow_undefined_flag
="-z nodefs"
9876 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"
9878 # Determine the default libpath from the value encoded in an
9880 if test x
$gcc_no_link = xyes
; then
9881 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9894 if ac_fn_c_try_link
"$LINENO"; then :
9896 lt_aix_libpath_sed
='
9897 /Import File Strings/,/^$/ {
9903 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9904 # Check for a 64-bit object if we didn't find anything.
9905 if test -z "$aix_libpath"; then
9906 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9909 rm -f core conftest.err conftest.
$ac_objext \
9910 conftest
$ac_exeext conftest.
$ac_ext
9911 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9913 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9914 # Warning - without using the other run time loading flags,
9915 # -berok will link without error, but may produce a broken library.
9916 no_undefined_flag
=' ${wl}-bernotok'
9917 allow_undefined_flag
=' ${wl}-berok'
9918 if test "$with_gnu_ld" = yes; then
9919 # We only use this code for GNU lds that support --whole-archive.
9920 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9922 # Exported symbols can be pulled into shared objects from archives
9923 whole_archive_flag_spec
='$convenience'
9925 archive_cmds_need_lc
=yes
9926 # This is similar to how AIX traditionally builds its shared libraries.
9927 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'
9935 # see comment about AmigaOS4 .so support
9936 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9937 archive_expsym_cmds
=''
9940 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)'
9941 hardcode_libdir_flag_spec
='-L$libdir'
9942 hardcode_minus_L
=yes
9948 export_dynamic_flag_spec
=-rdynamic
9951 cygwin
* | mingw
* | pw32
* | cegcc
*)
9952 # When not using gcc, we currently assume that we are using
9953 # Microsoft Visual C++.
9954 # hardcode_libdir_flag_spec is actually meaningless, as there is
9955 # no search path for DLLs.
9956 hardcode_libdir_flag_spec
=' '
9957 allow_undefined_flag
=unsupported
9958 # Tell ltmain to make .lib files, not .a files.
9960 # Tell ltmain to make .dll files, not .so files.
9962 # FIXME: Setting linknames here is a bad hack.
9963 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9964 # The linker will automatically build a .lib file if we build a DLL.
9965 old_archive_from_new_cmds
='true'
9966 # FIXME: Should let the user specify the lib program.
9967 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9968 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9969 enable_shared_with_static_runtimes
=yes
9972 darwin
* | rhapsody
*)
9975 archive_cmds_need_lc
=no
9977 hardcode_automatic
=yes
9978 hardcode_shlibpath_var
=unsupported
9979 if test "$lt_cv_ld_force_load" = "yes"; then
9980 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\"`'
9982 whole_archive_flag_spec
=''
9984 link_all_deplibs
=yes
9985 allow_undefined_flag
="$_lt_dar_allow_undefined"
9986 case $cc_basename in
9987 ifort
*) _lt_dar_can_shared
=yes ;;
9988 *) _lt_dar_can_shared
=$GCC ;;
9990 if test "$_lt_dar_can_shared" = "yes"; then
9991 output_verbose_link_cmd
=func_echo_all
9992 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9993 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9994 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}"
9995 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}"
10004 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10005 hardcode_libdir_flag_spec
='-L$libdir'
10006 hardcode_shlibpath_var
=no
10013 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10014 # support. Future versions do this automatically, but an explicit c++rt0.o
10015 # does not break anything, and helps significantly (at the cost of a little
10018 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10019 hardcode_libdir_flag_spec
='-R$libdir'
10020 hardcode_direct
=yes
10021 hardcode_shlibpath_var
=no
10024 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10026 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10027 hardcode_direct
=yes
10028 hardcode_minus_L
=yes
10029 hardcode_shlibpath_var
=no
10032 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10033 freebsd
* | dragonfly
*)
10034 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10035 hardcode_libdir_flag_spec
='-R$libdir'
10036 hardcode_direct
=yes
10037 hardcode_shlibpath_var
=no
10041 if test "$GCC" = yes; then
10042 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'
10044 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'
10046 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10047 hardcode_libdir_separator
=:
10048 hardcode_direct
=yes
10050 # hardcode_minus_L: Not really in the search PATH,
10051 # but as the default location of the library.
10052 hardcode_minus_L
=yes
10053 export_dynamic_flag_spec
='${wl}-E'
10057 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10058 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10060 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10062 if test "$with_gnu_ld" = no
; then
10063 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10064 hardcode_libdir_flag_spec_ld
='+b $libdir'
10065 hardcode_libdir_separator
=:
10066 hardcode_direct
=yes
10067 hardcode_direct_absolute
=yes
10068 export_dynamic_flag_spec
='${wl}-E'
10069 # hardcode_minus_L: Not really in the search PATH,
10070 # but as the default location of the library.
10071 hardcode_minus_L
=yes
10076 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10079 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10082 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10085 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10098 # Older versions of the 11.00 compiler do not understand -b yet
10099 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10101 $as_echo_n "checking if $CC understands -b... " >&6; }
10102 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10103 $as_echo_n "(cached) " >&6
10105 lt_cv_prog_compiler__b
=no
10106 save_LDFLAGS
="$LDFLAGS"
10107 LDFLAGS
="$LDFLAGS -b"
10108 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10109 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10110 # The linker can only warn and ignore the option if not recognized
10111 # So say no if there are warnings
10112 if test -s conftest.err
; then
10113 # Append any errors to the config.log.
10114 cat conftest.err
1>&5
10115 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10116 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10117 if diff conftest.exp conftest.er2
>/dev
/null
; then
10118 lt_cv_prog_compiler__b
=yes
10121 lt_cv_prog_compiler__b
=yes
10125 LDFLAGS
="$save_LDFLAGS"
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10129 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10131 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10132 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10134 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10140 if test "$with_gnu_ld" = no
; then
10141 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10142 hardcode_libdir_separator
=:
10147 hardcode_shlibpath_var
=no
10150 hardcode_direct
=yes
10151 hardcode_direct_absolute
=yes
10152 export_dynamic_flag_spec
='${wl}-E'
10154 # hardcode_minus_L: Not really in the search PATH,
10155 # but as the default location of the library.
10156 hardcode_minus_L
=yes
10162 irix5
* | irix6
* | nonstopux
*)
10163 if test "$GCC" = yes; then
10164 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'
10165 # Try to use the -exported_symbol ld option, if it does not
10166 # work, assume that -exports_file does not work either and
10167 # implicitly export all symbols.
10168 save_LDFLAGS
="$LDFLAGS"
10169 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10170 if test x
$gcc_no_link = xyes
; then
10171 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10177 if ac_fn_c_try_link
"$LINENO"; then :
10178 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'
10181 rm -f core conftest.err conftest.
$ac_objext \
10182 conftest
$ac_exeext conftest.
$ac_ext
10183 LDFLAGS
="$save_LDFLAGS"
10185 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'
10186 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'
10188 archive_cmds_need_lc
='no'
10189 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10190 hardcode_libdir_separator
=:
10192 link_all_deplibs
=yes
10196 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10197 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10199 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10201 hardcode_libdir_flag_spec
='-R$libdir'
10202 hardcode_direct
=yes
10203 hardcode_shlibpath_var
=no
10207 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10208 hardcode_direct
=yes
10209 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10210 hardcode_libdir_separator
=:
10211 hardcode_shlibpath_var
=no
10218 if test -f /usr
/libexec
/ld.so
; then
10219 hardcode_direct
=yes
10220 hardcode_shlibpath_var
=no
10221 hardcode_direct_absolute
=yes
10222 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10223 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10224 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10225 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10226 export_dynamic_flag_spec
='${wl}-E'
10229 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10230 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10231 hardcode_libdir_flag_spec
='-R$libdir'
10234 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10235 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10245 hardcode_libdir_flag_spec
='-L$libdir'
10246 hardcode_minus_L
=yes
10247 allow_undefined_flag
=unsupported
10248 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'
10249 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10253 if test "$GCC" = yes; then
10254 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10255 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'
10257 allow_undefined_flag
=' -expect_unresolved \*'
10258 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'
10260 archive_cmds_need_lc
='no'
10261 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10262 hardcode_libdir_separator
=:
10265 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10266 if test "$GCC" = yes; then
10267 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10268 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'
10269 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10271 allow_undefined_flag
=' -expect_unresolved \*'
10272 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'
10273 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~
10274 $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'
10276 # Both c and cxx compiler support -rpath directly
10277 hardcode_libdir_flag_spec
='-rpath $libdir'
10279 archive_cmds_need_lc
='no'
10280 hardcode_libdir_separator
=:
10284 no_undefined_flag
=' -z defs'
10285 if test "$GCC" = yes; then
10287 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10288 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10289 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10291 case `$CC -V 2>&1` in
10294 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10295 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10296 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10300 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10301 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10302 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10306 hardcode_libdir_flag_spec
='-R$libdir'
10307 hardcode_shlibpath_var
=no
10309 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10311 # The compiler driver will combine and reorder linker options,
10312 # but understands `-z linker_flag'. GCC discards it without `$wl',
10313 # but is careful enough not to reorder.
10314 # Supported since Solaris 2.6 (maybe 2.5.1?)
10315 if test "$GCC" = yes; then
10316 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10318 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10322 link_all_deplibs
=yes
10326 if test "x$host_vendor" = xsequent
; then
10327 # Use $CC to link under sequent, because it throws in some extra .o
10328 # files that make .init and .fini sections work.
10329 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10331 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10333 hardcode_libdir_flag_spec
='-L$libdir'
10334 hardcode_direct
=yes
10335 hardcode_minus_L
=yes
10336 hardcode_shlibpath_var
=no
10340 case $host_vendor in
10342 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10343 hardcode_direct
=yes # is this really true???
10346 ## LD is ld it makes a PLAMLIB
10347 ## CC just makes a GrossModule.
10348 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10349 reload_cmds
='$CC -r -o $output$reload_objs'
10353 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10354 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10357 runpath_var
='LD_RUN_PATH'
10358 hardcode_shlibpath_var
=no
10362 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10363 hardcode_shlibpath_var
=no
10364 export_dynamic_flag_spec
='-Bexport'
10368 if test -d /usr
/nec
; then
10369 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10370 hardcode_shlibpath_var
=no
10371 runpath_var
=LD_RUN_PATH
10372 hardcode_runpath_var
=yes
10377 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10378 no_undefined_flag
='${wl}-z,text'
10379 archive_cmds_need_lc
=no
10380 hardcode_shlibpath_var
=no
10381 runpath_var
='LD_RUN_PATH'
10383 if test "$GCC" = yes; then
10384 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10385 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10387 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10388 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10392 sysv5
* | sco3.2v5
* | sco5v6
*)
10393 # Note: We can NOT use -z defs as we might desire, because we do not
10394 # link with -lc, and that would cause any symbols used from libc to
10395 # always be unresolved, which means just about no library would
10396 # ever link correctly. If we're not using GNU ld we use -z text
10397 # though, which does catch some bad symbols but isn't as heavy-handed
10399 no_undefined_flag
='${wl}-z,text'
10400 allow_undefined_flag
='${wl}-z,nodefs'
10401 archive_cmds_need_lc
=no
10402 hardcode_shlibpath_var
=no
10403 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10404 hardcode_libdir_separator
=':'
10405 link_all_deplibs
=yes
10406 export_dynamic_flag_spec
='${wl}-Bexport'
10407 runpath_var
='LD_RUN_PATH'
10409 if test "$GCC" = yes; then
10410 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10411 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10413 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10414 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10419 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10420 hardcode_libdir_flag_spec
='-L$libdir'
10421 hardcode_shlibpath_var
=no
10429 if test x
$host_vendor = xsni
; then
10431 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10432 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10439 $as_echo "$ld_shlibs" >&6; }
10440 test "$ld_shlibs" = no
&& can_build_shared
=no
10442 with_gnu_ld
=$with_gnu_ld
10459 # Do we need to explicitly link libc?
10461 case "x$archive_cmds_need_lc" in
10463 # Assume -lc should be added
10464 archive_cmds_need_lc
=yes
10466 if test "$enable_shared" = yes && test "$GCC" = yes; then
10467 case $archive_cmds in
10469 # FIXME: we may have to deal with multi-command sequences.
10472 # Test whether the compiler implicitly links with -lc since on some
10473 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10474 # to ld, don't add -lc before -lgcc.
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10476 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10477 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10478 $as_echo_n "(cached) " >&6
10481 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10483 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10484 (eval $ac_compile) 2>&5
10486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10487 test $ac_status = 0; } 2>conftest.err
; then
10490 libobjs
=conftest.
$ac_objext
10492 wl
=$lt_prog_compiler_wl
10493 pic_flag
=$lt_prog_compiler_pic
10499 lt_save_allow_undefined_flag
=$allow_undefined_flag
10500 allow_undefined_flag
=
10501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10502 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10505 test $ac_status = 0; }
10507 lt_cv_archive_cmds_need_lc
=no
10509 lt_cv_archive_cmds_need_lc
=yes
10511 allow_undefined_flag
=$lt_save_allow_undefined_flag
10513 cat conftest.err
1>&5
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10519 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10520 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10684 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10686 if test "$GCC" = yes; then
10688 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10689 *) lt_awk_arg
="/^libraries:/" ;;
10692 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10693 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10695 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10696 case $lt_search_path_spec in
10698 # if the path contains ";" then we assume it to be the separator
10699 # otherwise default to the standard path separator (i.e. ":") - it is
10700 # assumed that no part of a normal pathname contains ";" but that should
10701 # okay in the real world where ";" in dirpaths is itself problematic.
10702 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10705 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10708 # Ok, now we have the path, separated by spaces, we can step through it
10709 # and add multilib dir if necessary.
10710 lt_tmp_lt_search_path_spec
=
10711 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10712 for lt_sys_path
in $lt_search_path_spec; do
10713 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10714 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10716 test -d "$lt_sys_path" && \
10717 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10720 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10721 BEGIN {RS=" "; FS="/|\n";} {
10724 for (lt_i = NF; lt_i > 0; lt_i--) {
10725 if ($lt_i != "" && $lt_i != ".") {
10726 if ($lt_i == "..") {
10729 if (lt_count == 0) {
10730 lt_foo="/" $lt_i lt_foo;
10737 if (lt_foo != "") { lt_freq[lt_foo]++; }
10738 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10740 # AWK program above erroneously prepends '/' to C:/dos/paths
10743 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10744 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10746 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10748 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10750 library_names_spec
=
10751 libname_spec
='lib$name'
10755 postuninstall_cmds
=
10759 shlibpath_overrides_runpath
=unknown
10761 dynamic_linker
="$host_os ld.so"
10762 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10763 need_lib_prefix
=unknown
10764 hardcode_into_libs
=no
10766 # when you set need_version to no, make sure it does not cause -set_version
10767 # flags to be left without arguments
10768 need_version
=unknown
10773 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10774 shlibpath_var
=LIBPATH
10776 # AIX 3 has no versioning support, so we append a major version to the name.
10777 soname_spec
='${libname}${release}${shared_ext}$major'
10784 hardcode_into_libs
=yes
10785 if test "$host_cpu" = ia64
; then
10786 # AIX 5 supports IA64
10787 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10788 shlibpath_var
=LD_LIBRARY_PATH
10790 # With GCC up to 2.95.x, collect2 would create an import file
10791 # for dependence libraries. The import file would start with
10792 # the line `#! .'. This would cause the generated library to
10793 # depend on `.', always an invalid library. This was fixed in
10794 # development snapshots of GCC prior to 3.0.
10796 aix4 | aix4.
[01] | aix4.
[01].
*)
10797 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10799 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10802 can_build_shared
=no
10806 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10807 # soname into executable. Probably we can add versioning support to
10808 # collect2, so additional links can be useful in future.
10809 if test "$aix_use_runtimelinking" = yes; then
10810 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10811 # instead of lib<name>.a to let people know that these are not
10812 # typical AIX shared libraries.
10813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10815 # We preserve .a as extension for shared libraries through AIX4.2
10816 # and later when we are not doing run time linking.
10817 library_names_spec
='${libname}${release}.a $libname.a'
10818 soname_spec
='${libname}${release}${shared_ext}$major'
10820 shlibpath_var
=LIBPATH
10827 # Since July 2007 AmigaOS4 officially supports .so libraries.
10828 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10832 library_names_spec
='$libname.ixlibrary $libname.a'
10833 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10834 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'
10840 library_names_spec
='${libname}${shared_ext}'
10841 dynamic_linker
="$host_os ld.so"
10842 shlibpath_var
=LIBRARY_PATH
10848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10849 soname_spec
='${libname}${release}${shared_ext}$major'
10850 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10851 shlibpath_var
=LD_LIBRARY_PATH
10852 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10853 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10854 # the default ld.so.conf also contains /usr/contrib/lib and
10855 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10856 # libtool to hard-code these into programs
10859 cygwin
* | mingw
* | pw32
* | cegcc
*)
10860 version_type
=windows
10865 case $GCC,$host_os in
10866 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10867 library_names_spec
='$libname.dll.a'
10868 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10869 postinstall_cmds
='base_file=`basename \${file}`~
10870 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10871 dldir=$destdir/`dirname \$dlpath`~
10872 test -d \$dldir || mkdir -p \$dldir~
10873 $install_prog $dir/$dlname \$dldir/$dlname~
10874 chmod a+x \$dldir/$dlname~
10875 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10876 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10878 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10879 dlpath=$dir/\$dldll~
10881 shlibpath_overrides_runpath
=yes
10885 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10886 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10888 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10891 # MinGW DLLs use traditional 'lib' prefix
10892 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10895 # pw32 DLLs use 'pw' prefix rather than 'lib'
10896 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10902 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10905 dynamic_linker
='Win32 ld.exe'
10906 # FIXME: first we should search . and the directory the executable is in
10910 darwin
* | rhapsody
*)
10911 dynamic_linker
="$host_os dyld"
10912 version_type
=darwin
10915 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10916 soname_spec
='${libname}${release}${major}$shared_ext'
10917 shlibpath_overrides_runpath
=yes
10918 shlibpath_var
=DYLD_LIBRARY_PATH
10919 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10921 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10922 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10930 soname_spec
='${libname}${release}${shared_ext}$major'
10931 shlibpath_var
=LD_LIBRARY_PATH
10938 freebsd
* | dragonfly
*)
10939 # DragonFly does not have aout. When/if they implement a new
10940 # versioning mechanism, adjust this.
10941 if test -x /usr
/bin
/objformat
; then
10942 objformat
=`/usr/bin/objformat`
10945 freebsd
[123]*) objformat
=aout
;;
10946 *) objformat
=elf
;;
10949 version_type
=freebsd-
$objformat
10950 case $version_type in
10952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10957 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10961 shlibpath_var
=LD_LIBRARY_PATH
10964 shlibpath_overrides_runpath
=yes
10966 freebsd3.
[01]* | freebsdelf3.
[01]*)
10967 shlibpath_overrides_runpath
=yes
10968 hardcode_into_libs
=yes
10970 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10971 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10972 shlibpath_overrides_runpath
=no
10973 hardcode_into_libs
=yes
10975 *) # from 4.6 on, and DragonFly
10976 shlibpath_overrides_runpath
=yes
10977 hardcode_into_libs
=yes
10986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10987 soname_spec
='${libname}${release}${shared_ext}$major'
10988 shlibpath_var
=LD_LIBRARY_PATH
10989 hardcode_into_libs
=yes
10996 dynamic_linker
="$host_os runtime_loader"
10997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10998 soname_spec
='${libname}${release}${shared_ext}$major'
10999 shlibpath_var
=LIBRARY_PATH
11000 shlibpath_overrides_runpath
=yes
11001 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11002 hardcode_into_libs
=yes
11005 hpux9
* | hpux10
* | hpux11
*)
11006 # Give a soname corresponding to the major version so that dld.sl refuses to
11007 # link against other versions.
11014 hardcode_into_libs
=yes
11015 dynamic_linker
="$host_os dld.so"
11016 shlibpath_var
=LD_LIBRARY_PATH
11017 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11019 soname_spec
='${libname}${release}${shared_ext}$major'
11020 if test "X$HPUX_IA64_MODE" = X32
; then
11021 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11023 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11025 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11029 hardcode_into_libs
=yes
11030 dynamic_linker
="$host_os dld.sl"
11031 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11032 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11034 soname_spec
='${libname}${release}${shared_ext}$major'
11035 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11036 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11040 dynamic_linker
="$host_os dld.sl"
11041 shlibpath_var
=SHLIB_PATH
11042 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11044 soname_spec
='${libname}${release}${shared_ext}$major'
11047 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11048 postinstall_cmds
='chmod 555 $lib'
11049 # or fails outright, so override atomically:
11050 install_override_mode
=555
11057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11058 soname_spec
='${libname}${release}${shared_ext}$major'
11059 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11060 shlibpath_var
=LD_LIBRARY_PATH
11061 shlibpath_overrides_runpath
=no
11062 hardcode_into_libs
=yes
11065 irix5
* | irix6
* | nonstopux
*)
11067 nonstopux
*) version_type
=nonstopux
;;
11069 if test "$lt_cv_prog_gnu_ld" = yes; then
11077 soname_spec
='${libname}${release}${shared_ext}$major'
11078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11080 irix5
* | nonstopux
*)
11081 libsuff
= shlibsuff
=
11084 case $LD in # libtool.m4 will add one of these switches to LD
11085 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11086 libsuff
= shlibsuff
= libmagic
=32-bit;;
11087 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11088 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11089 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11090 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11091 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11095 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11096 shlibpath_overrides_runpath
=no
11097 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11098 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11099 hardcode_into_libs
=yes
11102 # No shared lib support for Linux oldld, aout, or coff.
11103 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11107 # This must be Linux ELF.
11108 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11113 soname_spec
='${libname}${release}${shared_ext}$major'
11114 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11115 shlibpath_var
=LD_LIBRARY_PATH
11116 shlibpath_overrides_runpath
=no
11118 # Some binutils ld are patched to set DT_RUNPATH
11119 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11120 $as_echo_n "(cached) " >&6
11122 lt_cv_shlibpath_overrides_runpath
=no
11123 save_LDFLAGS
=$LDFLAGS
11124 save_libdir
=$libdir
11125 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11126 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11127 if test x
$gcc_no_link = xyes
; then
11128 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11141 if ac_fn_c_try_link
"$LINENO"; then :
11142 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11143 lt_cv_shlibpath_overrides_runpath
=yes
11146 rm -f core conftest.err conftest.
$ac_objext \
11147 conftest
$ac_exeext conftest.
$ac_ext
11148 LDFLAGS
=$save_LDFLAGS
11149 libdir
=$save_libdir
11153 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11155 # This implies no fast_install, which is unacceptable.
11156 # Some rework will be needed to allow for fast_install
11157 # before this can be enabled.
11158 hardcode_into_libs
=yes
11160 # Append ld.so.conf contents to the search path
11161 if test -f /etc
/ld.so.conf
; then
11162 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' ' '`
11163 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11166 # We used to test for /lib/ld.so.1 and disable shared libraries on
11167 # powerpc, because MkLinux only supported shared libraries with the
11168 # GNU dynamic linker. Since this was broken with cross compilers,
11169 # most powerpc-linux boxes support dynamic linking these days and
11170 # people can always --disable-shared, the test was removed, and we
11171 # assume the GNU/Linux dynamic linker is in use.
11172 dynamic_linker
='GNU/Linux ld.so'
11179 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11181 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11182 dynamic_linker
='NetBSD (a.out) ld.so'
11184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11185 soname_spec
='${libname}${release}${shared_ext}$major'
11186 dynamic_linker
='NetBSD ld.elf_so'
11188 shlibpath_var
=LD_LIBRARY_PATH
11189 shlibpath_overrides_runpath
=yes
11190 hardcode_into_libs
=yes
11195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11196 shlibpath_var
=LD_LIBRARY_PATH
11197 shlibpath_overrides_runpath
=yes
11204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11205 soname_spec
='${libname}${release}${shared_ext}$major'
11206 shlibpath_var
=LD_LIBRARY_PATH
11207 shlibpath_overrides_runpath
=no
11208 hardcode_into_libs
=yes
11209 dynamic_linker
='ldqnx.so'
11214 sys_lib_dlsearch_path_spec
="/usr/lib"
11216 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11218 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11219 *) need_version
=no
;;
11221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11222 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11223 shlibpath_var
=LD_LIBRARY_PATH
11224 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11226 openbsd2.
[89] | openbsd2.
[89].
*)
11227 shlibpath_overrides_runpath
=no
11230 shlibpath_overrides_runpath
=yes
11234 shlibpath_overrides_runpath
=yes
11239 libname_spec
='$name'
11242 library_names_spec
='$libname${shared_ext} $libname.a'
11243 dynamic_linker
='OS/2 ld.exe'
11244 shlibpath_var
=LIBPATH
11247 osf3
* | osf4
* | osf5
*)
11251 soname_spec
='${libname}${release}${shared_ext}$major'
11252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11253 shlibpath_var
=LD_LIBRARY_PATH
11254 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11255 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11267 soname_spec
='${libname}${release}${shared_ext}$major'
11268 shlibpath_var
=LD_LIBRARY_PATH
11269 shlibpath_overrides_runpath
=yes
11270 hardcode_into_libs
=yes
11271 # ldd complains unless libraries are executable
11272 postinstall_cmds
='chmod +x $lib'
11277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11278 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11279 shlibpath_var
=LD_LIBRARY_PATH
11280 shlibpath_overrides_runpath
=yes
11281 if test "$with_gnu_ld" = yes; then
11289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11290 soname_spec
='${libname}${release}${shared_ext}$major'
11291 shlibpath_var
=LD_LIBRARY_PATH
11292 case $host_vendor in
11294 shlibpath_overrides_runpath
=no
11296 runpath_var
=LD_RUN_PATH
11304 shlibpath_overrides_runpath
=no
11305 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11311 if test -d /usr
/nec
;then
11313 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11314 soname_spec
='$libname${shared_ext}.$major'
11315 shlibpath_var
=LD_LIBRARY_PATH
11319 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11320 version_type
=freebsd-elf
11323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11324 soname_spec
='${libname}${release}${shared_ext}$major'
11325 shlibpath_var
=LD_LIBRARY_PATH
11326 shlibpath_overrides_runpath
=yes
11327 hardcode_into_libs
=yes
11328 if test "$with_gnu_ld" = yes; then
11329 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11331 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11334 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11338 sys_lib_dlsearch_path_spec
='/usr/lib'
11342 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 shlibpath_var
=LD_LIBRARY_PATH
11348 shlibpath_overrides_runpath
=no
11349 hardcode_into_libs
=yes
11354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11355 soname_spec
='${libname}${release}${shared_ext}$major'
11356 shlibpath_var
=LD_LIBRARY_PATH
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11364 $as_echo "$dynamic_linker" >&6; }
11365 test "$dynamic_linker" = no
&& can_build_shared
=no
11367 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11368 if test "$GCC" = yes; then
11369 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11372 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11373 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11375 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11376 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11471 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11473 if test -n "$hardcode_libdir_flag_spec" ||
11474 test -n "$runpath_var" ||
11475 test "X$hardcode_automatic" = "Xyes" ; then
11477 # We can hardcode non-existent directories.
11478 if test "$hardcode_direct" != no
&&
11479 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11480 # have to relink, otherwise we might link with an installed library
11481 # when we should be linking with a yet-to-be-installed one
11482 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11483 test "$hardcode_minus_L" != no
; then
11484 # Linking always hardcodes the temporary library directory.
11485 hardcode_action
=relink
11487 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11488 hardcode_action
=immediate
11491 # We cannot hardcode anything, or else we can only hardcode existing
11493 hardcode_action
=unsupported
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11496 $as_echo "$hardcode_action" >&6; }
11498 if test "$hardcode_action" = relink ||
11499 test "$inherit_rpath" = yes; then
11500 # Fast installation is not supported
11501 enable_fast_install
=no
11502 elif test "$shlibpath_overrides_runpath" = yes ||
11503 test "$enable_shared" = no
; then
11504 # Fast installation is not necessary
11505 enable_fast_install
=needless
11513 if test "x$enable_dlopen" != xyes
; then
11514 enable_dlopen
=unknown
11515 enable_dlopen_self
=unknown
11516 enable_dlopen_self_static
=unknown
11523 lt_cv_dlopen
="load_add_on"
11525 lt_cv_dlopen_self
=yes
11528 mingw
* | pw32
* | cegcc
*)
11529 lt_cv_dlopen
="LoadLibrary"
11534 lt_cv_dlopen
="dlopen"
11539 # if libdl is installed we need to link against it
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11541 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11542 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11543 $as_echo_n "(cached) " >&6
11545 ac_check_lib_save_LIBS
=$LIBS
11547 if test x
$gcc_no_link = xyes
; then
11548 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11551 /* end confdefs.h. */
11553 /* Override any GCC internal prototype to avoid an error.
11554 Use char because int might match the return type of a GCC
11555 builtin and then its argument prototype would still apply. */
11568 if ac_fn_c_try_link
"$LINENO"; then :
11569 ac_cv_lib_dl_dlopen
=yes
11571 ac_cv_lib_dl_dlopen
=no
11573 rm -f core conftest.err conftest.
$ac_objext \
11574 conftest
$ac_exeext conftest.
$ac_ext
11575 LIBS
=$ac_check_lib_save_LIBS
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11578 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11579 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11580 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11583 lt_cv_dlopen
="dyld"
11585 lt_cv_dlopen_self
=yes
11592 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11593 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11594 lt_cv_dlopen
="shl_load"
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11597 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11598 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11599 $as_echo_n "(cached) " >&6
11601 ac_check_lib_save_LIBS
=$LIBS
11603 if test x
$gcc_no_link = xyes
; then
11604 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11607 /* end confdefs.h. */
11609 /* Override any GCC internal prototype to avoid an error.
11610 Use char because int might match the return type of a GCC
11611 builtin and then its argument prototype would still apply. */
11619 return shl_load ();
11624 if ac_fn_c_try_link
"$LINENO"; then :
11625 ac_cv_lib_dld_shl_load
=yes
11627 ac_cv_lib_dld_shl_load
=no
11629 rm -f core conftest.err conftest.
$ac_objext \
11630 conftest
$ac_exeext conftest.
$ac_ext
11631 LIBS
=$ac_check_lib_save_LIBS
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11634 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11635 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11636 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11638 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11639 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11640 lt_cv_dlopen
="dlopen"
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11643 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11644 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11645 $as_echo_n "(cached) " >&6
11647 ac_check_lib_save_LIBS
=$LIBS
11649 if test x
$gcc_no_link = xyes
; then
11650 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11655 /* Override any GCC internal prototype to avoid an error.
11656 Use char because int might match the return type of a GCC
11657 builtin and then its argument prototype would still apply. */
11670 if ac_fn_c_try_link
"$LINENO"; then :
11671 ac_cv_lib_dl_dlopen
=yes
11673 ac_cv_lib_dl_dlopen
=no
11675 rm -f core conftest.err conftest.
$ac_objext \
11676 conftest
$ac_exeext conftest.
$ac_ext
11677 LIBS
=$ac_check_lib_save_LIBS
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11680 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11681 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11682 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11685 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11686 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11687 $as_echo_n "(cached) " >&6
11689 ac_check_lib_save_LIBS
=$LIBS
11690 LIBS
="-lsvld $LIBS"
11691 if test x
$gcc_no_link = xyes
; then
11692 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11695 /* end confdefs.h. */
11697 /* Override any GCC internal prototype to avoid an error.
11698 Use char because int might match the return type of a GCC
11699 builtin and then its argument prototype would still apply. */
11712 if ac_fn_c_try_link
"$LINENO"; then :
11713 ac_cv_lib_svld_dlopen
=yes
11715 ac_cv_lib_svld_dlopen
=no
11717 rm -f core conftest.err conftest.
$ac_objext \
11718 conftest
$ac_exeext conftest.
$ac_ext
11719 LIBS
=$ac_check_lib_save_LIBS
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11722 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11723 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11724 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11727 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11728 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11729 $as_echo_n "(cached) " >&6
11731 ac_check_lib_save_LIBS
=$LIBS
11733 if test x
$gcc_no_link = xyes
; then
11734 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11737 /* end confdefs.h. */
11739 /* Override any GCC internal prototype to avoid an error.
11740 Use char because int might match the return type of a GCC
11741 builtin and then its argument prototype would still apply. */
11749 return dld_link ();
11754 if ac_fn_c_try_link
"$LINENO"; then :
11755 ac_cv_lib_dld_dld_link
=yes
11757 ac_cv_lib_dld_dld_link
=no
11759 rm -f core conftest.err conftest.
$ac_objext \
11760 conftest
$ac_exeext conftest.
$ac_ext
11761 LIBS
=$ac_check_lib_save_LIBS
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11764 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11765 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11766 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11787 if test "x$lt_cv_dlopen" != xno
; then
11793 case $lt_cv_dlopen in
11795 save_CPPFLAGS
="$CPPFLAGS"
11796 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11798 save_LDFLAGS
="$LDFLAGS"
11799 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11802 LIBS
="$lt_cv_dlopen_libs $LIBS"
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11805 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11806 if test "${lt_cv_dlopen_self+set}" = set; then :
11807 $as_echo_n "(cached) " >&6
11809 if test "$cross_compiling" = yes; then :
11810 lt_cv_dlopen_self
=cross
11812 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11813 lt_status
=$lt_dlunknown
11814 cat > conftest.
$ac_ext <<_LT_EOF
11815 #line 11815 "configure"
11816 #include "confdefs.h"
11825 # define LT_DLGLOBAL RTLD_GLOBAL
11828 # define LT_DLGLOBAL DL_GLOBAL
11830 # define LT_DLGLOBAL 0
11834 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11835 find out it does not work in some platform. */
11836 #ifndef LT_DLLAZY_OR_NOW
11838 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11841 # define LT_DLLAZY_OR_NOW DL_LAZY
11844 # define LT_DLLAZY_OR_NOW RTLD_NOW
11847 # define LT_DLLAZY_OR_NOW DL_NOW
11849 # define LT_DLLAZY_OR_NOW 0
11856 /* When -fvisbility=hidden is used, assume the code has been annotated
11857 correspondingly for the symbols needed. */
11858 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11859 void fnord () __attribute__((visibility("default")));
11862 void fnord () { int i=42; }
11865 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11866 int status = $lt_dlunknown;
11870 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11873 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11874 else puts (dlerror ());
11876 /* dlclose (self); */
11884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11885 (eval $ac_link) 2>&5
11887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11888 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11889 (.
/conftest
; exit; ) >&5 2>/dev
/null
11891 case x
$lt_status in
11892 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11893 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11894 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11897 # compilation failed
11898 lt_cv_dlopen_self
=no
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11906 $as_echo "$lt_cv_dlopen_self" >&6; }
11908 if test "x$lt_cv_dlopen_self" = xyes
; then
11909 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11911 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11912 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11913 $as_echo_n "(cached) " >&6
11915 if test "$cross_compiling" = yes; then :
11916 lt_cv_dlopen_self_static
=cross
11918 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11919 lt_status
=$lt_dlunknown
11920 cat > conftest.
$ac_ext <<_LT_EOF
11921 #line 11921 "configure"
11922 #include "confdefs.h"
11931 # define LT_DLGLOBAL RTLD_GLOBAL
11934 # define LT_DLGLOBAL DL_GLOBAL
11936 # define LT_DLGLOBAL 0
11940 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11941 find out it does not work in some platform. */
11942 #ifndef LT_DLLAZY_OR_NOW
11944 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11947 # define LT_DLLAZY_OR_NOW DL_LAZY
11950 # define LT_DLLAZY_OR_NOW RTLD_NOW
11953 # define LT_DLLAZY_OR_NOW DL_NOW
11955 # define LT_DLLAZY_OR_NOW 0
11962 /* When -fvisbility=hidden is used, assume the code has been annotated
11963 correspondingly for the symbols needed. */
11964 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11965 void fnord () __attribute__((visibility("default")));
11968 void fnord () { int i=42; }
11971 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11972 int status = $lt_dlunknown;
11976 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11979 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11980 else puts (dlerror ());
11982 /* dlclose (self); */
11990 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11991 (eval $ac_link) 2>&5
11993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11994 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11995 (.
/conftest
; exit; ) >&5 2>/dev
/null
11997 case x
$lt_status in
11998 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11999 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12000 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12003 # compilation failed
12004 lt_cv_dlopen_self_static
=no
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12012 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12015 CPPFLAGS
="$save_CPPFLAGS"
12016 LDFLAGS
="$save_LDFLAGS"
12021 case $lt_cv_dlopen_self in
12022 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12023 *) enable_dlopen_self
=unknown
;;
12026 case $lt_cv_dlopen_self_static in
12027 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12028 *) enable_dlopen_self_static
=unknown
;;
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12051 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12052 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12053 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12054 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12056 $as_echo "yes" >&6; }
12058 # FIXME - insert some real tests, host_os isn't really good enough
12061 if test -n "$STRIP" ; then
12062 striplib
="$STRIP -x"
12063 old_striplib
="$STRIP -S"
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12065 $as_echo "yes" >&6; }
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12068 $as_echo "no" >&6; }
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12073 $as_echo "no" >&6; }
12089 # Report which library types will actually be built
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12091 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12093 $as_echo "$can_build_shared" >&6; }
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12096 $as_echo_n "checking whether to build shared libraries... " >&6; }
12097 test "$can_build_shared" = "no" && enable_shared
=no
12099 # On AIX, shared libraries and static libraries use the same namespace, and
12100 # are all built from PIC.
12103 test "$enable_shared" = yes && enable_static
=no
12104 if test -n "$RANLIB"; then
12105 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12106 postinstall_cmds
='$RANLIB $lib'
12111 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12112 test "$enable_shared" = yes && enable_static
=no
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12117 $as_echo "$enable_shared" >&6; }
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12120 $as_echo_n "checking whether to build static libraries... " >&6; }
12121 # Make sure either enable_shared or enable_static is yes.
12122 test "$enable_shared" = yes || enable_static
=yes
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12124 $as_echo "$enable_static" >&6; }
12131 ac_cpp
='$CPP $CPPFLAGS'
12132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12150 ac_config_commands
="$ac_config_commands libtool"
12155 # Only expand once:
12158 for ac_prog
in gawk mawk nawk
awk
12160 # Extract the first word of "$ac_prog", so it can be a program name with args.
12161 set dummy
$ac_prog; ac_word
=$2
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12163 $as_echo_n "checking for $ac_word... " >&6; }
12164 if test "${ac_cv_prog_AWK+set}" = set; then :
12165 $as_echo_n "(cached) " >&6
12167 if test -n "$AWK"; then
12168 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
12170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12171 for as_dir
in $PATH
12174 test -z "$as_dir" && as_dir
=.
12175 for ac_exec_ext
in '' $ac_executable_extensions; do
12176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12177 ac_cv_prog_AWK
="$ac_prog"
12178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12187 AWK
=$ac_cv_prog_AWK
12188 if test -n "$AWK"; then
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
12190 $as_echo "$AWK" >&6; }
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12193 $as_echo "no" >&6; }
12197 test -n "$AWK" && break
12201 ac_cpp
='$CPP $CPPFLAGS'
12202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12205 if test -n "$ac_tool_prefix"; then
12206 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12207 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12209 $as_echo_n "checking for $ac_word... " >&6; }
12210 if test "${ac_cv_prog_CC+set}" = set; then :
12211 $as_echo_n "(cached) " >&6
12213 if test -n "$CC"; then
12214 ac_cv_prog_CC
="$CC" # Let the user override the test.
12216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12217 for as_dir
in $PATH
12220 test -z "$as_dir" && as_dir
=.
12221 for ac_exec_ext
in '' $ac_executable_extensions; do
12222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12223 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12234 if test -n "$CC"; then
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12236 $as_echo "$CC" >&6; }
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12239 $as_echo "no" >&6; }
12244 if test -z "$ac_cv_prog_CC"; then
12246 # Extract the first word of "gcc", so it can be a program name with args.
12247 set dummy gcc
; ac_word
=$2
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12249 $as_echo_n "checking for $ac_word... " >&6; }
12250 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12251 $as_echo_n "(cached) " >&6
12253 if test -n "$ac_ct_CC"; then
12254 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12257 for as_dir
in $PATH
12260 test -z "$as_dir" && as_dir
=.
12261 for ac_exec_ext
in '' $ac_executable_extensions; do
12262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12263 ac_cv_prog_ac_ct_CC
="gcc"
12264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12273 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12274 if test -n "$ac_ct_CC"; then
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12276 $as_echo "$ac_ct_CC" >&6; }
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12279 $as_echo "no" >&6; }
12282 if test "x$ac_ct_CC" = x
; then
12285 case $cross_compiling:$ac_tool_warned in
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12289 ac_tool_warned
=yes ;;
12294 CC
="$ac_cv_prog_CC"
12297 if test -z "$CC"; then
12298 if test -n "$ac_tool_prefix"; then
12299 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12300 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12302 $as_echo_n "checking for $ac_word... " >&6; }
12303 if test "${ac_cv_prog_CC+set}" = set; then :
12304 $as_echo_n "(cached) " >&6
12306 if test -n "$CC"; then
12307 ac_cv_prog_CC
="$CC" # Let the user override the test.
12309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12310 for as_dir
in $PATH
12313 test -z "$as_dir" && as_dir
=.
12314 for ac_exec_ext
in '' $ac_executable_extensions; do
12315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12316 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12327 if test -n "$CC"; then
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12329 $as_echo "$CC" >&6; }
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12332 $as_echo "no" >&6; }
12338 if test -z "$CC"; then
12339 # Extract the first word of "cc", so it can be a program name with args.
12340 set dummy cc
; ac_word
=$2
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12342 $as_echo_n "checking for $ac_word... " >&6; }
12343 if test "${ac_cv_prog_CC+set}" = set; then :
12344 $as_echo_n "(cached) " >&6
12346 if test -n "$CC"; then
12347 ac_cv_prog_CC
="$CC" # Let the user override the test.
12349 ac_prog_rejected
=no
12350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12351 for as_dir
in $PATH
12354 test -z "$as_dir" && as_dir
=.
12355 for ac_exec_ext
in '' $ac_executable_extensions; do
12356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12357 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12358 ac_prog_rejected
=yes
12362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12369 if test $ac_prog_rejected = yes; then
12370 # We found a bogon in the path, so make sure we never use it.
12371 set dummy
$ac_cv_prog_CC
12373 if test $# != 0; then
12374 # We chose a different compiler from the bogus one.
12375 # However, it has the same basename, so the bogon will be chosen
12376 # first if we set CC to just the basename; use the full file name.
12378 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12384 if test -n "$CC"; then
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12386 $as_echo "$CC" >&6; }
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12389 $as_echo "no" >&6; }
12394 if test -z "$CC"; then
12395 if test -n "$ac_tool_prefix"; then
12396 for ac_prog
in cl.exe
12398 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12399 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12401 $as_echo_n "checking for $ac_word... " >&6; }
12402 if test "${ac_cv_prog_CC+set}" = set; then :
12403 $as_echo_n "(cached) " >&6
12405 if test -n "$CC"; then
12406 ac_cv_prog_CC
="$CC" # Let the user override the test.
12408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12409 for as_dir
in $PATH
12412 test -z "$as_dir" && as_dir
=.
12413 for ac_exec_ext
in '' $ac_executable_extensions; do
12414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12415 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12426 if test -n "$CC"; then
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12428 $as_echo "$CC" >&6; }
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12431 $as_echo "no" >&6; }
12435 test -n "$CC" && break
12438 if test -z "$CC"; then
12440 for ac_prog
in cl.exe
12442 # Extract the first word of "$ac_prog", so it can be a program name with args.
12443 set dummy
$ac_prog; ac_word
=$2
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12445 $as_echo_n "checking for $ac_word... " >&6; }
12446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12447 $as_echo_n "(cached) " >&6
12449 if test -n "$ac_ct_CC"; then
12450 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12453 for as_dir
in $PATH
12456 test -z "$as_dir" && as_dir
=.
12457 for ac_exec_ext
in '' $ac_executable_extensions; do
12458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12459 ac_cv_prog_ac_ct_CC
="$ac_prog"
12460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12469 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12470 if test -n "$ac_ct_CC"; then
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12472 $as_echo "$ac_ct_CC" >&6; }
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12475 $as_echo "no" >&6; }
12479 test -n "$ac_ct_CC" && break
12482 if test "x$ac_ct_CC" = x
; then
12485 case $cross_compiling:$ac_tool_warned in
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12489 ac_tool_warned
=yes ;;
12498 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12500 as_fn_error
"no acceptable C compiler found in \$PATH
12501 See \`config.log' for more details." "$LINENO" 5; }
12503 # Provide some information about the compiler.
12504 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12507 for ac_option
in --version -v -V -qversion; do
12508 { { ac_try
="$ac_compiler $ac_option >&5"
12509 case "(($ac_try" in
12510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12511 *) ac_try_echo=$ac_try;;
12513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12514 $as_echo "$ac_try_echo"; } >&5
12515 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12517 if test -s conftest.err; then
12519 ... rest of stderr output deleted ...
12520 10q' conftest.err >conftest.er1
12521 cat conftest.er1 >&5
12522 rm -f conftest.er1 conftest.err
12524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12525 test $ac_status = 0; }
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12529 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12530 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12531 $as_echo_n "(cached) " >&6
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12547 if ac_fn_c_try_compile "$LINENO"; then :
12548 ac_compiler_gnu=yes
12552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12553 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12557 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12558 if test $ac_compiler_gnu = yes; then
12563 ac_test_CFLAGS=${CFLAGS+set}
12564 ac_save_CFLAGS=$CFLAGS
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12566 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12567 if test "${ac_cv_prog_cc_g+set}" = set; then :
12568 $as_echo_n "(cached) " >&6
12570 ac_save_c_werror_flag=$ac_c_werror_flag
12571 ac_c_werror_flag=yes
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12585 if ac_fn_c_try_compile "$LINENO"; then :
12586 ac_cv_prog_cc_g=yes
12589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12600 if ac_fn_c_try_compile "$LINENO"; then :
12603 ac_c_werror_flag=$ac_save_c_werror_flag
12605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12606 /* end confdefs.h. */
12616 if ac_fn_c_try_compile "$LINENO"; then :
12617 ac_cv_prog_cc_g=yes
12619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12624 ac_c_werror_flag=$ac_save_c_werror_flag
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12627 $as_echo "$ac_cv_prog_cc_g" >&6; }
12628 if test "$ac_test_CFLAGS" = set; then
12629 CFLAGS=$ac_save_CFLAGS
12630 elif test $ac_cv_prog_cc_g = yes; then
12631 if test "$GCC" = yes; then
12637 if test "$GCC" = yes; then
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12644 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12645 if test "${ac_cv_prog_cc_c89+set}" = set; then :
12646 $as_echo_n "(cached) " >&6
12648 ac_cv_prog_cc_c89=no
12650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12652 #include <stdarg.h>
12654 #include <sys/types.h>
12655 #include <sys/stat.h>
12656 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12657 struct buf { int x; };
12658 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12659 static char *e (p, i)
12665 static char *f (char * (*g) (char **, int), char **p, ...)
12670 s = g (p, va_arg (v,int));
12675 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12676 function prototypes and stuff, but not '\xHH' hex character constants.
12677 These don't provoke an error unfortunately, instead are silently treated
12678 as 'x'. The following induces an error, until -std is added to get
12679 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12680 array size at least. It's necessary to write '\x00'==0 to get something
12681 that's true only with -std. */
12682 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12684 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12685 inside strings and character constants. */
12687 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12689 int test (int i, double x);
12690 struct s1 {int (*f) (int a);};
12691 struct s2 {int (*f) (double a);};
12692 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12698 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12703 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12704 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12706 CC="$ac_save_CC $ac_arg"
12707 if ac_fn_c_try_compile "$LINENO"; then :
12708 ac_cv_prog_cc_c89=$ac_arg
12710 rm -f core conftest.err conftest.$ac_objext
12711 test "x$ac_cv_prog_cc_c89" != "xno" && break
12713 rm -f conftest.$ac_ext
12718 case "x$ac_cv_prog_cc_c89" in
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12721 $as_echo "none needed" >&6; } ;;
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12724 $as_echo "unsupported" >&6; } ;;
12726 CC="$CC $ac_cv_prog_cc_c89"
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12728 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12730 if test "x$ac_cv_prog_cc_c89" != xno; then :
12735 ac_cpp='$CPP $CPPFLAGS'
12736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12740 depcc="$CC" am_compiler_list=
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12743 $as_echo_n "checking dependency style of $depcc... " >&6; }
12744 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12745 $as_echo_n "(cached) " >&6
12747 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12748 # We make a subdir and do the tests there. Otherwise we can end up
12749 # making bogus files that we don't know about and never remove. For
12750 # instance it was reported that on HP-UX the gcc test will end up
12751 # making a dummy file named `D
' -- because `-MD' means
`put the output
12754 # Copy depcomp to subdir because otherwise we won't find it if we're
12755 # using a relative directory.
12756 cp "$am_depcomp" conftest.dir
12758 # We will build objects and dependencies in a subdirectory because
12759 # it helps to detect inapplicable dependency modes. For instance
12760 # both Tru64's cc and ICC support -MD to output dependencies as a
12761 # side effect of compilation, but ICC will put the dependencies in
12762 # the current directory while Tru64 will put them in the object
12766 am_cv_CC_dependencies_compiler_type=none
12767 if test "$am_compiler_list" = ""; then
12768 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
12770 am__universal=false
12771 case " $depcc " in #(
12772 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12775 for depmode in $am_compiler_list; do
12776 # Setup a source with many dependencies, because some compilers
12777 # like to wrap large dependency lists on column 80 (with \), and
12778 # we should not choose a depcomp mode which is confused by this.
12780 # We need to recreate these files for each test, as the compiler may
12781 # overwrite some of them when testing with obscure command lines.
12782 # This happens at least with the AIX C compiler.
12784 for i in 1 2 3 4 5 6; do
12785 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12786 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
12787 # Solaris 8's
{/usr
,}/bin
/sh.
12788 touch sub
/conftst
$i.h
12790 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12792 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12793 # mode. It turns out that the SunPro C++ compiler does not properly
12794 # handle `-M -o', and we need to detect this. Also, some Intel
12795 # versions had trouble with output in subdirs
12796 am__obj
=sub
/conftest.
${OBJEXT-o}
12797 am__minus_obj
="-o $am__obj"
12800 # This depmode causes a compiler race in universal mode.
12801 test "$am__universal" = false ||
continue
12804 # after this tag, mechanisms are not by side-effect, so they'll
12805 # only be used when explicitly requested
12806 if test "x$enable_dependency_tracking" = xyes
; then
12812 msvisualcpp | msvcmsys
)
12813 # This compiler won't grok `-c -o', but also, the minuso test has
12814 # not run yet. These depmodes are late enough in the game, and
12815 # so weak that their functioning should not be impacted.
12816 am__obj
=conftest.
${OBJEXT-o}
12821 if depmode
=$depmode \
12822 source=sub
/conftest.c object
=$am__obj \
12823 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12824 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12825 >/dev
/null
2>conftest.err
&&
12826 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12827 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12828 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12829 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12830 # icc doesn't choke on unknown options, it will just issue warnings
12831 # or remarks (even with -Werror). So we grep stderr for any message
12832 # that says an option was ignored or not supported.
12833 # When given -MP, icc 7.0 and 7.1 complain thusly:
12834 # icc: Command line warning: ignoring option '-M'; no argument required
12835 # The diagnosis changed in icc 8.0:
12836 # icc: Command line remark: option '-MP' not supported
12837 if (grep 'ignoring option' conftest.err ||
12838 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12839 am_cv_CC_dependencies_compiler_type
=$depmode
12846 rm -rf conftest.dir
12848 am_cv_CC_dependencies_compiler_type
=none
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12853 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12854 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
12857 test "x$enable_dependency_tracking" != xno \
12858 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
12859 am__fastdepCC_TRUE
=
12860 am__fastdepCC_FALSE
='#'
12862 am__fastdepCC_TRUE
='#'
12863 am__fastdepCC_FALSE
=
12867 if test "x$CC" != xcc
; then
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12869 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12872 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12874 set dummy
$CC; ac_cc
=`$as_echo "$2" |
12875 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12876 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
12877 $as_echo_n "(cached) " >&6
12879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12890 # Make sure it works both with $CC and with simple cc.
12891 # We do the test twice because some compilers refuse to overwrite an
12892 # existing .o file with -o, though they will create one.
12893 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12895 if { { case "(($ac_try" in
12896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12897 *) ac_try_echo=$ac_try;;
12899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12900 $as_echo "$ac_try_echo"; } >&5
12901 (eval "$ac_try") 2>&5
12903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12904 test $ac_status = 0; } &&
12905 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12907 *) ac_try_echo
=$ac_try;;
12909 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12910 $as_echo "$ac_try_echo"; } >&5
12911 (eval "$ac_try") 2>&5
12913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12914 test $ac_status = 0; };
12916 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
12917 if test "x$CC" != xcc
; then
12918 # Test first that cc exists at all.
12919 if { ac_try
='cc -c conftest.$ac_ext >&5'
12920 { { case "(($ac_try" in
12921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12922 *) ac_try_echo=$ac_try;;
12924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12925 $as_echo "$ac_try_echo"; } >&5
12926 (eval "$ac_try") 2>&5
12928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12929 test $ac_status = 0; }; }; then
12930 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12932 if { { case "(($ac_try" in
12933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12934 *) ac_try_echo
=$ac_try;;
12936 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12937 $as_echo "$ac_try_echo"; } >&5
12938 (eval "$ac_try") 2>&5
12940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12941 test $ac_status = 0; } &&
12942 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
12943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12944 *) ac_try_echo=$ac_try;;
12946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12947 $as_echo "$ac_try_echo"; } >&5
12948 (eval "$ac_try") 2>&5
12950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12951 test $ac_status = 0; };
12956 # cc exists but doesn't like -o.
12957 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12962 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12964 rm -f core conftest*
12967 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12969 $as_echo "yes" >&6; }
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12972 $as_echo "no" >&6; }
12974 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12978 # FIXME: we rely on the cache variable name because
12979 # there is no other way.
12981 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12982 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12983 if test "$am_t" != yes; then
12984 # Losing compiler, so override with the script.
12985 # FIXME: It is wrong to rewrite CC.
12986 # But if we don't then we get into trouble of one sort or another.
12987 # A longer-term fix would be to have automake use am__CC in this case,
12988 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12989 CC="$am_aux_dir/compile $CC"
12994 ac_cpp='$CPP $CPPFLAGS'
12995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12999 $as_echo_n "checking how to run the C preprocessor... " >&6; }
13000 # On Suns, sometimes $CPP names a directory.
13001 if test -n "$CPP" && test -d "$CPP"; then
13004 if test -z "$CPP"; then
13005 if test "${ac_cv_prog_CPP+set}" = set; then :
13006 $as_echo_n "(cached) " >&6
13008 # Double quotes because CPP needs to be expanded
13009 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13011 ac_preproc_ok=false
13012 for ac_c_preproc_warn_flag in '' yes
13014 # Use a header file that comes with gcc, so configuring glibc
13015 # with a fresh cross-compiler works.
13016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13017 # <limits.h> exists even on freestanding compilers.
13018 # On the NeXT, cc -E runs the code through the compiler's parser,
13019 # not just through cpp. "Syntax error" is here to catch this case.
13020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13023 # include <limits.h>
13025 # include <assert.h>
13029 if ac_fn_c_try_cpp "$LINENO"; then :
13032 # Broken: fails on valid input.
13035 rm -f conftest.err conftest.$ac_ext
13037 # OK, works on sane cases. Now check whether nonexistent headers
13038 # can be detected and how.
13039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13040 /* end confdefs.h. */
13041 #include <ac_nonexistent.h>
13043 if ac_fn_c_try_cpp "$LINENO"; then :
13044 # Broken: success on invalid input.
13047 # Passes both tests.
13051 rm -f conftest.err conftest.$ac_ext
13054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13055 rm -f conftest.err conftest.
$ac_ext
13056 if $ac_preproc_ok; then :
13061 ac_cv_prog_CPP
=$CPP
13064 CPP
=$ac_cv_prog_CPP
13066 ac_cv_prog_CPP
=$CPP
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13069 $as_echo "$CPP" >&6; }
13070 ac_preproc_ok
=false
13071 for ac_c_preproc_warn_flag
in '' yes
13073 # Use a header file that comes with gcc, so configuring glibc
13074 # with a fresh cross-compiler works.
13075 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13076 # <limits.h> exists even on freestanding compilers.
13077 # On the NeXT, cc -E runs the code through the compiler's parser,
13078 # not just through cpp. "Syntax error" is here to catch this case.
13079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13080 /* end confdefs.h. */
13082 # include <limits.h>
13084 # include <assert.h>
13088 if ac_fn_c_try_cpp
"$LINENO"; then :
13091 # Broken: fails on valid input.
13094 rm -f conftest.err conftest.
$ac_ext
13096 # OK, works on sane cases. Now check whether nonexistent headers
13097 # can be detected and how.
13098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13099 /* end confdefs.h. */
13100 #include <ac_nonexistent.h>
13102 if ac_fn_c_try_cpp
"$LINENO"; then :
13103 # Broken: success on invalid input.
13106 # Passes both tests.
13110 rm -f conftest.err conftest.
$ac_ext
13113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13114 rm -f conftest.err conftest.
$ac_ext
13115 if $ac_preproc_ok; then :
13118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13120 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
13121 See \`config.log' for more details." "$LINENO" 5; }
13125 ac_cpp
='$CPP $CPPFLAGS'
13126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13131 ac_cpp
='$CXXCPP $CPPFLAGS'
13132 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13133 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13134 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13135 if test -z "$CXX"; then
13136 if test -n "$CCC"; then
13139 if test -n "$ac_tool_prefix"; then
13140 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
13142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13143 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13145 $as_echo_n "checking for $ac_word... " >&6; }
13146 if test "${ac_cv_prog_CXX+set}" = set; then :
13147 $as_echo_n "(cached) " >&6
13149 if test -n "$CXX"; then
13150 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13153 for as_dir
in $PATH
13156 test -z "$as_dir" && as_dir
=.
13157 for ac_exec_ext
in '' $ac_executable_extensions; do
13158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13159 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13169 CXX
=$ac_cv_prog_CXX
13170 if test -n "$CXX"; then
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13172 $as_echo "$CXX" >&6; }
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13175 $as_echo "no" >&6; }
13179 test -n "$CXX" && break
13182 if test -z "$CXX"; then
13184 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
13186 # Extract the first word of "$ac_prog", so it can be a program name with args.
13187 set dummy
$ac_prog; ac_word
=$2
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13189 $as_echo_n "checking for $ac_word... " >&6; }
13190 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13191 $as_echo_n "(cached) " >&6
13193 if test -n "$ac_ct_CXX"; then
13194 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13197 for as_dir
in $PATH
13200 test -z "$as_dir" && as_dir
=.
13201 for ac_exec_ext
in '' $ac_executable_extensions; do
13202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13203 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13213 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13214 if test -n "$ac_ct_CXX"; then
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13216 $as_echo "$ac_ct_CXX" >&6; }
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13219 $as_echo "no" >&6; }
13223 test -n "$ac_ct_CXX" && break
13226 if test "x$ac_ct_CXX" = x
; then
13229 case $cross_compiling:$ac_tool_warned in
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13233 ac_tool_warned
=yes ;;
13241 # Provide some information about the compiler.
13242 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13245 for ac_option
in --version -v -V -qversion; do
13246 { { ac_try
="$ac_compiler $ac_option >&5"
13247 case "(($ac_try" in
13248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13249 *) ac_try_echo=$ac_try;;
13251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13252 $as_echo "$ac_try_echo"; } >&5
13253 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13255 if test -s conftest.err; then
13257 ... rest of stderr output deleted ...
13258 10q' conftest.err >conftest.er1
13259 cat conftest.er1 >&5
13260 rm -f conftest.er1 conftest.err
13262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13263 test $ac_status = 0; }
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13267 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13268 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13269 $as_echo_n "(cached) " >&6
13271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13272 /* end confdefs.h. */
13285 if ac_fn_cxx_try_compile "$LINENO"; then :
13286 ac_compiler_gnu=yes
13290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13291 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13295 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13296 if test $ac_compiler_gnu = yes; then
13301 ac_test_CXXFLAGS=${CXXFLAGS+set}
13302 ac_save_CXXFLAGS=$CXXFLAGS
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13304 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13305 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13306 $as_echo_n "(cached) " >&6
13308 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13309 ac_cxx_werror_flag=yes
13310 ac_cv_prog_cxx_g=no
13312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13313 /* end confdefs.h. */
13323 if ac_fn_cxx_try_compile "$LINENO"; then :
13324 ac_cv_prog_cxx_g=yes
13327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13328 /* end confdefs.h. */
13338 if ac_fn_cxx_try_compile "$LINENO"; then :
13341 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13354 if ac_fn_cxx_try_compile "$LINENO"; then :
13355 ac_cv_prog_cxx_g=yes
13357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13362 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13365 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13366 if test "$ac_test_CXXFLAGS" = set; then
13367 CXXFLAGS=$ac_save_CXXFLAGS
13368 elif test $ac_cv_prog_cxx_g = yes; then
13369 if test "$GXX" = yes; then
13375 if test "$GXX" = yes; then
13382 ac_cpp='$CPP $CPPFLAGS'
13383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13387 depcc="$CXX" am_compiler_list=
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13390 $as_echo_n "checking dependency style of $depcc... " >&6; }
13391 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13392 $as_echo_n "(cached) " >&6
13394 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13395 # We make a subdir and do the tests there. Otherwise we can end up
13396 # making bogus files that we don't know about and never remove. For
13397 # instance it was reported that on HP-UX the gcc test will end up
13398 # making a dummy file named `D
' -- because `-MD' means
`put the output
13401 # Copy depcomp to subdir because otherwise we won't find it if we're
13402 # using a relative directory.
13403 cp "$am_depcomp" conftest.dir
13405 # We will build objects and dependencies in a subdirectory because
13406 # it helps to detect inapplicable dependency modes. For instance
13407 # both Tru64's cc and ICC support -MD to output dependencies as a
13408 # side effect of compilation, but ICC will put the dependencies in
13409 # the current directory while Tru64 will put them in the object
13413 am_cv_CXX_dependencies_compiler_type=none
13414 if test "$am_compiler_list" = ""; then
13415 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
13417 am__universal=false
13418 case " $depcc " in #(
13419 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13422 for depmode in $am_compiler_list; do
13423 # Setup a source with many dependencies, because some compilers
13424 # like to wrap large dependency lists on column 80 (with \), and
13425 # we should not choose a depcomp mode which is confused by this.
13427 # We need to recreate these files for each test, as the compiler may
13428 # overwrite some of them when testing with obscure command lines.
13429 # This happens at least with the AIX C compiler.
13431 for i in 1 2 3 4 5 6; do
13432 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13433 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
13434 # Solaris 8's
{/usr
,}/bin
/sh.
13435 touch sub
/conftst
$i.h
13437 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13439 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13440 # mode. It turns out that the SunPro C++ compiler does not properly
13441 # handle `-M -o', and we need to detect this. Also, some Intel
13442 # versions had trouble with output in subdirs
13443 am__obj
=sub
/conftest.
${OBJEXT-o}
13444 am__minus_obj
="-o $am__obj"
13447 # This depmode causes a compiler race in universal mode.
13448 test "$am__universal" = false ||
continue
13451 # after this tag, mechanisms are not by side-effect, so they'll
13452 # only be used when explicitly requested
13453 if test "x$enable_dependency_tracking" = xyes
; then
13459 msvisualcpp | msvcmsys
)
13460 # This compiler won't grok `-c -o', but also, the minuso test has
13461 # not run yet. These depmodes are late enough in the game, and
13462 # so weak that their functioning should not be impacted.
13463 am__obj
=conftest.
${OBJEXT-o}
13468 if depmode
=$depmode \
13469 source=sub
/conftest.c object
=$am__obj \
13470 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13471 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
13472 >/dev
/null
2>conftest.err
&&
13473 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13474 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13475 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
13476 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13477 # icc doesn't choke on unknown options, it will just issue warnings
13478 # or remarks (even with -Werror). So we grep stderr for any message
13479 # that says an option was ignored or not supported.
13480 # When given -MP, icc 7.0 and 7.1 complain thusly:
13481 # icc: Command line warning: ignoring option '-M'; no argument required
13482 # The diagnosis changed in icc 8.0:
13483 # icc: Command line remark: option '-MP' not supported
13484 if (grep 'ignoring option' conftest.err ||
13485 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13486 am_cv_CXX_dependencies_compiler_type
=$depmode
13493 rm -rf conftest.dir
13495 am_cv_CXX_dependencies_compiler_type
=none
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13500 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13501 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
13504 test "x$enable_dependency_tracking" != xno \
13505 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
13506 am__fastdepCXX_TRUE
=
13507 am__fastdepCXX_FALSE
='#'
13509 am__fastdepCXX_TRUE
='#'
13510 am__fastdepCXX_FALSE
=
13514 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13515 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13516 (test "X$CXX" != "Xg++"))) ; then
13518 ac_cpp
='$CXXCPP $CPPFLAGS'
13519 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13520 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13521 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13523 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13524 if test -z "$CXXCPP"; then
13525 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13526 $as_echo_n "(cached) " >&6
13528 # Double quotes because CXXCPP needs to be expanded
13529 for CXXCPP
in "$CXX -E" "/lib/cpp"
13531 ac_preproc_ok
=false
13532 for ac_cxx_preproc_warn_flag
in '' yes
13534 # Use a header file that comes with gcc, so configuring glibc
13535 # with a fresh cross-compiler works.
13536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13537 # <limits.h> exists even on freestanding compilers.
13538 # On the NeXT, cc -E runs the code through the compiler's parser,
13539 # not just through cpp. "Syntax error" is here to catch this case.
13540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13541 /* end confdefs.h. */
13543 # include <limits.h>
13545 # include <assert.h>
13549 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13552 # Broken: fails on valid input.
13555 rm -f conftest.err conftest.
$ac_ext
13557 # OK, works on sane cases. Now check whether nonexistent headers
13558 # can be detected and how.
13559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13560 /* end confdefs.h. */
13561 #include <ac_nonexistent.h>
13563 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13564 # Broken: success on invalid input.
13567 # Passes both tests.
13571 rm -f conftest.err conftest.
$ac_ext
13574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13575 rm -f conftest.err conftest.
$ac_ext
13576 if $ac_preproc_ok; then :
13581 ac_cv_prog_CXXCPP
=$CXXCPP
13584 CXXCPP
=$ac_cv_prog_CXXCPP
13586 ac_cv_prog_CXXCPP
=$CXXCPP
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13589 $as_echo "$CXXCPP" >&6; }
13590 ac_preproc_ok
=false
13591 for ac_cxx_preproc_warn_flag
in '' yes
13593 # Use a header file that comes with gcc, so configuring glibc
13594 # with a fresh cross-compiler works.
13595 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13596 # <limits.h> exists even on freestanding compilers.
13597 # On the NeXT, cc -E runs the code through the compiler's parser,
13598 # not just through cpp. "Syntax error" is here to catch this case.
13599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13602 # include <limits.h>
13604 # include <assert.h>
13608 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13611 # Broken: fails on valid input.
13614 rm -f conftest.err conftest.
$ac_ext
13616 # OK, works on sane cases. Now check whether nonexistent headers
13617 # can be detected and how.
13618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13620 #include <ac_nonexistent.h>
13622 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13623 # Broken: success on invalid input.
13626 # Passes both tests.
13630 rm -f conftest.err conftest.
$ac_ext
13633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13634 rm -f conftest.err conftest.
$ac_ext
13635 if $ac_preproc_ok; then :
13638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13640 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
13641 See \`config.log' for more details." "$LINENO" 5; }
13645 ac_cpp
='$CPP $CPPFLAGS'
13646 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13647 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13648 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13651 _lt_caught_CXX_error
=yes
13655 ac_cpp
='$CXXCPP $CPPFLAGS'
13656 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13657 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13658 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13660 archive_cmds_need_lc_CXX
=no
13661 allow_undefined_flag_CXX
=
13662 always_export_symbols_CXX
=no
13663 archive_expsym_cmds_CXX
=
13664 compiler_needs_object_CXX
=no
13665 export_dynamic_flag_spec_CXX
=
13666 hardcode_direct_CXX
=no
13667 hardcode_direct_absolute_CXX
=no
13668 hardcode_libdir_flag_spec_CXX
=
13669 hardcode_libdir_flag_spec_ld_CXX
=
13670 hardcode_libdir_separator_CXX
=
13671 hardcode_minus_L_CXX
=no
13672 hardcode_shlibpath_var_CXX
=unsupported
13673 hardcode_automatic_CXX
=no
13674 inherit_rpath_CXX
=no
13676 module_expsym_cmds_CXX
=
13677 link_all_deplibs_CXX
=unknown
13678 old_archive_cmds_CXX
=$old_archive_cmds
13679 reload_flag_CXX
=$reload_flag
13680 reload_cmds_CXX
=$reload_cmds
13681 no_undefined_flag_CXX
=
13682 whole_archive_flag_spec_CXX
=
13683 enable_shared_with_static_runtimes_CXX
=no
13685 # Source file extension for C++ test sources.
13688 # Object file extension for compiled C++ test sources.
13692 # No sense in running all these tests if we already determined that
13693 # the CXX compiler isn't working. Some variables (like enable_shared)
13694 # are currently assumed to apply to all compilers on this platform,
13695 # and will be corrupted by setting them based on a non-working compiler.
13696 if test "$_lt_caught_CXX_error" != yes; then
13697 # Code to be used in simple compile tests
13698 lt_simple_compile_test_code
="int some_variable = 0;"
13700 # Code to be used in simple link tests
13701 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13703 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13710 # If no C compiler was specified, use CC.
13713 # If no C compiler flags were specified, use CFLAGS.
13714 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13716 # Allow CC to be a program name with arguments.
13720 # save warnings/boilerplate of simple test code
13721 ac_outfile
=conftest.
$ac_objext
13722 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13723 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13724 _lt_compiler_boilerplate
=`cat conftest.err`
13727 ac_outfile
=conftest.
$ac_objext
13728 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13729 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13730 _lt_linker_boilerplate
=`cat conftest.err`
13734 # Allow CC to be a program name with arguments.
13739 lt_save_with_gnu_ld
=$with_gnu_ld
13740 lt_save_path_LD
=$lt_cv_path_LD
13741 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13742 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13744 $as_unset lt_cv_prog_gnu_ld
13746 if test -n "${lt_cv_path_LDCXX+set}"; then
13747 lt_cv_path_LD
=$lt_cv_path_LDCXX
13749 $as_unset lt_cv_path_LD
13751 test -z "${LDCXX+set}" || LD
=$LDCXX
13755 for cc_temp
in $compiler""; do
13757 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13758 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13763 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13766 if test -n "$compiler"; then
13767 # We don't want -fno-exception when compiling C++ code, so set the
13768 # no_builtin_flag separately
13769 if test "$GXX" = yes; then
13770 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13772 lt_prog_compiler_no_builtin_flag_CXX
=
13775 if test "$GXX" = yes; then
13776 # Set up default GNU C++ configuration
13780 # Check whether --with-gnu-ld was given.
13781 if test "${with_gnu_ld+set}" = set; then :
13782 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13788 if test "$GCC" = yes; then
13789 # Check if gcc -print-prog-name=ld gives a path.
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13791 $as_echo_n "checking for ld used by $CC... " >&6; }
13794 # gcc leaves a trailing carriage return which upsets mingw
13795 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13797 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13800 # Accept absolute paths.
13802 re_direlt
='/[^/][^/]*/\.\./'
13803 # Canonicalize the pathname of ld
13804 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13805 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13806 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13808 test -z "$LD" && LD
="$ac_prog"
13811 # If it fails, then pretend we aren't using GCC.
13815 # If it is relative, then search for the first ld in PATH.
13816 with_gnu_ld
=unknown
13819 elif test "$with_gnu_ld" = yes; then
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13821 $as_echo_n "checking for GNU ld... " >&6; }
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13824 $as_echo_n "checking for non-GNU ld... " >&6; }
13826 if test "${lt_cv_path_LD+set}" = set; then :
13827 $as_echo_n "(cached) " >&6
13829 if test -z "$LD"; then
13830 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13831 for ac_dir
in $PATH; do
13833 test -z "$ac_dir" && ac_dir
=.
13834 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13835 lt_cv_path_LD
="$ac_dir/$ac_prog"
13836 # Check to see if the program is GNU ld. I'd rather use --version,
13837 # but apparently some variants of GNU ld only accept -v.
13838 # Break only if it was the GNU/non-GNU ld that we prefer.
13839 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13840 *GNU
* |
*'with BFD'*)
13841 test "$with_gnu_ld" != no
&& break
13844 test "$with_gnu_ld" != yes && break
13851 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13855 LD
="$lt_cv_path_LD"
13856 if test -n "$LD"; then
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13858 $as_echo "$LD" >&6; }
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13861 $as_echo "no" >&6; }
13863 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13865 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13866 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
13867 $as_echo_n "(cached) " >&6
13869 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13870 case `$LD -v 2>&1 </dev/null` in
13871 *GNU
* |
*'with BFD'*)
13872 lt_cv_prog_gnu_ld
=yes
13875 lt_cv_prog_gnu_ld
=no
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13880 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13881 with_gnu_ld
=$lt_cv_prog_gnu_ld
13889 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13890 # archiving commands below assume that GNU ld is being used.
13891 if test "$with_gnu_ld" = yes; then
13892 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13893 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'
13895 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13896 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13898 # If archive_cmds runs LD, not CC, wlarc should be empty
13899 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13900 # investigate it a little bit more. (MM)
13903 # ancient GNU ld didn't support --whole-archive et. al.
13904 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13905 $GREP 'no-whole-archive' > /dev
/null
; then
13906 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13908 whole_archive_flag_spec_CXX
=
13914 # A generic and very simple default shared library creation
13915 # command for GNU C++ for the case where it uses the native
13916 # linker, instead of GNU ld. If possible, this setting should
13917 # overridden to take advantage of the native linker features on
13918 # the platform it is being used on.
13919 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13922 # Commands to make compiler produce verbose output that lists
13923 # what "hidden" libraries, object files and flags are used when
13924 # linking a shared library.
13925 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13933 # PORTME: fill in a description of your system's C++ link characteristics
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13935 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13939 # FIXME: insert proper C++ library support
13943 if test "$host_cpu" = ia64
; then
13944 # On IA64, the linker does run time linking by default, so we don't
13945 # have to do anything special.
13946 aix_use_runtimelinking
=no
13947 exp_sym_flag
='-Bexport'
13950 aix_use_runtimelinking
=no
13952 # Test if we are trying to use run time linking or normal
13953 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13954 # need to do runtime linking.
13955 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13956 for ld_flag
in $LDFLAGS; do
13959 aix_use_runtimelinking
=yes
13967 exp_sym_flag
='-bexport'
13968 no_entry_flag
='-bnoentry'
13971 # When large executables or shared objects are built, AIX ld can
13972 # have problems creating the table of contents. If linking a library
13973 # or program results in "error TOC overflow" add -mminimal-toc to
13974 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13975 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13977 archive_cmds_CXX
=''
13978 hardcode_direct_CXX
=yes
13979 hardcode_direct_absolute_CXX
=yes
13980 hardcode_libdir_separator_CXX
=':'
13981 link_all_deplibs_CXX
=yes
13982 file_list_spec_CXX
='${wl}-f,'
13984 if test "$GXX" = yes; then
13985 case $host_os in aix4.
[012]|aix4.
[012].
*)
13986 # We only want to do this on AIX 4.2 and lower, the check
13987 # below for broken collect2 doesn't work under 4.3+
13988 collect2name
=`${CC} -print-prog-name=collect2`
13989 if test -f "$collect2name" &&
13990 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13992 # We have reworked collect2
13995 # We have old collect2
13996 hardcode_direct_CXX
=unsupported
13997 # It fails to find uninstalled libraries when the uninstalled
13998 # path is not listed in the libpath. Setting hardcode_minus_L
13999 # to unsupported forces relinking
14000 hardcode_minus_L_CXX
=yes
14001 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14002 hardcode_libdir_separator_CXX
=
14005 shared_flag
='-shared'
14006 if test "$aix_use_runtimelinking" = yes; then
14007 shared_flag
="$shared_flag "'${wl}-G'
14011 if test "$host_cpu" = ia64
; then
14012 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14013 # chokes on -Wl,-G. The following line is correct:
14016 if test "$aix_use_runtimelinking" = yes; then
14017 shared_flag
='${wl}-G'
14019 shared_flag
='${wl}-bM:SRE'
14024 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14025 # It seems that -bexpall does not export symbols beginning with
14026 # underscore (_), so it is better to generate a list of symbols to
14028 always_export_symbols_CXX
=yes
14029 if test "$aix_use_runtimelinking" = yes; then
14030 # Warning - without using the other runtime loading flags (-brtl),
14031 # -berok will link without error, but may produce a broken library.
14032 allow_undefined_flag_CXX
='-berok'
14033 # Determine the default libpath from the value encoded in an empty
14035 if test x
$gcc_no_link = xyes
; then
14036 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14049 if ac_fn_cxx_try_link
"$LINENO"; then :
14051 lt_aix_libpath_sed
='
14052 /Import File Strings/,/^$/ {
14058 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14059 # Check for a 64-bit object if we didn't find anything.
14060 if test -z "$aix_libpath"; then
14061 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14064 rm -f core conftest.err conftest.
$ac_objext \
14065 conftest
$ac_exeext conftest.
$ac_ext
14066 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14068 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14070 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"
14072 if test "$host_cpu" = ia64
; then
14073 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14074 allow_undefined_flag_CXX
="-z nodefs"
14075 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"
14077 # Determine the default libpath from the value encoded in an
14078 # empty executable.
14079 if test x
$gcc_no_link = xyes
; then
14080 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14093 if ac_fn_cxx_try_link
"$LINENO"; then :
14095 lt_aix_libpath_sed
='
14096 /Import File Strings/,/^$/ {
14102 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14103 # Check for a 64-bit object if we didn't find anything.
14104 if test -z "$aix_libpath"; then
14105 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14108 rm -f core conftest.err conftest.
$ac_objext \
14109 conftest
$ac_exeext conftest.
$ac_ext
14110 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14112 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14113 # Warning - without using the other run time loading flags,
14114 # -berok will link without error, but may produce a broken library.
14115 no_undefined_flag_CXX
=' ${wl}-bernotok'
14116 allow_undefined_flag_CXX
=' ${wl}-berok'
14117 if test "$with_gnu_ld" = yes; then
14118 # We only use this code for GNU lds that support --whole-archive.
14119 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14121 # Exported symbols can be pulled into shared objects from archives
14122 whole_archive_flag_spec_CXX
='$convenience'
14124 archive_cmds_need_lc_CXX
=yes
14125 # This is similar to how AIX traditionally builds its shared
14127 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'
14133 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14134 allow_undefined_flag_CXX
=unsupported
14135 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14136 # support --undefined. This deserves some investigation. FIXME
14137 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14144 case $cc_basename in
14146 # FIXME: insert proper C++ library support
14152 cygwin
* | mingw
* | pw32
* | cegcc
*)
14153 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14154 # as there is no search path for DLLs.
14155 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14156 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
14157 allow_undefined_flag_CXX
=unsupported
14158 always_export_symbols_CXX
=no
14159 enable_shared_with_static_runtimes_CXX
=yes
14161 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14162 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'
14163 # If the export-symbols file already is a .def file (1st line
14164 # is EXPORTS), use it as is; otherwise, prepend...
14165 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14166 cp $export_symbols $output_objdir/$soname.def;
14168 echo EXPORTS > $output_objdir/$soname.def;
14169 cat $export_symbols >> $output_objdir/$soname.def;
14171 $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'
14176 darwin
* | rhapsody
*)
14179 archive_cmds_need_lc_CXX
=no
14180 hardcode_direct_CXX
=no
14181 hardcode_automatic_CXX
=yes
14182 hardcode_shlibpath_var_CXX
=unsupported
14183 if test "$lt_cv_ld_force_load" = "yes"; then
14184 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\"`'
14186 whole_archive_flag_spec_CXX
=''
14188 link_all_deplibs_CXX
=yes
14189 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14190 case $cc_basename in
14191 ifort
*) _lt_dar_can_shared
=yes ;;
14192 *) _lt_dar_can_shared
=$GCC ;;
14194 if test "$_lt_dar_can_shared" = "yes"; then
14195 output_verbose_link_cmd
=func_echo_all
14196 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}"
14197 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14198 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}"
14199 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}"
14200 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14201 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}"
14202 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}"
14212 case $cc_basename in
14214 # FIXME: insert proper C++ library support
14218 # Green Hills C++ Compiler
14219 # FIXME: insert proper C++ library support
14223 # FIXME: insert proper C++ library support
14230 # C++ shared libraries reported to be fairly broken before
14236 archive_cmds_need_lc_CXX
=no
14239 freebsd
* | dragonfly
*)
14240 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14249 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14250 link_all_deplibs_CXX
=yes
14254 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14255 hardcode_libdir_separator_CXX
=:
14256 export_dynamic_flag_spec_CXX
='${wl}-E'
14257 hardcode_direct_CXX
=yes
14258 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14259 # but as the default
14260 # location of the library.
14262 case $cc_basename in
14264 # FIXME: insert proper C++ library support
14268 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'
14269 # Commands to make compiler produce verbose output that lists
14270 # what "hidden" libraries, object files and flags are used when
14271 # linking a shared library.
14273 # There doesn't appear to be a way to prevent this compiler from
14274 # explicitly linking system object files so we need to strip them
14275 # from the output so that they don't get included in the library
14277 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"'
14280 if test "$GXX" = yes; then
14281 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'
14283 # FIXME: insert proper C++ library support
14291 if test $with_gnu_ld = no
; then
14292 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14293 hardcode_libdir_separator_CXX
=:
14299 export_dynamic_flag_spec_CXX
='${wl}-E'
14305 hardcode_direct_CXX
=no
14306 hardcode_shlibpath_var_CXX
=no
14309 hardcode_direct_CXX
=yes
14310 hardcode_direct_absolute_CXX
=yes
14311 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14312 # but as the default
14313 # location of the library.
14317 case $cc_basename in
14319 # FIXME: insert proper C++ library support
14325 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14328 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14331 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14334 # Commands to make compiler produce verbose output that lists
14335 # what "hidden" libraries, object files and flags are used when
14336 # linking a shared library.
14338 # There doesn't appear to be a way to prevent this compiler from
14339 # explicitly linking system object files so we need to strip them
14340 # from the output so that they don't get included in the library
14342 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"'
14345 if test "$GXX" = yes; then
14346 if test $with_gnu_ld = no
; then
14349 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14352 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14355 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'
14360 # FIXME: insert proper C++ library support
14368 hardcode_direct_CXX
=no
14369 hardcode_shlibpath_var_CXX
=no
14370 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14371 export_dynamic_flag_spec_CXX
='${wl}-E'
14372 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14373 # Instead, shared libraries are loaded at an image base (0x10000000 by
14374 # default) and relocated if they conflict, which is a slow very memory
14375 # consuming and fragmenting process. To avoid this, we pick a random,
14376 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14377 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14378 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'
14379 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'
14382 case $cc_basename in
14385 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'
14387 # Archives containing C++ object files must be created using
14388 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14389 # necessary to make sure instantiated templates are included
14391 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14394 if test "$GXX" = yes; then
14395 if test "$with_gnu_ld" = no
; then
14396 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'
14398 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'
14401 link_all_deplibs_CXX
=yes
14404 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14405 hardcode_libdir_separator_CXX
=:
14406 inherit_rpath_CXX
=yes
14409 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14410 case $cc_basename in
14412 # Kuck and Associates, Inc. (KAI) C++ Compiler
14414 # KCC will only create a shared library if the output file
14415 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14416 # to its proper name (with version) after linking.
14417 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'
14418 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'
14419 # Commands to make compiler produce verbose output that lists
14420 # what "hidden" libraries, object files and flags are used when
14421 # linking a shared library.
14423 # There doesn't appear to be a way to prevent this compiler from
14424 # explicitly linking system object files so we need to strip them
14425 # from the output so that they don't get included in the library
14427 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"'
14429 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14430 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14432 # Archives containing C++ object files must be created using
14433 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14434 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14439 # version 8.0 and above of icpc choke on multiply defined symbols
14440 # if we add $predep_objects and $postdep_objects, however 7.1 and
14441 # earlier do not add the objects themselves.
14442 case `$CC -V 2>&1` in
14444 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14445 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'
14447 *) # Version 8.0 or newer
14450 ia64
*) tmp_idyn
=' -i_dynamic';;
14452 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14453 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'
14456 archive_cmds_need_lc_CXX
=no
14457 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14458 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14459 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14462 # Portland Group C++ compiler
14464 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
14465 prelink_cmds_CXX
='tpldir=Template.dir~
14467 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14468 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14469 old_archive_cmds_CXX
='tpldir=Template.dir~
14471 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14472 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14474 archive_cmds_CXX
='tpldir=Template.dir~
14476 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14477 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14478 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14480 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14481 $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'
14483 *) # Version 6 and above use weak symbols
14484 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14485 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'
14489 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14490 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14491 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'
14495 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14496 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'
14498 runpath_var
=LD_RUN_PATH
14499 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14500 hardcode_libdir_separator_CXX
=:
14502 # Commands to make compiler produce verbose output that lists
14503 # what "hidden" libraries, object files and flags are used when
14504 # linking a shared library.
14506 # There doesn't appear to be a way to prevent this compiler from
14507 # explicitly linking system object files so we need to strip them
14508 # from the output so that they don't get included in the library
14510 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'
14512 xl
* | mpixl
* | bgxl
*)
14513 # IBM XL 8.0 on PPC, with GNU ld
14514 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14515 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14516 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14517 if test "x$supports_anon_versioning" = xyes
; then
14518 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14519 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14520 echo "local: *; };" >> $output_objdir/$libname.ver~
14521 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14525 case `$CC -V 2>&1 | sed 5q` in
14528 no_undefined_flag_CXX
=' -zdefs'
14529 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14530 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'
14531 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14532 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'
14533 compiler_needs_object_CXX
=yes
14535 # Not sure whether something based on
14536 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14538 output_verbose_link_cmd
='func_echo_all'
14540 # Archives containing C++ object files must be created using
14541 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14542 # necessary to make sure instantiated templates are included
14544 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14552 # FIXME: insert proper C++ library support
14557 # FIXME: insert proper C++ library support
14562 case $cc_basename in
14564 # FIXME: insert proper C++ library support
14568 # FIXME: insert proper C++ library support
14575 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14576 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14578 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14579 hardcode_direct_CXX
=yes
14580 hardcode_shlibpath_var_CXX
=no
14582 # Workaround some broken pre-1.5 toolchains
14583 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14591 # C++ shared libraries are fairly broken
14596 if test -f /usr
/libexec
/ld.so
; then
14597 hardcode_direct_CXX
=yes
14598 hardcode_shlibpath_var_CXX
=no
14599 hardcode_direct_absolute_CXX
=yes
14600 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14601 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14602 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14603 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14604 export_dynamic_flag_spec_CXX
='${wl}-E'
14605 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14607 output_verbose_link_cmd
=func_echo_all
14613 osf3
* | osf4
* | osf5
*)
14614 case $cc_basename in
14616 # Kuck and Associates, Inc. (KAI) C++ Compiler
14618 # KCC will only create a shared library if the output file
14619 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14620 # to its proper name (with version) after linking.
14621 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'
14623 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14624 hardcode_libdir_separator_CXX
=:
14626 # Archives containing C++ object files must be created using
14627 # the KAI C++ compiler.
14629 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14630 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14634 # Rational C++ 2.4.1
14635 # FIXME: insert proper C++ library support
14641 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14642 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'
14643 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14646 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14647 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'
14648 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14649 echo "-hidden">> $lib.exp~
14650 $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~
14652 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14656 hardcode_libdir_separator_CXX
=:
14658 # Commands to make compiler produce verbose output that lists
14659 # what "hidden" libraries, object files and flags are used when
14660 # linking a shared library.
14662 # There doesn't appear to be a way to prevent this compiler from
14663 # explicitly linking system object files so we need to strip them
14664 # from the output so that they don't get included in the library
14666 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"'
14669 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14670 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14673 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'
14676 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'
14680 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14681 hardcode_libdir_separator_CXX
=:
14683 # Commands to make compiler produce verbose output that lists
14684 # what "hidden" libraries, object files and flags are used when
14685 # linking a shared library.
14686 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14689 # FIXME: insert proper C++ library support
14697 # FIXME: insert proper C++ library support
14702 case $cc_basename in
14705 # FIXME: insert proper C++ library support
14710 # FIXME: insert proper C++ library support
14714 # FIXME: insert proper C++ library support
14721 case $cc_basename in
14723 # Sun C++ 4.2, 5.x and Centerline C++
14724 archive_cmds_need_lc_CXX
=yes
14725 no_undefined_flag_CXX
=' -zdefs'
14726 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14727 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14728 $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'
14730 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14731 hardcode_shlibpath_var_CXX
=no
14733 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14735 # The compiler driver will combine and reorder linker options,
14736 # but understands `-z linker_flag'.
14737 # Supported since Solaris 2.6 (maybe 2.5.1?)
14738 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14741 link_all_deplibs_CXX
=yes
14743 output_verbose_link_cmd
='func_echo_all'
14745 # Archives containing C++ object files must be created using
14746 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14747 # necessary to make sure instantiated templates are included
14749 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14752 # Green Hills C++ Compiler
14753 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14755 # The C++ compiler must be used to create the archive.
14756 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14759 # GNU C++ compiler with Solaris linker
14760 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14761 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14762 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14763 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14764 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14765 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14767 # Commands to make compiler produce verbose output that lists
14768 # what "hidden" libraries, object files and flags are used when
14769 # linking a shared library.
14770 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14772 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14774 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14775 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14776 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14778 # Commands to make compiler produce verbose output that lists
14779 # what "hidden" libraries, object files and flags are used when
14780 # linking a shared library.
14781 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14784 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14786 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14788 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14796 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14797 no_undefined_flag_CXX
='${wl}-z,text'
14798 archive_cmds_need_lc_CXX
=no
14799 hardcode_shlibpath_var_CXX
=no
14800 runpath_var
='LD_RUN_PATH'
14802 case $cc_basename in
14804 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14805 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14808 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14809 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14814 sysv5
* | sco3.2v5
* | sco5v6
*)
14815 # Note: We can NOT use -z defs as we might desire, because we do not
14816 # link with -lc, and that would cause any symbols used from libc to
14817 # always be unresolved, which means just about no library would
14818 # ever link correctly. If we're not using GNU ld we use -z text
14819 # though, which does catch some bad symbols but isn't as heavy-handed
14821 no_undefined_flag_CXX
='${wl}-z,text'
14822 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14823 archive_cmds_need_lc_CXX
=no
14824 hardcode_shlibpath_var_CXX
=no
14825 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14826 hardcode_libdir_separator_CXX
=':'
14827 link_all_deplibs_CXX
=yes
14828 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14829 runpath_var
='LD_RUN_PATH'
14831 case $cc_basename in
14833 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14834 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14835 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14836 '"$old_archive_cmds_CXX"
14837 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14838 '"$reload_cmds_CXX"
14841 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14842 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14848 case $cc_basename in
14850 # NonStop-UX NCC 3.20
14851 # FIXME: insert proper C++ library support
14855 # FIXME: insert proper C++ library support
14862 # FIXME: insert proper C++ library support
14867 # FIXME: insert proper C++ library support
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14873 $as_echo "$ld_shlibs_CXX" >&6; }
14874 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14880 ## There is no encapsulation within the following macros, do not change
14881 ## the running order or otherwise move them around unless you know exactly
14882 ## what you are doing...
14883 # Dependencies to place before and after the object being linked:
14884 predep_objects_CXX
=
14885 postdep_objects_CXX
=
14888 compiler_lib_search_path_CXX
=
14890 cat > conftest.
$ac_ext <<_LT_EOF
14894 Foo (void) { a = 0; }
14900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14901 (eval $ac_compile) 2>&5
14903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14904 test $ac_status = 0; }; then
14905 # Parse the compiler output and extract the necessary
14906 # objects, libraries and library flags.
14908 # Sentinel used to keep track of whether or not we are before
14909 # the conftest object file.
14910 pre_test_object_deps_done
=no
14912 for p
in `eval "$output_verbose_link_cmd"`; do
14916 # Some compilers place space between "-{L,R}" and the path.
14917 # Remove the space.
14918 if test $p = "-L" ||
14919 test $p = "-R"; then
14926 if test "$pre_test_object_deps_done" = no
; then
14929 # Internal compiler library paths should come after those
14930 # provided the user. The postdeps already come after the
14931 # user supplied libs so there is no need to process them.
14932 if test -z "$compiler_lib_search_path_CXX"; then
14933 compiler_lib_search_path_CXX
="${prev}${p}"
14935 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14938 # The "-l" case would never come before the object being
14939 # linked, so don't bother handling this case.
14942 if test -z "$postdeps_CXX"; then
14943 postdeps_CXX
="${prev}${p}"
14945 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14951 # This assumes that the test object file only shows up
14952 # once in the compiler output.
14953 if test "$p" = "conftest.$objext"; then
14954 pre_test_object_deps_done
=yes
14958 if test "$pre_test_object_deps_done" = no
; then
14959 if test -z "$predep_objects_CXX"; then
14960 predep_objects_CXX
="$p"
14962 predep_objects_CXX
="$predep_objects_CXX $p"
14965 if test -z "$postdep_objects_CXX"; then
14966 postdep_objects_CXX
="$p"
14968 postdep_objects_CXX
="$postdep_objects_CXX $p"
14973 *) ;; # Ignore the rest.
14981 echo "libtool.m4: error: problem compiling CXX test program"
14984 $RM -f confest.
$objext
14986 # PORTME: override above test on systems where it is broken
14989 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14990 # hack all around it, let's just trust "g++" to DTRT.
14991 predep_objects_CXX
=
14992 postdep_objects_CXX
=
14997 case `$CC -V 2>&1 | sed 5q` in
15001 # The more standards-conforming stlport4 library is
15002 # incompatible with the Cstd library. Avoid specifying
15003 # it if it's in CXXFLAGS. Ignore libCrun as
15004 # -library=stlport4 depends on it.
15005 case " $CXX $CXXFLAGS " in
15006 *" -library=stlport4 "*)
15007 solaris_use_stlport4
=yes
15011 if test "$solaris_use_stlport4" != yes; then
15012 postdeps_CXX
='-library=Cstd -library=Crun'
15019 case $cc_basename in
15021 # The more standards-conforming stlport4 library is
15022 # incompatible with the Cstd library. Avoid specifying
15023 # it if it's in CXXFLAGS. Ignore libCrun as
15024 # -library=stlport4 depends on it.
15025 case " $CXX $CXXFLAGS " in
15026 *" -library=stlport4 "*)
15027 solaris_use_stlport4
=yes
15031 # Adding this requires a known-good setup of shared libraries for
15032 # Sun compiler versions before 5.6, else PIC objects from an old
15033 # archive will be linked into the output, leading to subtle bugs.
15034 if test "$solaris_use_stlport4" != yes; then
15035 postdeps_CXX
='-library=Cstd -library=Crun'
15043 case " $postdeps_CXX " in
15044 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15046 compiler_lib_search_dirs_CXX
=
15047 if test -n "${compiler_lib_search_path_CXX}"; then
15048 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15081 lt_prog_compiler_wl_CXX
=
15082 lt_prog_compiler_pic_CXX
=
15083 lt_prog_compiler_static_CXX
=
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15086 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15088 # C++ specific cases for pic, static, wl, etc.
15089 if test "$GXX" = yes; then
15090 lt_prog_compiler_wl_CXX
='-Wl,'
15091 lt_prog_compiler_static_CXX
='-static'
15095 # All AIX code is PIC.
15096 if test "$host_cpu" = ia64
; then
15097 # AIX 5 now supports IA64 processor
15098 lt_prog_compiler_static_CXX
='-Bstatic'
15105 # see comment about AmigaOS4 .so support
15106 lt_prog_compiler_pic_CXX
='-fPIC'
15109 # FIXME: we need at least 68020 code to build shared libraries, but
15110 # adding the `-m68020' flag to GCC prevents building anything better,
15112 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15117 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15118 # PIC is the default for these OSes.
15120 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15121 # This hack is so that the source file can tell whether it is being
15122 # built for inclusion in a dll (and should export symbols for example).
15123 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15124 # (--disable-auto-import) libraries
15125 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15127 darwin
* | rhapsody
*)
15128 # PIC is the default on this platform
15129 # Common symbols not allowed in MH_DYLIB files
15130 lt_prog_compiler_pic_CXX
='-fno-common'
15133 # DJGPP does not support shared libraries at all
15134 lt_prog_compiler_pic_CXX
=
15137 # PIC is the default for Haiku.
15138 # The "-static" flag exists, but is broken.
15139 lt_prog_compiler_static_CXX
=
15142 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15143 # Instead, we relocate shared libraries at runtime.
15146 if test -d /usr
/nec
; then
15147 lt_prog_compiler_pic_CXX
=-Kconform_pic
15151 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15152 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15153 # sets the default TLS model and affects inlining.
15158 lt_prog_compiler_pic_CXX
='-fPIC'
15163 # QNX uses GNU C++, but need to define -shared option too, otherwise
15164 # it will coredump.
15165 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15168 lt_prog_compiler_pic_CXX
='-fPIC'
15174 # All AIX code is PIC.
15175 if test "$host_cpu" = ia64
; then
15176 # AIX 5 now supports IA64 processor
15177 lt_prog_compiler_static_CXX
='-Bstatic'
15179 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15183 case $cc_basename in
15185 # Green Hills C++ Compiler
15186 # _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"
15191 case $cc_basename in
15193 lt_prog_compiler_pic_CXX
='-KPIC'
15196 # Green Hills C++ Compiler
15197 lt_prog_compiler_pic_CXX
='-pic'
15203 freebsd
* | dragonfly
*)
15204 # FreeBSD uses GNU C++
15206 hpux9
* | hpux10
* | hpux11
*)
15207 case $cc_basename in
15209 lt_prog_compiler_wl_CXX
='-Wl,'
15210 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15211 if test "$host_cpu" != ia64
; then
15212 lt_prog_compiler_pic_CXX
='+Z'
15216 lt_prog_compiler_wl_CXX
='-Wl,'
15217 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15223 lt_prog_compiler_pic_CXX
='+Z'
15232 # This is c89, which is MS Visual C++ (no shared libs)
15233 # Anyone wants to do a port?
15235 irix5
* | irix6
* | nonstopux
*)
15236 case $cc_basename in
15238 lt_prog_compiler_wl_CXX
='-Wl,'
15239 lt_prog_compiler_static_CXX
='-non_shared'
15240 # CC pic flag -KPIC is the default.
15246 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15247 case $cc_basename in
15250 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15251 lt_prog_compiler_pic_CXX
='-fPIC'
15254 # old Intel C++ for x86_64 which still supported -KPIC.
15255 lt_prog_compiler_wl_CXX
='-Wl,'
15256 lt_prog_compiler_pic_CXX
='-KPIC'
15257 lt_prog_compiler_static_CXX
='-static'
15260 # Intel C++, used to be incompatible with GCC.
15261 # ICC 10 doesn't accept -KPIC any more.
15262 lt_prog_compiler_wl_CXX
='-Wl,'
15263 lt_prog_compiler_pic_CXX
='-fPIC'
15264 lt_prog_compiler_static_CXX
='-static'
15267 # Portland Group C++ compiler
15268 lt_prog_compiler_wl_CXX
='-Wl,'
15269 lt_prog_compiler_pic_CXX
='-fpic'
15270 lt_prog_compiler_static_CXX
='-Bstatic'
15274 # Make sure the PIC flag is empty. It appears that all Alpha
15275 # Linux and Compaq Tru64 Unix objects are PIC.
15276 lt_prog_compiler_pic_CXX
=
15277 lt_prog_compiler_static_CXX
='-non_shared'
15279 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15280 # IBM XL 8.0, 9.0 on PPC and BlueGene
15281 lt_prog_compiler_wl_CXX
='-Wl,'
15282 lt_prog_compiler_pic_CXX
='-qpic'
15283 lt_prog_compiler_static_CXX
='-qstaticlink'
15286 case `$CC -V 2>&1 | sed 5q` in
15289 lt_prog_compiler_pic_CXX
='-KPIC'
15290 lt_prog_compiler_static_CXX
='-Bstatic'
15291 lt_prog_compiler_wl_CXX
='-Qoption ld '
15302 case $cc_basename in
15304 lt_prog_compiler_pic_CXX
='-W c,exportall'
15313 # QNX uses GNU C++, but need to define -shared option too, otherwise
15314 # it will coredump.
15315 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15317 osf3
* | osf4
* | osf5
*)
15318 case $cc_basename in
15320 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15323 # Rational C++ 2.4.1
15324 lt_prog_compiler_pic_CXX
='-pic'
15327 # Digital/Compaq C++
15328 lt_prog_compiler_wl_CXX
='-Wl,'
15329 # Make sure the PIC flag is empty. It appears that all Alpha
15330 # Linux and Compaq Tru64 Unix objects are PIC.
15331 lt_prog_compiler_pic_CXX
=
15332 lt_prog_compiler_static_CXX
='-non_shared'
15341 case $cc_basename in
15343 # Sun C++ 4.2, 5.x and Centerline C++
15344 lt_prog_compiler_pic_CXX
='-KPIC'
15345 lt_prog_compiler_static_CXX
='-Bstatic'
15346 lt_prog_compiler_wl_CXX
='-Qoption ld '
15349 # Green Hills C++ Compiler
15350 lt_prog_compiler_pic_CXX
='-PIC'
15357 case $cc_basename in
15360 lt_prog_compiler_pic_CXX
='-pic'
15361 lt_prog_compiler_static_CXX
='-Bstatic'
15365 lt_prog_compiler_pic_CXX
='-pic'
15371 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15372 case $cc_basename in
15374 lt_prog_compiler_wl_CXX
='-Wl,'
15375 lt_prog_compiler_pic_CXX
='-KPIC'
15376 lt_prog_compiler_static_CXX
='-Bstatic'
15381 case $cc_basename in
15383 # NonStop-UX NCC 3.20
15384 lt_prog_compiler_pic_CXX
='-KPIC'
15393 lt_prog_compiler_can_build_shared_CXX
=no
15399 # For platforms which do not support PIC, -DPIC is meaningless:
15401 lt_prog_compiler_pic_CXX
=
15404 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15408 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15413 # Check to make sure the PIC flag actually works.
15415 if test -n "$lt_prog_compiler_pic_CXX"; then
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15417 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15418 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15419 $as_echo_n "(cached) " >&6
15421 lt_cv_prog_compiler_pic_works_CXX
=no
15422 ac_outfile
=conftest.
$ac_objext
15423 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15424 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15425 # Insert the option either (1) after the last *FLAGS variable, or
15426 # (2) before a word containing "conftest.", or (3) at the end.
15427 # Note that $ac_compile itself does not contain backslashes and begins
15428 # with a dollar sign (not a hyphen), so the echo should work correctly.
15429 # The option is referenced via a variable to avoid confusing sed.
15430 lt_compile
=`echo "$ac_compile" | $SED \
15431 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15432 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15433 -e 's:$: $lt_compiler_flag:'`
15434 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15435 (eval "$lt_compile" 2>conftest.err
)
15437 cat conftest.err
>&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 if (exit $ac_status) && test -s "$ac_outfile"; then
15440 # The compiler can only warn and ignore the option if not recognized
15441 # So say no if there are warnings other than the usual output.
15442 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
15443 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15444 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15445 lt_cv_prog_compiler_pic_works_CXX
=yes
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15452 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15454 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15455 case $lt_prog_compiler_pic_CXX in
15457 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15460 lt_prog_compiler_pic_CXX
=
15461 lt_prog_compiler_can_build_shared_CXX
=no
15469 # Check to make sure the static flag actually works.
15471 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15473 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15474 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15475 $as_echo_n "(cached) " >&6
15477 lt_cv_prog_compiler_static_works_CXX
=no
15478 save_LDFLAGS
="$LDFLAGS"
15479 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15480 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15481 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15482 # The linker can only warn and ignore the option if not recognized
15483 # So say no if there are warnings
15484 if test -s conftest.err
; then
15485 # Append any errors to the config.log.
15486 cat conftest.err
1>&5
15487 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15488 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15489 if diff conftest.exp conftest.er2
>/dev
/null
; then
15490 lt_cv_prog_compiler_static_works_CXX
=yes
15493 lt_cv_prog_compiler_static_works_CXX
=yes
15497 LDFLAGS
="$save_LDFLAGS"
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15501 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15503 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15506 lt_prog_compiler_static_CXX
=
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15513 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15514 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15515 $as_echo_n "(cached) " >&6
15517 lt_cv_prog_compiler_c_o_CXX
=no
15518 $RM -r conftest
2>/dev
/null
15522 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15524 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15525 # Insert the option either (1) after the last *FLAGS variable, or
15526 # (2) before a word containing "conftest.", or (3) at the end.
15527 # Note that $ac_compile itself does not contain backslashes and begins
15528 # with a dollar sign (not a hyphen), so the echo should work correctly.
15529 lt_compile
=`echo "$ac_compile" | $SED \
15530 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15531 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15532 -e 's:$: $lt_compiler_flag:'`
15533 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15534 (eval "$lt_compile" 2>out
/conftest.err
)
15536 cat out
/conftest.err
>&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15540 # The compiler can only warn and ignore the option if not recognized
15541 # So say no if there are warnings
15542 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15543 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15544 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15545 lt_cv_prog_compiler_c_o_CXX
=yes
15550 # SGI C++ compiler will create directory out/ii_files/ for
15551 # template instantiation
15552 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15553 $RM out
/* && rmdir out
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15560 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15565 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15566 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15567 $as_echo_n "(cached) " >&6
15569 lt_cv_prog_compiler_c_o_CXX
=no
15570 $RM -r conftest
2>/dev
/null
15574 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15576 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15577 # Insert the option either (1) after the last *FLAGS variable, or
15578 # (2) before a word containing "conftest.", or (3) at the end.
15579 # Note that $ac_compile itself does not contain backslashes and begins
15580 # with a dollar sign (not a hyphen), so the echo should work correctly.
15581 lt_compile
=`echo "$ac_compile" | $SED \
15582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15584 -e 's:$: $lt_compiler_flag:'`
15585 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15586 (eval "$lt_compile" 2>out
/conftest.err
)
15588 cat out
/conftest.err
>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15592 # The compiler can only warn and ignore the option if not recognized
15593 # So say no if there are warnings
15594 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15595 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15596 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15597 lt_cv_prog_compiler_c_o_CXX
=yes
15602 # SGI C++ compiler will create directory out/ii_files/ for
15603 # template instantiation
15604 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15605 $RM out
/* && rmdir out
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15612 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15617 hard_links
="nottested"
15618 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15619 # do not overwrite the value of need_locks provided by the user
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15621 $as_echo_n "checking if we can lock with hard links... " >&6; }
15624 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15626 ln conftest.a conftest.b
2>&5 || hard_links
=no
15627 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15629 $as_echo "$hard_links" >&6; }
15630 if test "$hard_links" = no
; then
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15632 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15642 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15644 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15647 # If we're using GNU nm, then we don't want the "-C" option.
15648 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15649 # Also, AIX nm treats weak defined symbols like other global defined
15650 # symbols, whereas GNU nm marks them as "W".
15651 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15652 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'
15654 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'
15658 export_symbols_cmds_CXX
="$ltdll_cmds"
15660 cygwin
* | mingw
* | cegcc
*)
15661 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'
15664 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15667 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15670 $as_echo "$ld_shlibs_CXX" >&6; }
15671 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15673 with_gnu_ld_CXX
=$with_gnu_ld
15681 # Do we need to explicitly link libc?
15683 case "x$archive_cmds_need_lc_CXX" in
15685 # Assume -lc should be added
15686 archive_cmds_need_lc_CXX
=yes
15688 if test "$enable_shared" = yes && test "$GCC" = yes; then
15689 case $archive_cmds_CXX in
15691 # FIXME: we may have to deal with multi-command sequences.
15694 # Test whether the compiler implicitly links with -lc since on some
15695 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15696 # to ld, don't add -lc before -lgcc.
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15698 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15699 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15700 $as_echo_n "(cached) " >&6
15703 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15705 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15706 (eval $ac_compile) 2>&5
15708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15709 test $ac_status = 0; } 2>conftest.err
; then
15712 libobjs
=conftest.
$ac_objext
15714 wl
=$lt_prog_compiler_wl_CXX
15715 pic_flag
=$lt_prog_compiler_pic_CXX
15721 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15722 allow_undefined_flag_CXX
=
15723 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15724 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15727 test $ac_status = 0; }
15729 lt_cv_archive_cmds_need_lc_CXX
=no
15731 lt_cv_archive_cmds_need_lc_CXX
=yes
15733 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15735 cat conftest.err
1>&5
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15741 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15742 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15813 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15815 library_names_spec
=
15816 libname_spec
='lib$name'
15820 postuninstall_cmds
=
15824 shlibpath_overrides_runpath
=unknown
15826 dynamic_linker
="$host_os ld.so"
15827 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15828 need_lib_prefix
=unknown
15829 hardcode_into_libs
=no
15831 # when you set need_version to no, make sure it does not cause -set_version
15832 # flags to be left without arguments
15833 need_version
=unknown
15838 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15839 shlibpath_var
=LIBPATH
15841 # AIX 3 has no versioning support, so we append a major version to the name.
15842 soname_spec
='${libname}${release}${shared_ext}$major'
15849 hardcode_into_libs
=yes
15850 if test "$host_cpu" = ia64
; then
15851 # AIX 5 supports IA64
15852 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15853 shlibpath_var
=LD_LIBRARY_PATH
15855 # With GCC up to 2.95.x, collect2 would create an import file
15856 # for dependence libraries. The import file would start with
15857 # the line `#! .'. This would cause the generated library to
15858 # depend on `.', always an invalid library. This was fixed in
15859 # development snapshots of GCC prior to 3.0.
15861 aix4 | aix4.
[01] | aix4.
[01].
*)
15862 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15864 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15867 can_build_shared
=no
15871 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15872 # soname into executable. Probably we can add versioning support to
15873 # collect2, so additional links can be useful in future.
15874 if test "$aix_use_runtimelinking" = yes; then
15875 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15876 # instead of lib<name>.a to let people know that these are not
15877 # typical AIX shared libraries.
15878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15880 # We preserve .a as extension for shared libraries through AIX4.2
15881 # and later when we are not doing run time linking.
15882 library_names_spec
='${libname}${release}.a $libname.a'
15883 soname_spec
='${libname}${release}${shared_ext}$major'
15885 shlibpath_var
=LIBPATH
15892 # Since July 2007 AmigaOS4 officially supports .so libraries.
15893 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15897 library_names_spec
='$libname.ixlibrary $libname.a'
15898 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15899 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'
15905 library_names_spec
='${libname}${shared_ext}'
15906 dynamic_linker
="$host_os ld.so"
15907 shlibpath_var
=LIBRARY_PATH
15913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15914 soname_spec
='${libname}${release}${shared_ext}$major'
15915 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15916 shlibpath_var
=LD_LIBRARY_PATH
15917 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15918 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15919 # the default ld.so.conf also contains /usr/contrib/lib and
15920 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15921 # libtool to hard-code these into programs
15924 cygwin
* | mingw
* | pw32
* | cegcc
*)
15925 version_type
=windows
15930 case $GCC,$host_os in
15931 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15932 library_names_spec
='$libname.dll.a'
15933 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15934 postinstall_cmds
='base_file=`basename \${file}`~
15935 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15936 dldir=$destdir/`dirname \$dlpath`~
15937 test -d \$dldir || mkdir -p \$dldir~
15938 $install_prog $dir/$dlname \$dldir/$dlname~
15939 chmod a+x \$dldir/$dlname~
15940 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15941 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15943 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15944 dlpath=$dir/\$dldll~
15946 shlibpath_overrides_runpath
=yes
15950 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15951 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15955 # MinGW DLLs use traditional 'lib' prefix
15956 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15959 # pw32 DLLs use 'pw' prefix rather than 'lib'
15960 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15966 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15969 dynamic_linker
='Win32 ld.exe'
15970 # FIXME: first we should search . and the directory the executable is in
15974 darwin
* | rhapsody
*)
15975 dynamic_linker
="$host_os dyld"
15976 version_type
=darwin
15979 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15980 soname_spec
='${libname}${release}${major}$shared_ext'
15981 shlibpath_overrides_runpath
=yes
15982 shlibpath_var
=DYLD_LIBRARY_PATH
15983 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15985 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15993 soname_spec
='${libname}${release}${shared_ext}$major'
15994 shlibpath_var
=LD_LIBRARY_PATH
16001 freebsd
* | dragonfly
*)
16002 # DragonFly does not have aout. When/if they implement a new
16003 # versioning mechanism, adjust this.
16004 if test -x /usr
/bin
/objformat
; then
16005 objformat
=`/usr/bin/objformat`
16008 freebsd
[123]*) objformat
=aout
;;
16009 *) objformat
=elf
;;
16012 version_type
=freebsd-
$objformat
16013 case $version_type in
16015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16020 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16024 shlibpath_var
=LD_LIBRARY_PATH
16027 shlibpath_overrides_runpath
=yes
16029 freebsd3.
[01]* | freebsdelf3.
[01]*)
16030 shlibpath_overrides_runpath
=yes
16031 hardcode_into_libs
=yes
16033 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16034 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16035 shlibpath_overrides_runpath
=no
16036 hardcode_into_libs
=yes
16038 *) # from 4.6 on, and DragonFly
16039 shlibpath_overrides_runpath
=yes
16040 hardcode_into_libs
=yes
16049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16050 soname_spec
='${libname}${release}${shared_ext}$major'
16051 shlibpath_var
=LD_LIBRARY_PATH
16052 hardcode_into_libs
=yes
16059 dynamic_linker
="$host_os runtime_loader"
16060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16061 soname_spec
='${libname}${release}${shared_ext}$major'
16062 shlibpath_var
=LIBRARY_PATH
16063 shlibpath_overrides_runpath
=yes
16064 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
16065 hardcode_into_libs
=yes
16068 hpux9
* | hpux10
* | hpux11
*)
16069 # Give a soname corresponding to the major version so that dld.sl refuses to
16070 # link against other versions.
16077 hardcode_into_libs
=yes
16078 dynamic_linker
="$host_os dld.so"
16079 shlibpath_var
=LD_LIBRARY_PATH
16080 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16082 soname_spec
='${libname}${release}${shared_ext}$major'
16083 if test "X$HPUX_IA64_MODE" = X32
; then
16084 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16086 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16088 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16092 hardcode_into_libs
=yes
16093 dynamic_linker
="$host_os dld.sl"
16094 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16095 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16097 soname_spec
='${libname}${release}${shared_ext}$major'
16098 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16099 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16103 dynamic_linker
="$host_os dld.sl"
16104 shlibpath_var
=SHLIB_PATH
16105 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16107 soname_spec
='${libname}${release}${shared_ext}$major'
16110 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16111 postinstall_cmds
='chmod 555 $lib'
16112 # or fails outright, so override atomically:
16113 install_override_mode
=555
16120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16121 soname_spec
='${libname}${release}${shared_ext}$major'
16122 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16123 shlibpath_var
=LD_LIBRARY_PATH
16124 shlibpath_overrides_runpath
=no
16125 hardcode_into_libs
=yes
16128 irix5
* | irix6
* | nonstopux
*)
16130 nonstopux
*) version_type
=nonstopux
;;
16132 if test "$lt_cv_prog_gnu_ld" = yes; then
16140 soname_spec
='${libname}${release}${shared_ext}$major'
16141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16143 irix5
* | nonstopux
*)
16144 libsuff
= shlibsuff
=
16147 case $LD in # libtool.m4 will add one of these switches to LD
16148 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16149 libsuff
= shlibsuff
= libmagic
=32-bit;;
16150 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16151 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16152 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16153 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16154 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16158 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16159 shlibpath_overrides_runpath
=no
16160 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16161 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16162 hardcode_into_libs
=yes
16165 # No shared lib support for Linux oldld, aout, or coff.
16166 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16170 # This must be Linux ELF.
16171 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16176 soname_spec
='${libname}${release}${shared_ext}$major'
16177 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16178 shlibpath_var
=LD_LIBRARY_PATH
16179 shlibpath_overrides_runpath
=no
16181 # Some binutils ld are patched to set DT_RUNPATH
16182 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16183 $as_echo_n "(cached) " >&6
16185 lt_cv_shlibpath_overrides_runpath
=no
16186 save_LDFLAGS
=$LDFLAGS
16187 save_libdir
=$libdir
16188 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16189 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16190 if test x
$gcc_no_link = xyes
; then
16191 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h. */
16204 if ac_fn_cxx_try_link
"$LINENO"; then :
16205 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16206 lt_cv_shlibpath_overrides_runpath
=yes
16209 rm -f core conftest.err conftest.
$ac_objext \
16210 conftest
$ac_exeext conftest.
$ac_ext
16211 LDFLAGS
=$save_LDFLAGS
16212 libdir
=$save_libdir
16216 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16218 # This implies no fast_install, which is unacceptable.
16219 # Some rework will be needed to allow for fast_install
16220 # before this can be enabled.
16221 hardcode_into_libs
=yes
16223 # Append ld.so.conf contents to the search path
16224 if test -f /etc
/ld.so.conf
; then
16225 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' ' '`
16226 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16229 # We used to test for /lib/ld.so.1 and disable shared libraries on
16230 # powerpc, because MkLinux only supported shared libraries with the
16231 # GNU dynamic linker. Since this was broken with cross compilers,
16232 # most powerpc-linux boxes support dynamic linking these days and
16233 # people can always --disable-shared, the test was removed, and we
16234 # assume the GNU/Linux dynamic linker is in use.
16235 dynamic_linker
='GNU/Linux ld.so'
16242 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16244 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16245 dynamic_linker
='NetBSD (a.out) ld.so'
16247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16248 soname_spec
='${libname}${release}${shared_ext}$major'
16249 dynamic_linker
='NetBSD ld.elf_so'
16251 shlibpath_var
=LD_LIBRARY_PATH
16252 shlibpath_overrides_runpath
=yes
16253 hardcode_into_libs
=yes
16258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16259 shlibpath_var
=LD_LIBRARY_PATH
16260 shlibpath_overrides_runpath
=yes
16267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16268 soname_spec
='${libname}${release}${shared_ext}$major'
16269 shlibpath_var
=LD_LIBRARY_PATH
16270 shlibpath_overrides_runpath
=no
16271 hardcode_into_libs
=yes
16272 dynamic_linker
='ldqnx.so'
16277 sys_lib_dlsearch_path_spec
="/usr/lib"
16279 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16281 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16282 *) need_version
=no
;;
16284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16285 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16286 shlibpath_var
=LD_LIBRARY_PATH
16287 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16289 openbsd2.
[89] | openbsd2.
[89].
*)
16290 shlibpath_overrides_runpath
=no
16293 shlibpath_overrides_runpath
=yes
16297 shlibpath_overrides_runpath
=yes
16302 libname_spec
='$name'
16305 library_names_spec
='$libname${shared_ext} $libname.a'
16306 dynamic_linker
='OS/2 ld.exe'
16307 shlibpath_var
=LIBPATH
16310 osf3
* | osf4
* | osf5
*)
16314 soname_spec
='${libname}${release}${shared_ext}$major'
16315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16316 shlibpath_var
=LD_LIBRARY_PATH
16317 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16318 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16330 soname_spec
='${libname}${release}${shared_ext}$major'
16331 shlibpath_var
=LD_LIBRARY_PATH
16332 shlibpath_overrides_runpath
=yes
16333 hardcode_into_libs
=yes
16334 # ldd complains unless libraries are executable
16335 postinstall_cmds
='chmod +x $lib'
16340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16341 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16342 shlibpath_var
=LD_LIBRARY_PATH
16343 shlibpath_overrides_runpath
=yes
16344 if test "$with_gnu_ld" = yes; then
16352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16353 soname_spec
='${libname}${release}${shared_ext}$major'
16354 shlibpath_var
=LD_LIBRARY_PATH
16355 case $host_vendor in
16357 shlibpath_overrides_runpath
=no
16359 runpath_var
=LD_RUN_PATH
16367 shlibpath_overrides_runpath
=no
16368 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16374 if test -d /usr
/nec
;then
16376 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16377 soname_spec
='$libname${shared_ext}.$major'
16378 shlibpath_var
=LD_LIBRARY_PATH
16382 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16383 version_type
=freebsd-elf
16386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16387 soname_spec
='${libname}${release}${shared_ext}$major'
16388 shlibpath_var
=LD_LIBRARY_PATH
16389 shlibpath_overrides_runpath
=yes
16390 hardcode_into_libs
=yes
16391 if test "$with_gnu_ld" = yes; then
16392 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16394 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16397 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16401 sys_lib_dlsearch_path_spec
='/usr/lib'
16405 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16410 shlibpath_var
=LD_LIBRARY_PATH
16411 shlibpath_overrides_runpath
=no
16412 hardcode_into_libs
=yes
16417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16418 soname_spec
='${libname}${release}${shared_ext}$major'
16419 shlibpath_var
=LD_LIBRARY_PATH
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16427 $as_echo "$dynamic_linker" >&6; }
16428 test "$dynamic_linker" = no
&& can_build_shared
=no
16430 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16431 if test "$GCC" = yes; then
16432 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16435 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16436 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16438 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16439 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16480 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16481 hardcode_action_CXX
=
16482 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16483 test -n "$runpath_var_CXX" ||
16484 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16486 # We can hardcode non-existent directories.
16487 if test "$hardcode_direct_CXX" != no
&&
16488 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16489 # have to relink, otherwise we might link with an installed library
16490 # when we should be linking with a yet-to-be-installed one
16491 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16492 test "$hardcode_minus_L_CXX" != no
; then
16493 # Linking always hardcodes the temporary library directory.
16494 hardcode_action_CXX
=relink
16496 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16497 hardcode_action_CXX
=immediate
16500 # We cannot hardcode anything, or else we can only hardcode existing
16502 hardcode_action_CXX
=unsupported
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16505 $as_echo "$hardcode_action_CXX" >&6; }
16507 if test "$hardcode_action_CXX" = relink ||
16508 test "$inherit_rpath_CXX" = yes; then
16509 # Fast installation is not supported
16510 enable_fast_install
=no
16511 elif test "$shlibpath_overrides_runpath" = yes ||
16512 test "$enable_shared" = no
; then
16513 # Fast installation is not necessary
16514 enable_fast_install
=needless
16523 fi # test -n "$compiler"
16529 with_gnu_ld
=$lt_save_with_gnu_ld
16530 lt_cv_path_LDCXX
=$lt_cv_path_LD
16531 lt_cv_path_LD
=$lt_save_path_LD
16532 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16533 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16534 fi # test "$_lt_caught_CXX_error" != yes
16537 ac_cpp
='$CPP $CPPFLAGS'
16538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16544 # Handle -Werror default case.
16545 if test "$ENABLE_WERROR" = default
; then
16548 if test "$GCC" = yes; then
16555 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
16556 # Extract the first word of "perl", so it can be a program name with args.
16557 set dummy perl
; ac_word
=$2
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16559 $as_echo_n "checking for $ac_word... " >&6; }
16560 if test "${ac_cv_path_PERL+set}" = set; then :
16561 $as_echo_n "(cached) " >&6
16565 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
16568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16569 for as_dir
in $PATH
16572 test -z "$as_dir" && as_dir
=.
16573 for ac_exec_ext
in '' $ac_executable_extensions; do
16574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16575 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
16576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16586 PERL
=$ac_cv_path_PERL
16587 if test -n "$PERL"; then
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16589 $as_echo "$PERL" >&6; }
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16592 $as_echo "no" >&6; }
16598 ac_config_files
="$ac_config_files lib/mkcollections.pl"
16600 ac_config_commands
="$ac_config_commands mkcollections.pl"
16604 if test "x${COMPILE_JNI}" = xyes
; then
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((,,))" >&5
16609 $as_echo_n "checking __attribute__((,,))... " >&6; }
16610 if test "${gcc_cv_c_gcc_attribute_supported+set}" = set; then :
16611 $as_echo_n "(cached) " >&6
16614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16615 /* end confdefs.h. */
16620 extern int testfunction(int x) __attribute__((,,))
16625 if ac_fn_c_try_compile
"$LINENO"; then :
16626 gcc_cv_c_gcc_attribute_supported
=yes
16628 gcc_cv_c_gcc_attribute_supported
=no
16630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16634 if test "x$gcc_cv_c_gcc_attribute_supported" = xyes
; then
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16637 $as_echo "yes" >&6; }
16639 $as_echo "#define HAVE_GNUC25_ATTRIB /**/" >>confdefs.h
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16645 $as_echo "no" >&6; }
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((unused))" >&5
16658 $as_echo_n "checking __attribute__((unused))... " >&6; }
16659 if test "${gcc_cv_c_gcc_attribute_unused+set}" = set; then :
16660 $as_echo_n "(cached) " >&6
16663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16669 extern int testfunction(int x) __attribute__((unused))
16674 if ac_fn_c_try_compile
"$LINENO"; then :
16675 gcc_cv_c_gcc_attribute_unused
=yes
16677 gcc_cv_c_gcc_attribute_unused
=no
16679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16683 if test "x$gcc_cv_c_gcc_attribute_unused" = xyes
; then
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16686 $as_echo "yes" >&6; }
16688 $as_echo "#define HAVE_GNUC25_UNUSED /**/" >>confdefs.h
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16694 $as_echo "no" >&6; }
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16703 $as_echo_n "checking for ANSI C header files... " >&6; }
16704 if test "${ac_cv_header_stdc+set}" = set; then :
16705 $as_echo_n "(cached) " >&6
16707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16709 #include <stdlib.h>
16710 #include <stdarg.h>
16711 #include <string.h>
16722 if ac_fn_c_try_compile
"$LINENO"; then :
16723 ac_cv_header_stdc
=yes
16725 ac_cv_header_stdc
=no
16727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16729 if test $ac_cv_header_stdc = yes; then
16730 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16733 #include <string.h>
16736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16737 $EGREP "memchr" >/dev
/null
2>&1; then :
16740 ac_cv_header_stdc
=no
16746 if test $ac_cv_header_stdc = yes; then
16747 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16749 /* end confdefs.h. */
16750 #include <stdlib.h>
16753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16754 $EGREP "free" >/dev
/null
2>&1; then :
16757 ac_cv_header_stdc
=no
16763 if test $ac_cv_header_stdc = yes; then
16764 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16765 if test "$cross_compiling" = yes; then :
16768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16769 /* end confdefs.h. */
16771 #include <stdlib.h>
16772 #if ((' ' & 0x0FF) == 0x020)
16773 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16774 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16776 # define ISLOWER(c) \
16777 (('a' <= (c) && (c) <= 'i') \
16778 || ('j' <= (c) && (c) <= 'r') \
16779 || ('s' <= (c) && (c) <= 'z'))
16780 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16783 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16788 for (i = 0; i < 256; i++)
16789 if (XOR (islower (i), ISLOWER (i))
16790 || toupper (i) != TOUPPER (i))
16795 if ac_fn_c_try_run
"$LINENO"; then :
16798 ac_cv_header_stdc
=no
16800 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16801 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16807 $as_echo "$ac_cv_header_stdc" >&6; }
16808 if test $ac_cv_header_stdc = yes; then
16810 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16816 $as_echo_n "checking size of void *... " >&6; }
16817 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16818 $as_echo_n "(cached) " >&6
16820 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
16821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16822 /* end confdefs.h. */
16823 #include "confdefs.h"
16824 #include <sys/types.h>
16830 switch (0) case 0: case (sizeof (void *) == $ac_size):;
16835 if ac_fn_c_try_compile
"$LINENO"; then :
16836 ac_cv_sizeof_void_p
=$ac_size
16838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16839 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
16844 if test x
$ac_cv_sizeof_void_p = x
; then
16845 as_fn_error
"cannot determine a size for void *" "$LINENO" 5
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16848 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16850 cat >>confdefs.h
<<_ACEOF
16851 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16857 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16858 if test "${ac_cv_c_bigendian+set}" = set; then :
16859 $as_echo_n "(cached) " >&6
16861 ac_cv_c_bigendian
=unknown
16862 # See if sys/param.h defines the BYTE_ORDER macro.
16863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16865 #include <sys/types.h>
16866 #include <sys/param.h>
16871 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16872 bogus endian macros
16878 if ac_fn_c_try_compile
"$LINENO"; then :
16879 # It does; now see whether it defined to BIG_ENDIAN or not.
16880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16881 /* end confdefs.h. */
16882 #include <sys/types.h>
16883 #include <sys/param.h>
16888 #if BYTE_ORDER != BIG_ENDIAN
16895 if ac_fn_c_try_compile
"$LINENO"; then :
16896 ac_cv_c_bigendian
=yes
16898 ac_cv_c_bigendian
=no
16900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16903 if test $ac_cv_c_bigendian = unknown
; then
16904 if test "$cross_compiling" = yes; then :
16905 echo $ac_n "cross-compiling... " 2>&6
16907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16910 /* Are we little or big endian? From Harbison&Steele. */
16914 char c[sizeof (long)];
16917 exit (u.c[sizeof (long) - 1] == 1);
16920 if ac_fn_c_try_run
"$LINENO"; then :
16921 ac_cv_c_bigendian
=no
16923 ac_cv_c_bigendian
=yes
16925 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16926 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16932 $as_echo "$ac_cv_c_bigendian" >&6; }
16933 if test $ac_cv_c_bigendian = unknown
; then
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to probe for byte ordering" >&5
16935 $as_echo_n "checking to probe for byte ordering... " >&6; }
16937 cat >conftest.c
<<EOF
16938 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16939 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16940 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
16941 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16942 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16943 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
16944 int main() { _ascii (); _ebcdic (); return 0; }
16946 if test -f conftest.c
; then
16947 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
16948 if test `grep -l BIGenDianSyS conftest.o` ; then
16949 echo $ac_n ' big endian probe OK, ' 1>&6
16950 ac_cv_c_bigendian
=yes
16952 if test `grep -l LiTTleEnDian conftest.o` ; then
16953 echo $ac_n ' little endian probe OK, ' 1>&6
16954 if test $ac_cv_c_bigendian = yes ; then
16955 ac_cv_c_bigendian
=unknown
;
16957 ac_cv_c_bigendian
=no
16960 echo $ac_n 'guessing bigendian ... ' >&6
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16964 $as_echo "$ac_cv_c_bigendian" >&6; }
16966 if test $ac_cv_c_bigendian = yes; then
16968 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16971 $as_echo "#define HOST_WORDS_BIG_ENDIAN 1" >>confdefs.h
16978 cat >>confdefs.h
<<_ACEOF
16979 #define BYTEORDER $BYTEORDER
16982 if test $ac_cv_c_bigendian = unknown
; then
16983 as_fn_error
"unknown endianess - sorry, please pre-set ac_cv_c_bigendian" "$LINENO" 5
16987 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
16989 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
16996 sys
/event.h sys
/epoll.h \
16998 netinet
/in_systm.h netinet
/ip.h net
/if.h \
16999 sys
/loadavg.h sys
/sockio.h
17001 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17002 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17003 eval as_val
=\$
$as_ac_Header
17004 if test "x$as_val" = x
""yes; then :
17005 cat >>confdefs.h
<<_ACEOF
17006 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 #include <stdint.h>
17019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17020 $EGREP "uint32_t" >/dev
/null
2>&1; then :
17022 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17029 #include <inttypes.h>
17032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17033 $EGREP "uint32_t" >/dev
/null
2>&1; then :
17035 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17042 #include <sys/types.h>
17045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17046 $EGREP "u_int32_t" >/dev
/null
2>&1; then :
17048 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17055 #include <sys/config.h>
17058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17059 $EGREP "u_int32_t" >/dev
/null
2>&1; then :
17061 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
17068 $as_echo_n "checking for library containing inet_pton... " >&6; }
17069 if test "${ac_cv_search_inet_pton+set}" = set; then :
17070 $as_echo_n "(cached) " >&6
17072 ac_func_search_save_LIBS
=$LIBS
17073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17076 /* Override any GCC internal prototype to avoid an error.
17077 Use char because int might match the return type of a GCC
17078 builtin and then its argument prototype would still apply. */
17086 return inet_pton ();
17091 for ac_lib
in '' nsl
; do
17092 if test -z "$ac_lib"; then
17093 ac_res
="none required"
17096 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17098 if test x
$gcc_no_link = xyes
; then
17099 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17101 if ac_fn_c_try_link
"$LINENO"; then :
17102 ac_cv_search_inet_pton
=$ac_res
17104 rm -f core conftest.err conftest.
$ac_objext \
17106 if test "${ac_cv_search_inet_pton+set}" = set; then :
17110 if test "${ac_cv_search_inet_pton+set}" = set; then :
17113 ac_cv_search_inet_pton
=no
17115 rm conftest.
$ac_ext
17116 LIBS
=$ac_func_search_save_LIBS
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
17119 $as_echo "$ac_cv_search_inet_pton" >&6; }
17120 ac_res
=$ac_cv_search_inet_pton
17121 if test "$ac_res" != no
; then :
17122 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lsocket" >&5
17127 $as_echo_n "checking for gethostname in -lsocket... " >&6; }
17128 if test "${ac_cv_lib_socket_gethostname+set}" = set; then :
17129 $as_echo_n "(cached) " >&6
17131 ac_check_lib_save_LIBS
=$LIBS
17132 LIBS
="-lsocket $LIBS"
17133 if test x
$gcc_no_link = xyes
; then
17134 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17139 /* Override any GCC internal prototype to avoid an error.
17140 Use char because int might match the return type of a GCC
17141 builtin and then its argument prototype would still apply. */
17145 char gethostname ();
17149 return gethostname ();
17154 if ac_fn_c_try_link
"$LINENO"; then :
17155 ac_cv_lib_socket_gethostname
=yes
17157 ac_cv_lib_socket_gethostname
=no
17159 rm -f core conftest.err conftest.
$ac_objext \
17160 conftest
$ac_exeext conftest.
$ac_ext
17161 LIBS
=$ac_check_lib_save_LIBS
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostname" >&5
17164 $as_echo "$ac_cv_lib_socket_gethostname" >&6; }
17165 if test "x$ac_cv_lib_socket_gethostname" = x
""yes; then :
17166 cat >>confdefs.h
<<_ACEOF
17167 #define HAVE_LIBSOCKET 1
17170 LIBS
="-lsocket $LIBS"
17174 for ac_func
in ftruncate fsync
select \
17175 gethostname socket strerror fork pipe execve open close \
17176 lseek fstat
read readv
write writev htonl memset htons connect \
17177 getsockname getpeername
bind listen accept \
17178 recvfrom send sendto setsockopt getsockopt
time mktime \
17179 gethostbyname_r localtime_r \
17183 mmap munmap mincore msync madvise getpagesize sysconf \
17185 inet_aton inet_addr inet_pton \
17186 getifaddrs kqueue kevent epoll_create \
17189 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17190 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17191 eval as_val
=\$
$as_ac_var
17192 if test "x$as_val" = x
""yes; then :
17193 cat >>confdefs.h
<<_ACEOF
17194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
17203 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
17204 if test "${ac_cv_lib_magic_magic_open+set}" = set; then :
17205 $as_echo_n "(cached) " >&6
17207 ac_check_lib_save_LIBS
=$LIBS
17208 LIBS
="-lmagic $LIBS"
17209 if test x
$gcc_no_link = xyes
; then
17210 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17213 /* end confdefs.h. */
17215 /* Override any GCC internal prototype to avoid an error.
17216 Use char because int might match the return type of a GCC
17217 builtin and then its argument prototype would still apply. */
17221 char magic_open ();
17225 return magic_open ();
17230 if ac_fn_c_try_link
"$LINENO"; then :
17231 ac_cv_lib_magic_magic_open
=yes
17233 ac_cv_lib_magic_magic_open
=no
17235 rm -f core conftest.err conftest.
$ac_objext \
17236 conftest
$ac_exeext conftest.
$ac_ext
17237 LIBS
=$ac_check_lib_save_LIBS
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
17240 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
17241 if test "x$ac_cv_lib_magic_magic_open" = x
""yes; then :
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
17248 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
17249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17251 #include <netinet/in.h>
17255 struct sockaddr_in6 addr6;
17260 if ac_fn_c_try_compile
"$LINENO"; then :
17262 $as_echo "#define HAVE_INET6 1" >>confdefs.h
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17265 $as_echo "yes" >&6; }
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17268 $as_echo "no" >&6; }
17270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
17273 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
17274 if test "${ac_cv_header_time+set}" = set; then :
17275 $as_echo_n "(cached) " >&6
17277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17279 #include <sys/types.h>
17280 #include <sys/time.h>
17286 if ((struct tm *) 0)
17292 if ac_fn_c_try_compile
"$LINENO"; then :
17293 ac_cv_header_time
=yes
17295 ac_cv_header_time
=no
17297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
17300 $as_echo "$ac_cv_header_time" >&6; }
17301 if test $ac_cv_header_time = yes; then
17303 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
17308 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
17309 if test "${ac_cv_struct_tm+set}" = set; then :
17310 $as_echo_n "(cached) " >&6
17312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17313 /* end confdefs.h. */
17314 #include <sys/types.h>
17321 int *p = &tm.tm_sec;
17327 if ac_fn_c_try_compile
"$LINENO"; then :
17328 ac_cv_struct_tm
=time.h
17330 ac_cv_struct_tm
=sys
/time.h
17332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
17335 $as_echo "$ac_cv_struct_tm" >&6; }
17336 if test $ac_cv_struct_tm = sys
/time.h
; then
17338 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
17342 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
17343 #include <$ac_cv_struct_tm>
17346 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
17348 cat >>confdefs.h
<<_ACEOF
17349 #define HAVE_STRUCT_TM_TM_ZONE 1
17355 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
17357 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
17360 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
17362 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
17368 cat >>confdefs.h
<<_ACEOF
17369 #define HAVE_DECL_TZNAME $ac_have_decl
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
17373 $as_echo_n "checking for tzname... " >&6; }
17374 if test "${ac_cv_var_tzname+set}" = set; then :
17375 $as_echo_n "(cached) " >&6
17377 if test x
$gcc_no_link = xyes
; then
17378 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17383 #if !HAVE_DECL_TZNAME
17384 extern char *tzname[];
17390 return tzname[0][0];
17395 if ac_fn_c_try_link
"$LINENO"; then :
17396 ac_cv_var_tzname
=yes
17398 ac_cv_var_tzname
=no
17400 rm -f core conftest.err conftest.
$ac_objext \
17401 conftest
$ac_exeext conftest.
$ac_ext
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
17404 $as_echo "$ac_cv_var_tzname" >&6; }
17405 if test $ac_cv_var_tzname = yes; then
17407 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
17414 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
17415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17421 struct tm tim; tim.tm_gmtoff = 0;
17426 if ac_fn_c_try_compile
"$LINENO"; then :
17428 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17431 $as_echo "yes" >&6; }
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17434 $as_echo "no" >&6; }
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
17436 $as_echo_n "checking for global timezone variable... " >&6; }
17437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17438 /* end confdefs.h. */
17443 void i(){long z2 = 2*timezone;}
17448 if ac_fn_c_try_compile
"$LINENO"; then :
17450 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17453 $as_echo "yes" >&6; }
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17456 $as_echo "no" >&6; }
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
17458 $as_echo_n "checking for global _timezone variable... " >&6; }
17459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17460 /* end confdefs.h. */
17465 long z2 = _timezone;
17470 if ac_fn_c_try_compile
"$LINENO"; then :
17472 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17475 $as_echo "yes" >&6; }
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17478 $as_echo "no" >&6; }
17480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17487 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17488 if test "${ac_cv_c_const+set}" = set; then :
17489 $as_echo_n "(cached) " >&6
17491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17497 /* FIXME: Include the comments suggested by Paul. */
17498 #ifndef __cplusplus
17499 /* Ultrix mips cc rejects this. */
17500 typedef int charset[2];
17502 /* SunOS 4.1.1 cc rejects this. */
17503 char const *const *pcpcc;
17505 /* NEC SVR4.0.2 mips cc rejects this. */
17506 struct point {int x, y;};
17507 static struct point const zero = {0,0};
17508 /* AIX XL C 1.02.0.0 rejects this.
17509 It does not let you subtract one const X* pointer from another in
17510 an arm of an if-expression whose if-part is not a constant
17512 const char *g = "string";
17513 pcpcc = &g + (g ? g-g : 0);
17514 /* HPUX 7.0 cc rejects these. */
17516 ppc = (char**) pcpcc;
17517 pcpcc = (char const *const *) ppc;
17518 { /* SCO 3.2v4 cc rejects this. */
17520 char const *s = 0 ? (char *) 0 : (char const *) 0;
17525 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17526 int x[] = {25, 17};
17527 const int *foo = &x[0];
17530 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17531 typedef const int *iptr;
17535 { /* AIX XL C 1.02.0.0 rejects this saying
17536 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17537 struct s { int j; const int *ap[3]; };
17538 struct s *b; b->j = 5;
17540 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17541 const int foo = 10;
17542 if (!foo) return 0;
17544 return !cs[0] && !zero.x;
17551 if ac_fn_c_try_compile
"$LINENO"; then :
17556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17559 $as_echo "$ac_cv_c_const" >&6; }
17560 if test $ac_cv_c_const = no
; then
17562 $as_echo "#define const /**/" >>confdefs.h
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17567 $as_echo_n "checking for inline... " >&6; }
17568 if test "${ac_cv_c_inline+set}" = set; then :
17569 $as_echo_n "(cached) " >&6
17572 for ac_kw
in inline __inline__ __inline
; do
17573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 #ifndef __cplusplus
17577 static $ac_kw foo_t static_foo () {return 0; }
17578 $ac_kw foo_t foo () {return 0; }
17582 if ac_fn_c_try_compile
"$LINENO"; then :
17583 ac_cv_c_inline
=$ac_kw
17585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17586 test "$ac_cv_c_inline" != no
&& break
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17591 $as_echo "$ac_cv_c_inline" >&6; }
17593 case $ac_cv_c_inline in
17596 case $ac_cv_c_inline in
17598 *) ac_val
=$ac_cv_c_inline;;
17600 cat >>confdefs.h
<<_ACEOF
17601 #ifndef __cplusplus
17602 #define inline $ac_val
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
17609 $as_echo_n "checking for __attribute__... " >&6; }
17610 if test "${ac_cv_c_attribute+set}" = set; then :
17611 $as_echo_n "(cached) " >&6
17614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 void foo(void) __attribute__ ((__noreturn__));
17619 if ac_fn_c_try_compile
"$LINENO"; then :
17620 ac_cv_c_attribute
=yes
17622 ac_cv_c_attribute
=no
17625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_attribute" >&5
17629 $as_echo "$ac_cv_c_attribute" >&6; }
17631 case $ac_cv_c_attribute in
17634 cat >>confdefs.h
<<_ACEOF
17635 #define __attribute__(x) /* nothing */
17643 ac_cpp
='$CPP $CPPFLAGS'
17644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
17649 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
17651 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
17652 $as_echo_n "(cached) " >&6
17656 ################################################################
17658 ac_cv_func_which_gethostbyname_r
=unknown
17661 # ONE ARGUMENT (sanity check)
17664 # This should fail, as there is no variant of gethostbyname_r() that takes
17665 # a single argument. If it actually compiles, then we can assume that
17666 # netdb.h is not declaring the function, and the compiler is thereby
17667 # assuming an implicit prototype. In which case, we're out of luck.
17669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h. */
17676 char *name = "www.gnu.org";
17677 (void)gethostbyname_r(name) /* ; */
17683 if ac_fn_c_try_compile
"$LINENO"; then :
17684 ac_cv_func_which_gethostbyname_r
=no
17686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17693 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17696 /* end confdefs.h. */
17702 char *name = "www.gnu.org";
17703 struct hostent ret, *retp;
17707 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
17713 if ac_fn_c_try_compile
"$LINENO"; then :
17714 ac_cv_func_which_gethostbyname_r
=six
17716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17725 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17734 char *name = "www.gnu.org";
17735 struct hostent ret;
17739 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
17745 if ac_fn_c_try_compile
"$LINENO"; then :
17746 ac_cv_func_which_gethostbyname_r
=five
17748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17754 # (e.g. AIX, HP-UX, Tru64)
17757 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17766 char *name = "www.gnu.org";
17767 struct hostent ret;
17768 struct hostent_data data;
17769 (void)gethostbyname_r(name, &ret, &data) /* ; */
17775 if ac_fn_c_try_compile
"$LINENO"; then :
17776 ac_cv_func_which_gethostbyname_r
=three
17778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17782 ################################################################
17787 case "$ac_cv_func_which_gethostbyname_r" in
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
17790 $as_echo "three" >&6; }
17792 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
17798 $as_echo "five" >&6; }
17800 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
17806 $as_echo "six" >&6; }
17808 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
17814 $as_echo "cannot find function declaration in netdb.h" >&6; }
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
17819 $as_echo "can't tell" >&6; }
17823 as_fn_error
"internal error" "$LINENO" 5
17828 ac_cpp
='$CPP $CPPFLAGS'
17829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17837 if test "X$prefix" = "XNONE"; then
17838 acl_final_prefix
="$ac_default_prefix"
17840 acl_final_prefix
="$prefix"
17842 if test "X$exec_prefix" = "XNONE"; then
17843 acl_final_exec_prefix
='${prefix}'
17845 acl_final_exec_prefix
="$exec_prefix"
17847 acl_save_prefix
="$prefix"
17848 prefix
="$acl_final_prefix"
17849 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
17850 prefix
="$acl_save_prefix"
17853 # Check whether --with-gnu-ld was given.
17854 if test "${with_gnu_ld+set}" = set; then :
17855 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
17860 # Prepare PATH_SEPARATOR.
17861 # The user is always right.
17862 if test "${PATH_SEPARATOR+set}" != set; then
17863 echo "#! /bin/sh" >conf$$.sh
17864 echo "exit 0" >>conf$$.sh
17866 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17874 if test "$GCC" = yes; then
17875 # Check if gcc -print-prog-name=ld gives a path.
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17877 $as_echo_n "checking for ld used by GCC... " >&6; }
17880 # gcc leaves a trailing carriage return which upsets mingw
17881 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17883 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
17886 # Accept absolute paths.
17887 [\\/]* |
[A-Za-z
]:[\\/]*)
17888 re_direlt
='/[^/][^/]*/\.\./'
17889 # Canonicalize the path of ld
17890 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
17891 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
17892 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
17894 test -z "$LD" && LD
="$ac_prog"
17897 # If it fails, then pretend we aren't using GCC.
17901 # If it is relative, then search for the first ld in PATH.
17902 with_gnu_ld
=unknown
17905 elif test "$with_gnu_ld" = yes; then
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17907 $as_echo_n "checking for GNU ld... " >&6; }
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17910 $as_echo_n "checking for non-GNU ld... " >&6; }
17912 if test "${acl_cv_path_LD+set}" = set; then :
17913 $as_echo_n "(cached) " >&6
17915 if test -z "$LD"; then
17916 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17917 for ac_dir
in $PATH; do
17918 test -z "$ac_dir" && ac_dir
=.
17919 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
17920 acl_cv_path_LD
="$ac_dir/$ac_prog"
17921 # Check to see if the program is GNU ld. I'd rather use --version,
17922 # but apparently some GNU ld's only accept -v.
17923 # Break only if it was the GNU/non-GNU ld that we prefer.
17924 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
17925 test "$with_gnu_ld" != no
&& break
17927 test "$with_gnu_ld" != yes && break
17933 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
17937 LD
="$acl_cv_path_LD"
17938 if test -n "$LD"; then
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17940 $as_echo "$LD" >&6; }
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17943 $as_echo "no" >&6; }
17945 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17947 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17948 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
17949 $as_echo_n "(cached) " >&6
17951 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
17952 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
17953 acl_cv_prog_gnu_ld
=yes
17955 acl_cv_prog_gnu_ld
=no
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17959 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
17960 with_gnu_ld
=$acl_cv_prog_gnu_ld
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17965 $as_echo_n "checking for shared library run path origin... " >&6; }
17966 if test "${acl_cv_rpath+set}" = set; then :
17967 $as_echo_n "(cached) " >&6
17970 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
17971 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17973 rm -f .
/conftest.sh
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17978 $as_echo "$acl_cv_rpath" >&6; }
17980 libext
="$acl_cv_libext"
17981 shlibext
="$acl_cv_shlibext"
17982 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
17983 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
17984 hardcode_direct
="$acl_cv_hardcode_direct"
17985 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
17986 # Check whether --enable-rpath was given.
17987 if test "${enable_rpath+set}" = set; then :
17988 enableval
=$enable_rpath; :
18002 acl_save_prefix
="$prefix"
18003 prefix
="$acl_final_prefix"
18004 acl_save_exec_prefix
="$exec_prefix"
18005 exec_prefix
="$acl_final_exec_prefix"
18007 eval additional_includedir
=\"$includedir\"
18008 eval additional_libdir
=\"$libdir\"
18010 exec_prefix
="$acl_save_exec_prefix"
18011 prefix
="$acl_save_prefix"
18014 # Check whether --with-libiconv-prefix was given.
18015 if test "${with_libiconv_prefix+set}" = set; then :
18016 withval
=$with_libiconv_prefix;
18017 if test "X$withval" = "Xno"; then
18020 if test "X$withval" = "X"; then
18022 acl_save_prefix
="$prefix"
18023 prefix
="$acl_final_prefix"
18024 acl_save_exec_prefix
="$exec_prefix"
18025 exec_prefix
="$acl_final_exec_prefix"
18027 eval additional_includedir
=\"$includedir\"
18028 eval additional_libdir
=\"$libdir\"
18030 exec_prefix
="$acl_save_exec_prefix"
18031 prefix
="$acl_save_prefix"
18034 additional_includedir
="$withval/include"
18035 additional_libdir
="$withval/lib"
18046 names_already_handled
=
18047 names_next_round
='iconv '
18048 while test -n "$names_next_round"; do
18049 names_this_round
="$names_next_round"
18051 for name
in $names_this_round; do
18053 for n
in $names_already_handled; do
18054 if test "$n" = "$name"; then
18055 already_handled
=yes
18059 if test -z "$already_handled"; then
18060 names_already_handled
="$names_already_handled $name"
18061 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18062 eval value
=\"\
$HAVE_LIB$uppername\"
18063 if test -n "$value"; then
18064 if test "$value" = yes; then
18065 eval value
=\"\
$LIB$uppername\"
18066 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
18067 eval value
=\"\
$LTLIB$uppername\"
18068 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
18077 if test $use_additional = yes; then
18078 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
18079 found_dir
="$additional_libdir"
18080 found_so
="$additional_libdir/lib$name.$shlibext"
18081 if test -f "$additional_libdir/lib$name.la"; then
18082 found_la
="$additional_libdir/lib$name.la"
18085 if test -f "$additional_libdir/lib$name.$libext"; then
18086 found_dir
="$additional_libdir"
18087 found_a
="$additional_libdir/lib$name.$libext"
18088 if test -f "$additional_libdir/lib$name.la"; then
18089 found_la
="$additional_libdir/lib$name.la"
18094 if test "X$found_dir" = "X"; then
18095 for x
in $LDFLAGS $LTLIBICONV; do
18097 acl_save_prefix
="$prefix"
18098 prefix
="$acl_final_prefix"
18099 acl_save_exec_prefix
="$exec_prefix"
18100 exec_prefix
="$acl_final_exec_prefix"
18102 exec_prefix
="$acl_save_exec_prefix"
18103 prefix
="$acl_save_prefix"
18107 dir
=`echo "X$x" | sed -e 's/^X-L//'`
18108 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
18110 found_so
="$dir/lib$name.$shlibext"
18111 if test -f "$dir/lib$name.la"; then
18112 found_la
="$dir/lib$name.la"
18115 if test -f "$dir/lib$name.$libext"; then
18117 found_a
="$dir/lib$name.$libext"
18118 if test -f "$dir/lib$name.la"; then
18119 found_la
="$dir/lib$name.la"
18125 if test "X$found_dir" != "X"; then
18130 if test "X$found_dir" != "X"; then
18131 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18132 if test "X$found_so" != "X"; then
18133 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
18134 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18137 for x
in $ltrpathdirs; do
18138 if test "X$x" = "X$found_dir"; then
18143 if test -z "$haveit"; then
18144 ltrpathdirs
="$ltrpathdirs $found_dir"
18146 if test "$hardcode_direct" = yes; then
18147 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18149 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
18150 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18152 for x
in $rpathdirs; do
18153 if test "X$x" = "X$found_dir"; then
18158 if test -z "$haveit"; then
18159 rpathdirs
="$rpathdirs $found_dir"
18163 for x
in $LDFLAGS $LIBICONV; do
18165 acl_save_prefix
="$prefix"
18166 prefix
="$acl_final_prefix"
18167 acl_save_exec_prefix
="$exec_prefix"
18168 exec_prefix
="$acl_final_exec_prefix"
18170 exec_prefix
="$acl_save_exec_prefix"
18171 prefix
="$acl_save_prefix"
18173 if test "X$x" = "X-L$found_dir"; then
18178 if test -z "$haveit"; then
18179 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18181 if test "$hardcode_minus_L" != no
; then
18182 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18184 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18190 if test "X$found_a" != "X"; then
18191 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
18193 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18196 additional_includedir
=
18197 case "$found_dir" in
18199 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
18200 additional_includedir
="$basedir/include"
18203 if test "X$additional_includedir" != "X"; then
18204 if test "X$additional_includedir" != "X/usr/include"; then
18206 if test "X$additional_includedir" = "X/usr/local/include"; then
18207 if test -n "$GCC"; then
18209 linux
*) haveit
=yes;;
18213 if test -z "$haveit"; then
18214 for x
in $CPPFLAGS $INCICONV; do
18216 acl_save_prefix
="$prefix"
18217 prefix
="$acl_final_prefix"
18218 acl_save_exec_prefix
="$exec_prefix"
18219 exec_prefix
="$acl_final_exec_prefix"
18221 exec_prefix
="$acl_save_exec_prefix"
18222 prefix
="$acl_save_prefix"
18224 if test "X$x" = "X-I$additional_includedir"; then
18229 if test -z "$haveit"; then
18230 if test -d "$additional_includedir"; then
18231 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18237 if test -n "$found_la"; then
18238 save_libdir
="$libdir"
18239 case "$found_la" in
18240 */* |
*\\*) .
"$found_la" ;;
18241 *) .
"./$found_la" ;;
18243 libdir
="$save_libdir"
18244 for dep
in $dependency_libs; do
18247 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
18248 if test "X$additional_libdir" != "X/usr/lib"; then
18250 if test "X$additional_libdir" = "X/usr/local/lib"; then
18251 if test -n "$GCC"; then
18253 linux
*) haveit
=yes;;
18257 if test -z "$haveit"; then
18259 for x
in $LDFLAGS $LIBICONV; do
18261 acl_save_prefix
="$prefix"
18262 prefix
="$acl_final_prefix"
18263 acl_save_exec_prefix
="$exec_prefix"
18264 exec_prefix
="$acl_final_exec_prefix"
18266 exec_prefix
="$acl_save_exec_prefix"
18267 prefix
="$acl_save_prefix"
18269 if test "X$x" = "X-L$additional_libdir"; then
18274 if test -z "$haveit"; then
18275 if test -d "$additional_libdir"; then
18276 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18280 for x
in $LDFLAGS $LTLIBICONV; do
18282 acl_save_prefix
="$prefix"
18283 prefix
="$acl_final_prefix"
18284 acl_save_exec_prefix
="$exec_prefix"
18285 exec_prefix
="$acl_final_exec_prefix"
18287 exec_prefix
="$acl_save_exec_prefix"
18288 prefix
="$acl_save_prefix"
18290 if test "X$x" = "X-L$additional_libdir"; then
18295 if test -z "$haveit"; then
18296 if test -d "$additional_libdir"; then
18297 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18304 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
18305 if test "$enable_rpath" != no
; then
18307 for x
in $rpathdirs; do
18308 if test "X$x" = "X$dir"; then
18313 if test -z "$haveit"; then
18314 rpathdirs
="$rpathdirs $dir"
18317 for x
in $ltrpathdirs; do
18318 if test "X$x" = "X$dir"; then
18323 if test -z "$haveit"; then
18324 ltrpathdirs
="$ltrpathdirs $dir"
18329 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18332 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18335 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
18336 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18342 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18343 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18349 if test "X$rpathdirs" != "X"; then
18350 if test -n "$hardcode_libdir_separator"; then
18352 for found_dir
in $rpathdirs; do
18353 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
18355 acl_save_libdir
="$libdir"
18357 eval flag
=\"$hardcode_libdir_flag_spec\"
18358 libdir
="$acl_save_libdir"
18359 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
18361 for found_dir
in $rpathdirs; do
18362 acl_save_libdir
="$libdir"
18363 libdir
="$found_dir"
18364 eval flag
=\"$hardcode_libdir_flag_spec\"
18365 libdir
="$acl_save_libdir"
18366 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
18370 if test "X$ltrpathdirs" != "X"; then
18371 for found_dir
in $ltrpathdirs; do
18372 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18382 am_save_CPPFLAGS
="$CPPFLAGS"
18384 for element
in $INCICONV; do
18386 for x
in $CPPFLAGS; do
18388 acl_save_prefix
="$prefix"
18389 prefix
="$acl_final_prefix"
18390 acl_save_exec_prefix
="$exec_prefix"
18391 exec_prefix
="$acl_final_exec_prefix"
18393 exec_prefix
="$acl_save_exec_prefix"
18394 prefix
="$acl_save_prefix"
18396 if test "X$x" = "X$element"; then
18401 if test -z "$haveit"; then
18402 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18408 $as_echo_n "checking for iconv... " >&6; }
18409 if test "${am_cv_func_iconv+set}" = set; then :
18410 $as_echo_n "(cached) " >&6
18413 am_cv_func_iconv
="no, consider installing GNU libiconv"
18415 if test x
$gcc_no_link = xyes
; then
18416 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18419 /* end confdefs.h. */
18420 #include <stdlib.h>
18425 iconv_t cd = iconv_open("","");
18426 iconv(cd,NULL,NULL,NULL,NULL);
18432 if ac_fn_c_try_link
"$LINENO"; then :
18433 am_cv_func_iconv
=yes
18435 rm -f core conftest.err conftest.
$ac_objext \
18436 conftest
$ac_exeext conftest.
$ac_ext
18437 if test "$am_cv_func_iconv" != yes; then
18438 am_save_LIBS
="$LIBS"
18439 LIBS
="$LIBS $LIBICONV"
18440 if test x
$gcc_no_link = xyes
; then
18441 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h. */
18445 #include <stdlib.h>
18450 iconv_t cd = iconv_open("","");
18451 iconv(cd,NULL,NULL,NULL,NULL);
18457 if ac_fn_c_try_link
"$LINENO"; then :
18458 am_cv_lib_iconv
=yes
18459 am_cv_func_iconv
=yes
18461 rm -f core conftest.err conftest.
$ac_objext \
18462 conftest
$ac_exeext conftest.
$ac_ext
18463 LIBS
="$am_save_LIBS"
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18468 $as_echo "$am_cv_func_iconv" >&6; }
18469 if test "$am_cv_func_iconv" = yes; then
18471 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18474 if test "$am_cv_lib_iconv" = yes; then
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18476 $as_echo_n "checking how to link with libiconv... " >&6; }
18477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18478 $as_echo "$LIBICONV" >&6; }
18480 CPPFLAGS
="$am_save_CPPFLAGS"
18487 if test "$am_cv_func_iconv" = yes; then
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
18489 $as_echo_n "checking for iconv declaration... " >&6; }
18490 if test "${am_cv_proto_iconv+set}" = set; then :
18491 $as_echo_n "(cached) " >&6
18494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18497 #include <stdlib.h>
18503 #if defined(__STDC__) || defined(__cplusplus)
18504 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
18517 if ac_fn_c_try_compile
"$LINENO"; then :
18518 am_cv_proto_iconv_arg1
=""
18520 am_cv_proto_iconv_arg1
="const"
18522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18523 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);"
18526 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
18528 }$am_cv_proto_iconv" >&5
18530 }$am_cv_proto_iconv" >&6; }
18532 cat >>confdefs.h
<<_ACEOF
18533 #define ICONV_CONST $am_cv_proto_iconv_arg1
18539 if test "x${GCC}" = xyes
; then
18541 WARNING_CFLAGS
='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
18544 EXTRA_CFLAGS
='-fexceptions -fasynchronous-unwind-tables'
18547 STRICT_WARNING_CFLAGS
='-Wstrict-prototypes -pedantic'
18551 if test "x${ENABLE_WERROR}" = xyes
; then
18552 ERROR_CFLAGS
='-Werror'
18557 if test "x${COMPILE_XMLJ}" = xyes
; then
18561 if test -z "$PKG_CONFIG"; then
18562 # Extract the first word of "pkg-config", so it can be a program name with args.
18563 set dummy pkg-config
; ac_word
=$2
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18565 $as_echo_n "checking for $ac_word... " >&6; }
18566 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18567 $as_echo_n "(cached) " >&6
18569 case $PKG_CONFIG in
18571 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18575 for as_dir
in $PATH
18578 test -z "$as_dir" && as_dir
=.
18579 for ac_exec_ext
in '' $ac_executable_extensions; do
18580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18581 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18589 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
18593 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18594 if test -n "$PKG_CONFIG"; then
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18596 $as_echo "$PKG_CONFIG" >&6; }
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18599 $as_echo "no" >&6; }
18605 if test "$PKG_CONFIG" = "no" ; then
18606 echo "*** The pkg-config script could not be found. Make sure it is"
18607 echo "*** in your path, or set the PKG_CONFIG environment variable"
18608 echo "*** to the full path to pkg-config."
18609 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18611 PKG_CONFIG_MIN_VERSION
=0.9.0
18612 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.6.8" >&5
18614 $as_echo_n "checking for libxml-2.0 >= 2.6.8... " >&6; }
18616 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18618 $as_echo "yes" >&6; }
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_CFLAGS" >&5
18622 $as_echo_n "checking XML_CFLAGS... " >&6; }
18623 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CFLAGS" >&5
18625 $as_echo "$XML_CFLAGS" >&6; }
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_LIBS" >&5
18628 $as_echo_n "checking XML_LIBS... " >&6; }
18629 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_LIBS" >&5
18631 $as_echo "$XML_LIBS" >&6; }
18635 ## If we have a custom action on failure, don't print errors, but
18636 ## do set a variable so people can do so.
18637 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
18638 echo $XML_PKG_ERRORS
18644 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18645 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18649 if test $succeeded = yes; then
18652 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
18658 if test -z "$PKG_CONFIG"; then
18659 # Extract the first word of "pkg-config", so it can be a program name with args.
18660 set dummy pkg-config
; ac_word
=$2
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18662 $as_echo_n "checking for $ac_word... " >&6; }
18663 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18664 $as_echo_n "(cached) " >&6
18666 case $PKG_CONFIG in
18668 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18672 for as_dir
in $PATH
18675 test -z "$as_dir" && as_dir
=.
18676 for ac_exec_ext
in '' $ac_executable_extensions; do
18677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18678 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18686 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
18690 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18691 if test -n "$PKG_CONFIG"; then
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18693 $as_echo "$PKG_CONFIG" >&6; }
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18696 $as_echo "no" >&6; }
18702 if test "$PKG_CONFIG" = "no" ; then
18703 echo "*** The pkg-config script could not be found. Make sure it is"
18704 echo "*** in your path, or set the PKG_CONFIG environment variable"
18705 echo "*** to the full path to pkg-config."
18706 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18708 PKG_CONFIG_MIN_VERSION
=0.9.0
18709 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxslt >= 1.1.11" >&5
18711 $as_echo_n "checking for libxslt >= 1.1.11... " >&6; }
18713 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18715 $as_echo "yes" >&6; }
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_CFLAGS" >&5
18719 $as_echo_n "checking XSLT_CFLAGS... " >&6; }
18720 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_CFLAGS" >&5
18722 $as_echo "$XSLT_CFLAGS" >&6; }
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_LIBS" >&5
18725 $as_echo_n "checking XSLT_LIBS... " >&6; }
18726 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_LIBS" >&5
18728 $as_echo "$XSLT_LIBS" >&6; }
18732 ## If we have a custom action on failure, don't print errors, but
18733 ## do set a variable so people can do so.
18734 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
18735 echo $XSLT_PKG_ERRORS
18741 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18742 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18746 if test $succeeded = yes; then
18749 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
18758 if test "x${COMPILE_GTK_PEER}" = xyes
; then
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
18760 $as_echo_n "checking for X... " >&6; }
18763 # Check whether --with-x was given.
18764 if test "${with_x+set}" = set; then :
18768 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18769 if test "x$with_x" = xno
; then
18770 # The user explicitly disabled X.
18773 case $x_includes,$x_libraries in #(
18774 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
18775 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
18776 $as_echo_n "(cached) " >&6
18778 # One or both of the vars are not set, and there is no cached value.
18779 ac_x_includes
=no ac_x_libraries
=no
18780 rm -f -r conftest.dir
18781 if mkdir conftest.dir
; then
18783 cat >Imakefile
<<'_ACEOF'
18785 @echo incroot='${INCROOT}'
18787 @echo usrlibdir='${USRLIBDIR}'
18789 @echo libdir='${LIBDIR}'
18791 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
18792 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18793 for ac_var
in incroot usrlibdir libdir
; do
18794 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
18796 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
18797 for ac_extension
in a so sl dylib la dll
; do
18798 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
18799 test -f "$ac_im_libdir/libX11.$ac_extension"; then
18800 ac_im_usrlibdir
=$ac_im_libdir; break
18803 # Screen out bogus values from the imake configuration. They are
18804 # bogus both because they are the default anyway, and because
18805 # using them would break gcc on systems where it needs fixed includes.
18806 case $ac_im_incroot in
18807 /usr
/include
) ac_x_includes
= ;;
18808 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
18810 case $ac_im_usrlibdir in
18811 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
18812 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
18816 rm -f -r conftest.dir
18819 # Standard set of common directories for X headers.
18820 # Check X11 before X11Rn because it is often a symlink to the current release.
18834 /usr/local/X11/include
18835 /usr/local/X11R7/include
18836 /usr/local/X11R6/include
18837 /usr/local/X11R5/include
18838 /usr/local/X11R4/include
18840 /usr/local/include/X11
18841 /usr/local/include/X11R7
18842 /usr/local/include/X11R6
18843 /usr/local/include/X11R5
18844 /usr/local/include/X11R4
18848 /usr/XFree86/include/X11
18852 /usr/unsupported/include
18853 /usr/athena/include
18854 /usr/local/x11r5/include
18855 /usr/lpp/Xamples/include
18857 /usr/openwin/include
18858 /usr/openwin/share/include'
18860 if test "$ac_x_includes" = no
; then
18861 # Guess where to find include files, by looking for Xlib.h.
18862 # First, try using that file with no special directory specified.
18863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18864 /* end confdefs.h. */
18865 #include <X11/Xlib.h>
18867 if ac_fn_c_try_cpp
"$LINENO"; then :
18868 # We can compile using X headers with no special include directory.
18871 for ac_dir
in $ac_x_header_dirs; do
18872 if test -r "$ac_dir/X11/Xlib.h"; then
18873 ac_x_includes
=$ac_dir
18878 rm -f conftest.err conftest.
$ac_ext
18879 fi # $ac_x_includes = no
18881 if test "$ac_x_libraries" = no
; then
18882 # Check for the libraries.
18883 # See if we find them without any special options.
18884 # Don't add to $LIBS permanently.
18887 if test x
$gcc_no_link = xyes
; then
18888 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18892 #include <X11/Xlib.h>
18901 if ac_fn_c_try_link
"$LINENO"; then :
18903 # We can link X programs with no special library path.
18907 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
18909 # Don't even attempt the hair of trying to link an X program!
18910 for ac_extension
in a so sl dylib la dll
; do
18911 if test -r "$ac_dir/libX11.$ac_extension"; then
18912 ac_x_libraries
=$ac_dir
18918 rm -f core conftest.err conftest.
$ac_objext \
18919 conftest
$ac_exeext conftest.
$ac_ext
18920 fi # $ac_x_libraries = no
18922 case $ac_x_includes,$ac_x_libraries in #(
18923 no
,* |
*,no |
*\'*)
18924 # Didn't find X, or a directory has "'" in its name.
18925 ac_cv_have_x
="have_x=no";; #(
18927 # Record where we found X for the cache.
18928 ac_cv_have_x
="have_x=yes\
18929 ac_x_includes='$ac_x_includes'\
18930 ac_x_libraries='$ac_x_libraries'"
18936 eval "$ac_cv_have_x"
18939 if test "$have_x" != yes; then
18940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
18941 $as_echo "$have_x" >&6; }
18944 # If each of the values was on the command line, it overrides each guess.
18945 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
18946 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
18947 # Update the cache value to reflect the command line values.
18948 ac_cv_have_x
="have_x=yes\
18949 ac_x_includes='$x_includes'\
18950 ac_x_libraries='$x_libraries'"
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
18952 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
18955 if test "$no_x" = yes; then
18956 # Not all programs may use this symbol, but it does not hurt to define it.
18958 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
18960 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
18962 if test -n "$x_includes"; then
18963 X_CFLAGS
="$X_CFLAGS -I$x_includes"
18966 # It would also be nice to do this for all -L options, not just this one.
18967 if test -n "$x_libraries"; then
18968 X_LIBS
="$X_LIBS -L$x_libraries"
18969 # For Solaris; some versions of Sun CC require a space after -R and
18970 # others require no space. Words are not sufficient . . . .
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
18972 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
18973 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
18974 ac_xsave_c_werror_flag
=$ac_c_werror_flag
18975 ac_c_werror_flag
=yes
18976 if test x
$gcc_no_link = xyes
; then
18977 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18980 /* end confdefs.h. */
18990 if ac_fn_c_try_link
"$LINENO"; then :
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18992 $as_echo "no" >&6; }
18993 X_LIBS
="$X_LIBS -R$x_libraries"
18995 LIBS
="$ac_xsave_LIBS -R $x_libraries"
18996 if test x
$gcc_no_link = xyes
; then
18997 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19000 /* end confdefs.h. */
19010 if ac_fn_c_try_link
"$LINENO"; then :
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19012 $as_echo "yes" >&6; }
19013 X_LIBS
="$X_LIBS -R $x_libraries"
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
19016 $as_echo "neither works" >&6; }
19018 rm -f core conftest.err conftest.
$ac_objext \
19019 conftest
$ac_exeext conftest.
$ac_ext
19021 rm -f core conftest.err conftest.
$ac_objext \
19022 conftest
$ac_exeext conftest.
$ac_ext
19023 ac_c_werror_flag
=$ac_xsave_c_werror_flag
19024 LIBS
=$ac_xsave_LIBS
19027 # Check for system-dependent libraries X programs must link with.
19028 # Do this before checking for the system-independent R6 libraries
19029 # (-lICE), since we may need -lsocket or whatever for X linking.
19031 if test "$ISC" = yes; then
19032 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19034 # Martyn Johnson says this is needed for Ultrix, if the X
19035 # libraries were built with DECnet support. And Karl Berry says
19036 # the Alpha needs dnet_stub (dnet does not exist).
19037 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19038 if test x
$gcc_no_link = xyes
; then
19039 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19042 /* end confdefs.h. */
19044 /* Override any GCC internal prototype to avoid an error.
19045 Use char because int might match the return type of a GCC
19046 builtin and then its argument prototype would still apply. */
19050 char XOpenDisplay ();
19054 return XOpenDisplay ();
19059 if ac_fn_c_try_link
"$LINENO"; then :
19062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
19063 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
19064 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
19065 $as_echo_n "(cached) " >&6
19067 ac_check_lib_save_LIBS
=$LIBS
19068 LIBS
="-ldnet $LIBS"
19069 if test x
$gcc_no_link = xyes
; then
19070 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19073 /* end confdefs.h. */
19075 /* Override any GCC internal prototype to avoid an error.
19076 Use char because int might match the return type of a GCC
19077 builtin and then its argument prototype would still apply. */
19085 return dnet_ntoa ();
19090 if ac_fn_c_try_link
"$LINENO"; then :
19091 ac_cv_lib_dnet_dnet_ntoa
=yes
19093 ac_cv_lib_dnet_dnet_ntoa
=no
19095 rm -f core conftest.err conftest.
$ac_objext \
19096 conftest
$ac_exeext conftest.
$ac_ext
19097 LIBS
=$ac_check_lib_save_LIBS
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19100 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19101 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
19102 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19105 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
19107 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
19108 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
19109 $as_echo_n "(cached) " >&6
19111 ac_check_lib_save_LIBS
=$LIBS
19112 LIBS
="-ldnet_stub $LIBS"
19113 if test x
$gcc_no_link = xyes
; then
19114 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19117 /* end confdefs.h. */
19119 /* Override any GCC internal prototype to avoid an error.
19120 Use char because int might match the return type of a GCC
19121 builtin and then its argument prototype would still apply. */
19129 return dnet_ntoa ();
19134 if ac_fn_c_try_link
"$LINENO"; then :
19135 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19137 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19139 rm -f core conftest.err conftest.
$ac_objext \
19140 conftest
$ac_exeext conftest.
$ac_ext
19141 LIBS
=$ac_check_lib_save_LIBS
19143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19144 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19145 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
19146 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19151 rm -f core conftest.err conftest.
$ac_objext \
19152 conftest
$ac_exeext conftest.
$ac_ext
19153 LIBS
="$ac_xsave_LIBS"
19155 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19156 # to get the SysV transport functions.
19157 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19159 # The nsl library prevents programs from opening the X display
19160 # on Irix 5.2, according to T.E. Dickey.
19161 # The functions gethostbyname, getservbyname, and inet_addr are
19162 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19163 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
19164 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
19168 if test $ac_cv_func_gethostbyname = no
; then
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
19170 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
19171 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
19172 $as_echo_n "(cached) " >&6
19174 ac_check_lib_save_LIBS
=$LIBS
19176 if test x
$gcc_no_link = xyes
; then
19177 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19180 /* end confdefs.h. */
19182 /* Override any GCC internal prototype to avoid an error.
19183 Use char because int might match the return type of a GCC
19184 builtin and then its argument prototype would still apply. */
19188 char gethostbyname ();
19192 return gethostbyname ();
19197 if ac_fn_c_try_link
"$LINENO"; then :
19198 ac_cv_lib_nsl_gethostbyname
=yes
19200 ac_cv_lib_nsl_gethostbyname
=no
19202 rm -f core conftest.err conftest.
$ac_objext \
19203 conftest
$ac_exeext conftest.
$ac_ext
19204 LIBS
=$ac_check_lib_save_LIBS
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
19207 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
19208 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
19209 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19212 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
19214 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
19215 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
19216 $as_echo_n "(cached) " >&6
19218 ac_check_lib_save_LIBS
=$LIBS
19220 if test x
$gcc_no_link = xyes
; then
19221 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19224 /* end confdefs.h. */
19226 /* Override any GCC internal prototype to avoid an error.
19227 Use char because int might match the return type of a GCC
19228 builtin and then its argument prototype would still apply. */
19232 char gethostbyname ();
19236 return gethostbyname ();
19241 if ac_fn_c_try_link
"$LINENO"; then :
19242 ac_cv_lib_bsd_gethostbyname
=yes
19244 ac_cv_lib_bsd_gethostbyname
=no
19246 rm -f core conftest.err conftest.
$ac_objext \
19247 conftest
$ac_exeext conftest.
$ac_ext
19248 LIBS
=$ac_check_lib_save_LIBS
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
19251 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
19252 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
19253 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19259 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19260 # socket/setsockopt and other routines are undefined under SCO ODT
19261 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19262 # on later versions), says Simon Leinen: it contains gethostby*
19263 # variants that don't use the name server (or something). -lsocket
19264 # must be given before -lnsl if both are needed. We assume that
19265 # if connect needs -lnsl, so does gethostbyname.
19266 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
19267 if test "x$ac_cv_func_connect" = x
""yes; then :
19271 if test $ac_cv_func_connect = no
; then
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
19273 $as_echo_n "checking for connect in -lsocket... " >&6; }
19274 if test "${ac_cv_lib_socket_connect+set}" = set; then :
19275 $as_echo_n "(cached) " >&6
19277 ac_check_lib_save_LIBS
=$LIBS
19278 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19279 if test x
$gcc_no_link = xyes
; then
19280 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19283 /* end confdefs.h. */
19285 /* Override any GCC internal prototype to avoid an error.
19286 Use char because int might match the return type of a GCC
19287 builtin and then its argument prototype would still apply. */
19300 if ac_fn_c_try_link
"$LINENO"; then :
19301 ac_cv_lib_socket_connect
=yes
19303 ac_cv_lib_socket_connect
=no
19305 rm -f core conftest.err conftest.
$ac_objext \
19306 conftest
$ac_exeext conftest.
$ac_ext
19307 LIBS
=$ac_check_lib_save_LIBS
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
19310 $as_echo "$ac_cv_lib_socket_connect" >&6; }
19311 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
19312 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
19317 # Guillermo Gomez says -lposix is necessary on A/UX.
19318 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
19319 if test "x$ac_cv_func_remove" = x
""yes; then :
19323 if test $ac_cv_func_remove = no
; then
19324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
19325 $as_echo_n "checking for remove in -lposix... " >&6; }
19326 if test "${ac_cv_lib_posix_remove+set}" = set; then :
19327 $as_echo_n "(cached) " >&6
19329 ac_check_lib_save_LIBS
=$LIBS
19330 LIBS
="-lposix $LIBS"
19331 if test x
$gcc_no_link = xyes
; then
19332 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19335 /* end confdefs.h. */
19337 /* Override any GCC internal prototype to avoid an error.
19338 Use char because int might match the return type of a GCC
19339 builtin and then its argument prototype would still apply. */
19352 if ac_fn_c_try_link
"$LINENO"; then :
19353 ac_cv_lib_posix_remove
=yes
19355 ac_cv_lib_posix_remove
=no
19357 rm -f core conftest.err conftest.
$ac_objext \
19358 conftest
$ac_exeext conftest.
$ac_ext
19359 LIBS
=$ac_check_lib_save_LIBS
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
19362 $as_echo "$ac_cv_lib_posix_remove" >&6; }
19363 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
19364 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
19369 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
19370 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
19371 if test "x$ac_cv_func_shmat" = x
""yes; then :
19375 if test $ac_cv_func_shmat = no
; then
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
19377 $as_echo_n "checking for shmat in -lipc... " >&6; }
19378 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
19379 $as_echo_n "(cached) " >&6
19381 ac_check_lib_save_LIBS
=$LIBS
19383 if test x
$gcc_no_link = xyes
; then
19384 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19387 /* end confdefs.h. */
19389 /* Override any GCC internal prototype to avoid an error.
19390 Use char because int might match the return type of a GCC
19391 builtin and then its argument prototype would still apply. */
19404 if ac_fn_c_try_link
"$LINENO"; then :
19405 ac_cv_lib_ipc_shmat
=yes
19407 ac_cv_lib_ipc_shmat
=no
19409 rm -f core conftest.err conftest.
$ac_objext \
19410 conftest
$ac_exeext conftest.
$ac_ext
19411 LIBS
=$ac_check_lib_save_LIBS
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
19414 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
19415 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
19416 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
19422 # Check for libraries that X11R6 Xt/Xaw programs need.
19423 ac_save_LDFLAGS
=$LDFLAGS
19424 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
19425 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
19426 # check for ICE first), but we must link in the order -lSM -lICE or
19427 # we get undefined symbols. So assume we have SM if we have ICE.
19428 # These have to be linked with before -lX11, unlike the other
19429 # libraries we check for below, so use a different variable.
19430 # John Interrante, Karl Berry
19431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
19432 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
19433 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
19434 $as_echo_n "(cached) " >&6
19436 ac_check_lib_save_LIBS
=$LIBS
19437 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
19438 if test x
$gcc_no_link = xyes
; then
19439 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19442 /* end confdefs.h. */
19444 /* Override any GCC internal prototype to avoid an error.
19445 Use char because int might match the return type of a GCC
19446 builtin and then its argument prototype would still apply. */
19450 char IceConnectionNumber ();
19454 return IceConnectionNumber ();
19459 if ac_fn_c_try_link
"$LINENO"; then :
19460 ac_cv_lib_ICE_IceConnectionNumber
=yes
19462 ac_cv_lib_ICE_IceConnectionNumber
=no
19464 rm -f core conftest.err conftest.
$ac_objext \
19465 conftest
$ac_exeext conftest.
$ac_ext
19466 LIBS
=$ac_check_lib_save_LIBS
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
19469 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
19470 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
19471 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
19474 LDFLAGS
=$ac_save_LDFLAGS
19478 if test "$no_x" = yes; then
19479 as_fn_error
"GTK+ peers requested but no X library available" "$LINENO" 5
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
19482 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
19483 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
19484 $as_echo_n "(cached) " >&6
19486 ac_check_lib_save_LIBS
=$LIBS
19487 LIBS
="-lXtst ${X_LIBS} $LIBS"
19488 if test x
$gcc_no_link = xyes
; then
19489 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19492 /* end confdefs.h. */
19494 /* Override any GCC internal prototype to avoid an error.
19495 Use char because int might match the return type of a GCC
19496 builtin and then its argument prototype would still apply. */
19500 char XTestQueryExtension ();
19504 return XTestQueryExtension ();
19509 if ac_fn_c_try_link
"$LINENO"; then :
19510 ac_cv_lib_Xtst_XTestQueryExtension
=yes
19512 ac_cv_lib_Xtst_XTestQueryExtension
=no
19514 rm -f core conftest.err conftest.
$ac_objext \
19515 conftest
$ac_exeext conftest.
$ac_ext
19516 LIBS
=$ac_check_lib_save_LIBS
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
19519 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
19520 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x
""yes; then :
19522 $as_echo "#define HAVE_XTEST 1" >>confdefs.h
19523 XTEST_LIBS
="$XTEST_LIBS -X11 -lXtst"
19533 if test -z "$PKG_CONFIG"; then
19534 # Extract the first word of "pkg-config", so it can be a program name with args.
19535 set dummy pkg-config
; ac_word
=$2
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19537 $as_echo_n "checking for $ac_word... " >&6; }
19538 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19539 $as_echo_n "(cached) " >&6
19541 case $PKG_CONFIG in
19543 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19547 for as_dir
in $PATH
19550 test -z "$as_dir" && as_dir
=.
19551 for ac_exec_ext
in '' $ac_executable_extensions; do
19552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19553 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19561 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19565 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19566 if test -n "$PKG_CONFIG"; then
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19568 $as_echo "$PKG_CONFIG" >&6; }
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19571 $as_echo "no" >&6; }
19577 if test "$PKG_CONFIG" = "no" ; then
19578 echo "*** The pkg-config script could not be found. Make sure it is"
19579 echo "*** in your path, or set the PKG_CONFIG environment variable"
19580 echo "*** to the full path to pkg-config."
19581 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19583 PKG_CONFIG_MIN_VERSION
=0.9.0
19584 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
19586 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
19588 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19590 $as_echo "yes" >&6; }
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
19594 $as_echo_n "checking GTK_CFLAGS... " >&6; }
19595 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
19597 $as_echo "$GTK_CFLAGS" >&6; }
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
19600 $as_echo_n "checking GTK_LIBS... " >&6; }
19601 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
19603 $as_echo "$GTK_LIBS" >&6; }
19607 ## If we have a custom action on failure, don't print errors, but
19608 ## do set a variable so people can do so.
19609 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19610 echo $GTK_PKG_ERRORS
19616 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19617 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19621 if test $succeeded = yes; then
19624 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
19630 if test -z "$PKG_CONFIG"; then
19631 # Extract the first word of "pkg-config", so it can be a program name with args.
19632 set dummy pkg-config
; ac_word
=$2
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19634 $as_echo_n "checking for $ac_word... " >&6; }
19635 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19636 $as_echo_n "(cached) " >&6
19638 case $PKG_CONFIG in
19640 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19644 for as_dir
in $PATH
19647 test -z "$as_dir" && as_dir
=.
19648 for ac_exec_ext
in '' $ac_executable_extensions; do
19649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19650 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19658 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19662 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19663 if test -n "$PKG_CONFIG"; then
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19665 $as_echo "$PKG_CONFIG" >&6; }
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19668 $as_echo "no" >&6; }
19674 if test "$PKG_CONFIG" = "no" ; then
19675 echo "*** The pkg-config script could not be found. Make sure it is"
19676 echo "*** in your path, or set the PKG_CONFIG environment variable"
19677 echo "*** to the full path to pkg-config."
19678 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19680 PKG_CONFIG_MIN_VERSION
=0.9.0
19681 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
19683 $as_echo_n "checking for freetype2... " >&6; }
19685 if $PKG_CONFIG --exists "freetype2" ; then
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19687 $as_echo "yes" >&6; }
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_CFLAGS" >&5
19691 $as_echo_n "checking FREETYPE2_CFLAGS... " >&6; }
19692 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_CFLAGS" >&5
19694 $as_echo "$FREETYPE2_CFLAGS" >&6; }
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_LIBS" >&5
19697 $as_echo_n "checking FREETYPE2_LIBS... " >&6; }
19698 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_LIBS" >&5
19700 $as_echo "$FREETYPE2_LIBS" >&6; }
19702 FREETYPE2_CFLAGS
=""
19704 ## If we have a custom action on failure, don't print errors, but
19705 ## do set a variable so people can do so.
19706 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
19707 echo $FREETYPE2_PKG_ERRORS
19713 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19714 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19718 if test $succeeded = yes; then
19721 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
19727 if test -z "$PKG_CONFIG"; then
19728 # Extract the first word of "pkg-config", so it can be a program name with args.
19729 set dummy pkg-config
; ac_word
=$2
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19731 $as_echo_n "checking for $ac_word... " >&6; }
19732 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19733 $as_echo_n "(cached) " >&6
19735 case $PKG_CONFIG in
19737 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19741 for as_dir
in $PATH
19744 test -z "$as_dir" && as_dir
=.
19745 for ac_exec_ext
in '' $ac_executable_extensions; do
19746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19747 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19755 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19759 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19760 if test -n "$PKG_CONFIG"; then
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19762 $as_echo "$PKG_CONFIG" >&6; }
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19765 $as_echo "no" >&6; }
19771 if test "$PKG_CONFIG" = "no" ; then
19772 echo "*** The pkg-config script could not be found. Make sure it is"
19773 echo "*** in your path, or set the PKG_CONFIG environment variable"
19774 echo "*** to the full path to pkg-config."
19775 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19777 PKG_CONFIG_MIN_VERSION
=0.9.0
19778 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pangoft2" >&5
19780 $as_echo_n "checking for pangoft2... " >&6; }
19782 if $PKG_CONFIG --exists "pangoft2" ; then
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19784 $as_echo "yes" >&6; }
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_CFLAGS" >&5
19788 $as_echo_n "checking PANGOFT2_CFLAGS... " >&6; }
19789 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
19790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_CFLAGS" >&5
19791 $as_echo "$PANGOFT2_CFLAGS" >&6; }
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_LIBS" >&5
19794 $as_echo_n "checking PANGOFT2_LIBS... " >&6; }
19795 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_LIBS" >&5
19797 $as_echo "$PANGOFT2_LIBS" >&6; }
19801 ## If we have a custom action on failure, don't print errors, but
19802 ## do set a variable so people can do so.
19803 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
19804 echo $PANGOFT2_PKG_ERRORS
19810 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19811 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19815 if test $succeeded = yes; then
19818 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
19824 if test -z "$PKG_CONFIG"; then
19825 # Extract the first word of "pkg-config", so it can be a program name with args.
19826 set dummy pkg-config
; ac_word
=$2
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19828 $as_echo_n "checking for $ac_word... " >&6; }
19829 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19830 $as_echo_n "(cached) " >&6
19832 case $PKG_CONFIG in
19834 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19838 for as_dir
in $PATH
19841 test -z "$as_dir" && as_dir
=.
19842 for ac_exec_ext
in '' $ac_executable_extensions; do
19843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19844 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19852 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19856 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19857 if test -n "$PKG_CONFIG"; then
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19859 $as_echo "$PKG_CONFIG" >&6; }
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19862 $as_echo "no" >&6; }
19868 if test "$PKG_CONFIG" = "no" ; then
19869 echo "*** The pkg-config script could not be found. Make sure it is"
19870 echo "*** in your path, or set the PKG_CONFIG environment variable"
19871 echo "*** to the full path to pkg-config."
19872 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19874 PKG_CONFIG_MIN_VERSION
=0.9.0
19875 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.1.8" >&5
19877 $as_echo_n "checking for cairo >= 1.1.8... " >&6; }
19879 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19881 $as_echo "yes" >&6; }
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_CFLAGS" >&5
19885 $as_echo_n "checking CAIRO_CFLAGS... " >&6; }
19886 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
19887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_CFLAGS" >&5
19888 $as_echo "$CAIRO_CFLAGS" >&6; }
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_LIBS" >&5
19891 $as_echo_n "checking CAIRO_LIBS... " >&6; }
19892 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
19893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_LIBS" >&5
19894 $as_echo "$CAIRO_LIBS" >&6; }
19898 ## If we have a custom action on failure, don't print errors, but
19899 ## do set a variable so people can do so.
19900 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
19901 echo $CAIRO_PKG_ERRORS
19907 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19908 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19912 if test $succeeded = yes; then
19915 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
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
19919 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
19920 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then :
19921 $as_echo_n "(cached) " >&6
19923 ac_check_lib_save_LIBS
=$LIBS
19924 LIBS
="-lXrender ${X_LIBS} $LIBS"
19925 if test x
$gcc_no_link = xyes
; then
19926 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19929 /* end confdefs.h. */
19931 /* Override any GCC internal prototype to avoid an error.
19932 Use char because int might match the return type of a GCC
19933 builtin and then its argument prototype would still apply. */
19937 char XRenderQueryExtension ();
19941 return XRenderQueryExtension ();
19946 if ac_fn_c_try_link
"$LINENO"; then :
19947 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
19949 ac_cv_lib_Xrender_XRenderQueryExtension
=no
19951 rm -f core conftest.err conftest.
$ac_objext \
19952 conftest
$ac_exeext conftest.
$ac_ext
19953 LIBS
=$ac_check_lib_save_LIBS
19955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
19956 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
19957 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x
""yes; then :
19959 $as_echo "#define HAVE_XRENDER 1" >>confdefs.h
19960 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRQueryExtension in -lXrandr" >&5
19967 $as_echo_n "checking for XRRQueryExtension in -lXrandr... " >&6; }
19968 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then :
19969 $as_echo_n "(cached) " >&6
19971 ac_check_lib_save_LIBS
=$LIBS
19972 LIBS
="-lXrandr ${X_LIBS} $LIBS"
19973 if test x
$gcc_no_link = xyes
; then
19974 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19977 /* end confdefs.h. */
19979 /* Override any GCC internal prototype to avoid an error.
19980 Use char because int might match the return type of a GCC
19981 builtin and then its argument prototype would still apply. */
19985 char XRRQueryExtension ();
19989 return XRRQueryExtension ();
19994 if ac_fn_c_try_link
"$LINENO"; then :
19995 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
19997 ac_cv_lib_Xrandr_XRRQueryExtension
=no
19999 rm -f core conftest.err conftest.
$ac_objext \
20000 conftest
$ac_exeext conftest.
$ac_ext
20001 LIBS
=$ac_check_lib_save_LIBS
20003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
20004 $as_echo "$ac_cv_lib_Xrandr_XRRQueryExtension" >&6; }
20005 if test "x$ac_cv_lib_Xrandr_XRRQueryExtension" = x
""yes; then :
20007 $as_echo "#define HAVE_XRANDR 1" >>confdefs.h
20008 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
20023 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
20027 if test -z "$PKG_CONFIG"; then
20028 # Extract the first word of "pkg-config", so it can be a program name with args.
20029 set dummy pkg-config
; ac_word
=$2
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20031 $as_echo_n "checking for $ac_word... " >&6; }
20032 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20033 $as_echo_n "(cached) " >&6
20035 case $PKG_CONFIG in
20037 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20041 for as_dir
in $PATH
20044 test -z "$as_dir" && as_dir
=.
20045 for ac_exec_ext
in '' $ac_executable_extensions; do
20046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20047 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20055 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20059 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20060 if test -n "$PKG_CONFIG"; then
20061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20062 $as_echo "$PKG_CONFIG" >&6; }
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20065 $as_echo "no" >&6; }
20071 if test "$PKG_CONFIG" = "no" ; then
20072 echo "*** The pkg-config script could not be found. Make sure it is"
20073 echo "*** in your path, or set the PKG_CONFIG environment variable"
20074 echo "*** to the full path to pkg-config."
20075 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20077 PKG_CONFIG_MIN_VERSION
=0.9.0
20078 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.6.0" >&5
20080 $as_echo_n "checking for gconf-2.0 >= 2.6.0... " >&6; }
20082 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20084 $as_echo "yes" >&6; }
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5
20088 $as_echo_n "checking GCONF_CFLAGS... " >&6; }
20089 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5
20091 $as_echo "$GCONF_CFLAGS" >&6; }
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5
20094 $as_echo_n "checking GCONF_LIBS... " >&6; }
20095 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5
20097 $as_echo "$GCONF_LIBS" >&6; }
20101 ## If we have a custom action on failure, don't print errors, but
20102 ## do set a variable so people can do so.
20103 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
20104 echo $GCONF_PKG_ERRORS
20110 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20111 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20115 if test $succeeded = yes; then
20118 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
20126 if test -z "$PKG_CONFIG"; then
20127 # Extract the first word of "pkg-config", so it can be a program name with args.
20128 set dummy pkg-config
; ac_word
=$2
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20130 $as_echo_n "checking for $ac_word... " >&6; }
20131 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20132 $as_echo_n "(cached) " >&6
20134 case $PKG_CONFIG in
20136 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20140 for as_dir
in $PATH
20143 test -z "$as_dir" && as_dir
=.
20144 for ac_exec_ext
in '' $ac_executable_extensions; do
20145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20146 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20154 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20158 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20159 if test -n "$PKG_CONFIG"; then
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20161 $as_echo "$PKG_CONFIG" >&6; }
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20164 $as_echo "no" >&6; }
20170 if test "$PKG_CONFIG" = "no" ; then
20171 echo "*** The pkg-config script could not be found. Make sure it is"
20172 echo "*** in your path, or set the PKG_CONFIG environment variable"
20173 echo "*** to the full path to pkg-config."
20174 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20176 PKG_CONFIG_MIN_VERSION
=0.9.0
20177 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
20179 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
20181 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
20182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20183 $as_echo "yes" >&6; }
20186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
20187 $as_echo_n "checking GDK_CFLAGS... " >&6; }
20188 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
20190 $as_echo "$GDK_CFLAGS" >&6; }
20192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
20193 $as_echo_n "checking GDK_LIBS... " >&6; }
20194 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
20195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
20196 $as_echo "$GDK_LIBS" >&6; }
20200 ## If we have a custom action on failure, don't print errors, but
20201 ## do set a variable so people can do so.
20202 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
20203 echo $GDK_PKG_ERRORS
20209 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20210 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20214 if test $succeeded = yes; then
20217 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
20222 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
20223 if test "$USE_GCONF_PREFS_PEER" = ""; then
20224 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
20228 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
20229 GST_MAJORMINOR
=0.10
20230 GST_REQUIRED
=0.10.10
20235 if test -z "$PKG_CONFIG"; then
20236 # Extract the first word of "pkg-config", so it can be a program name with args.
20237 set dummy pkg-config
; ac_word
=$2
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20239 $as_echo_n "checking for $ac_word... " >&6; }
20240 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20241 $as_echo_n "(cached) " >&6
20243 case $PKG_CONFIG in
20245 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20249 for as_dir
in $PATH
20252 test -z "$as_dir" && as_dir
=.
20253 for ac_exec_ext
in '' $ac_executable_extensions; do
20254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20255 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20263 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20267 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20268 if test -n "$PKG_CONFIG"; then
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20270 $as_echo "$PKG_CONFIG" >&6; }
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20273 $as_echo "no" >&6; }
20279 if test "$PKG_CONFIG" = "no" ; then
20280 echo "*** The pkg-config script could not be found. Make sure it is"
20281 echo "*** in your path, or set the PKG_CONFIG environment variable"
20282 echo "*** to the full path to pkg-config."
20283 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20285 PKG_CONFIG_MIN_VERSION
=0.9.0
20286 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
20288 $as_echo_n "checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
20290 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20292 $as_echo "yes" >&6; }
20295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_CFLAGS" >&5
20296 $as_echo_n "checking GSTREAMER_CFLAGS... " >&6; }
20297 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_CFLAGS" >&5
20299 $as_echo "$GSTREAMER_CFLAGS" >&6; }
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_LIBS" >&5
20302 $as_echo_n "checking GSTREAMER_LIBS... " >&6; }
20303 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_LIBS" >&5
20305 $as_echo "$GSTREAMER_LIBS" >&6; }
20307 GSTREAMER_CFLAGS
=""
20309 ## If we have a custom action on failure, don't print errors, but
20310 ## do set a variable so people can do so.
20311 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
20312 echo $GSTREAMER_PKG_ERRORS
20318 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20319 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20323 if test $succeeded = yes; then
20326 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
20335 if test -z "$PKG_CONFIG"; then
20336 # Extract the first word of "pkg-config", so it can be a program name with args.
20337 set dummy pkg-config
; ac_word
=$2
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20339 $as_echo_n "checking for $ac_word... " >&6; }
20340 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20341 $as_echo_n "(cached) " >&6
20343 case $PKG_CONFIG in
20345 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20349 for as_dir
in $PATH
20352 test -z "$as_dir" && as_dir
=.
20353 for ac_exec_ext
in '' $ac_executable_extensions; do
20354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20355 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20363 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20367 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20368 if test -n "$PKG_CONFIG"; then
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20370 $as_echo "$PKG_CONFIG" >&6; }
20372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20373 $as_echo "no" >&6; }
20379 if test "$PKG_CONFIG" = "no" ; then
20380 echo "*** The pkg-config script could not be found. Make sure it is"
20381 echo "*** in your path, or set the PKG_CONFIG environment variable"
20382 echo "*** to the full path to pkg-config."
20383 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20385 PKG_CONFIG_MIN_VERSION
=0.9.0
20386 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
20388 $as_echo_n "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
20390 if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
20391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20392 $as_echo "yes" >&6; }
20395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_CFLAGS" >&5
20396 $as_echo_n "checking GSTREAMER_BASE_CFLAGS... " >&6; }
20397 GSTREAMER_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_CFLAGS" >&5
20399 $as_echo "$GSTREAMER_BASE_CFLAGS" >&6; }
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_LIBS" >&5
20402 $as_echo_n "checking GSTREAMER_BASE_LIBS... " >&6; }
20403 GSTREAMER_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_LIBS" >&5
20405 $as_echo "$GSTREAMER_BASE_LIBS" >&6; }
20407 GSTREAMER_BASE_CFLAGS
=""
20408 GSTREAMER_BASE_LIBS
=""
20409 ## If we have a custom action on failure, don't print errors, but
20410 ## do set a variable so people can do so.
20411 GSTREAMER_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20412 echo $GSTREAMER_BASE_PKG_ERRORS
20418 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20419 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20423 if test $succeeded = yes; then
20426 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
20435 if test -z "$PKG_CONFIG"; then
20436 # Extract the first word of "pkg-config", so it can be a program name with args.
20437 set dummy pkg-config
; ac_word
=$2
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20439 $as_echo_n "checking for $ac_word... " >&6; }
20440 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20441 $as_echo_n "(cached) " >&6
20443 case $PKG_CONFIG in
20445 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20449 for as_dir
in $PATH
20452 test -z "$as_dir" && as_dir
=.
20453 for ac_exec_ext
in '' $ac_executable_extensions; do
20454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20455 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20463 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20467 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20468 if test -n "$PKG_CONFIG"; then
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20470 $as_echo "$PKG_CONFIG" >&6; }
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20473 $as_echo "no" >&6; }
20479 if test "$PKG_CONFIG" = "no" ; then
20480 echo "*** The pkg-config script could not be found. Make sure it is"
20481 echo "*** in your path, or set the PKG_CONFIG environment variable"
20482 echo "*** to the full path to pkg-config."
20483 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20485 PKG_CONFIG_MIN_VERSION
=0.9.0
20486 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
20488 $as_echo_n "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
20490 if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
20491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20492 $as_echo "yes" >&6; }
20495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
20496 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_CFLAGS... " >&6; }
20497 GSTREAMER_PLUGINS_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
20499 $as_echo "$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6; }
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
20502 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_LIBS... " >&6; }
20503 GSTREAMER_PLUGINS_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
20505 $as_echo "$GSTREAMER_PLUGINS_BASE_LIBS" >&6; }
20507 GSTREAMER_PLUGINS_BASE_CFLAGS
=""
20508 GSTREAMER_PLUGINS_BASE_LIBS
=""
20509 ## If we have a custom action on failure, don't print errors, but
20510 ## do set a variable so people can do so.
20511 GSTREAMER_PLUGINS_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20512 echo $GSTREAMER_PLUGINS_BASE_PKG_ERRORS
20518 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20519 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20523 if test $succeeded = yes; then
20526 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
20532 GST_PLUGIN_LDFLAGS
='-module -avoid-version -Wno-unused-parameter -no-undefined'
20538 if test -z "$PKG_CONFIG"; then
20539 # Extract the first word of "pkg-config", so it can be a program name with args.
20540 set dummy pkg-config
; ac_word
=$2
20541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20542 $as_echo_n "checking for $ac_word... " >&6; }
20543 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20544 $as_echo_n "(cached) " >&6
20546 case $PKG_CONFIG in
20548 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20552 for as_dir
in $PATH
20555 test -z "$as_dir" && as_dir
=.
20556 for ac_exec_ext
in '' $ac_executable_extensions; do
20557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20558 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20566 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20570 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20571 if test -n "$PKG_CONFIG"; then
20572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20573 $as_echo "$PKG_CONFIG" >&6; }
20575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20576 $as_echo "no" >&6; }
20582 if test "$PKG_CONFIG" = "no" ; then
20583 echo "*** The pkg-config script could not be found. Make sure it is"
20584 echo "*** in your path, or set the PKG_CONFIG environment variable"
20585 echo "*** to the full path to pkg-config."
20586 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20588 PKG_CONFIG_MIN_VERSION
=0.9.0
20589 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
20591 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
20593 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20595 $as_echo "yes" >&6; }
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
20599 $as_echo_n "checking GDK_CFLAGS... " >&6; }
20600 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
20602 $as_echo "$GDK_CFLAGS" >&6; }
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
20605 $as_echo_n "checking GDK_LIBS... " >&6; }
20606 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
20608 $as_echo "$GDK_LIBS" >&6; }
20612 ## If we have a custom action on failure, don't print errors, but
20613 ## do set a variable so people can do so.
20614 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
20615 echo $GDK_PKG_ERRORS
20621 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20622 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20626 if test $succeeded = yes; then
20629 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
20635 GSTREAMER_FILE_READER
=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader
20636 GSTREAMER_MIXER_PROVIDER
=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider
20641 if test "x${COMPILE_QT_PEER}" = xyes
; then
20645 if test -z "$PKG_CONFIG"; then
20646 # Extract the first word of "pkg-config", so it can be a program name with args.
20647 set dummy pkg-config
; ac_word
=$2
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20649 $as_echo_n "checking for $ac_word... " >&6; }
20650 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20651 $as_echo_n "(cached) " >&6
20653 case $PKG_CONFIG in
20655 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20659 for as_dir
in $PATH
20662 test -z "$as_dir" && as_dir
=.
20663 for ac_exec_ext
in '' $ac_executable_extensions; do
20664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20665 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20673 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20677 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20678 if test -n "$PKG_CONFIG"; then
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20680 $as_echo "$PKG_CONFIG" >&6; }
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20683 $as_echo "no" >&6; }
20689 if test "$PKG_CONFIG" = "no" ; then
20690 echo "*** The pkg-config script could not be found. Make sure it is"
20691 echo "*** in your path, or set the PKG_CONFIG environment variable"
20692 echo "*** to the full path to pkg-config."
20693 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20695 PKG_CONFIG_MIN_VERSION
=0.9.0
20696 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QtCore QtGui >= 4.1.0" >&5
20698 $as_echo_n "checking for QtCore QtGui >= 4.1.0... " >&6; }
20700 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20702 $as_echo "yes" >&6; }
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_CFLAGS" >&5
20706 $as_echo_n "checking QT_CFLAGS... " >&6; }
20707 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CFLAGS" >&5
20709 $as_echo "$QT_CFLAGS" >&6; }
20711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_LIBS" >&5
20712 $as_echo_n "checking QT_LIBS... " >&6; }
20713 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_LIBS" >&5
20715 $as_echo "$QT_LIBS" >&6; }
20719 ## If we have a custom action on failure, don't print errors, but
20720 ## do set a variable so people can do so.
20721 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
20728 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20729 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20733 if test $succeeded = yes; then
20739 if test "x$HAVE_QT4" = "xyes"; then
20740 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
20741 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
20742 as_ac_File
=`$as_echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $QT_INCLUDE_DIR/QWidget" >&5
20744 $as_echo_n "checking for $QT_INCLUDE_DIR/QWidget... " >&6; }
20745 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
20746 $as_echo_n "(cached) " >&6
20748 test "$cross_compiling" = yes &&
20749 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
20750 if test -r "$QT_INCLUDE_DIR/QWidget"; then
20751 eval "$as_ac_File=yes"
20753 eval "$as_ac_File=no"
20756 eval ac_res
=\$
$as_ac_File
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20758 $as_echo "$ac_res" >&6; }
20759 eval as_val
=\$
$as_ac_File
20760 if test "x$as_val" = x
""yes; then :
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: No extra QT_INCLUDE_DIR needed" >&5
20762 $as_echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
20764 as_ac_File
=`$as_echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
20766 $as_echo_n "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... " >&6; }
20767 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
20768 $as_echo_n "(cached) " >&6
20770 test "$cross_compiling" = yes &&
20771 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
20772 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
20773 eval "$as_ac_File=yes"
20775 eval "$as_ac_File=no"
20778 eval ac_res
=\$
$as_ac_File
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20780 $as_echo "$ac_res" >&6; }
20781 eval as_val
=\$
$as_ac_File
20782 if test "x$as_val" = x
""yes; then :
20783 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: QWidget not found" >&5
20786 $as_echo "$as_me: WARNING: QWidget not found" >&2;}
20791 # Extract the first word of "moc", so it can be a program name with args.
20792 set dummy moc
; ac_word
=$2
20793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20794 $as_echo_n "checking for $ac_word... " >&6; }
20795 if test "${ac_cv_prog_MOC+set}" = set; then :
20796 $as_echo_n "(cached) " >&6
20798 if test -n "$MOC"; then
20799 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
20801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20802 for as_dir
in $PATH
20805 test -z "$as_dir" && as_dir
=.
20806 for ac_exec_ext
in '' $ac_executable_extensions; do
20807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20808 ac_cv_prog_MOC
="moc"
20809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20818 MOC
=$ac_cv_prog_MOC
20819 if test -n "$MOC"; then
20820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
20821 $as_echo "$MOC" >&6; }
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20824 $as_echo "no" >&6; }
20828 # Extract the first word of "moc-qt4", so it can be a program name with args.
20829 set dummy moc-qt4
; ac_word
=$2
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20831 $as_echo_n "checking for $ac_word... " >&6; }
20832 if test "${ac_cv_prog_MOC+set}" = set; then :
20833 $as_echo_n "(cached) " >&6
20835 if test -n "$MOC"; then
20836 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
20838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20839 for as_dir
in $PATH
20842 test -z "$as_dir" && as_dir
=.
20843 for ac_exec_ext
in '' $ac_executable_extensions; do
20844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20845 ac_cv_prog_MOC
="moc-qt4"
20846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20855 MOC
=$ac_cv_prog_MOC
20856 if test -n "$MOC"; then
20857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
20858 $as_echo "$MOC" >&6; }
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20861 $as_echo "no" >&6; }
20866 if test "x$HAVE_QT4" = "xno"; then
20867 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
20868 $as_echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
20872 # Check whether --with-qt4dir was given.
20873 if test "${with_qt4dir+set}" = set; then :
20874 withval
=$with_qt4dir; QT4DIR
=$withval
20878 if test x
"$QT4DIR" = x
; then
20879 as_fn_error
"*** No path for Qt4 --with-qt4dir option given" "$LINENO" 5
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: QT4DIR... $QT4DIR" >&5
20882 $as_echo "QT4DIR... $QT4DIR" >&6; }
20883 # Extract the first word of "moc", so it can be a program name with args.
20884 set dummy moc
; ac_word
=$2
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20886 $as_echo_n "checking for $ac_word... " >&6; }
20887 if test "${ac_cv_prog_MOC+set}" = set; then :
20888 $as_echo_n "(cached) " >&6
20890 if test -n "$MOC"; then
20891 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
20893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20894 for as_dir
in $QT4DIR/bin
20897 test -z "$as_dir" && as_dir
=.
20898 for ac_exec_ext
in '' $ac_executable_extensions; do
20899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20900 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
20901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20910 MOC
=$ac_cv_prog_MOC
20911 if test -n "$MOC"; then
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
20913 $as_echo "$MOC" >&6; }
20915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20916 $as_echo "no" >&6; }
20920 if test x
"$MOC" = x
; then
20921 as_fn_error
"*** This is not the right Qt installation" "$LINENO" 5
20923 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
20924 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
20925 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
20926 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
20929 as_fn_error
"*** Please check PKG_CONFIG_PATH or the version
20930 of your installed Qt4 installation." "$LINENO" 5
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: Set QT_CFLAGS... $QT_CFLAGS" >&5
20935 $as_echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
20939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
20940 $as_echo_n "checking for MSG_NOSIGNAL... " >&6; }
20941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20942 /* end confdefs.h. */
20943 #include <sys/socket.h>
20947 int f = MSG_NOSIGNAL;
20952 if ac_fn_c_try_compile
"$LINENO"; then :
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20954 $as_echo "yes" >&6; }
20956 $as_echo "#define HAVE_MSG_NOSIGNAL 1" >>confdefs.h
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20960 $as_echo "no" >&6; }
20963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SO_NOSIGPIPE " >&5
20965 $as_echo_n "checking for SO_NOSIGPIPE ... " >&6; }
20966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20967 /* end confdefs.h. */
20968 #include <sys/socket.h>
20972 int f = SO_NOSIGPIPE;
20977 if ac_fn_c_try_compile
"$LINENO"; then :
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20979 $as_echo "yes" >&6; }
20981 $as_echo "#define HAVE_SO_NOSIGPIPE 1" >>confdefs.h
20984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20985 $as_echo "no" >&6; }
20988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_WAITALL" >&5
20990 $as_echo_n "checking for MSG_WAITALL... " >&6; }
20991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20992 /* end confdefs.h. */
20993 #include <sys/socket.h>
20997 int f = MSG_WAITALL;
21002 if ac_fn_c_try_compile
"$LINENO"; then :
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21004 $as_echo "yes" >&6; }
21006 $as_echo "#define HAVE_MSG_WAITALL 1" >>confdefs.h
21009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21010 $as_echo "no" >&6; }
21013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21015 if test "x${COMPILE_PLUGIN}" = xyes
; then
21019 if test -z "$PKG_CONFIG"; then
21020 # Extract the first word of "pkg-config", so it can be a program name with args.
21021 set dummy pkg-config
; ac_word
=$2
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21023 $as_echo_n "checking for $ac_word... " >&6; }
21024 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21025 $as_echo_n "(cached) " >&6
21027 case $PKG_CONFIG in
21029 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21033 for as_dir
in $PATH
21036 test -z "$as_dir" && as_dir
=.
21037 for ac_exec_ext
in '' $ac_executable_extensions; do
21038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21039 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21047 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21051 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21052 if test -n "$PKG_CONFIG"; then
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21054 $as_echo "$PKG_CONFIG" >&6; }
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21057 $as_echo "no" >&6; }
21063 if test "$PKG_CONFIG" = "no" ; then
21064 echo "*** The pkg-config script could not be found. Make sure it is"
21065 echo "*** in your path, or set the PKG_CONFIG environment variable"
21066 echo "*** to the full path to pkg-config."
21067 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21069 PKG_CONFIG_MIN_VERSION
=0.9.0
21070 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin libxul-unstable" >&5
21072 $as_echo_n "checking for mozilla-plugin libxul-unstable... " >&6; }
21074 if $PKG_CONFIG --exists "mozilla-plugin libxul-unstable" ; then
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21076 $as_echo "yes" >&6; }
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21080 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21081 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin libxul-unstable"`
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21083 $as_echo "$MOZILLA_CFLAGS" >&6; }
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21086 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21087 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin libxul-unstable"`
21088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21089 $as_echo "$MOZILLA_LIBS" >&6; }
21093 ## If we have a custom action on failure, don't print errors, but
21094 ## do set a variable so people can do so.
21095 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin libxul-unstable"`
21102 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21103 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21107 if test $succeeded = yes; then
21113 if test "x${MOZILLA_FOUND}" = xno
; then
21117 if test -z "$PKG_CONFIG"; then
21118 # Extract the first word of "pkg-config", so it can be a program name with args.
21119 set dummy pkg-config
; ac_word
=$2
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21121 $as_echo_n "checking for $ac_word... " >&6; }
21122 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21123 $as_echo_n "(cached) " >&6
21125 case $PKG_CONFIG in
21127 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21131 for as_dir
in $PATH
21134 test -z "$as_dir" && as_dir
=.
21135 for ac_exec_ext
in '' $ac_executable_extensions; do
21136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21137 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21145 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21149 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21150 if test -n "$PKG_CONFIG"; then
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21152 $as_echo "$PKG_CONFIG" >&6; }
21154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21155 $as_echo "no" >&6; }
21161 if test "$PKG_CONFIG" = "no" ; then
21162 echo "*** The pkg-config script could not be found. Make sure it is"
21163 echo "*** in your path, or set the PKG_CONFIG environment variable"
21164 echo "*** to the full path to pkg-config."
21165 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21167 PKG_CONFIG_MIN_VERSION
=0.9.0
21168 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin" >&5
21170 $as_echo_n "checking for mozilla-plugin... " >&6; }
21172 if $PKG_CONFIG --exists "mozilla-plugin" ; then
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21174 $as_echo "yes" >&6; }
21177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21178 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21179 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
21180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21181 $as_echo "$MOZILLA_CFLAGS" >&6; }
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21184 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21185 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21187 $as_echo "$MOZILLA_LIBS" >&6; }
21191 ## If we have a custom action on failure, don't print errors, but
21192 ## do set a variable so people can do so.
21193 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
21200 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21201 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21205 if test $succeeded = yes; then
21212 if test "x${MOZILLA_FOUND}" = xno
; then
21216 if test -z "$PKG_CONFIG"; then
21217 # Extract the first word of "pkg-config", so it can be a program name with args.
21218 set dummy pkg-config
; ac_word
=$2
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21220 $as_echo_n "checking for $ac_word... " >&6; }
21221 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21222 $as_echo_n "(cached) " >&6
21224 case $PKG_CONFIG in
21226 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21230 for as_dir
in $PATH
21233 test -z "$as_dir" && as_dir
=.
21234 for ac_exec_ext
in '' $ac_executable_extensions; do
21235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21236 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21244 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21248 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21249 if test -n "$PKG_CONFIG"; then
21250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21251 $as_echo "$PKG_CONFIG" >&6; }
21253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21254 $as_echo "no" >&6; }
21260 if test "$PKG_CONFIG" = "no" ; then
21261 echo "*** The pkg-config script could not be found. Make sure it is"
21262 echo "*** in your path, or set the PKG_CONFIG environment variable"
21263 echo "*** to the full path to pkg-config."
21264 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21266 PKG_CONFIG_MIN_VERSION
=0.9.0
21267 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for firefox-plugin firefox-xpcom" >&5
21269 $as_echo_n "checking for firefox-plugin firefox-xpcom... " >&6; }
21271 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
21272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21273 $as_echo "yes" >&6; }
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21277 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21278 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
21279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21280 $as_echo "$MOZILLA_CFLAGS" >&6; }
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21283 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21284 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21286 $as_echo "$MOZILLA_LIBS" >&6; }
21290 ## If we have a custom action on failure, don't print errors, but
21291 ## do set a variable so people can do so.
21292 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
21299 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21300 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21304 if test $succeeded = yes; then
21311 if test "x${MOZILLA_FOUND}" = xno
; then
21315 if test -z "$PKG_CONFIG"; then
21316 # Extract the first word of "pkg-config", so it can be a program name with args.
21317 set dummy pkg-config
; ac_word
=$2
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21319 $as_echo_n "checking for $ac_word... " >&6; }
21320 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21321 $as_echo_n "(cached) " >&6
21323 case $PKG_CONFIG in
21325 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21329 for as_dir
in $PATH
21332 test -z "$as_dir" && as_dir
=.
21333 for ac_exec_ext
in '' $ac_executable_extensions; do
21334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21335 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21343 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21347 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21348 if test -n "$PKG_CONFIG"; then
21349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21350 $as_echo "$PKG_CONFIG" >&6; }
21352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21353 $as_echo "no" >&6; }
21359 if test "$PKG_CONFIG" = "no" ; then
21360 echo "*** The pkg-config script could not be found. Make sure it is"
21361 echo "*** in your path, or set the PKG_CONFIG environment variable"
21362 echo "*** to the full path to pkg-config."
21363 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21365 PKG_CONFIG_MIN_VERSION
=0.9.0
21366 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xulrunner-plugin xulrunner-xpcom" >&5
21368 $as_echo_n "checking for xulrunner-plugin xulrunner-xpcom... " >&6; }
21370 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
21371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21372 $as_echo "yes" >&6; }
21375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21376 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21377 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21379 $as_echo "$MOZILLA_CFLAGS" >&6; }
21381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21382 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21383 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
21384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21385 $as_echo "$MOZILLA_LIBS" >&6; }
21389 ## If we have a custom action on failure, don't print errors, but
21390 ## do set a variable so people can do so.
21391 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
21398 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21399 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21403 if test $succeeded = yes; then
21410 if test "x${MOZILLA_FOUND}" = xno
; then
21414 if test -z "$PKG_CONFIG"; then
21415 # Extract the first word of "pkg-config", so it can be a program name with args.
21416 set dummy pkg-config
; ac_word
=$2
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21418 $as_echo_n "checking for $ac_word... " >&6; }
21419 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21420 $as_echo_n "(cached) " >&6
21422 case $PKG_CONFIG in
21424 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21428 for as_dir
in $PATH
21431 test -z "$as_dir" && as_dir
=.
21432 for ac_exec_ext
in '' $ac_executable_extensions; do
21433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21434 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21442 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21446 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21447 if test -n "$PKG_CONFIG"; then
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21449 $as_echo "$PKG_CONFIG" >&6; }
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21452 $as_echo "no" >&6; }
21458 if test "$PKG_CONFIG" = "no" ; then
21459 echo "*** The pkg-config script could not be found. Make sure it is"
21460 echo "*** in your path, or set the PKG_CONFIG environment variable"
21461 echo "*** to the full path to pkg-config."
21462 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21464 PKG_CONFIG_MIN_VERSION
=0.9.0
21465 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
21467 $as_echo_n "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... " >&6; }
21469 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21471 $as_echo "yes" >&6; }
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21475 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21476 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21478 $as_echo "$MOZILLA_CFLAGS" >&6; }
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21481 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21482 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21484 $as_echo "$MOZILLA_LIBS" >&6; }
21488 ## If we have a custom action on failure, don't print errors, but
21489 ## do set a variable so people can do so.
21490 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
21497 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21498 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21502 if test $succeeded = yes; then
21509 if test "x${MOZILLA_FOUND}" = xno
; then
21513 if test -z "$PKG_CONFIG"; then
21514 # Extract the first word of "pkg-config", so it can be a program name with args.
21515 set dummy pkg-config
; ac_word
=$2
21516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21517 $as_echo_n "checking for $ac_word... " >&6; }
21518 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21519 $as_echo_n "(cached) " >&6
21521 case $PKG_CONFIG in
21523 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21527 for as_dir
in $PATH
21530 test -z "$as_dir" && as_dir
=.
21531 for ac_exec_ext
in '' $ac_executable_extensions; do
21532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21533 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21541 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21545 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21546 if test -n "$PKG_CONFIG"; then
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21548 $as_echo "$PKG_CONFIG" >&6; }
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21551 $as_echo "no" >&6; }
21557 if test "$PKG_CONFIG" = "no" ; then
21558 echo "*** The pkg-config script could not be found. Make sure it is"
21559 echo "*** in your path, or set the PKG_CONFIG environment variable"
21560 echo "*** to the full path to pkg-config."
21561 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21563 PKG_CONFIG_MIN_VERSION
=0.9.0
21564 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for seamonkey-plugin seamonkey-xpcom" >&5
21566 $as_echo_n "checking for seamonkey-plugin seamonkey-xpcom... " >&6; }
21568 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21570 $as_echo "yes" >&6; }
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21574 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21575 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21577 $as_echo "$MOZILLA_CFLAGS" >&6; }
21579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21580 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21581 MOZILLA_LIBS
=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21583 $as_echo "$MOZILLA_LIBS" >&6; }
21587 ## If we have a custom action on failure, don't print errors, but
21588 ## do set a variable so people can do so.
21589 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
21596 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21597 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21601 if test $succeeded = yes; then
21608 if test "x${MOZILLA_FOUND}" = xno
; then
21612 if test -z "$PKG_CONFIG"; then
21613 # Extract the first word of "pkg-config", so it can be a program name with args.
21614 set dummy pkg-config
; ac_word
=$2
21615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21616 $as_echo_n "checking for $ac_word... " >&6; }
21617 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21618 $as_echo_n "(cached) " >&6
21620 case $PKG_CONFIG in
21622 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21626 for as_dir
in $PATH
21629 test -z "$as_dir" && as_dir
=.
21630 for ac_exec_ext
in '' $ac_executable_extensions; do
21631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21632 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21640 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21644 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21645 if test -n "$PKG_CONFIG"; then
21646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21647 $as_echo "$PKG_CONFIG" >&6; }
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21650 $as_echo "no" >&6; }
21656 if test "$PKG_CONFIG" = "no" ; then
21657 echo "*** The pkg-config script could not be found. Make sure it is"
21658 echo "*** in your path, or set the PKG_CONFIG environment variable"
21659 echo "*** to the full path to pkg-config."
21660 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21662 PKG_CONFIG_MIN_VERSION
=0.9.0
21663 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iceape-plugin iceape-xpcom" >&5
21665 $as_echo_n "checking for iceape-plugin iceape-xpcom... " >&6; }
21667 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
21668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21669 $as_echo "yes" >&6; }
21672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21673 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21674 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21676 $as_echo "$MOZILLA_CFLAGS" >&6; }
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21679 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21680 MOZILLA_LIBS
=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
21681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21682 $as_echo "$MOZILLA_LIBS" >&6; }
21686 ## If we have a custom action on failure, don't print errors, but
21687 ## do set a variable so people can do so.
21688 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
21695 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21696 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21700 if test $succeeded = yes; then
21707 if test "x${MOZILLA_FOUND}" = xno
; then
21708 as_fn_error
"Couldn't find plugin support headers and libraries, try --disable-plugin" "$LINENO" 5
21714 if test -z "$PKG_CONFIG"; then
21715 # Extract the first word of "pkg-config", so it can be a program name with args.
21716 set dummy pkg-config
; ac_word
=$2
21717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21718 $as_echo_n "checking for $ac_word... " >&6; }
21719 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21720 $as_echo_n "(cached) " >&6
21722 case $PKG_CONFIG in
21724 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21728 for as_dir
in $PATH
21731 test -z "$as_dir" && as_dir
=.
21732 for ac_exec_ext
in '' $ac_executable_extensions; do
21733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21734 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21742 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21746 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21747 if test -n "$PKG_CONFIG"; then
21748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21749 $as_echo "$PKG_CONFIG" >&6; }
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21752 $as_echo "no" >&6; }
21758 if test "$PKG_CONFIG" = "no" ; then
21759 echo "*** The pkg-config script could not be found. Make sure it is"
21760 echo "*** in your path, or set the PKG_CONFIG environment variable"
21761 echo "*** to the full path to pkg-config."
21762 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21764 PKG_CONFIG_MIN_VERSION
=0.9.0
21765 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0" >&5
21767 $as_echo_n "checking for glib-2.0... " >&6; }
21769 if $PKG_CONFIG --exists "glib-2.0" ; then
21770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21771 $as_echo "yes" >&6; }
21774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
21775 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
21776 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
21777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
21778 $as_echo "$GLIB_CFLAGS" >&6; }
21780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
21781 $as_echo_n "checking GLIB_LIBS... " >&6; }
21782 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
21783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
21784 $as_echo "$GLIB_LIBS" >&6; }
21788 ## If we have a custom action on failure, don't print errors, but
21789 ## do set a variable so people can do so.
21790 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
21791 echo $GLIB_PKG_ERRORS
21797 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21798 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21802 if test $succeeded = yes; then
21805 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
21811 if test -z "$PKG_CONFIG"; then
21812 # Extract the first word of "pkg-config", so it can be a program name with args.
21813 set dummy pkg-config
; ac_word
=$2
21814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21815 $as_echo_n "checking for $ac_word... " >&6; }
21816 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21817 $as_echo_n "(cached) " >&6
21819 case $PKG_CONFIG in
21821 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21825 for as_dir
in $PATH
21828 test -z "$as_dir" && as_dir
=.
21829 for ac_exec_ext
in '' $ac_executable_extensions; do
21830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21831 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21839 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21843 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21844 if test -n "$PKG_CONFIG"; then
21845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21846 $as_echo "$PKG_CONFIG" >&6; }
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21849 $as_echo "no" >&6; }
21855 if test "$PKG_CONFIG" = "no" ; then
21856 echo "*** The pkg-config script could not be found. Make sure it is"
21857 echo "*** in your path, or set the PKG_CONFIG environment variable"
21858 echo "*** to the full path to pkg-config."
21859 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21861 PKG_CONFIG_MIN_VERSION
=0.9.0
21862 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
21864 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
21866 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21868 $as_echo "yes" >&6; }
21871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
21872 $as_echo_n "checking GTK_CFLAGS... " >&6; }
21873 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
21875 $as_echo "$GTK_CFLAGS" >&6; }
21877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
21878 $as_echo_n "checking GTK_LIBS... " >&6; }
21879 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
21881 $as_echo "$GTK_LIBS" >&6; }
21885 ## If we have a custom action on failure, don't print errors, but
21886 ## do set a variable so people can do so.
21887 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21888 echo $GTK_PKG_ERRORS
21894 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21895 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21899 if test $succeeded = yes; then
21902 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
21913 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
21918 # Check whether --with-gmp was given.
21919 if test "${with_gmp+set}" = set; then :
21924 # Check whether --with-gmp_include was given.
21925 if test "${with_gmp_include+set}" = set; then :
21926 withval
=$with_gmp_include;
21930 # Check whether --with-gmp_lib was given.
21931 if test "${with_gmp_lib+set}" = set; then :
21932 withval
=$with_gmp_lib;
21936 if test "x$with_gmp" != x
; then
21939 gmplibs
="-L$with_gmp/lib $gmplibs"
21940 if test "x$with_gmp_include" != x
; then
21941 gmpinc
="-I$with_gmp_include $gmpinc"
21943 gmpinc
="-I$with_gmp/include $gmpinc"
21944 if test "x$with_gmp_lib" != x
; then
21945 gmplibs
="-L$with_gmp_lib $gmplibs"
21949 gmpinc
="-I/usr/include"
21952 if test "x${COMPILE_GMP}" = xyes
; then
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_mul_si in -lgmp" >&5
21954 $as_echo_n "checking for __gmpz_mul_si in -lgmp... " >&6; }
21955 if test "${ac_cv_lib_gmp___gmpz_mul_si+set}" = set; then :
21956 $as_echo_n "(cached) " >&6
21958 ac_check_lib_save_LIBS
=$LIBS
21960 if test x
$gcc_no_link = xyes
; then
21961 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21964 /* end confdefs.h. */
21966 /* Override any GCC internal prototype to avoid an error.
21967 Use char because int might match the return type of a GCC
21968 builtin and then its argument prototype would still apply. */
21972 char __gmpz_mul_si ();
21976 return __gmpz_mul_si ();
21981 if ac_fn_c_try_link
"$LINENO"; then :
21982 ac_cv_lib_gmp___gmpz_mul_si
=yes
21984 ac_cv_lib_gmp___gmpz_mul_si
=no
21986 rm -f core conftest.err conftest.
$ac_objext \
21987 conftest
$ac_exeext conftest.
$ac_ext
21988 LIBS
=$ac_check_lib_save_LIBS
21990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_mul_si" >&5
21991 $as_echo "$ac_cv_lib_gmp___gmpz_mul_si" >&6; }
21992 if test "x$ac_cv_lib_gmp___gmpz_mul_si" = x
""yes; then :
21993 GMP_CFLAGS
="$gmpinc"
21994 GMP_LIBS
="$gmplibs"
22003 for ac_header
in gmp.h
22005 ac_fn_c_check_header_mongrel
"$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
22006 if test "x$ac_cv_header_gmp_h" = x
""yes; then :
22007 cat >>confdefs.h
<<_ACEOF
22008 #define HAVE_GMP_H 1
22021 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
22024 # Check whether --with-javah was given.
22025 if test "${with_javah+set}" = set; then :
22026 withval
=$with_javah;
22027 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
22029 if test "x${withval}" != x
; then
22030 if test -f "${withval}"; then
22031 USER_JAVAH
="${withval}"
22033 # Extract the first word of ""${withval}"", so it can be a program name with args.
22034 set dummy
"${withval}"; ac_word
=$2
22035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22036 $as_echo_n "checking for $ac_word... " >&6; }
22037 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22038 $as_echo_n "(cached) " >&6
22040 case $USER_JAVAH in
22042 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22046 for as_dir
in $PATH
22049 test -z "$as_dir" && as_dir
=.
22050 for ac_exec_ext
in '' $ac_executable_extensions; do
22051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22052 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22063 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22064 if test -n "$USER_JAVAH"; then
22065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22066 $as_echo "$USER_JAVAH" >&6; }
22068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22069 $as_echo "no" >&6; }
22075 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
22077 # Extract the first word of "$ac_prog", so it can be a program name with args.
22078 set dummy
$ac_prog; ac_word
=$2
22079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22080 $as_echo_n "checking for $ac_word... " >&6; }
22081 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22082 $as_echo_n "(cached) " >&6
22084 case $USER_JAVAH in
22086 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22090 for as_dir
in $PATH
22093 test -z "$as_dir" && as_dir
=.
22094 for ac_exec_ext
in '' $ac_executable_extensions; do
22095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22096 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22107 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22108 if test -n "$USER_JAVAH"; then
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22110 $as_echo "$USER_JAVAH" >&6; }
22112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22113 $as_echo "no" >&6; }
22117 test -n "$USER_JAVAH" && break
22122 if test "x${USER_JAVAH}" = x
; then
22123 as_fn_error
"can not find javah" "$LINENO" 5
22128 if test "x" != x
; then
22129 if test -f ""; then
22132 # Extract the first word of """", so it can be a program name with args.
22133 set dummy
""; ac_word
=$2
22134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22135 $as_echo_n "checking for $ac_word... " >&6; }
22136 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22137 $as_echo_n "(cached) " >&6
22139 case $USER_JAVAH in
22141 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22145 for as_dir
in $PATH
22148 test -z "$as_dir" && as_dir
=.
22149 for ac_exec_ext
in '' $ac_executable_extensions; do
22150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22151 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22162 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22163 if test -n "$USER_JAVAH"; then
22164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22165 $as_echo "$USER_JAVAH" >&6; }
22167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22168 $as_echo "no" >&6; }
22174 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
22176 # Extract the first word of "$ac_prog", so it can be a program name with args.
22177 set dummy
$ac_prog; ac_word
=$2
22178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22179 $as_echo_n "checking for $ac_word... " >&6; }
22180 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22181 $as_echo_n "(cached) " >&6
22183 case $USER_JAVAH in
22185 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22189 for as_dir
in $PATH
22192 test -z "$as_dir" && as_dir
=.
22193 for ac_exec_ext
in '' $ac_executable_extensions; do
22194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22195 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22206 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22207 if test -n "$USER_JAVAH"; then
22208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22209 $as_echo "$USER_JAVAH" >&6; }
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22212 $as_echo "no" >&6; }
22216 test -n "$USER_JAVAH" && break
22221 if test "x${USER_JAVAH}" = x
; then
22222 as_fn_error
"can not find javah" "$LINENO" 5
22230 if test "x" != x
; then
22231 if test -f ""; then
22234 # Extract the first word of """", so it can be a program name with args.
22235 set dummy
""; ac_word
=$2
22236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22237 $as_echo_n "checking for $ac_word... " >&6; }
22238 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22239 $as_echo_n "(cached) " >&6
22241 case $USER_JAVAH in
22243 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22247 for as_dir
in $PATH
22250 test -z "$as_dir" && as_dir
=.
22251 for ac_exec_ext
in '' $ac_executable_extensions; do
22252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22253 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22264 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22265 if test -n "$USER_JAVAH"; then
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22267 $as_echo "$USER_JAVAH" >&6; }
22269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22270 $as_echo "no" >&6; }
22276 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
22278 # Extract the first word of "$ac_prog", so it can be a program name with args.
22279 set dummy
$ac_prog; ac_word
=$2
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22281 $as_echo_n "checking for $ac_word... " >&6; }
22282 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22283 $as_echo_n "(cached) " >&6
22285 case $USER_JAVAH in
22287 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22291 for as_dir
in $PATH
22294 test -z "$as_dir" && as_dir
=.
22295 for ac_exec_ext
in '' $ac_executable_extensions; do
22296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22297 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22308 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22309 if test -n "$USER_JAVAH"; then
22310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22311 $as_echo "$USER_JAVAH" >&6; }
22313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22314 $as_echo "no" >&6; }
22318 test -n "$USER_JAVAH" && break
22323 if test "x${USER_JAVAH}" = x
; then
22324 as_fn_error
"can not find javah" "$LINENO" 5
22334 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
22337 if test "x${COMPILE_JNI}" = xyes
; then
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking jni_md.h support" >&5
22339 $as_echo_n "checking jni_md.h support... " >&6; }
22340 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22342 $as_echo "yes" >&6; }
22345 target_os
=linux-gnu
22346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no" >&5
22347 $as_echo "$as_me: WARNING: no" >&2;}
22349 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
22350 ac_dests
="include/jni_md.h"
22351 while test -n "$ac_sources"; do
22352 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
22353 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
22354 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
22356 ac_config_links
="$ac_config_links $ac_config_links_1"
22362 # Check whether --with-vm-classes was given.
22363 if test "${with_vm_classes+set}" = set; then :
22364 withval
=$with_vm_classes; vm_classes
="$with_vm_classes"
22366 vm_classes
='${top_srcdir}/vm/reference'
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
22374 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
22375 # Check whether --enable-maintainer-mode was given.
22376 if test "${enable_maintainer_mode+set}" = set; then :
22377 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
22379 USE_MAINTAINER_MODE
=no
22382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
22383 $as_echo "$USE_MAINTAINER_MODE" >&6; }
22384 if test $USE_MAINTAINER_MODE = yes; then
22385 MAINTAINER_MODE_TRUE
=
22386 MAINTAINER_MODE_FALSE
='#'
22388 MAINTAINER_MODE_TRUE
='#'
22389 MAINTAINER_MODE_FALSE
=
22392 MAINT
=$MAINTAINER_MODE_TRUE
22396 # Check whether --enable-debug was given.
22397 if test "${enable_debug+set}" = set; then :
22398 enableval
=$enable_debug; case "${enableval}" in
22402 $as_echo "#define DEBUG 1" >>confdefs.h
22405 no
) LIBDEBUG
="false" ;;
22406 *) as_fn_error
"bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
22414 # Check whether --enable-load-library was given.
22415 if test "${enable_load_library+set}" = set; then :
22416 enableval
=$enable_load_library; case "${enableval}" in
22417 yes) INIT_LOAD_LIBRARY
="true" ;;
22418 no
) INIT_LOAD_LIBRARY
="false" ;;
22419 *) as_fn_error
"bad value ${enableval} for --enable-load-library" "$LINENO" 5 ;;
22422 INIT_LOAD_LIBRARY
="true"
22429 # Check whether --with-ecj-jar was given.
22430 if test "${with_ecj_jar+set}" = set; then :
22431 withval
=$with_ecj_jar; ECJ_JAR
=$withval
22433 if test -f $multi_basedir/ecj.jar
; then
22434 ECJ_JAR
='$(jardir)/ecj.jar'
22440 # Check whether --enable-java-lang-system-explicit-initialization was given.
22441 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then :
22442 enableval
=$enable_java_lang_system_explicit_initialization; case "${enableval}" in
22443 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
22444 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
22445 *) as_fn_error
"bad value ${enableval} for --enable-java-lang-system-explicit-initialization" "$LINENO" 5 ;;
22448 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
22457 # Extract the first word of "mkdir", so it can be a program name with args.
22458 set dummy mkdir
; ac_word
=$2
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22460 $as_echo_n "checking for $ac_word... " >&6; }
22461 if test "${ac_cv_path_MKDIR+set}" = set; then :
22462 $as_echo_n "(cached) " >&6
22466 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
22469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22470 for as_dir
in $PATH
22473 test -z "$as_dir" && as_dir
=.
22474 for ac_exec_ext
in '' $ac_executable_extensions; do
22475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22476 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
22477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22487 MKDIR
=$ac_cv_path_MKDIR
22488 if test -n "$MKDIR"; then
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
22490 $as_echo "$MKDIR" >&6; }
22492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22493 $as_echo "no" >&6; }
22497 # Extract the first word of "cp", so it can be a program name with args.
22498 set dummy
cp; ac_word
=$2
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22500 $as_echo_n "checking for $ac_word... " >&6; }
22501 if test "${ac_cv_path_CP+set}" = set; then :
22502 $as_echo_n "(cached) " >&6
22506 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
22509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22510 for as_dir
in $PATH
22513 test -z "$as_dir" && as_dir
=.
22514 for ac_exec_ext
in '' $ac_executable_extensions; do
22515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22516 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
22517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22528 if test -n "$CP"; then
22529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
22530 $as_echo "$CP" >&6; }
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22533 $as_echo "no" >&6; }
22537 # Extract the first word of "date", so it can be a program name with args.
22538 set dummy
date; ac_word
=$2
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22540 $as_echo_n "checking for $ac_word... " >&6; }
22541 if test "${ac_cv_path_DATE+set}" = set; then :
22542 $as_echo_n "(cached) " >&6
22546 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
22549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22550 for as_dir
in $PATH
22553 test -z "$as_dir" && as_dir
=.
22554 for ac_exec_ext
in '' $ac_executable_extensions; do
22555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22556 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
22557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22567 DATE
=$ac_cv_path_DATE
22568 if test -n "$DATE"; then
22569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
22570 $as_echo "$DATE" >&6; }
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22573 $as_echo "no" >&6; }
22578 # Extract the first word of "find", so it can be a program name with args.
22579 set dummy
find; ac_word
=$2
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22581 $as_echo_n "checking for $ac_word... " >&6; }
22582 if test "${ac_cv_path_FIND+set}" = set; then :
22583 $as_echo_n "(cached) " >&6
22587 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
22590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22591 for as_dir
in $PATH
22594 test -z "$as_dir" && as_dir
=.
22595 for ac_exec_ext
in '' $ac_executable_extensions; do
22596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22597 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
22598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22608 FIND
=$ac_cv_path_FIND
22609 if test -n "$FIND"; then
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
22611 $as_echo "$FIND" >&6; }
22613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22614 $as_echo "no" >&6; }
22620 # Extract the first word of "zip", so it can be a program name with args.
22621 set dummy
zip; ac_word
=$2
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22623 $as_echo_n "checking for $ac_word... " >&6; }
22624 if test "${ac_cv_path_ZIP+set}" = set; then :
22625 $as_echo_n "(cached) " >&6
22629 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
22632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22633 for as_dir
in $PATH
22636 test -z "$as_dir" && as_dir
=.
22637 for ac_exec_ext
in '' $ac_executable_extensions; do
22638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22639 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
22640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22650 ZIP
=$ac_cv_path_ZIP
22651 if test -n "$ZIP"; then
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
22653 $as_echo "$ZIP" >&6; }
22655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22656 $as_echo "no" >&6; }
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a jar-like tool" >&5
22662 $as_echo_n "checking for a jar-like tool... " >&6; }
22664 # Check whether --with-jar was given.
22665 if test "${with_jar+set}" = set; then :
22667 case "${withval}" in
22673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
22674 $as_echo "${JAR}" >&6; }
22677 if test -f "${withval}"; then
22679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
22680 $as_echo "${JAR}" >&6; }
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22683 $as_echo "not found" >&6; }
22684 as_fn_error
"The jar tool ${withval} was not found." "$LINENO" 5
22695 if test x
"${JAR}" = "xyes"; then
22696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: trying fastjar, gjar and jar" >&5
22697 $as_echo "trying fastjar, gjar and jar" >&6; }
22698 for ac_prog
in fastjar gjar jar
22700 # Extract the first word of "$ac_prog", so it can be a program name with args.
22701 set dummy
$ac_prog; ac_word
=$2
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22703 $as_echo_n "checking for $ac_word... " >&6; }
22704 if test "${ac_cv_path_JAR+set}" = set; then :
22705 $as_echo_n "(cached) " >&6
22709 ac_cv_path_JAR
="$JAR" # Let the user override the test with a path.
22712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22713 for as_dir
in $PATH
22716 test -z "$as_dir" && as_dir
=.
22717 for ac_exec_ext
in '' $ac_executable_extensions; do
22718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22719 ac_cv_path_JAR
="$as_dir/$ac_word$ac_exec_ext"
22720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22730 JAR
=$ac_cv_path_JAR
22731 if test -n "$JAR"; then
22732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
22733 $as_echo "$JAR" >&6; }
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22736 $as_echo "no" >&6; }
22740 test -n "$JAR" && break
22743 if test x
"${RHINO_JAR}" = "xyes"; then
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22745 $as_echo "not found" >&6; }
22748 if test x
"${JAR}" = "xno" && test x
"${ZIP}" = ""; then
22749 as_fn_error
"No zip or jar tool found." "$LINENO" 5
22751 if test x
"${JAR}" != "xno" && test x
"${JAR}" != "xyes"; then
22762 # Check whether --with-glibj was given.
22763 if test "${with_glibj+set}" = set; then :
22764 withval
=$with_glibj;
22765 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
22766 install_class_files
=no
22767 build_class_files
=yes
22769 elif test "x${withval}" = xboth
; then
22770 install_class_files
=yes
22771 build_class_files
=yes
22773 elif test "x${withval}" = xflat
; then
22774 install_class_files
=yes
22775 build_class_files
=yes
22777 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
22778 install_class_files
=no
22779 build_class_files
=no
22781 elif test "x${withval}" = xbuild
; then
22782 install_class_files
=no
22783 build_class_files
=yes
22786 as_fn_error
"unknown value given to --with-glibj" "$LINENO" 5
22791 install_class_files
=no
22796 if test "x${use_zip}" = xyes
; then
22797 INSTALL_GLIBJ_ZIP_TRUE
=
22798 INSTALL_GLIBJ_ZIP_FALSE
='#'
22800 INSTALL_GLIBJ_ZIP_TRUE
='#'
22801 INSTALL_GLIBJ_ZIP_FALSE
=
22804 if test "x${install_class_files}" = xyes
; then
22805 INSTALL_CLASS_FILES_TRUE
=
22806 INSTALL_CLASS_FILES_FALSE
='#'
22808 INSTALL_CLASS_FILES_TRUE
='#'
22809 INSTALL_CLASS_FILES_FALSE
=
22812 if test "x${build_class_files}" = xyes
; then
22813 BUILD_CLASS_FILES_TRUE
=
22814 BUILD_CLASS_FILES_FALSE
='#'
22816 BUILD_CLASS_FILES_TRUE
='#'
22817 BUILD_CLASS_FILES_FALSE
=
22821 # Check whether --enable-examples was given.
22822 if test "${enable_examples+set}" = set; then :
22823 enableval
=$enable_examples; case "${enableval}" in
22824 yes) EXAMPLESDIR
="examples" ;;
22825 no
) EXAMPLESDIR
="" ;;
22826 *) as_fn_error
"bad value ${enableval} for --enable-examples" "$LINENO" 5 ;;
22829 EXAMPLESDIR
="examples"
22832 if test "x${build_class_files}" = xno
; then
22837 # Check whether --enable-tools was given.
22838 if test "${enable_tools+set}" = set; then :
22839 enableval
=$enable_tools; case "${enableval}" in
22840 yes) TOOLSDIR
="tools" ;;
22842 *) as_fn_error
"bad value ${enableval} for --enable-tools" "$LINENO" 5 ;;
22848 if test "x${build_class_files}" = xno
; then
22856 # Check whether --with-gjdoc was given.
22857 if test "${with_gjdoc+set}" = set; then :
22858 withval
=$with_gjdoc; if test "x${withval}" = xno
; then
22860 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
22862 # Extract the first word of "gjdoc", so it can be a program name with args.
22863 set dummy gjdoc
; ac_word
=$2
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22865 $as_echo_n "checking for $ac_word... " >&6; }
22866 if test "${ac_cv_path_GJDOC+set}" = set; then :
22867 $as_echo_n "(cached) " >&6
22871 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
22874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22875 for as_dir
in $PATH
22878 test -z "$as_dir" && as_dir
=.
22879 for ac_exec_ext
in '' $ac_executable_extensions; do
22880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22881 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
22882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22889 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
22893 GJDOC
=$ac_cv_path_GJDOC
22894 if test -n "$GJDOC"; then
22895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GJDOC" >&5
22896 $as_echo "$GJDOC" >&6; }
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22899 $as_echo "no" >&6; }
22903 if test "x${GJDOC}" = xno
; then
22904 as_fn_error
"\"gjdoc executable not found\"" "$LINENO" 5;
22909 as_ac_File
=`$as_echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
22910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${GJDOC}" >&5
22911 $as_echo_n "checking for ${GJDOC}... " >&6; }
22912 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
22913 $as_echo_n "(cached) " >&6
22915 test "$cross_compiling" = yes &&
22916 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
22917 if test -r "${GJDOC}"; then
22918 eval "$as_ac_File=yes"
22920 eval "$as_ac_File=no"
22923 eval ac_res
=\$
$as_ac_File
22924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22925 $as_echo "$ac_res" >&6; }
22926 eval as_val
=\$
$as_ac_File
22927 if test "x$as_val" = x
""yes; then :
22930 as_fn_error
"\"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" "$LINENO" 5
22938 if test "x${WITH_GJDOC}" = xyes
; then
22939 CREATE_API_DOCS_TRUE
=
22940 CREATE_API_DOCS_FALSE
='#'
22942 CREATE_API_DOCS_TRUE
='#'
22943 CREATE_API_DOCS_FALSE
=
22946 if test "x${WITH_GJDOC}" = xyes
; then
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of GJDoc" >&5
22948 $as_echo_n "checking version of GJDoc... " >&6; }
22949 gjdoc_version
=$
(${GJDOC} --version|cut
-d ' ' -f2)
22950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gjdoc_version}" >&5
22951 $as_echo "${gjdoc_version}" >&6; }
22952 case ${gjdoc_version} in
22955 *) as_fn_error
"Building documentation requires GJDoc >= 0.7.9, ${gjdoc_version} found." "$LINENO" 5 ;;
22962 # Check whether --with-jay was given.
22963 if test "${with_jay+set}" = set; then :
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
22966 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
22969 if test "x${withval}" = xno
; then
22970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22971 $as_echo "no" >&6; }
22972 elif test "x${withval}" = xyes
; then
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22974 $as_echo "yes" >&6; }
22975 JAY_DIR_PATH
="/usr/share/jay"
22976 elif test -d "${withval}"; then
22977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22978 $as_echo "yes" >&6; }
22979 JAY_DIR_PATH
="${withval}"
22980 elif test -f "${withval}"; then
22981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22982 $as_echo "yes" >&6; }
22983 JAY_DIR_PATH
=`dirname "${withval}"`
22986 as_fn_error
"jay not found at ${withval}" "$LINENO" 5
22989 if test "x${JAY_DIR_PATH}" != x
; then
22990 # Extract the first word of "jay", so it can be a program name with args.
22991 set dummy jay
; ac_word
=$2
22992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22993 $as_echo_n "checking for $ac_word... " >&6; }
22994 if test "${ac_cv_path_JAY+set}" = set; then :
22995 $as_echo_n "(cached) " >&6
22999 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
23002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23003 as_dummy
="${JAY_DIR_PATH}:${PATH}"
23004 for as_dir
in $as_dummy
23007 test -z "$as_dir" && as_dir
=.
23008 for ac_exec_ext
in '' $ac_executable_extensions; do
23009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23010 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
23011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23018 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
23022 JAY
=$ac_cv_path_JAY
23023 if test -n "$JAY"; then
23024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAY" >&5
23025 $as_echo "$JAY" >&6; }
23027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23028 $as_echo "no" >&6; }
23032 if test "x${JAY}" = xno
; then
23033 as_fn_error
"jay executable not found" "$LINENO" 5;
23035 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
23036 as_ac_File
=`$as_echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
23037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${JAY_SKELETON}" >&5
23038 $as_echo_n "checking for ${JAY_SKELETON}... " >&6; }
23039 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
23040 $as_echo_n "(cached) " >&6
23042 test "$cross_compiling" = yes &&
23043 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
23044 if test -r "${JAY_SKELETON}"; then
23045 eval "$as_ac_File=yes"
23047 eval "$as_ac_File=no"
23050 eval ac_res
=\$
$as_ac_File
23051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23052 $as_echo "$ac_res" >&6; }
23053 eval as_val
=\$
$as_ac_File
23054 if test "x$as_val" = x
""yes; then :
23057 as_fn_error
"Expected skeleton file in ${JAY_DIR_PATH}" "$LINENO" 5
23065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
23066 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23068 $as_echo "no" >&6; }
23073 if test "x${JAY_FOUND}" = xyes
; then
23074 REGEN_PARSERS_TRUE
=
23075 REGEN_PARSERS_FALSE
='#'
23077 REGEN_PARSERS_TRUE
='#'
23078 REGEN_PARSERS_FALSE
=
23083 # Check whether --enable-portable-native-sync was given.
23084 if test "${enable_portable_native_sync+set}" = set; then :
23085 enableval
=$enable_portable_native_sync; case "${enableval}" in
23088 $as_echo "#define PORTABLE_NATIVE_SYNC 1" >>confdefs.h
23093 as_fn_error
"bad value ${enableval} for --enable-portable-native-sync" "$LINENO" 5
23099 # ------ AX CREATE STDINT H -------------------------------------
23100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
23101 $as_echo_n "checking for stdint types... " >&6; }
23102 ac_stdint_h
=`echo include/config-int.h`
23103 # try to shortcircuit - if the default include path of the compiler
23104 # can find a "stdint.h" header then we assume that all compilers can.
23105 if test "${ac_cv_header_stdint_t+set}" = set; then :
23106 $as_echo_n "(cached) " >&6
23109 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
23110 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
23111 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
23112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23113 /* end confdefs.h. */
23114 #include <stdint.h>
23118 int_least32_t v = 0;
23123 if ac_fn_c_try_compile
"$LINENO"; then :
23124 ac_cv_stdint_result
="(assuming C99 compatible system)"
23125 ac_cv_header_stdint_t
="stdint.h";
23127 ac_cv_header_stdint_t
=""
23129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23130 CXXFLAGS
="$old_CXXFLAGS"
23131 CPPFLAGS
="$old_CPPFLAGS"
23132 CFLAGS
="$old_CFLAGS"
23136 v
="... $ac_cv_header_stdint_h"
23137 if test "$ac_stdint_h" = "stdint.h" ; then
23138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
23139 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
23140 elif test "$ac_stdint_h" = "inttypes.h" ; then
23141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
23142 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
23143 elif test "_$ac_cv_header_stdint_t" = "_" ; then
23144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
23145 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
23147 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
23149 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
23152 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
23155 inttype_headers
=`echo | sed -e 's/,/ /g'`
23157 ac_cv_stdint_result
="(no helpful system typedefs seen)"
23159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
23160 $as_echo_n "checking for stdint uintptr_t... " >&6; }
23161 if test "${ac_cv_header_stdint_x+set}" = set; then :
23162 $as_echo_n "(cached) " >&6
23165 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23167 $as_echo "(..)" >&6; }
23168 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
23169 unset ac_cv_type_uintptr_t
23170 unset ac_cv_type_uint64_t
23171 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
23173 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
23174 ac_cv_header_stdint_x
=$i
23179 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
23181 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
23187 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
23190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
23191 $as_echo_n "checking for stdint uintptr_t... " >&6; }
23194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
23195 $as_echo "$ac_cv_header_stdint_x" >&6; }
23198 if test "_$ac_cv_header_stdint_x" = "_" ; then
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
23201 $as_echo_n "checking for stdint uint32_t... " >&6; }
23202 if test "${ac_cv_header_stdint_o+set}" = set; then :
23203 $as_echo_n "(cached) " >&6
23206 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23208 $as_echo "(..)" >&6; }
23209 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
23210 unset ac_cv_type_uint32_t
23211 unset ac_cv_type_uint64_t
23212 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
23214 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
23215 ac_cv_header_stdint_o
=$i
23220 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
23222 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
23228 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
23232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
23233 $as_echo_n "checking for stdint uint32_t... " >&6; }
23236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
23237 $as_echo "$ac_cv_header_stdint_o" >&6; }
23241 if test "_$ac_cv_header_stdint_x" = "_" ; then
23242 if test "_$ac_cv_header_stdint_o" = "_" ; then
23244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
23245 $as_echo_n "checking for stdint u_int32_t... " >&6; }
23246 if test "${ac_cv_header_stdint_u+set}" = set; then :
23247 $as_echo_n "(cached) " >&6
23250 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
23251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23252 $as_echo "(..)" >&6; }
23253 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
23254 unset ac_cv_type_u_int32_t
23255 unset ac_cv_type_u_int64_t
23256 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
23258 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
23259 ac_cv_header_stdint_u
=$i
23264 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
23266 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
23272 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
23276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
23277 $as_echo_n "checking for stdint u_int32_t... " >&6; }
23280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
23281 $as_echo "$ac_cv_header_stdint_u" >&6; }
23285 if test "_$ac_cv_header_stdint_x" = "_" ; then
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
23287 $as_echo_n "checking for stdint datatype model... " >&6; }
23288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23289 $as_echo "(..)" >&6; }
23291 # The cast to long int works around a bug in the HP C Compiler
23292 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23293 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23294 # This bug is HP SR number 8606223364.
23295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
23296 $as_echo_n "checking size of char... " >&6; }
23297 if test "${ac_cv_sizeof_char+set}" = set; then :
23298 $as_echo_n "(cached) " >&6
23300 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
23303 if test "$ac_cv_type_char" = yes; then
23304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23306 { as_fn_set_status
77
23307 as_fn_error
"cannot compute sizeof (char)
23308 See \`config.log' for more details." "$LINENO" 5; }; }
23310 ac_cv_sizeof_char
=0
23315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
23316 $as_echo "$ac_cv_sizeof_char" >&6; }
23320 cat >>confdefs.h
<<_ACEOF
23321 #define SIZEOF_CHAR $ac_cv_sizeof_char
23325 # The cast to long int works around a bug in the HP C Compiler
23326 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23327 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23328 # This bug is HP SR number 8606223364.
23329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
23330 $as_echo_n "checking size of short... " >&6; }
23331 if test "${ac_cv_sizeof_short+set}" = set; then :
23332 $as_echo_n "(cached) " >&6
23334 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
23337 if test "$ac_cv_type_short" = yes; then
23338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23340 { as_fn_set_status
77
23341 as_fn_error
"cannot compute sizeof (short)
23342 See \`config.log' for more details." "$LINENO" 5; }; }
23344 ac_cv_sizeof_short
=0
23349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
23350 $as_echo "$ac_cv_sizeof_short" >&6; }
23354 cat >>confdefs.h
<<_ACEOF
23355 #define SIZEOF_SHORT $ac_cv_sizeof_short
23359 # The cast to long int works around a bug in the HP C Compiler
23360 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23361 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23362 # This bug is HP SR number 8606223364.
23363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
23364 $as_echo_n "checking size of int... " >&6; }
23365 if test "${ac_cv_sizeof_int+set}" = set; then :
23366 $as_echo_n "(cached) " >&6
23368 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
23371 if test "$ac_cv_type_int" = yes; then
23372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23374 { as_fn_set_status
77
23375 as_fn_error
"cannot compute sizeof (int)
23376 See \`config.log' for more details." "$LINENO" 5; }; }
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
23384 $as_echo "$ac_cv_sizeof_int" >&6; }
23388 cat >>confdefs.h
<<_ACEOF
23389 #define SIZEOF_INT $ac_cv_sizeof_int
23393 # The cast to long int works around a bug in the HP C Compiler
23394 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23395 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23396 # This bug is HP SR number 8606223364.
23397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
23398 $as_echo_n "checking size of long... " >&6; }
23399 if test "${ac_cv_sizeof_long+set}" = set; then :
23400 $as_echo_n "(cached) " >&6
23402 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
23405 if test "$ac_cv_type_long" = yes; then
23406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23408 { as_fn_set_status
77
23409 as_fn_error
"cannot compute sizeof (long)
23410 See \`config.log' for more details." "$LINENO" 5; }; }
23412 ac_cv_sizeof_long
=0
23417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
23418 $as_echo "$ac_cv_sizeof_long" >&6; }
23422 cat >>confdefs.h
<<_ACEOF
23423 #define SIZEOF_LONG $ac_cv_sizeof_long
23427 # The cast to long int works around a bug in the HP C Compiler
23428 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23429 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23430 # This bug is HP SR number 8606223364.
23431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
23432 $as_echo_n "checking size of void*... " >&6; }
23433 if test "${ac_cv_sizeof_voidp+set}" = set; then :
23434 $as_echo_n "(cached) " >&6
23436 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
23439 if test "$ac_cv_type_voidp" = yes; then
23440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23442 { as_fn_set_status
77
23443 as_fn_error
"cannot compute sizeof (void*)
23444 See \`config.log' for more details." "$LINENO" 5; }; }
23446 ac_cv_sizeof_voidp
=0
23451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
23452 $as_echo "$ac_cv_sizeof_voidp" >&6; }
23456 cat >>confdefs.h
<<_ACEOF
23457 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
23461 ac_cv_char_data_model
=""
23462 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
23463 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
23464 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
23465 ac_cv_long_data_model
=""
23466 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
23467 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
23468 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
23469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
23470 $as_echo_n "checking data model... " >&6; }
23471 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
23472 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
23473 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
23474 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
23475 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
23476 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
23477 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
23478 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
23479 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
23480 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
23481 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
23482 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
23483 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
23484 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
23485 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
23486 222/*|
333/*|
444/*|
666/*|
888/*) :
23487 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
23488 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
23491 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
23495 if test "_$ac_cv_header_stdint_x" != "_" ; then
23496 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
23497 elif test "_$ac_cv_header_stdint_o" != "_" ; then
23498 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
23499 elif test "_$ac_cv_header_stdint_u" != "_" ; then
23500 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
23502 ac_cv_header_stdint
="stddef.h"
23505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
23506 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
23508 $as_echo "($ac_cv_header_stdint)" >&6; }
23509 unset ac_cv_type_int_least32_t
23510 unset ac_cv_type_int_fast32_t
23511 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
23513 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
23517 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
23519 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
23523 ac_fn_c_check_type
"$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
23525 if test "x$ac_cv_type_intmax_t" = x
""yes; then :
23530 fi # shortcircut to system "stdint.h"
23531 # ------------------ PREPARE VARIABLES ------------------------------
23532 if test "$GCC" = "yes" ; then
23533 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
23535 ac_cv_stdint_message
="using $CC"
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
23539 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
23541 # ----------------- DONE inttypes.h checks START header -------------
23542 ac_config_commands
="$ac_config_commands $ac_stdint_h"
23547 # Check whether --with-glibj_zip was given.
23548 if test "${with_glibj_zip+set}" = set; then :
23549 withval
=$with_glibj_zip;
23553 case "$with_glibj_zip" in
23555 use_glibj_zip
=false
23558 use_glibj_zip
=false
23561 as_fn_error
"Please suply an absolute path to a prebuilt glibj.zip" "$LINENO" 5
23565 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
23569 if test x
$use_glibj_zip = xtrue
; then
23570 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
23571 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
23573 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
23574 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
23579 if test "x${TOOLSDIR}" != x
; then
23580 if test "x${COMPILE_WRAPPERS}" = xno
&& test "x${enable_java_maintainer_mode}" = xyes
; then
23583 if test "x$JAVAPREFIX" = x
; then
23584 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
23586 # Extract the first word of "$ac_prog", so it can be a program name with args.
23587 set dummy
$ac_prog; ac_word
=$2
23588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23589 $as_echo_n "checking for $ac_word... " >&6; }
23590 if test "${ac_cv_prog_JAVA+set}" = set; then :
23591 $as_echo_n "(cached) " >&6
23593 if test -n "$JAVA"; then
23594 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
23596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23597 for as_dir
in $PATH
23600 test -z "$as_dir" && as_dir
=.
23601 for ac_exec_ext
in '' $ac_executable_extensions; do
23602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23603 ac_cv_prog_JAVA
="$ac_prog"
23604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23613 JAVA
=$ac_cv_prog_JAVA
23614 if test -n "$JAVA"; then
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
23616 $as_echo "$JAVA" >&6; }
23618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23619 $as_echo "no" >&6; }
23623 test -n "$JAVA" && break
23627 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
23629 # Extract the first word of "$ac_prog", so it can be a program name with args.
23630 set dummy
$ac_prog; ac_word
=$2
23631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23632 $as_echo_n "checking for $ac_word... " >&6; }
23633 if test "${ac_cv_prog_JAVA+set}" = set; then :
23634 $as_echo_n "(cached) " >&6
23636 if test -n "$JAVA"; then
23637 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
23639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23640 for as_dir
in $PATH
23643 test -z "$as_dir" && as_dir
=.
23644 for ac_exec_ext
in '' $ac_executable_extensions; do
23645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23646 ac_cv_prog_JAVA
="$ac_prog"
23647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23656 JAVA
=$ac_cv_prog_JAVA
23657 if test -n "$JAVA"; then
23658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
23659 $as_echo "$JAVA" >&6; }
23661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23662 $as_echo "no" >&6; }
23666 test -n "$JAVA" && break
23668 test -n "$JAVA" || JAVA
="$JAVAPREFIX"
23671 test "x$JAVA" = x
&& as_fn_error
"no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
23673 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
23674 set dummy
uudecode$EXEEXT; ac_word
=$2
23675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23676 $as_echo_n "checking for $ac_word... " >&6; }
23677 if test "${ac_cv_prog_uudecode+set}" = set; then :
23678 $as_echo_n "(cached) " >&6
23680 if test -n "$uudecode"; then
23681 ac_cv_prog_uudecode
="$uudecode" # Let the user override the test.
23683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23684 for as_dir
in $PATH
23687 test -z "$as_dir" && as_dir
=.
23688 for ac_exec_ext
in '' $ac_executable_extensions; do
23689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23690 ac_cv_prog_uudecode
="yes"
23691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23700 uudecode=$ac_cv_prog_uudecode
23701 if test -n "$uudecode"; then
23702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
23703 $as_echo "$uudecode" >&6; }
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23706 $as_echo "no" >&6; }
23710 if test x
$uudecode = xyes
; then
23711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
23712 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
23713 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :
23714 $as_echo_n "(cached) " >&6
23717 cat << \EOF
> Test.uue
23718 begin-base64
644 Test.class
23719 yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
23720 bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
23721 bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
23722 YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
23723 aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
23724 AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
23725 AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ
=
23728 if uudecode$EXEEXT Test.uue
; then
23729 ac_cv_prog_uudecode_base64
=yes
23731 echo "configure: 23731: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
23732 echo "configure: failed file was:" >&5
23734 ac_cv_prog_uudecode_base64
=no
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
23739 $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
23741 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
23744 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
23745 if test x
$ac_cv_prog_javac_works = xno
; then
23746 as_fn_error
"Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
23748 if test x
$ac_cv_prog_javac_works = x
; then
23750 ECJ_OPTS
="-warn:-deprecation,serial,unusedImport"
23751 JAVAC_OPTS
="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
23753 if test "x$JAVAPREFIX" = x
; then
23754 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"
23756 # Extract the first word of "$ac_prog", so it can be a program name with args.
23757 set dummy
$ac_prog; ac_word
=$2
23758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23759 $as_echo_n "checking for $ac_word... " >&6; }
23760 if test "${ac_cv_prog_JAVAC+set}" = set; then :
23761 $as_echo_n "(cached) " >&6
23763 if test -n "$JAVAC"; then
23764 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
23766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23767 for as_dir
in $PATH
23770 test -z "$as_dir" && as_dir
=.
23771 for ac_exec_ext
in '' $ac_executable_extensions; do
23772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23773 ac_cv_prog_JAVAC
="$ac_prog"
23774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23783 JAVAC
=$ac_cv_prog_JAVAC
23784 if test -n "$JAVAC"; then
23785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
23786 $as_echo "$JAVAC" >&6; }
23788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23789 $as_echo "no" >&6; }
23793 test -n "$JAVAC" && break
23797 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"
23799 # Extract the first word of "$ac_prog", so it can be a program name with args.
23800 set dummy
$ac_prog; ac_word
=$2
23801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23802 $as_echo_n "checking for $ac_word... " >&6; }
23803 if test "${ac_cv_prog_JAVAC+set}" = set; then :
23804 $as_echo_n "(cached) " >&6
23806 if test -n "$JAVAC"; then
23807 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
23809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23810 for as_dir
in $PATH
23813 test -z "$as_dir" && as_dir
=.
23814 for ac_exec_ext
in '' $ac_executable_extensions; do
23815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23816 ac_cv_prog_JAVAC
="$ac_prog"
23817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23826 JAVAC
=$ac_cv_prog_JAVAC
23827 if test -n "$JAVAC"; then
23828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
23829 $as_echo "$JAVAC" >&6; }
23831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23832 $as_echo "no" >&6; }
23836 test -n "$JAVAC" && break
23838 test -n "$JAVAC" || JAVAC
="$JAVAPREFIX"
23841 test "x$JAVAC" = x
&& as_fn_error
"no acceptable Java compiler found in \$PATH" "$LINENO" 5
23842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC is a version of gcj" >&5
23843 $as_echo_n "checking if $JAVAC is a version of gcj... " >&6; }
23844 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then :
23845 $as_echo_n "(cached) " >&6
23848 if $JAVAC --version |
grep gcj
> /dev
/null
; then
23849 ac_cv_prog_javac_is_gcj
=yes;
23850 JAVAC
="$JAVAC $GCJ_OPTS";
23853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_is_gcj" >&5
23854 $as_echo "$ac_cv_prog_javac_is_gcj" >&6; }
23855 JAVAC_IS_GCJ
=$ac_cv_prog_javac_is_gcj
23857 if test x
"${JAVAC_IS_GCJ}" = xyes
; then
23859 GCJ_JAVAC_FALSE
='#'
23865 if test "$enable_java_maintainer_mode" = yes; then
23867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
23868 $as_echo_n "checking if $JAVAC works... " >&6; }
23869 if test "${ac_cv_prog_javac_works+set}" = set; then :
23870 $as_echo_n "(cached) " >&6
23873 JAVA_TEST
=Object.java
23874 CLASS_TEST
=Object.class
23875 cat << \EOF
> $JAVA_TEST
23876 /* #line 23876 "configure" */
23879 public class Object
23881 static
<T
> void doStuff
()
23886 if test x
$JAVAC_IS_GCJ = xyes
; then
23887 CMD
="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
23889 CMD
="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
23892 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
23893 (eval $ac_try) 2>&5
23895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23896 test $ac_status = 0; }; } >/dev
/null
2>&1; then
23897 ac_cv_prog_javac_works
=yes
23899 as_fn_error
"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
23900 echo "configure: failed program was:" >&5
23903 rm -f $JAVA_TEST $CLASS_TEST
23906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
23907 $as_echo "$ac_cv_prog_javac_works" >&6; }
23913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
23914 $as_echo_n "checking if $JAVA works... " >&6; }
23915 if test "${ac_cv_prog_java_works+set}" = set; then :
23916 $as_echo_n "(cached) " >&6
23919 JAVA_TEST
=Test.java
23920 CLASS_TEST
=Test.class
23922 cat << \EOF
> $JAVA_TEST
23923 /* [#]line 23923 "configure" */
23924 public class Test
{
23925 public static void main
(String args
[]) {
23929 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
23930 if { ac_try
='$JAVAC $JAVACFLAGS $JAVA_TEST'
23931 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
23932 (eval $ac_try) 2>&5
23934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23935 test $ac_status = 0; }; } && test -s $CLASS_TEST; then
23938 echo "configure: failed program was:" >&5
23940 as_fn_error
"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
23943 if { ac_try
='CLASSPATH=.:$CLASSPATH $JAVA $JAVAFLAGS $TEST'
23944 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
23945 (eval $ac_try) 2>&5
23947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23948 test $ac_status = 0; }; } >/dev
/null
2>&1; then
23949 ac_cv_prog_java_works
=yes
23951 echo "configure: failed program was:" >&5
23953 as_fn_error
"The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
23955 rm -fr $JAVA_TEST $CLASS_TEST Test.uue
23958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
23959 $as_echo "$ac_cv_prog_java_works" >&6; }
23964 if test "x${COMPILE_GJDOC}" = xyes
; then
23966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the ANTLR parser generator JAR file" >&5
23967 $as_echo_n "checking for the ANTLR parser generator JAR file... " >&6; }
23968 if test -z "$ANTLR_JAR"; then
23969 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
23970 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
23972 if test -f "$antlr_lib_home/antlr.jar"; then
23973 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
23978 test -f $ANTLR_JAR || as_fn_error
"specified ANTLR jar file $ANTLR_JAR not found." "$LINENO" 5 \
23979 && { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
23980 $as_echo "$ANTLR_JAR" >&6; }
23983 if test "x${REGENERATE_GJDOC_PARSER}" = xyes
&& test "x${enable_java_maintainer_mode}" = xyes
; then
23985 if test -n "$ac_tool_prefix"; then
23986 for ac_prog
in cantlr runantlr antlr
23988 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23989 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23991 $as_echo_n "checking for $ac_word... " >&6; }
23992 if test "${ac_cv_prog_ANTLR+set}" = set; then :
23993 $as_echo_n "(cached) " >&6
23995 if test -n "$ANTLR"; then
23996 ac_cv_prog_ANTLR
="$ANTLR" # Let the user override the test.
23998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23999 for as_dir
in $PATH
24002 test -z "$as_dir" && as_dir
=.
24003 for ac_exec_ext
in '' $ac_executable_extensions; do
24004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24005 ac_cv_prog_ANTLR
="$ac_tool_prefix$ac_prog"
24006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24015 ANTLR
=$ac_cv_prog_ANTLR
24016 if test -n "$ANTLR"; then
24017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR" >&5
24018 $as_echo "$ANTLR" >&6; }
24020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24021 $as_echo "no" >&6; }
24025 test -n "$ANTLR" && break
24028 if test -z "$ANTLR"; then
24030 for ac_prog
in cantlr runantlr antlr
24032 # Extract the first word of "$ac_prog", so it can be a program name with args.
24033 set dummy
$ac_prog; ac_word
=$2
24034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24035 $as_echo_n "checking for $ac_word... " >&6; }
24036 if test "${ac_cv_prog_ac_ct_ANTLR+set}" = set; then :
24037 $as_echo_n "(cached) " >&6
24039 if test -n "$ac_ct_ANTLR"; then
24040 ac_cv_prog_ac_ct_ANTLR
="$ac_ct_ANTLR" # Let the user override the test.
24042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24043 for as_dir
in $PATH
24046 test -z "$as_dir" && as_dir
=.
24047 for ac_exec_ext
in '' $ac_executable_extensions; do
24048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24049 ac_cv_prog_ac_ct_ANTLR
="$ac_prog"
24050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24059 ac_ct_ANTLR
=$ac_cv_prog_ac_ct_ANTLR
24060 if test -n "$ac_ct_ANTLR"; then
24061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ANTLR" >&5
24062 $as_echo "$ac_ct_ANTLR" >&6; }
24064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24065 $as_echo "no" >&6; }
24069 test -n "$ac_ct_ANTLR" && break
24072 if test "x$ac_ct_ANTLR" = x
; then
24075 case $cross_compiling:$ac_tool_warned in
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24079 ac_tool_warned
=yes ;;
24085 if test "x$ANTLR" = x
; then
24086 if test -z "$JAVA"; then
24087 as_fn_error
"Failed to find either an antlr binary or a suitable Java runtime for ANTLR." "$LINENO" 5
24089 ANTLR
="$JAVA -classpath $ANTLR_JAR antlr.Tool"
24093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr 2.7.1 or better" >&5
24094 $as_echo_n "checking for antlr 2.7.1 or better... " >&6; }
24095 antlr_version_str
=`$ANTLR 2>&1 | head -n 1 | sed '/.*Version */!d; s///;q'`
24096 if test "$antlr_version_str"; then
24097 antlr_version_regex
='s/\([[:digit:]]\+\)\.\([[:digit:]]\+\)\.\([[:digit:]]\+\).*$/'
24098 antlr_version_major
=`echo $antlr_version_str | sed "$antlr_version_regex\\1/"`
24099 antlr_version_minor
=`echo $antlr_version_str | sed "$antlr_version_regex\\2/"`
24100 antlr_version_micro
=`echo $antlr_version_str | sed "$antlr_version_regex\\3/"`
24101 (test $antlr_version_major -gt 2 || \
24102 (test $antlr_version_major -eq 2 && \
24103 test $antlr_version_minor -gt 7) || \
24104 (test $antlr_version_major -eq 2 && \
24105 test $antlr_version_minor -eq 7 && \
24106 test $antlr_version_micro -ge 1))
24108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&5
24109 $as_echo "$antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&6; }
24116 # Check for javac if we need to build either the class library,
24117 # the examples or the tools
24118 if test "x${use_glibj_zip}" = xfalse || \
24119 test "x${EXAMPLESDIR}" != x || \
24120 test "x${TOOLSDIR}" != x
&& \
24121 test "x${build_class_files}" != xno
; then
24123 ECJ_OPTS
="-warn:-deprecation,serial,unusedImport"
24124 JAVAC_OPTS
="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
24126 if test "x$JAVAPREFIX" = x
; then
24127 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"
24129 # Extract the first word of "$ac_prog", so it can be a program name with args.
24130 set dummy
$ac_prog; ac_word
=$2
24131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24132 $as_echo_n "checking for $ac_word... " >&6; }
24133 if test "${ac_cv_prog_JAVAC+set}" = set; then :
24134 $as_echo_n "(cached) " >&6
24136 if test -n "$JAVAC"; then
24137 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
24139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24140 for as_dir
in $PATH
24143 test -z "$as_dir" && as_dir
=.
24144 for ac_exec_ext
in '' $ac_executable_extensions; do
24145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24146 ac_cv_prog_JAVAC
="$ac_prog"
24147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24156 JAVAC
=$ac_cv_prog_JAVAC
24157 if test -n "$JAVAC"; then
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
24159 $as_echo "$JAVAC" >&6; }
24161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24162 $as_echo "no" >&6; }
24166 test -n "$JAVAC" && break
24170 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"
24172 # Extract the first word of "$ac_prog", so it can be a program name with args.
24173 set dummy
$ac_prog; ac_word
=$2
24174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24175 $as_echo_n "checking for $ac_word... " >&6; }
24176 if test "${ac_cv_prog_JAVAC+set}" = set; then :
24177 $as_echo_n "(cached) " >&6
24179 if test -n "$JAVAC"; then
24180 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
24182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24183 for as_dir
in $PATH
24186 test -z "$as_dir" && as_dir
=.
24187 for ac_exec_ext
in '' $ac_executable_extensions; do
24188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24189 ac_cv_prog_JAVAC
="$ac_prog"
24190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24199 JAVAC
=$ac_cv_prog_JAVAC
24200 if test -n "$JAVAC"; then
24201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
24202 $as_echo "$JAVAC" >&6; }
24204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24205 $as_echo "no" >&6; }
24209 test -n "$JAVAC" && break
24211 test -n "$JAVAC" || JAVAC
="$JAVAPREFIX"
24214 test "x$JAVAC" = x
&& as_fn_error
"no acceptable Java compiler found in \$PATH" "$LINENO" 5
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC is a version of gcj" >&5
24216 $as_echo_n "checking if $JAVAC is a version of gcj... " >&6; }
24217 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then :
24218 $as_echo_n "(cached) " >&6
24221 if $JAVAC --version |
grep gcj
> /dev
/null
; then
24222 ac_cv_prog_javac_is_gcj
=yes;
24223 JAVAC
="$JAVAC $GCJ_OPTS";
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_is_gcj" >&5
24227 $as_echo "$ac_cv_prog_javac_is_gcj" >&6; }
24228 JAVAC_IS_GCJ
=$ac_cv_prog_javac_is_gcj
24230 if test x
"${JAVAC_IS_GCJ}" = xyes
; then
24232 GCJ_JAVAC_FALSE
='#'
24238 if test "$enable_java_maintainer_mode" = yes; then
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
24241 $as_echo_n "checking if $JAVAC works... " >&6; }
24242 if test "${ac_cv_prog_javac_works+set}" = set; then :
24243 $as_echo_n "(cached) " >&6
24246 JAVA_TEST
=Object.java
24247 CLASS_TEST
=Object.class
24248 cat << \EOF
> $JAVA_TEST
24249 /* #line 24249 "configure" */
24252 public class Object
24254 static
<T
> void doStuff
()
24259 if test x
$JAVAC_IS_GCJ = xyes
; then
24260 CMD
="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
24262 CMD
="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
24265 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
24266 (eval $ac_try) 2>&5
24268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24269 test $ac_status = 0; }; } >/dev
/null
2>&1; then
24270 ac_cv_prog_javac_works
=yes
24272 as_fn_error
"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
24273 echo "configure: failed program was:" >&5
24276 rm -f $JAVA_TEST $CLASS_TEST
24279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
24280 $as_echo "$ac_cv_prog_javac_works" >&6; }
24285 JAVA_TEST
=Test.java
24286 CLASS_TEST
=Test.class
24287 cat << \EOF
> $JAVA_TEST
24288 /* #line 24288 "configure" */
24291 public static void main
(String args
)
24293 System.out.println
("Hello World");
24297 if test x
$JAVAC_IS_GCJ != xyes
; then
24298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether javac supports -J" >&5
24299 $as_echo_n "checking whether javac supports -J... " >&6; }
24300 $JAVAC $JAVACFLAGS -J-Xmx768M -sourcepath '' $JAVA_TEST
24302 if test "x$javac_result" = "x0"; then
24303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24304 $as_echo "yes" >&6; }
24305 JAVAC_MEM_OPT
="-J-Xmx768M"
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24308 $as_echo "no" >&6; }
24311 rm -f $JAVA_TEST $CLASS_TEST
24317 # Check whether --with-escher was given.
24318 if test "${with_escher+set}" = set; then :
24319 withval
=$with_escher;
24322 case "$with_escher" in
24330 as_fn_error
"Please supply an absolute path to Escher library" "$LINENO" 5
24334 PATH_TO_ESCHER
=$with_escher
24338 if test x
$use_escher = xtrue
; then
24340 USE_ESCHER_FALSE
='#'
24342 USE_ESCHER_TRUE
='#'
24348 # Check whether --enable-local-sockets was given.
24349 if test "${enable_local_sockets+set}" = set; then :
24350 enableval
=$enable_local_sockets; case "${enableval}" in
24352 ENABLE_LOCAL_SOCKETS
=yes
24355 ENABLE_LOCAL_SOCKETS
=no
24360 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
24362 ac_fn_c_check_header_mongrel
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
24363 if test "x$ac_cv_header_sys_un_h" = x
""yes; then :
24368 for ac_func
in read write bind listen accept shutdown
24370 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24371 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
24372 eval as_val
=\$
$as_ac_var
24373 if test "x$as_val" = x
""yes; then :
24374 cat >>confdefs.h
<<_ACEOF
24375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24379 as_fn_error
"networking support not available" "$LINENO" 5
24384 $as_echo "#define ENABLE_LOCAL_SOCKETS 1" >>confdefs.h
24387 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
24388 ENABLE_LOCAL_SOCKETS_TRUE
=
24389 ENABLE_LOCAL_SOCKETS_FALSE
='#'
24391 ENABLE_LOCAL_SOCKETS_TRUE
='#'
24392 ENABLE_LOCAL_SOCKETS_FALSE
=
24398 WANT_NATIVE_BIG_INTEGER
=false
24399 if test "x${COMPILE_GMP}" = xyes
; then
24400 if test "x${ac_cv_lib_gmp___gmpz_mul_si}" = xyes
; then
24401 if test "x${ac_cv_header_gmp_h}" = xyes
; then
24402 WANT_NATIVE_BIG_INTEGER
=true
24404 $as_echo "#define WITH_GNU_MP 1" >>confdefs.h
24414 if test "x${COMPILE_GMP}" = xyes
; then
24415 CREATE_GMPBI_LIBRARY_TRUE
=
24416 CREATE_GMPBI_LIBRARY_FALSE
='#'
24418 CREATE_GMPBI_LIBRARY_TRUE
='#'
24419 CREATE_GMPBI_LIBRARY_FALSE
=
24423 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"
24426 if test "x${COMPILE_WRAPPERS}" = xyes
; then
24429 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"
24432 ac_config_commands
="$ac_config_commands gappletviewer"
24434 ac_config_commands
="$ac_config_commands gjarsigner"
24436 ac_config_commands
="$ac_config_commands gkeytool"
24438 ac_config_commands
="$ac_config_commands gjar"
24440 ac_config_commands
="$ac_config_commands gnative2ascii"
24442 ac_config_commands
="$ac_config_commands gserialver"
24444 ac_config_commands
="$ac_config_commands grmiregistry"
24446 ac_config_commands
="$ac_config_commands gtnameserv"
24448 ac_config_commands
="$ac_config_commands gorbd"
24450 ac_config_commands
="$ac_config_commands grmid"
24452 ac_config_commands
="$ac_config_commands grmic"
24454 ac_config_commands
="$ac_config_commands gjavah"
24459 if test "x${COMPILE_GJDOC}" = xyes
24461 ac_config_files
="$ac_config_files tools/gjdoc"
24463 ac_config_commands
="$ac_config_commands gjdoc"
24467 ac_config_commands
="$ac_config_commands gen-classlist"
24469 ac_config_commands
="$ac_config_commands copy-vmresources"
24471 cat >confcache
<<\_ACEOF
24472 # This file is a shell script that caches the results of configure
24473 # tests run on this system so they can be shared between configure
24474 # scripts and configure runs, see configure's option --config-cache.
24475 # It is not useful on other systems. If it contains results you don't
24476 # want to keep, you may remove or edit it.
24478 # config.status only pays attention to the cache file if you give it
24479 # the --recheck option to rerun configure.
24481 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24482 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24483 # following values.
24487 # The following way of writing the cache mishandles newlines in values,
24488 # but we know of no workaround that is simple, portable, and efficient.
24489 # So, we kill variables containing newlines.
24490 # Ultrix sh set writes to stderr and can't be redirected directly,
24491 # and sets the high bit in the cache file unless we assign to the vars.
24493 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24494 eval ac_val
=\$
$ac_var
24498 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24499 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24502 _ | IFS | as_nl
) ;; #(
24503 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24504 *) { eval $ac_var=; unset $ac_var;} ;;
24510 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24511 *${as_nl}ac_space
=\
*)
24512 # `set' does not quote correctly, so add quotes: double-quote
24513 # substitution turns \\\\ into \\, and sed turns \\ into \.
24516 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24519 # `set' quotes correctly as required by POSIX, so do not add quotes.
24520 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24529 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24531 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24533 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24534 if test -w "$cache_file"; then
24535 test "x$cache_file" != "x/dev/null" &&
24536 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24537 $as_echo "$as_me: updating cache $cache_file" >&6;}
24538 cat confcache
>$cache_file
24540 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24541 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24546 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24547 # Let make expand exec_prefix.
24548 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24550 DEFS
=-DHAVE_CONFIG_H
24554 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24555 # 1. Remove the extension, and $U if already installed.
24556 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24557 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24558 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24559 # will be set to the directory where LIBOBJS objects are built.
24560 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24561 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
24563 LIBOBJS
=$ac_libobjs
24565 LTLIBOBJS
=$ac_ltlibobjs
24568 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
24569 as_fn_error
"conditional \"JAVA_MAINTAINER_MODE\" was never defined.
24570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24572 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
24573 as_fn_error
"conditional \"GENINSRC\" was never defined.
24574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24576 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
24577 as_fn_error
"conditional \"INSTALL_BINARIES\" was never defined.
24578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24580 if test -n "$EXEEXT"; then
24582 am__EXEEXT_FALSE
='#'
24584 am__EXEEXT_TRUE
='#'
24588 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
24589 as_fn_error
"conditional \"CREATE_COLLECTIONS\" was never defined.
24590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24592 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
24593 as_fn_error
"conditional \"CREATE_JNI_LIBRARIES\" was never defined.
24594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24596 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
24597 as_fn_error
"conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
24598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24600 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
24601 as_fn_error
"conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
24602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24604 if test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_FALSE}"; then
24605 as_fn_error
"conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
24606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24608 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
24609 as_fn_error
"conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
24610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24612 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24613 as_fn_error
"conditional \"AMDEP\" was never defined.
24614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24616 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24617 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
24618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24620 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
24621 as_fn_error
"conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
24622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24624 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
24625 as_fn_error
"conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
24626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24628 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
24629 as_fn_error
"conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
24630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24632 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
24633 as_fn_error
"conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
24634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24636 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
24637 as_fn_error
"conditional \"CREATE_PLUGIN\" was never defined.
24638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24640 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
24641 as_fn_error
"conditional \"CREATE_GJDOC\" was never defined.
24642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24644 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
24645 as_fn_error
"conditional \"CREATE_JNI_HEADERS\" was never defined.
24646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24648 if test -z "${CREATE_GJDOC_PARSER_TRUE}" && test -z "${CREATE_GJDOC_PARSER_FALSE}"; then
24649 as_fn_error
"conditional \"CREATE_GJDOC_PARSER\" was never defined.
24650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24652 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
24653 as_fn_error
"conditional \"CREATE_WRAPPERS\" was never defined.
24654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24656 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24657 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
24658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24660 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24661 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
24662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24664 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24665 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
24666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24668 if test -z "${WITH_JAR_TRUE}" && test -z "${WITH_JAR_FALSE}"; then
24669 as_fn_error
"conditional \"WITH_JAR\" was never defined.
24670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24672 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
24673 as_fn_error
"conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
24674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24676 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
24677 as_fn_error
"conditional \"INSTALL_CLASS_FILES\" was never defined.
24678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24680 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
24681 as_fn_error
"conditional \"BUILD_CLASS_FILES\" was never defined.
24682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24684 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
24685 as_fn_error
"conditional \"CREATE_API_DOCS\" was never defined.
24686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24688 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
24689 as_fn_error
"conditional \"REGEN_PARSERS\" was never defined.
24690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24692 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
24693 as_fn_error
"conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
24694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24696 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
24697 as_fn_error
"conditional \"GCJ_JAVAC\" was never defined.
24698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24700 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
24701 as_fn_error
"conditional \"GCJ_JAVAC\" was never defined.
24702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24704 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
24705 as_fn_error
"conditional \"USE_ESCHER\" was never defined.
24706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24708 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
24709 as_fn_error
"conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
24710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24712 if test -z "${CREATE_GMPBI_LIBRARY_TRUE}" && test -z "${CREATE_GMPBI_LIBRARY_FALSE}"; then
24713 as_fn_error
"conditional \"CREATE_GMPBI_LIBRARY\" was never defined.
24714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24717 : ${CONFIG_STATUS=./config.status}
24719 ac_clean_files_save
=$ac_clean_files
24720 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24721 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24722 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24724 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24726 # Generated by $as_me.
24727 # Run this file to recreate the current configuration.
24728 # Compiler output produced by configure, useful for debugging
24729 # configure, is in config.log if it exists.
24732 ac_cs_recheck=false
24735 SHELL=\${CONFIG_SHELL-$SHELL}
24738 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
24739 ## -------------------- ##
24740 ## M4sh Initialization. ##
24741 ## -------------------- ##
24743 # Be more Bourne compatible
24744 DUALCASE
=1; export DUALCASE
# for MKS sh
24745 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24748 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24749 # is contrary to our usage. Disable this feature.
24750 alias -g '${1+"$@"}'='"$@"'
24751 setopt NO_GLOB_SUBST
24753 case `(set -o) 2>/dev/null` in #(
24765 # Printing a long string crashes Solaris 7 /usr/bin/printf.
24766 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24767 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24768 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24769 # Prefer a ksh shell builtin over an external printf program on Solaris,
24770 # but without wasting forks for bash or zsh.
24771 if test -z "$BASH_VERSION$ZSH_VERSION" \
24772 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
24773 as_echo='print
-r --'
24774 as_echo_n='print
-rn --'
24775 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24776 as_echo='printf %s
\n'
24777 as_echo_n='printf %s
'
24779 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24780 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
24781 as_echo_n='/usr
/ucb
/echo -n'
24783 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24784 as_echo_n_body='eval
24788 expr "X$arg" : "X\\(.*\\)$as_nl";
24789 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24791 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
24793 export as_echo_n_body
24794 as_echo_n='sh
-c $as_echo_n_body as_echo
'
24796 export as_echo_body
24797 as_echo='sh
-c $as_echo_body as_echo
'
24800 # The user is always right.
24801 if test "${PATH_SEPARATOR+set}" != set; then
24803 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24804 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24811 # We need space, tab and new line, in precisely that order. Quoting is
24812 # there to prevent editors from complaining about space-tab.
24813 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24814 # splitting by setting IFS to empty value.)
24817 # Find who we are. Look in the path if we contain no directory separator.
24819 *[\\/]* ) as_myself=$0 ;;
24820 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24821 for as_dir in $PATH
24824 test -z "$as_dir" && as_dir=.
24825 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24831 # We did not find ourselves, most probably we were run as `sh COMMAND'
24832 # in which case we are not to be found in the path.
24833 if test "x$as_myself" = x
; then
24836 if test ! -f "$as_myself"; then
24837 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24841 # Unset variables that we do not need and which cause bugs (e.g. in
24842 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
24843 # suppresses any "Segmentation fault" message there. '((' could
24844 # trigger a bug in pdksh 5.2.14.
24845 for as_var
in BASH_ENV ENV MAIL MAILPATH
24846 do eval test x\
${$as_var+set} = xset \
24847 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
24860 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
24863 # as_fn_error ERROR [LINENO LOG_FD]
24864 # ---------------------------------
24865 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24866 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24867 # script with status $?, using 1 if that was 0.
24870 as_status
=$?
; test $as_status -eq 0 && as_status
=1
24872 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
24873 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
24875 $as_echo "$as_me: error: $1" >&2
24876 as_fn_exit
$as_status
24880 # as_fn_set_status STATUS
24881 # -----------------------
24882 # Set $? to STATUS, without forking.
24883 as_fn_set_status
()
24886 } # as_fn_set_status
24888 # as_fn_exit STATUS
24889 # -----------------
24890 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24894 as_fn_set_status
$1
24900 # Portably unset VAR.
24903 { eval $1=; unset $1;}
24905 as_unset
=as_fn_unset
24906 # as_fn_append VAR VALUE
24907 # ----------------------
24908 # Append the text in VALUE to the end of the definition contained in VAR. Take
24909 # advantage of any shell optimizations that allow amortized linear growth over
24910 # repeated appends, instead of the typical quadratic growth present in naive
24912 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
24913 eval 'as_fn_append ()
24924 # as_fn_arith ARG...
24925 # ------------------
24926 # Perform arithmetic evaluation on the ARGs, and store the result in the
24927 # global $as_val. Take advantage of shells that can avoid forks. The arguments
24928 # must be portable across $(()) and expr.
24929 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
24930 eval 'as_fn_arith ()
24937 as_val
=`expr "$@" || test $? -eq 1`
24942 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24943 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24949 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24950 as_basename
=basename
24955 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24961 as_me
=`$as_basename -- "$0" ||
24962 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24963 X"$0" : 'X\(//\)$' \| \
24964 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24966 sed '/^.*\/\([^/][^/]*\)\/*$/{
24980 # Avoid depending upon Character Ranges.
24981 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24982 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24983 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24984 as_cr_digits
='0123456789'
24985 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24987 ECHO_C
= ECHO_N
= ECHO_T
=
24988 case `echo -n x` in #(((((
24990 case `echo 'xy\c'` in
24991 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24993 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
25000 rm -f conf$$ conf$$.exe conf$$.
file
25001 if test -d conf$$.dir
; then
25002 rm -f conf$$.dir
/conf$$.
file
25005 mkdir conf$$.dir
2>/dev
/null
25007 if (echo >conf$$.
file) 2>/dev
/null
; then
25008 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25010 # ... but there are two gotchas:
25011 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25012 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25013 # In both cases, we have to default to `cp -p'.
25014 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25016 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25024 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25025 rmdir conf$$.dir
2>/dev
/null
25030 # Create "$as_dir" as a directory, including parents if necessary.
25035 -*) as_dir
=.
/$as_dir;;
25037 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
25041 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25042 *) as_qdir
=$as_dir;;
25044 as_dirs
="'$as_qdir' $as_dirs"
25045 as_dir
=`$as_dirname -- "$as_dir" ||
25046 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25047 X"$as_dir" : 'X\(//\)[^/]' \| \
25048 X"$as_dir" : 'X\(//\)$' \| \
25049 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25050 $as_echo X"$as_dir" |
25051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25055 /^X\(\/\/\)[^/].*/{
25068 test -d "$as_dir" && break
25070 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25071 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
25075 if mkdir
-p .
2>/dev
/null
; then
25076 as_mkdir_p
='mkdir -p "$as_dir"'
25078 test -d .
/-p && rmdir .
/-p
25082 if test -x / >/dev
/null
2>&1; then
25083 as_test_x
='test -x'
25085 if ls -dL / >/dev
/null
2>&1; then
25092 if test -d "$1"; then
25098 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25099 ???[sx]*):;;*)false;;esac;fi
25103 as_executable_p
=$as_test_x
25105 # Sed expression to map a string onto a valid CPP name.
25106 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25108 # Sed expression to map a string onto a valid variable name.
25109 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25113 ## ----------------------------------- ##
25114 ## Main body of $CONFIG_STATUS script. ##
25115 ## ----------------------------------- ##
25117 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25120 # Save the log message, to keep $0 and so on meaningful, and to
25121 # report actual input values of CONFIG_FILES etc. instead of their
25122 # values after options handling.
25124 This file was extended by GNU Classpath $as_me 0.98, which was
25125 generated by GNU Autoconf 2.64. Invocation command line was
25127 CONFIG_FILES = $CONFIG_FILES
25128 CONFIG_HEADERS = $CONFIG_HEADERS
25129 CONFIG_LINKS = $CONFIG_LINKS
25130 CONFIG_COMMANDS = $CONFIG_COMMANDS
25133 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25138 case $ac_config_files in *"
25139 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25142 case $ac_config_headers in *"
25143 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25148 # Files that config.status was made for.
25149 config_files="$ac_config_files"
25150 config_headers="$ac_config_headers"
25151 config_links="$ac_config_links"
25152 config_commands="$ac_config_commands"
25156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25158 \`$as_me' instantiates files and other configuration actions
25159 from templates according to the current configuration. Unless the files
25160 and actions are specified as TAGs, all are instantiated by default.
25162 Usage: $0 [OPTION]... [TAG]...
25164 -h, --help print this help, then exit
25165 -V, --version print version number and configuration settings, then exit
25166 -q, --quiet, --silent
25167 do not print progress messages
25168 -d, --debug don't remove temporary files
25169 --recheck update $as_me by reconfiguring in the same conditions
25170 --file=FILE[:TEMPLATE]
25171 instantiate the configuration file FILE
25172 --header=FILE[:TEMPLATE]
25173 instantiate the configuration header FILE
25175 Configuration files:
25178 Configuration headers:
25181 Configuration links:
25184 Configuration commands:
25187 Report bugs to <classpath@gnu.org>.
25188 GNU Classpath home page: <http://www.gnu.org/software/classpath/>.
25189 General help using GNU software: <http://www.gnu.org/gethelp/>."
25192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25194 GNU Classpath config.status 0.98
25195 configured by $0, generated by GNU Autoconf 2.64,
25196 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25198 Copyright (C) 2009 Free Software Foundation, Inc.
25199 This config.status script is free software; the Free Software Foundation
25200 gives unlimited permission to copy, distribute and modify it."
25207 test -n "\$AWK" || AWK=awk
25210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25211 # The default lists apply if the user does not specify any file.
25217 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25218 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25229 # Handling of the options.
25230 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25232 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25233 $as_echo "$ac_cs_version"; exit ;;
25234 --debug |
--debu |
--deb |
--de |
--d |
-d )
25236 --file |
--fil |
--fi |
--f )
25239 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25241 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25242 ac_need_defaults
=false
;;
25243 --header |
--heade |
--head |
--hea )
25246 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25248 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25249 ac_need_defaults
=false
;;
25251 # Conflict between --help and --header
25252 as_fn_error
"ambiguous option: \`$1'
25253 Try \`$0 --help' for more information.";;
25254 --help |
--hel |
-h )
25255 $as_echo "$ac_cs_usage"; exit ;;
25256 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25257 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25260 # This is an error.
25261 -*) as_fn_error
"unrecognized option: \`$1'
25262 Try \`$0 --help' for more information." ;;
25264 *) as_fn_append ac_config_targets
" $1"
25265 ac_need_defaults
=false
;;
25271 ac_configure_extra_args
=
25273 if $ac_cs_silent; then
25275 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25280 if \$ac_cs_recheck; then
25281 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25283 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25284 CONFIG_SHELL='$SHELL'
25285 export CONFIG_SHELL
25290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25294 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25295 ## Running $as_me. ##
25301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25309 with_multisubdir="$with_multisubdir"
25310 with_multisrctop="$with_multisrctop"
25311 with_target_subdir="$with_target_subdir"
25312 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25313 multi_basedir="$multi_basedir"
25314 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25317 GFORTRAN="$GFORTRAN"
25319 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25322 # The HP-UX ksh and POSIX shell print the target directory to stdout
25323 # if CDPATH is set.
25324 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25326 sed_quote_subst='$sed_quote_subst'
25327 double_quote_subst='$double_quote_subst'
25328 delay_variable_subst='$delay_variable_subst'
25329 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25330 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25331 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25332 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25333 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25334 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25335 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25336 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25337 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25338 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25339 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25340 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25341 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25342 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25343 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25344 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25345 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25346 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25347 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25348 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25349 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25350 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25351 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25352 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25353 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25354 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25355 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25356 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25357 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25358 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25359 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25360 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25361 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25362 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25363 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25364 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25365 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25366 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25367 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25368 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25369 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25370 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25371 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25372 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25373 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25374 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25375 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25376 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25377 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"`'
25378 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25379 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25380 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25381 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25382 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25383 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25384 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25385 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25386 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25387 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25388 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25389 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25390 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25391 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25392 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25393 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25394 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25395 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25396 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25397 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25398 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25399 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25400 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25401 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25402 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25403 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25404 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25405 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25406 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25407 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25408 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25409 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25410 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25411 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25412 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25413 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25414 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25415 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25416 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25417 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25418 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25419 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25420 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25421 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25422 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25423 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25424 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25425 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25426 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25427 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25428 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25429 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25430 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25431 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25432 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25433 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25434 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25435 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25436 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25437 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25438 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25439 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25440 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25441 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25442 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25443 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25444 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25445 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25446 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25447 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25448 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25449 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25450 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25451 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25452 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25453 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25454 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25455 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25456 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25457 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25458 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25459 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25460 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25461 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25462 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25463 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25464 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25465 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25466 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25467 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25468 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25469 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25470 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25471 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25472 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25473 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25474 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25475 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25476 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25477 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25478 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25479 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25480 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25481 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
25482 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25483 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25484 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25485 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25486 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25487 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25488 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25489 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
25490 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
25491 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
25492 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25493 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25494 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25495 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25496 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
25497 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
25498 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
25499 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25500 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25501 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
25502 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
25503 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
25506 LTCFLAGS='$LTCFLAGS'
25507 compiler='$compiler_DEFAULT'
25509 # A function that is used when there is no print builtin or printf.
25510 func_fallback_echo ()
25512 eval 'cat <<_LTECHO_EOF
25517 # Quote evaled strings.
25531 deplibs_check_method \
25540 lt_cv_sys_global_symbol_pipe \
25541 lt_cv_sys_global_symbol_to_cdecl \
25542 lt_cv_sys_global_symbol_to_c_name_address \
25543 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25544 lt_prog_compiler_no_builtin_flag \
25545 lt_prog_compiler_wl \
25546 lt_prog_compiler_pic \
25547 lt_prog_compiler_static \
25548 lt_cv_prog_compiler_c_o \
25556 export_dynamic_flag_spec \
25557 whole_archive_flag_spec \
25558 compiler_needs_object \
25560 allow_undefined_flag \
25561 no_undefined_flag \
25562 hardcode_libdir_flag_spec \
25563 hardcode_libdir_flag_spec_ld \
25564 hardcode_libdir_separator \
25569 variables_saved_for_relink \
25571 library_names_spec \
25573 install_override_mode \
25577 compiler_lib_search_dirs \
25582 compiler_lib_search_path \
25586 lt_prog_compiler_no_builtin_flag_CXX \
25587 lt_prog_compiler_wl_CXX \
25588 lt_prog_compiler_pic_CXX \
25589 lt_prog_compiler_static_CXX \
25590 lt_cv_prog_compiler_c_o_CXX \
25591 export_dynamic_flag_spec_CXX \
25592 whole_archive_flag_spec_CXX \
25593 compiler_needs_object_CXX \
25595 allow_undefined_flag_CXX \
25596 no_undefined_flag_CXX \
25597 hardcode_libdir_flag_spec_CXX \
25598 hardcode_libdir_flag_spec_ld_CXX \
25599 hardcode_libdir_separator_CXX \
25600 fix_srcfile_path_CXX \
25601 exclude_expsyms_CXX \
25602 include_expsyms_CXX \
25603 file_list_spec_CXX \
25604 compiler_lib_search_dirs_CXX \
25605 predep_objects_CXX \
25606 postdep_objects_CXX \
25609 compiler_lib_search_path_CXX; do
25610 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25611 *[\\\\\\\`\\"\\\$]*)
25612 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
25615 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25620 # Double-quote double-evaled strings.
25621 for var in reload_cmds \
25622 old_postinstall_cmds \
25623 old_postuninstall_cmds \
25625 extract_expsyms_cmds \
25626 old_archive_from_new_cmds \
25627 old_archive_from_expsyms_cmds \
25629 archive_expsym_cmds \
25631 module_expsym_cmds \
25632 export_symbols_cmds \
25635 postuninstall_cmds \
25637 sys_lib_search_path_spec \
25638 sys_lib_dlsearch_path_spec \
25640 old_archive_cmds_CXX \
25641 old_archive_from_new_cmds_CXX \
25642 old_archive_from_expsyms_cmds_CXX \
25644 archive_expsym_cmds_CXX \
25646 module_expsym_cmds_CXX \
25647 export_symbols_cmds_CXX \
25648 prelink_cmds_CXX; do
25649 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25650 *[\\\\\\\`\\"\\\$]*)
25651 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
25654 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25659 ac_aux_dir='$ac_aux_dir'
25660 xsi_shell='$xsi_shell'
25661 lt_shell_append='$lt_shell_append'
25663 # See if we are running on zsh, and set the options which allow our
25664 # commands through without removal of \ escapes INIT.
25665 if test -n "\${ZSH_VERSION+set}" ; then
25666 setopt NO_GLOB_SUBST
25672 TIMESTAMP='$TIMESTAMP'
25680 # variables for create stdint.h replacement
25683 ac_stdint_h="$ac_stdint_h"
25684 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
25685 ac_cv_stdint_message="$ac_cv_stdint_message"
25686 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
25687 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
25688 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
25689 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
25690 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
25691 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
25692 ac_cv_char_data_model="$ac_cv_char_data_model"
25693 ac_cv_long_data_model="$ac_cv_long_data_model"
25694 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
25695 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
25696 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
25701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25703 # Handling of arguments.
25704 for ac_config_target
in $ac_config_targets
25706 case $ac_config_target in
25707 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
25708 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
25709 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25710 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
25711 "lib/mkcollections.pl") CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
25712 "mkcollections.pl") CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
25713 "$ac_config_links_1") CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
25714 "$ac_stdint_h") CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
25715 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25716 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
25717 "doc/api/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
25718 "external/Makefile") CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
25719 "external/sax/Makefile") CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
25720 "external/w3c_dom/Makefile") CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
25721 "external/relaxngDatatype/Makefile") CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
25722 "external/jsr166/Makefile") CONFIG_FILES
="$CONFIG_FILES external/jsr166/Makefile" ;;
25723 "gnu/classpath/Configuration.java") CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
25724 "gnu/java/security/Configuration.java") CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
25725 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
25726 "native/Makefile") CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
25727 "native/fdlibm/Makefile") CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
25728 "native/jawt/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
25729 "native/jni/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
25730 "native/jni/classpath/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
25731 "native/jni/java-io/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
25732 "native/jni/java-lang/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
25733 "native/jni/java-math/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-math/Makefile" ;;
25734 "native/jni/java-net/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
25735 "native/jni/java-nio/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
25736 "native/jni/java-util/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
25737 "native/jni/gtk-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
25738 "native/jni/gconf-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
25739 "native/jni/gstreamer-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gstreamer-peer/Makefile" ;;
25740 "native/jni/qt-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
25741 "native/jni/xmlj/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
25742 "native/jni/midi-alsa/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
25743 "native/jni/midi-dssi/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
25744 "native/jni/native-lib/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
25745 "native/plugin/Makefile") CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
25746 "resource/Makefile") CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
25747 "resource/META-INF/services/java.util.prefs.PreferencesFactory") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
25748 "resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ;;
25749 "resource/META-INF/services/javax.sound.sampled.spi.MixerProvider") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ;;
25750 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
25751 "scripts/classpath.spec") CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
25752 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
25753 "lib/gen-classlist.sh") CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
25754 "lib/copy-vmresources.sh") CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
25755 "scripts/check_jni_methods.sh") CONFIG_FILES
="$CONFIG_FILES scripts/check_jni_methods.sh" ;;
25756 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
25757 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
25758 "examples/Makefile.jawt") CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
25759 "examples/Makefile.java2d") CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
25760 "tools/gappletviewer") CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
25761 "tools/gjarsigner") CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
25762 "tools/gkeytool") CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
25763 "tools/gjar") CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
25764 "tools/gnative2ascii") CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
25765 "tools/gserialver") CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
25766 "tools/grmiregistry") CONFIG_FILES
="$CONFIG_FILES tools/grmiregistry" ;;
25767 "tools/gtnameserv") CONFIG_FILES
="$CONFIG_FILES tools/gtnameserv" ;;
25768 "tools/gorbd") CONFIG_FILES
="$CONFIG_FILES tools/gorbd" ;;
25769 "tools/grmid") CONFIG_FILES
="$CONFIG_FILES tools/grmid" ;;
25770 "tools/grmic") CONFIG_FILES
="$CONFIG_FILES tools/grmic" ;;
25771 "tools/gjavah") CONFIG_FILES
="$CONFIG_FILES tools/gjavah" ;;
25772 "gappletviewer") CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
25773 "gjarsigner") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
25774 "gkeytool") CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
25775 "gjar") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
25776 "gnative2ascii") CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
25777 "gserialver") CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
25778 "grmiregistry") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmiregistry" ;;
25779 "gtnameserv") CONFIG_COMMANDS
="$CONFIG_COMMANDS gtnameserv" ;;
25780 "gorbd") CONFIG_COMMANDS
="$CONFIG_COMMANDS gorbd" ;;
25781 "grmid") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmid" ;;
25782 "grmic") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmic" ;;
25783 "gjavah") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjavah" ;;
25784 "tools/gjdoc") CONFIG_FILES
="$CONFIG_FILES tools/gjdoc" ;;
25785 "gjdoc") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjdoc" ;;
25786 "gen-classlist") CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
25787 "copy-vmresources") CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
25789 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25794 # If the user did not use the arguments to specify the items to instantiate,
25795 # then the envvar interface is used. Set only those that are not.
25796 # We use the long form for the default assignment because of an extremely
25797 # bizarre bug on SunOS 4.1.3.
25798 if $ac_need_defaults; then
25799 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25800 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25801 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
25802 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25805 # Have a temporary directory for convenience. Make it in the build tree
25806 # simply because there is no reason against having it here, and in addition,
25807 # creating and moving files from /tmp can sometimes cause problems.
25808 # Hook for its removal unless debugging.
25809 # Note that there is a small window in which the directory will not be cleaned:
25810 # after its creation but before its name has been assigned to `$tmp'.
25814 trap 'exit_status=$?
25815 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25817 trap 'as_fn_exit 1' 1 2 13 15
25819 # Create a (secure) tmp directory for tmp files.
25822 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25823 test -n "$tmp" && test -d "$tmp"
25826 tmp
=.
/conf$$
-$RANDOM
25827 (umask 077 && mkdir
"$tmp")
25828 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
25830 # Set up the scripts for CONFIG_FILES section.
25831 # No need to generate them if there are no CONFIG_FILES.
25832 # This happens for instance with `./config.status config.h'.
25833 if test -n "$CONFIG_FILES"; then
25836 ac_cr
=`echo X | tr X '\015'`
25837 # On cygwin, bash can eat \r inside `` if the user requested igncr.
25838 # But we know of no other shell where ac_cr would be empty at this
25839 # point, so we can use a bashism as a fallback.
25840 if test "x$ac_cr" = x
; then
25841 eval ac_cr
=\$
\'\\r
\'
25843 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25844 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25847 ac_cs_awk_cr
=$ac_cr
25850 echo 'BEGIN {' >"$tmp/subs1.awk" &&
25855 echo "cat >conf$$subs.awk <<_ACEOF" &&
25856 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25858 } >conf$$subs.sh ||
25859 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25860 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
25862 for ac_last_try in false false false false false :; do
25863 . ./conf$$subs.sh ||
25864 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25866 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
25867 if test $ac_delim_n = $ac_delim_num; then
25869 elif $ac_last_try; then
25870 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25872 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25875 rm -f conf$$subs.sh
25877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25878 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
25882 s/^/S["/; s
/!.
*/"]=/
25892 s/\(.\{148\}\).*/\1/
25894 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
25899 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25906 s/\(.\{148\}\).*/\1/
25908 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
25912 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25917 ' <conf$$subs.awk | sed '
25922 ' >>$CONFIG_STATUS || ac_write_fail=1
25923 rm -f conf$$subs.awk
25924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25926 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
25927 for (key in S) S_is_set[key] = 1
25933 nfields = split(line, field, "@
")
25935 len = length(field[1])
25936 for (i = 2; i < nfields; i++) {
25938 keylen = length(key)
25939 if (S_is_set[key]) {
25941 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25942 len += length(value) + length(field[++i])
25953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25954 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25955 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
25958 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
25959 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
25962 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25963 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
25964 # trailing colons and then remove the whole line if VPATH becomes empty
25965 # (actually we leave an empty line to preserve line numbers).
25966 if test "x
$srcdir" = x.; then
25967 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25968 s/:*\$(srcdir):*/:/
25969 s/:*\${srcdir}:*/:/
25971 s/^\([^=]*=[ ]*\):*/\1/
25977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25978 fi # test -n "$CONFIG_FILES"
25980 # Set up the scripts for CONFIG_HEADERS section.
25981 # No need to generate them if there are no CONFIG_HEADERS.
25982 # This happens for instance with `./config.status Makefile'.
25983 if test -n "$CONFIG_HEADERS"; then
25984 cat >"$tmp/defines.
awk" <<\_ACAWK ||
25988 # Transform confdefs.h into an awk script `defines.awk', embedded as
25989 # here-document in config.status, that substitutes the proper values into
25990 # config.h.in to produce config.h.
25992 # Create a delimiter string that does not exist in confdefs.h, to ease
25993 # handling of long lines.
25995 for ac_last_try in false false :; do
25996 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
25997 if test -z "$ac_t"; then
25999 elif $ac_last_try; then
26000 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
26002 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26006 # For the awk script, D is an array of macro values keyed by name,
26007 # likewise P contains macro parameters if any. Preserve backslash
26008 # newline sequences.
26010 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26012 s/.\{148\}/&'"$ac_delim"'/g
26015 s/^[ ]*#[ ]*define[ ][ ]*/ /
26022 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26024 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26028 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26029 D["\
1"]=" \
3\\\\\\n
"\\/p
26031 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26036 s/.\{148\}/&'"$ac_delim"'/g
26041 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26044 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26046 ' <confdefs.h | sed '
26047 s/'"$ac_delim"'/"\\\
26048 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26051 for (key in D) D_is_set[key] = 1
26054 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26056 split(line, arg, " ")
26057 if (arg[1] == "#") {
26061 defundef
= substr
(arg
[1], 2)
26064 split(mac1
, mac2
, "(") #)
26066 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26067 if (D_is_set
[macro
]) {
26068 # Preserve the white space surrounding the "#".
26069 print prefix
"define", macro P
[macro
] D
[macro
]
26072 # Replace #undef with comments. This is necessary, for example,
26073 # in the case of _POSIX_SOURCE, which is predefined and required
26074 # on some systems where configure will not decide to define it.
26075 if (defundef
== "undef") {
26076 print
"/*", prefix defundef
, macro
, "*/"
26084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26085 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
26086 fi # test -n "$CONFIG_HEADERS"
26089 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
26094 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26096 case $ac_mode$ac_tag in
26098 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26099 :[FH
]-) ac_tag
=-:-;;
26100 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26117 -) ac_f
="$tmp/stdin";;
26118 *) # Look for the file first in the build tree, then in the source tree
26119 # (if the path is not absolute). The absolute path cannot be DOS-style,
26120 # because $ac_f cannot contain `:'.
26124 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26126 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
26128 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26129 as_fn_append ac_file_inputs
" '$ac_f'"
26132 # Let's still pretend it is `configure' which instantiates (i.e., don't
26133 # use $as_me), people would be surprised to read:
26134 # /* config.h. Generated by config.status. */
26135 configure_input
='Generated from '`
26136 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26138 if test x
"$ac_file" != x-
; then
26139 configure_input
="$ac_file. $configure_input"
26140 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26141 $as_echo "$as_me: creating $ac_file" >&6;}
26143 # Neutralize special characters interpreted by sed in replacement strings.
26144 case $configure_input in #(
26145 *\
&* |
*\|
* |
*\\* )
26146 ac_sed_conf_input
=`$as_echo "$configure_input" |
26147 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26148 *) ac_sed_conf_input
=$configure_input;;
26152 *:-:* |
*:-) cat >"$tmp/stdin" \
26153 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
26158 ac_dir
=`$as_dirname -- "$ac_file" ||
26159 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26160 X"$ac_file" : 'X\(//\)[^/]' \| \
26161 X"$ac_file" : 'X\(//\)$' \| \
26162 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26163 $as_echo X"$ac_file" |
26164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26168 /^X\(\/\/\)[^/].*/{
26181 as_dir
="$ac_dir"; as_fn_mkdir_p
26185 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26187 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26188 # A ".." for each directory in $ac_dir_suffix.
26189 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26190 case $ac_top_builddir_sub in
26191 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26192 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26195 ac_abs_top_builddir
=$ac_pwd
26196 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26197 # for backward compatibility:
26198 ac_top_builddir
=$ac_top_build_prefix
26201 .
) # We are building in place.
26203 ac_top_srcdir
=$ac_top_builddir_sub
26204 ac_abs_top_srcdir
=$ac_pwd ;;
26205 [\\/]* | ?
:[\\/]* ) # Absolute name.
26206 ac_srcdir
=$srcdir$ac_dir_suffix;
26207 ac_top_srcdir
=$srcdir
26208 ac_abs_top_srcdir
=$srcdir ;;
26209 *) # Relative name.
26210 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26211 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26212 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26214 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26224 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26225 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26227 ac_MKDIR_P
=$MKDIR_P
26229 [\\/$
]* | ?
:[\\/]* ) ;;
26230 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26235 # If the template does not know about datarootdir, expand it.
26236 # FIXME: This hack should be removed a few years after 2.60.
26237 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26248 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26249 *datarootdir
*) ac_datarootdir_seen
=yes;;
26250 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26252 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26255 ac_datarootdir_hack='
26256 s&@datadir@&$datadir&g
26257 s&@docdir@&$docdir&g
26258 s&@infodir@&$infodir&g
26259 s&@localedir@&$localedir&g
26260 s&@mandir@&$mandir&g
26261 s&\\\${datarootdir}&$datarootdir&g' ;;
26265 # Neutralize VPATH when `$srcdir' = `.'.
26266 # Shell code in configure.ac might set extrasub.
26267 # FIXME: do we really want to maintain this feature?
26268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26269 ac_sed_extra="$ac_vpsub
26272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26274 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26275 s|@configure_input@|
$ac_sed_conf_input|
;t t
26276 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26277 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26278 s
&@srcdir@
&$ac_srcdir&;t t
26279 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26280 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26281 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26282 s
&@builddir@
&$ac_builddir&;t t
26283 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26284 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26285 s
&@INSTALL@
&$ac_INSTALL&;t t
26286 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26287 $ac_datarootdir_hack
26289 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26290 || as_fn_error "could not create
$ac_file" "$LINENO" 5
26292 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26293 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26294 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26296 which seems to be undefined. Please make sure it is defined." >&5
26297 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26298 which seems to be undefined. Please make sure it is defined." >&2;}
26302 -) cat "$tmp/out" && rm -f "$tmp/out";;
26303 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26305 || as_fn_error "could not create $ac_file" "$LINENO" 5
26311 if test x"$ac_file" != x-; then
26313 $as_echo "/* $configure_input */" \
26314 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26315 } >"$tmp/config.h" \
26316 || as_fn_error "could not create $ac_file" "$LINENO" 5
26317 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26318 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26319 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26322 mv "$tmp/config.h" "$ac_file" \
26323 || as_fn_error "could not create $ac_file" "$LINENO" 5
26326 $as_echo "/* $configure_input */" \
26327 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26328 || as_fn_error "could not create -" "$LINENO" 5
26330 # Compute "$ac_file"'s index
in $config_headers.
26333 for _am_header
in $config_headers :; do
26334 case $_am_header in
26335 $_am_arg |
$_am_arg:* )
26338 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26341 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26342 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26343 X"$_am_arg" : 'X\(//\)[^/]' \| \
26344 X"$_am_arg" : 'X\(//\)$' \| \
26345 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26346 $as_echo X"$_am_arg" |
26347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26351 /^X\(\/\/\)[^/].*/{
26363 s/.*/./; q'`/stamp-h
$_am_stamp_count
26370 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
26373 # Prefer the file from the source tree if names are identical.
26374 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
26375 ac_source
=$srcdir/$ac_source
26378 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
26379 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
26381 if test ! -r "$ac_source"; then
26382 as_fn_error
"$ac_source: file not found" "$LINENO" 5
26386 # Try a relative symlink, then a hard link, then a copy.
26388 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
26389 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
26391 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
26392 ln "$ac_source" "$ac_file" 2>/dev
/null ||
26393 cp -p "$ac_source" "$ac_file" ||
26394 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
26397 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26398 $as_echo "$as_me: executing $ac_file commands" >&6;}
26403 case $ac_file$ac_mode in
26405 # Only add multilib support code if we just rebuilt the top-level
26407 case " $CONFIG_FILES " in
26409 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
26412 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26413 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26414 # are listed without --file. Let's play safe and only enable the eval
26415 # if we detect the quoting.
26416 case $CONFIG_FILES in
26417 *\'*) eval set x
"$CONFIG_FILES" ;;
26418 *) set x
$CONFIG_FILES ;;
26423 # Strip MF so we end up with the name of the file.
26424 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26425 # Check whether this is an Automake generated Makefile or not.
26426 # We used to match only the files named `Makefile.in', but
26427 # some people rename them; so instead we look at the file content.
26428 # Grep'ing the first line is not enough: some people post-process
26429 # each Makefile.in and add a new line on top of each file to say so.
26430 # Grep'ing the whole file is not good either: AIX grep has a line
26431 # limit of 2048, but all sed's we know have understand at least 4000.
26432 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26433 dirpart
=`$as_dirname -- "$mf" ||
26434 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26435 X"$mf" : 'X\(//\)[^/]' \| \
26436 X"$mf" : 'X\(//\)$' \| \
26437 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26443 /^X\(\/\/\)[^/].*/{
26459 # Extract the definition of DEPDIR, am__include, and am__quote
26460 # from the Makefile without running `make'.
26461 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26462 test -z "$DEPDIR" && continue
26463 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26464 test -z "am__include" && continue
26465 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26466 # When using ansi2knr, U may be empty or an underscore; expand it
26467 U
=`sed -n 's/^U = //p' < "$mf"`
26468 # Find all dependency output files, they are included files with
26469 # $(DEPDIR) in their names. We invoke sed twice because it is the
26470 # simplest approach to changing $(DEPDIR) to its actual value in the
26472 for file in `sed -n "
26473 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26474 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26475 # Make sure the directory exists.
26476 test -f "$dirpart/$file" && continue
26477 fdir
=`$as_dirname -- "$file" ||
26478 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26479 X"$file" : 'X\(//\)[^/]' \| \
26480 X"$file" : 'X\(//\)$' \| \
26481 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26482 $as_echo X"$file" |
26483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26487 /^X\(\/\/\)[^/].*/{
26500 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26501 # echo "creating $dirpart/$file"
26502 echo '# dummy' > "$dirpart/$file"
26509 # See if we are running on zsh, and set the options which allow our
26510 # commands through without removal of \ escapes.
26511 if test -n "${ZSH_VERSION+set}" ; then
26512 setopt NO_GLOB_SUBST
26515 cfgfile
="${ofile}T"
26516 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26519 cat <<_LT_EOF >> "$cfgfile"
26522 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26523 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26524 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26525 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26527 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26528 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26529 # Written by Gordon Matzigkeit, 1996
26531 # This file is part of GNU Libtool.
26533 # GNU Libtool is free software; you can redistribute it and/or
26534 # modify it under the terms of the GNU General Public License as
26535 # published by the Free Software Foundation; either version 2 of
26536 # the License, or (at your option) any later version.
26538 # As a special exception to the GNU General Public License,
26539 # if you distribute this file as part of a program or library that
26540 # is built using GNU Libtool, you may include this file under the
26541 # same distribution terms that you use for the rest of that program.
26543 # GNU Libtool is distributed in the hope that it will be useful,
26544 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26545 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26546 # GNU General Public License for more details.
26548 # You should have received a copy of the GNU General Public License
26549 # along with GNU Libtool; see the file COPYING. If not, a copy
26550 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26551 # obtained by writing to the Free Software Foundation, Inc.,
26552 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26555 # The names of the tagged configurations supported by this script.
26556 available_tags="CXX "
26558 # ### BEGIN LIBTOOL CONFIG
26560 # Whether or not to build static libraries.
26561 build_old_libs=$enable_static
26563 # Which release of libtool.m4 was used?
26564 macro_version=$macro_version
26565 macro_revision=$macro_revision
26567 # Whether or not to build shared libraries.
26568 build_libtool_libs=$enable_shared
26570 # What type of objects to build.
26573 # Whether or not to optimize for fast installation.
26574 fast_install=$enable_fast_install
26576 # Shell to use when invoking shell scripts.
26579 # An echo program that protects backslashes.
26583 host_alias=$host_alias
26587 # The build system.
26588 build_alias=$build_alias
26592 # A sed program that does not truncate output.
26595 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26596 Xsed="\$SED -e 1s/^X//"
26598 # A grep program that handles long lines.
26604 # A literal string matcher.
26607 # A BSD- or MS-compatible name lister.
26610 # Whether we need soft or hard links.
26613 # What is the maximum length of a command?
26614 max_cmd_len=$max_cmd_len
26616 # Object file suffix (normally "o").
26619 # Executable file suffix (normally "").
26622 # whether the shell understands "unset".
26625 # turn spaces into newlines.
26628 # turn newlines into spaces.
26631 # An object symbol dumper.
26632 OBJDUMP=$lt_OBJDUMP
26634 # Method to check whether dependent libraries are shared objects.
26635 deplibs_check_method=$lt_deplibs_check_method
26637 # Command to use when deplibs_check_method == "file_magic".
26638 file_magic_cmd=$lt_file_magic_cmd
26642 AR_FLAGS=$lt_AR_FLAGS
26644 # A symbol stripping program.
26647 # Commands used to install an old-style archive.
26649 old_postinstall_cmds=$lt_old_postinstall_cmds
26650 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26652 # Whether to use a lock for old archive extraction.
26653 lock_old_archive_extraction=$lock_old_archive_extraction
26658 # LTCC compiler flags.
26659 LTCFLAGS=$lt_CFLAGS
26661 # Take the output of nm and produce a listing of raw symbols and C names.
26662 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26664 # Transform the output of nm in a proper C declaration.
26665 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26667 # Transform the output of nm in a C name address pair.
26668 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26670 # Transform the output of nm in a C name address pair when lib prefix is needed.
26671 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26673 # The name of the directory that contains temporary libtool files.
26676 # Used to examine libraries when file_magic_cmd begins with "file".
26677 MAGIC_CMD=$MAGIC_CMD
26679 # Must we lock files when doing compilation?
26680 need_locks=$lt_need_locks
26682 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26683 DSYMUTIL=$lt_DSYMUTIL
26685 # Tool to change global to local symbols on Mac OS X.
26688 # Tool to manipulate fat objects and archives on Mac OS X.
26691 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26694 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26695 OTOOL64=$lt_OTOOL64
26697 # Old archive suffix (normally "a").
26700 # Shared library suffix (normally ".so").
26701 shrext_cmds=$lt_shrext_cmds
26703 # The commands to extract the exported symbol list from a shared archive.
26704 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26706 # Variables whose values should be saved in libtool wrapper scripts and
26707 # restored at link time.
26708 variables_saved_for_relink=$lt_variables_saved_for_relink
26710 # Do we need the "lib" prefix for modules?
26711 need_lib_prefix=$need_lib_prefix
26713 # Do we need a version for libraries?
26714 need_version=$need_version
26716 # Library versioning type.
26717 version_type=$version_type
26719 # Shared library runtime path variable.
26720 runpath_var=$runpath_var
26722 # Shared library path variable.
26723 shlibpath_var=$shlibpath_var
26725 # Is shlibpath searched before the hard-coded library search path?
26726 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26728 # Format of library name prefix.
26729 libname_spec=$lt_libname_spec
26731 # List of archive names. First name is the real one, the rest are links.
26732 # The last name is the one that the linker finds with -lNAME
26733 library_names_spec=$lt_library_names_spec
26735 # The coded name of the library, if different from the real name.
26736 soname_spec=$lt_soname_spec
26738 # Permission mode override for installation of shared libraries.
26739 install_override_mode=$lt_install_override_mode
26741 # Command to use after installation of a shared archive.
26742 postinstall_cmds=$lt_postinstall_cmds
26744 # Command to use after uninstallation of a shared archive.
26745 postuninstall_cmds=$lt_postuninstall_cmds
26747 # Commands used to finish a libtool library installation in a directory.
26748 finish_cmds=$lt_finish_cmds
26750 # As "finish_cmds", except a single script fragment to be evaled but
26752 finish_eval=$lt_finish_eval
26754 # Whether we should hardcode library paths into libraries.
26755 hardcode_into_libs=$hardcode_into_libs
26757 # Compile-time system search path for libraries.
26758 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26760 # Run-time system search path for libraries.
26761 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26763 # Whether dlopen is supported.
26764 dlopen_support=$enable_dlopen
26766 # Whether dlopen of programs is supported.
26767 dlopen_self=$enable_dlopen_self
26769 # Whether dlopen of statically linked programs is supported.
26770 dlopen_self_static=$enable_dlopen_self_static
26772 # Commands to strip libraries.
26773 old_striplib=$lt_old_striplib
26774 striplib=$lt_striplib
26777 # The linker used to build libraries.
26780 # How to create reloadable object files.
26781 reload_flag=$lt_reload_flag
26782 reload_cmds=$lt_reload_cmds
26784 # Commands used to build an old-style archive.
26785 old_archive_cmds=$lt_old_archive_cmds
26787 # A language specific compiler.
26790 # Is the compiler the GNU compiler?
26793 # Compiler flag to turn off builtin functions.
26794 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26796 # How to pass a linker flag through the compiler.
26797 wl=$lt_lt_prog_compiler_wl
26799 # Additional compiler flags for building library objects.
26800 pic_flag=$lt_lt_prog_compiler_pic
26802 # Compiler flag to prevent dynamic linking.
26803 link_static_flag=$lt_lt_prog_compiler_static
26805 # Does compiler simultaneously support -c and -o options?
26806 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26808 # Whether or not to add -lc for building shared libraries.
26809 build_libtool_need_lc=$archive_cmds_need_lc
26811 # Whether or not to disallow shared libs when runtime libs are static.
26812 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26814 # Compiler flag to allow reflexive dlopens.
26815 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26817 # Compiler flag to generate shared objects directly from archives.
26818 whole_archive_flag_spec=$lt_whole_archive_flag_spec
26820 # Whether the compiler copes with passing no objects directly.
26821 compiler_needs_object=$lt_compiler_needs_object
26823 # Create an old-style archive from a shared archive.
26824 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26826 # Create a temporary old-style archive to link instead of a shared archive.
26827 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26829 # Commands used to build a shared archive.
26830 archive_cmds=$lt_archive_cmds
26831 archive_expsym_cmds=$lt_archive_expsym_cmds
26833 # Commands used to build a loadable module if different from building
26834 # a shared archive.
26835 module_cmds=$lt_module_cmds
26836 module_expsym_cmds=$lt_module_expsym_cmds
26838 # Whether we are building with GNU ld or not.
26839 with_gnu_ld=$lt_with_gnu_ld
26841 # Flag that allows shared libraries with undefined symbols to be built.
26842 allow_undefined_flag=$lt_allow_undefined_flag
26844 # Flag that enforces no undefined symbols.
26845 no_undefined_flag=$lt_no_undefined_flag
26847 # Flag to hardcode \$libdir into a binary during linking.
26848 # This must work even if \$libdir does not exist
26849 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26851 # If ld is used when linking, flag to hardcode \$libdir into a binary
26852 # during linking. This must work even if \$libdir does not exist.
26853 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
26855 # Whether we need a single "-rpath" flag with a separated argument.
26856 hardcode_libdir_separator=$lt_hardcode_libdir_separator
26858 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26859 # DIR into the resulting binary.
26860 hardcode_direct=$hardcode_direct
26862 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26863 # DIR into the resulting binary and the resulting library dependency is
26864 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
26865 # library is relocated.
26866 hardcode_direct_absolute=$hardcode_direct_absolute
26868 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26869 # into the resulting binary.
26870 hardcode_minus_L=$hardcode_minus_L
26872 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26873 # into the resulting binary.
26874 hardcode_shlibpath_var=$hardcode_shlibpath_var
26876 # Set to "yes" if building a shared library automatically hardcodes DIR
26877 # into the library and all subsequent libraries and executables linked
26879 hardcode_automatic=$hardcode_automatic
26881 # Set to yes if linker adds runtime paths of dependent libraries
26882 # to runtime path list.
26883 inherit_rpath=$inherit_rpath
26885 # Whether libtool must link a program against all its dependency libraries.
26886 link_all_deplibs=$link_all_deplibs
26888 # Fix the shell variable \$srcfile for the compiler.
26889 fix_srcfile_path=$lt_fix_srcfile_path
26891 # Set to "yes" if exported symbols are required.
26892 always_export_symbols=$always_export_symbols
26894 # The commands to list exported symbols.
26895 export_symbols_cmds=$lt_export_symbols_cmds
26897 # Symbols that should not be listed in the preloaded symbols.
26898 exclude_expsyms=$lt_exclude_expsyms
26900 # Symbols that must always be exported.
26901 include_expsyms=$lt_include_expsyms
26903 # Commands necessary for linking programs (against libraries) with templates.
26904 prelink_cmds=$lt_prelink_cmds
26906 # Specify filename containing input files.
26907 file_list_spec=$lt_file_list_spec
26909 # How to hardcode a shared library path into an executable.
26910 hardcode_action=$hardcode_action
26912 # The directories searched by this compiler when creating a shared library.
26913 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
26915 # Dependencies to place before and after the objects being linked to
26916 # create a shared library.
26917 predep_objects=$lt_predep_objects
26918 postdep_objects=$lt_postdep_objects
26919 predeps=$lt_predeps
26920 postdeps=$lt_postdeps
26922 # The library search path used internally by the compiler when linking
26923 # a shared library.
26924 compiler_lib_search_path=$lt_compiler_lib_search_path
26926 # ### END LIBTOOL CONFIG
26932 cat <<\_LT_EOF
>> "$cfgfile"
26933 # AIX sometimes has problems with the GCC collect2 program. For some
26934 # reason, if we set the COLLECT_NAMES environment variable, the problems
26935 # vanish in a puff of smoke.
26936 if test "X${COLLECT_NAMES+set}" != Xset
; then
26938 export COLLECT_NAMES
26945 ltmain
="$ac_aux_dir/ltmain.sh"
26948 # We use sed instead of cat because bash on DJGPP gets confused if
26949 # if finds mixed CR/LF and LF-only lines. Since sed operates in
26950 # text mode, it properly converts lines to CR/LF. This bash problem
26951 # is reportedly fixed, but why not run on old versions too?
26952 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
26953 ||
(rm -f "$cfgfile"; exit 1)
26957 cat << \_LT_EOF
>> "$cfgfile"
26959 # func_dirname file append nondir_replacement
26960 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
26961 # otherwise set result to NONDIR_REPLACEMENT.
26965 */*) func_dirname_result
="${1%/*}${2}" ;;
26966 * ) func_dirname_result
="${3}" ;;
26970 # func_basename file
26973 func_basename_result
="${1##*/}"
26976 # func_dirname_and_basename file append nondir_replacement
26977 # perform func_basename and func_dirname in a single function
26979 # dirname: Compute the dirname of FILE. If nonempty,
26980 # add APPEND to the result, otherwise set result
26981 # to NONDIR_REPLACEMENT.
26982 # value returned in "$func_dirname_result"
26983 # basename: Compute filename of FILE.
26984 # value retuned in "$func_basename_result"
26985 # Implementation must be kept synchronized with func_dirname
26986 # and func_basename. For efficiency, we do not delegate to
26987 # those functions but instead duplicate the functionality here.
26988 func_dirname_and_basename
()
26991 */*) func_dirname_result
="${1%/*}${2}" ;;
26992 * ) func_dirname_result
="${3}" ;;
26994 func_basename_result
="${1##*/}"
26997 # func_stripname prefix suffix name
26998 # strip PREFIX and SUFFIX off of NAME.
26999 # PREFIX and SUFFIX must not contain globbing or regex special
27000 # characters, hashes, percent signs, but SUFFIX may contain a leading
27001 # dot (in which case that matches only a dot).
27004 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27005 # positional parameters, so assign one to ordinary parameter first.
27006 func_stripname_result
=${3}
27007 func_stripname_result
=${func_stripname_result#"${1}"}
27008 func_stripname_result
=${func_stripname_result%"${2}"}
27014 func_opt_split_opt
=${1%%=*}
27015 func_opt_split_arg
=${1#*=}
27022 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
27023 *) func_lo2o_result
=${1} ;;
27027 # func_xform libobj-or-source
27030 func_xform_result
=${1%.*}.lo
27033 # func_arith arithmetic-term...
27036 func_arith_result
=$
(( $
* ))
27040 # STRING may not start with a hyphen.
27043 func_len_result
=${#1}
27048 *) # Bourne compatible functions.
27049 cat << \_LT_EOF
>> "$cfgfile"
27051 # func_dirname file append nondir_replacement
27052 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27053 # otherwise set result to NONDIR_REPLACEMENT.
27056 # Extract subdirectory from the argument.
27057 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
27058 if test "X$func_dirname_result" = "X${1}"; then
27059 func_dirname_result
="${3}"
27061 func_dirname_result
="$func_dirname_result${2}"
27065 # func_basename file
27068 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
27072 # func_stripname prefix suffix name
27073 # strip PREFIX and SUFFIX off of NAME.
27074 # PREFIX and SUFFIX must not contain globbing or regex special
27075 # characters, hashes, percent signs, but SUFFIX may contain a leading
27076 # dot (in which case that matches only a dot).
27077 # func_strip_suffix prefix name
27081 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27082 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27087 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
27088 my_sed_long_arg
='1s/^-[^=]*=//'
27093 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27094 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27100 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
27103 # func_xform libobj-or-source
27106 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27109 # func_arith arithmetic-term...
27112 func_arith_result
=`expr "$@"`
27116 # STRING may not start with a hyphen.
27119 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27125 case $lt_shell_append in
27127 cat << \_LT_EOF
>> "$cfgfile"
27129 # func_append var value
27130 # Append VALUE to the end of shell variable VAR.
27138 cat << \_LT_EOF
>> "$cfgfile"
27140 # func_append var value
27141 # Append VALUE to the end of shell variable VAR.
27152 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27153 ||
(rm -f "$cfgfile"; exit 1)
27155 mv -f "$cfgfile" "$ofile" ||
27156 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27160 cat <<_LT_EOF >> "$ofile"
27162 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27164 # The linker used to build libraries.
27167 # How to create reloadable object files.
27168 reload_flag=$lt_reload_flag_CXX
27169 reload_cmds=$lt_reload_cmds_CXX
27171 # Commands used to build an old-style archive.
27172 old_archive_cmds=$lt_old_archive_cmds_CXX
27174 # A language specific compiler.
27175 CC=$lt_compiler_CXX
27177 # Is the compiler the GNU compiler?
27180 # Compiler flag to turn off builtin functions.
27181 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27183 # How to pass a linker flag through the compiler.
27184 wl=$lt_lt_prog_compiler_wl_CXX
27186 # Additional compiler flags for building library objects.
27187 pic_flag=$lt_lt_prog_compiler_pic_CXX
27189 # Compiler flag to prevent dynamic linking.
27190 link_static_flag=$lt_lt_prog_compiler_static_CXX
27192 # Does compiler simultaneously support -c and -o options?
27193 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27195 # Whether or not to add -lc for building shared libraries.
27196 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27198 # Whether or not to disallow shared libs when runtime libs are static.
27199 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27201 # Compiler flag to allow reflexive dlopens.
27202 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27204 # Compiler flag to generate shared objects directly from archives.
27205 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27207 # Whether the compiler copes with passing no objects directly.
27208 compiler_needs_object=$lt_compiler_needs_object_CXX
27210 # Create an old-style archive from a shared archive.
27211 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27213 # Create a temporary old-style archive to link instead of a shared archive.
27214 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27216 # Commands used to build a shared archive.
27217 archive_cmds=$lt_archive_cmds_CXX
27218 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27220 # Commands used to build a loadable module if different from building
27221 # a shared archive.
27222 module_cmds=$lt_module_cmds_CXX
27223 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27225 # Whether we are building with GNU ld or not.
27226 with_gnu_ld=$lt_with_gnu_ld_CXX
27228 # Flag that allows shared libraries with undefined symbols to be built.
27229 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27231 # Flag that enforces no undefined symbols.
27232 no_undefined_flag=$lt_no_undefined_flag_CXX
27234 # Flag to hardcode \$libdir into a binary during linking.
27235 # This must work even if \$libdir does not exist
27236 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27238 # If ld is used when linking, flag to hardcode \$libdir into a binary
27239 # during linking. This must work even if \$libdir does not exist.
27240 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27242 # Whether we need a single "-rpath" flag with a separated argument.
27243 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27245 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27246 # DIR into the resulting binary.
27247 hardcode_direct=$hardcode_direct_CXX
27249 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27250 # DIR into the resulting binary and the resulting library dependency is
27251 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27252 # library is relocated.
27253 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27255 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27256 # into the resulting binary.
27257 hardcode_minus_L=$hardcode_minus_L_CXX
27259 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27260 # into the resulting binary.
27261 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27263 # Set to "yes" if building a shared library automatically hardcodes DIR
27264 # into the library and all subsequent libraries and executables linked
27266 hardcode_automatic=$hardcode_automatic_CXX
27268 # Set to yes if linker adds runtime paths of dependent libraries
27269 # to runtime path list.
27270 inherit_rpath=$inherit_rpath_CXX
27272 # Whether libtool must link a program against all its dependency libraries.
27273 link_all_deplibs=$link_all_deplibs_CXX
27275 # Fix the shell variable \$srcfile for the compiler.
27276 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27278 # Set to "yes" if exported symbols are required.
27279 always_export_symbols=$always_export_symbols_CXX
27281 # The commands to list exported symbols.
27282 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27284 # Symbols that should not be listed in the preloaded symbols.
27285 exclude_expsyms=$lt_exclude_expsyms_CXX
27287 # Symbols that must always be exported.
27288 include_expsyms=$lt_include_expsyms_CXX
27290 # Commands necessary for linking programs (against libraries) with templates.
27291 prelink_cmds=$lt_prelink_cmds_CXX
27293 # Specify filename containing input files.
27294 file_list_spec=$lt_file_list_spec_CXX
27296 # How to hardcode a shared library path into an executable.
27297 hardcode_action=$hardcode_action_CXX
27299 # The directories searched by this compiler when creating a shared library.
27300 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27302 # Dependencies to place before and after the objects being linked to
27303 # create a shared library.
27304 predep_objects=$lt_predep_objects_CXX
27305 postdep_objects=$lt_postdep_objects_CXX
27306 predeps=$lt_predeps_CXX
27307 postdeps=$lt_postdeps_CXX
27309 # The library search path used internally by the compiler when linking
27310 # a shared library.
27311 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27313 # ### END LIBTOOL TAG CONFIG: CXX
27317 "mkcollections.pl":C
) chmod 755 lib
/mkcollections.pl
;;
27319 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
27320 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
27321 ac_stdint
=$tmp/_stdint.h
27323 echo "#ifndef" $_ac_stdint_h >$ac_stdint
27324 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
27325 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
27326 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
27327 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
27328 if test "_$ac_cv_header_stdint_t" != "_" ; then
27329 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
27330 echo "#include <stdint.h>" >>$ac_stdint
27331 echo "#endif" >>$ac_stdint
27332 echo "#endif" >>$ac_stdint
27335 cat >>$ac_stdint <<STDINT_EOF
27337 /* ................... shortcircuit part ........................... */
27339 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
27340 #include <stdint.h>
27342 #include <stddef.h>
27344 /* .................... configured part ............................ */
27348 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
27349 if test "_$ac_cv_header_stdint_x" != "_" ; then
27350 ac_header
="$ac_cv_header_stdint_x"
27351 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
27353 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
27356 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
27357 if test "_$ac_cv_header_stdint_o" != "_" ; then
27358 ac_header
="$ac_cv_header_stdint_o"
27359 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
27361 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
27364 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
27365 if test "_$ac_cv_header_stdint_u" != "_" ; then
27366 ac_header
="$ac_cv_header_stdint_u"
27367 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
27369 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
27372 echo "" >>$ac_stdint
27374 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
27375 echo "#include <$ac_header>" >>$ac_stdint
27376 echo "" >>$ac_stdint
27379 echo "/* which 64bit typedef has been found */" >>$ac_stdint
27380 if test "$ac_cv_type_uint64_t" = "yes" ; then
27381 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
27383 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
27385 if test "$ac_cv_type_u_int64_t" = "yes" ; then
27386 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
27388 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
27390 echo "" >>$ac_stdint
27392 echo "/* which type model has been detected */" >>$ac_stdint
27393 if test "_$ac_cv_char_data_model" != "_" ; then
27394 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
27395 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
27397 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
27398 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
27400 echo "" >>$ac_stdint
27402 echo "/* whether int_least types were detected */" >>$ac_stdint
27403 if test "$ac_cv_type_int_least32_t" = "yes"; then
27404 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
27406 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
27408 echo "/* whether int_fast types were detected */" >>$ac_stdint
27409 if test "$ac_cv_type_int_fast32_t" = "yes"; then
27410 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
27412 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
27414 echo "/* whether intmax_t type was detected */" >>$ac_stdint
27415 if test "$ac_cv_type_intmax_t" = "yes"; then
27416 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
27418 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
27420 echo "" >>$ac_stdint
27422 cat >>$ac_stdint <<STDINT_EOF
27423 /* .................... detections part ............................ */
27425 /* whether we need to define bitspecific types from compiler base types */
27426 #ifndef _STDINT_HEADER_INTPTR
27427 #ifndef _STDINT_HEADER_UINT32
27428 #ifndef _STDINT_HEADER_U_INT32
27429 #define _STDINT_NEED_INT_MODEL_T
27431 #define _STDINT_HAVE_U_INT_TYPES
27436 #ifdef _STDINT_HAVE_U_INT_TYPES
27437 #undef _STDINT_NEED_INT_MODEL_T
27440 #ifdef _STDINT_CHAR_MODEL
27441 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
27442 #ifndef _STDINT_BYTE_MODEL
27443 #define _STDINT_BYTE_MODEL 12
27448 #ifndef _STDINT_HAVE_INT_LEAST32_T
27449 #define _STDINT_NEED_INT_LEAST_T
27452 #ifndef _STDINT_HAVE_INT_FAST32_T
27453 #define _STDINT_NEED_INT_FAST_T
27456 #ifndef _STDINT_HEADER_INTPTR
27457 #define _STDINT_NEED_INTPTR_T
27458 #ifndef _STDINT_HAVE_INTMAX_T
27459 #define _STDINT_NEED_INTMAX_T
27464 /* .................... definition part ............................ */
27466 /* some system headers have good uint64_t */
27467 #ifndef _HAVE_UINT64_T
27468 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
27469 #define _HAVE_UINT64_T
27470 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
27471 #define _HAVE_UINT64_T
27472 typedef u_int64_t uint64_t;
27476 #ifndef _HAVE_UINT64_T
27477 /* .. here are some common heuristics using compiler runtime specifics */
27478 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
27479 #define _HAVE_UINT64_T
27480 #define _HAVE_LONGLONG_UINT64_T
27481 typedef long long int64_t;
27482 typedef unsigned long long uint64_t;
27484 #elif !defined __STRICT_ANSI__
27485 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27486 #define _HAVE_UINT64_T
27487 typedef __int64 int64_t;
27488 typedef unsigned __int64 uint64_t;
27490 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
27491 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
27492 #if !defined _NO_LONGLONG
27493 #define _HAVE_UINT64_T
27494 #define _HAVE_LONGLONG_UINT64_T
27495 typedef long long int64_t;
27496 typedef unsigned long long uint64_t;
27499 #elif defined __alpha || (defined __mips && defined _ABIN32)
27500 #if !defined _NO_LONGLONG
27501 typedef long int64_t;
27502 typedef unsigned long uint64_t;
27504 /* compiler/cpu type to define int64_t */
27509 #if defined _STDINT_HAVE_U_INT_TYPES
27510 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
27511 typedef u_int8_t uint8_t;
27512 typedef u_int16_t uint16_t;
27513 typedef u_int32_t uint32_t;
27515 /* glibc compatibility */
27516 #ifndef __int8_t_defined
27517 #define __int8_t_defined
27521 #ifdef _STDINT_NEED_INT_MODEL_T
27522 /* we must guess all the basic types. Apart from byte-adressable system, */
27523 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
27524 /* (btw, those nibble-addressable systems are way off, or so we assume) */
27527 #if defined _STDINT_BYTE_MODEL
27528 #if _STDINT_LONG_MODEL+0 == 242
27529 /* 2:4:2 = IP16 = a normal 16-bit system */
27530 typedef unsigned char uint8_t;
27531 typedef unsigned short uint16_t;
27532 typedef unsigned long uint32_t;
27533 #ifndef __int8_t_defined
27534 #define __int8_t_defined
27535 typedef char int8_t;
27536 typedef short int16_t;
27537 typedef long int32_t;
27539 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
27540 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
27541 /* 4:4:4 = ILP32 = a normal 32-bit system */
27542 typedef unsigned char uint8_t;
27543 typedef unsigned short uint16_t;
27544 typedef unsigned int uint32_t;
27545 #ifndef __int8_t_defined
27546 #define __int8_t_defined
27547 typedef char int8_t;
27548 typedef short int16_t;
27549 typedef int int32_t;
27551 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
27552 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
27553 /* 4:8:8 = LP64 = a normal 64-bit system */
27554 typedef unsigned char uint8_t;
27555 typedef unsigned short uint16_t;
27556 typedef unsigned int uint32_t;
27557 #ifndef __int8_t_defined
27558 #define __int8_t_defined
27559 typedef char int8_t;
27560 typedef short int16_t;
27561 typedef int int32_t;
27563 /* this system has a "long" of 64bit */
27564 #ifndef _HAVE_UINT64_T
27565 #define _HAVE_UINT64_T
27566 typedef unsigned long uint64_t;
27567 typedef long int64_t;
27569 #elif _STDINT_LONG_MODEL+0 == 448
27570 /* LLP64 a 64-bit system derived from a 32-bit system */
27571 typedef unsigned char uint8_t;
27572 typedef unsigned short uint16_t;
27573 typedef unsigned int uint32_t;
27574 #ifndef __int8_t_defined
27575 #define __int8_t_defined
27576 typedef char int8_t;
27577 typedef short int16_t;
27578 typedef int int32_t;
27580 /* assuming the system has a "long long" */
27581 #ifndef _HAVE_UINT64_T
27582 #define _HAVE_UINT64_T
27583 #define _HAVE_LONGLONG_UINT64_T
27584 typedef unsigned long long uint64_t;
27585 typedef long long int64_t;
27588 #define _STDINT_NO_INT32_T
27591 #define _STDINT_NO_INT8_T
27592 #define _STDINT_NO_INT32_T
27597 * quote from SunOS-5.8 sys/inttypes.h:
27598 * Use at your own risk. As of February 1996, the committee is squarely
27599 * behind the fixed sized types; the "least" and "fast" types are still being
27600 * discussed. The probability that the "fast" types may be removed before
27601 * the standard is finalized is high enough that they are not currently
27605 #if defined _STDINT_NEED_INT_LEAST_T
27606 typedef int8_t int_least8_t;
27607 typedef int16_t int_least16_t;
27608 typedef int32_t int_least32_t;
27609 #ifdef _HAVE_UINT64_T
27610 typedef int64_t int_least64_t;
27613 typedef uint8_t uint_least8_t;
27614 typedef uint16_t uint_least16_t;
27615 typedef uint32_t uint_least32_t;
27616 #ifdef _HAVE_UINT64_T
27617 typedef uint64_t uint_least64_t;
27622 #if defined _STDINT_NEED_INT_FAST_T
27623 typedef int8_t int_fast8_t;
27624 typedef int int_fast16_t;
27625 typedef int32_t int_fast32_t;
27626 #ifdef _HAVE_UINT64_T
27627 typedef int64_t int_fast64_t;
27630 typedef uint8_t uint_fast8_t;
27631 typedef unsigned uint_fast16_t;
27632 typedef uint32_t uint_fast32_t;
27633 #ifdef _HAVE_UINT64_T
27634 typedef uint64_t uint_fast64_t;
27639 #ifdef _STDINT_NEED_INTMAX_T
27640 #ifdef _HAVE_UINT64_T
27641 typedef int64_t intmax_t;
27642 typedef uint64_t uintmax_t;
27644 typedef long intmax_t;
27645 typedef unsigned long uintmax_t;
27649 #ifdef _STDINT_NEED_INTPTR_T
27650 #ifndef __intptr_t_defined
27651 #define __intptr_t_defined
27652 /* we encourage using "long" to store pointer values, never use "int" ! */
27653 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
27654 typedef unsigned int uintptr_t;
27655 typedef int intptr_t;
27656 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
27657 typedef unsigned long uintptr_t;
27658 typedef long intptr_t;
27659 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
27660 typedef uint64_t uintptr_t;
27661 typedef int64_t intptr_t;
27662 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
27663 typedef unsigned long uintptr_t;
27664 typedef long intptr_t;
27669 /* The ISO C99 standard specifies that in C++ implementations these
27670 should only be defined if explicitly requested. */
27671 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
27675 # define INT8_C(c) c
27676 # define INT16_C(c) c
27677 # define INT32_C(c) c
27678 # ifdef _HAVE_LONGLONG_UINT64_T
27679 # define INT64_C(c) c ## L
27681 # define INT64_C(c) c ## LL
27685 # define UINT8_C(c) c ## U
27686 # define UINT16_C(c) c ## U
27687 # define UINT32_C(c) c ## U
27688 # ifdef _HAVE_LONGLONG_UINT64_T
27689 # define UINT64_C(c) c ## UL
27691 # define UINT64_C(c) c ## ULL
27694 /* Maximal type. */
27695 # ifdef _HAVE_LONGLONG_UINT64_T
27696 # define INTMAX_C(c) c ## L
27697 # define UINTMAX_C(c) c ## UL
27699 # define INTMAX_C(c) c ## LL
27700 # define UINTMAX_C(c) c ## ULL
27703 /* literalnumbers */
27707 /* These limits are merily those of a two complement byte-oriented system */
27709 /* Minimum of signed integral types. */
27711 # define INT8_MIN (-128)
27714 # define INT16_MIN (-32767-1)
27717 # define INT32_MIN (-2147483647-1)
27720 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
27723 /* Maximum of signed integral types. */
27725 # define INT8_MAX (127)
27728 # define INT16_MAX (32767)
27731 # define INT32_MAX (2147483647)
27734 # define INT64_MAX (__INT64_C(9223372036854775807))
27737 /* Maximum of unsigned integral types. */
27739 # define UINT8_MAX (255)
27742 # define UINT16_MAX (65535)
27745 # define UINT32_MAX (4294967295U)
27748 # define UINT64_MAX (__UINT64_C(18446744073709551615))
27751 /* Minimum of signed integral types having a minimum size. */
27752 # define INT_LEAST8_MIN INT8_MIN
27753 # define INT_LEAST16_MIN INT16_MIN
27754 # define INT_LEAST32_MIN INT32_MIN
27755 # define INT_LEAST64_MIN INT64_MIN
27756 /* Maximum of signed integral types having a minimum size. */
27757 # define INT_LEAST8_MAX INT8_MAX
27758 # define INT_LEAST16_MAX INT16_MAX
27759 # define INT_LEAST32_MAX INT32_MAX
27760 # define INT_LEAST64_MAX INT64_MAX
27762 /* Maximum of unsigned integral types having a minimum size. */
27763 # define UINT_LEAST8_MAX UINT8_MAX
27764 # define UINT_LEAST16_MAX UINT16_MAX
27765 # define UINT_LEAST32_MAX UINT32_MAX
27766 # define UINT_LEAST64_MAX UINT64_MAX
27775 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
27776 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
27777 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
27779 ac_dir
=`$as_dirname -- "$ac_stdint_h" ||
27780 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27781 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
27782 X"$ac_stdint_h" : 'X\(//\)$' \| \
27783 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
27784 $as_echo X"$ac_stdint_h" |
27785 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27789 /^X\(\/\/\)[^/].*/{
27802 as_dir
="$ac_dir"; as_fn_mkdir_p
27804 mv $ac_stdint $ac_stdint_h
27807 "gappletviewer":C
) chmod 755 tools
/gappletviewer
;;
27808 "gjarsigner":C
) chmod 755 tools
/gjarsigner
;;
27809 "gkeytool":C
) chmod 755 tools
/gkeytool
;;
27810 "gjar":C
) chmod 755 tools
/gjar
;;
27811 "gnative2ascii":C
) chmod 755 tools
/gnative2ascii
;;
27812 "gserialver":C
) chmod 755 tools
/gserialver
;;
27813 "grmiregistry":C
) chmod 755 tools
/grmiregistry
;;
27814 "gtnameserv":C
) chmod 755 tools
/gtnameserv
;;
27815 "gorbd":C
) chmod 755 tools
/gorbd
;;
27816 "grmid":C
) chmod 755 tools
/grmid
;;
27817 "grmic":C
) chmod 755 tools
/grmic
;;
27818 "gjavah":C
) chmod 755 tools
/gjavah
;;
27819 "gjdoc":C
) chmod 755 tools
/gjdoc
;;
27820 "gen-classlist":C
) chmod 755 lib
/gen-classlist.sh
;;
27821 "copy-vmresources":C
) chmod 755 lib
/copy-vmresources.sh
;;
27829 ac_clean_files
=$ac_clean_files_save
27831 test $ac_write_fail = 0 ||
27832 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27835 # configure is writing to config.log, and then calls config.status.
27836 # config.status does its own redirection, appending to config.log.
27837 # Unfortunately, on DOS this fails, as config.log is still kept open
27838 # by configure, so config.status won't be able to write to it; its
27839 # output is simply discarded. So we exec the FD to /dev/null,
27840 # effectively closing config.log, so it can be properly (re)opened and
27841 # appended to by config.status. When coming back to configure, we
27842 # need to make the FD available again.
27843 if test "$no_create" != yes; then
27845 ac_config_status_args
=
27846 test "$silent" = yes &&
27847 ac_config_status_args
="$ac_config_status_args --quiet"
27849 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27851 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27852 # would make configure fail if this is the last instruction.
27853 $ac_cs_success || as_fn_exit $?
27855 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
27856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27857 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27861 # Create standard.omit based on decisions we just made.
27862 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
27863 if test x
$use_escher != xtrue
; then
27864 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit