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
919 enable_maintainer_mode
923 enable_java_lang_system_explicit_initialization
930 enable_portable_native_sync
935 ac_precious_vars
='build_alias
951 # Initialize some variables set by options.
953 ac_init_version
=false
954 ac_unrecognized_opts
=
956 # The variables have the same names as the options, with
957 # dashes changed to underlines.
965 program_transform_name
=s
,x
,x
,
973 # Installation directory options.
974 # These are left unexpanded so users can "make install exec_prefix=/foo"
975 # and all the variables that are supposed to be based on exec_prefix
976 # by default will actually change.
977 # Use braces instead of parens because sh, perl, etc. also accept them.
978 # (The list follows the same order as the GNU Coding Standards.)
979 bindir
='${exec_prefix}/bin'
980 sbindir
='${exec_prefix}/sbin'
981 libexecdir
='${exec_prefix}/libexec'
982 datarootdir
='${prefix}/share'
983 datadir
='${datarootdir}'
984 sysconfdir
='${prefix}/etc'
985 sharedstatedir
='${prefix}/com'
986 localstatedir
='${prefix}/var'
987 includedir
='${prefix}/include'
988 oldincludedir
='/usr/include'
989 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
990 infodir
='${datarootdir}/info'
995 libdir
='${exec_prefix}/lib'
996 localedir
='${datarootdir}/locale'
997 mandir
='${datarootdir}/man'
1003 # If the previous option needs an argument, assign it.
1004 if test -n "$ac_prev"; then
1005 eval $ac_prev=\
$ac_option
1011 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1015 # Accept the important Cygnus configure options, so we can diagnose typos.
1017 case $ac_dashdash$ac_option in
1021 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1023 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1024 bindir
=$ac_optarg ;;
1026 -build |
--build |
--buil |
--bui |
--bu)
1027 ac_prev
=build_alias
;;
1028 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1029 build_alias
=$ac_optarg ;;
1031 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1032 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1033 ac_prev
=cache_file
;;
1034 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1035 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1036 cache_file
=$ac_optarg ;;
1038 --config-cache |
-C)
1039 cache_file
=config.cache
;;
1041 -datadir |
--datadir |
--datadi |
--datad)
1043 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1044 datadir
=$ac_optarg ;;
1046 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1047 |
--dataroo |
--dataro |
--datar)
1048 ac_prev
=datarootdir
;;
1049 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1050 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1051 datarootdir
=$ac_optarg ;;
1053 -disable-* |
--disable-*)
1054 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1057 as_fn_error
"invalid feature name: $ac_useropt"
1058 ac_useropt_orig
=$ac_useropt
1059 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060 case $ac_user_opts in
1062 "enable_
$ac_useropt"
1064 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1065 ac_unrecognized_sep
=', ';;
1067 eval enable_
$ac_useropt=no
;;
1069 -docdir |
--docdir |
--docdi |
--doc |
--do)
1071 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1072 docdir
=$ac_optarg ;;
1074 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1076 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1077 dvidir
=$ac_optarg ;;
1079 -enable-* |
--enable-*)
1080 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1083 as_fn_error
"invalid feature name: $ac_useropt"
1084 ac_useropt_orig
=$ac_useropt
1085 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086 case $ac_user_opts in
1088 "enable_
$ac_useropt"
1090 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1091 ac_unrecognized_sep
=', ';;
1093 eval enable_
$ac_useropt=\
$ac_optarg ;;
1095 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1096 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1097 |
--exec |
--exe |
--ex)
1098 ac_prev
=exec_prefix
;;
1099 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1100 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1101 |
--exec=* |
--exe=* |
--ex=*)
1102 exec_prefix
=$ac_optarg ;;
1104 -gas |
--gas |
--ga |
--g)
1105 # Obsolete; use --with-gas.
1108 -help |
--help |
--hel |
--he |
-h)
1109 ac_init_help
=long
;;
1110 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1111 ac_init_help
=recursive
;;
1112 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1113 ac_init_help
=short
;;
1115 -host |
--host |
--hos |
--ho)
1116 ac_prev
=host_alias
;;
1117 -host=* |
--host=* |
--hos=* |
--ho=*)
1118 host_alias
=$ac_optarg ;;
1120 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1122 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1124 htmldir
=$ac_optarg ;;
1126 -includedir |
--includedir |
--includedi |
--included |
--include \
1127 |
--includ |
--inclu |
--incl |
--inc)
1128 ac_prev
=includedir
;;
1129 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1130 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1131 includedir
=$ac_optarg ;;
1133 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1135 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1136 infodir
=$ac_optarg ;;
1138 -libdir |
--libdir |
--libdi |
--libd)
1140 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1141 libdir
=$ac_optarg ;;
1143 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1144 |
--libexe |
--libex |
--libe)
1145 ac_prev
=libexecdir
;;
1146 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1147 |
--libexe=* |
--libex=* |
--libe=*)
1148 libexecdir
=$ac_optarg ;;
1150 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1151 ac_prev
=localedir
;;
1152 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1153 localedir
=$ac_optarg ;;
1155 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1156 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1157 ac_prev
=localstatedir
;;
1158 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1159 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1160 localstatedir
=$ac_optarg ;;
1162 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1164 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1165 mandir
=$ac_optarg ;;
1167 -nfp |
--nfp |
--nf)
1168 # Obsolete; use --without-fp.
1171 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1172 |
--no-cr |
--no-c |
-n)
1175 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1176 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1179 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1180 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1181 |
--oldin |
--oldi |
--old |
--ol |
--o)
1182 ac_prev
=oldincludedir
;;
1183 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1184 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1185 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1186 oldincludedir
=$ac_optarg ;;
1188 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1190 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1191 prefix
=$ac_optarg ;;
1193 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1194 |
--program-pre |
--program-pr |
--program-p)
1195 ac_prev
=program_prefix
;;
1196 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1197 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1198 program_prefix
=$ac_optarg ;;
1200 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1201 |
--program-suf |
--program-su |
--program-s)
1202 ac_prev
=program_suffix
;;
1203 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1204 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1205 program_suffix
=$ac_optarg ;;
1207 -program-transform-name |
--program-transform-name \
1208 |
--program-transform-nam |
--program-transform-na \
1209 |
--program-transform-n |
--program-transform- \
1210 |
--program-transform |
--program-transfor \
1211 |
--program-transfo |
--program-transf \
1212 |
--program-trans |
--program-tran \
1213 |
--progr-tra |
--program-tr |
--program-t)
1214 ac_prev
=program_transform_name
;;
1215 -program-transform-name=* |
--program-transform-name=* \
1216 |
--program-transform-nam=* |
--program-transform-na=* \
1217 |
--program-transform-n=* |
--program-transform-=* \
1218 |
--program-transform=* |
--program-transfor=* \
1219 |
--program-transfo=* |
--program-transf=* \
1220 |
--program-trans=* |
--program-tran=* \
1221 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1222 program_transform_name
=$ac_optarg ;;
1224 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1226 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1227 pdfdir
=$ac_optarg ;;
1229 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1231 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1234 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1235 |
-silent |
--silent |
--silen |
--sile |
--sil)
1238 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1240 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1242 sbindir
=$ac_optarg ;;
1244 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1245 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1246 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1248 ac_prev
=sharedstatedir
;;
1249 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1250 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1251 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1253 sharedstatedir
=$ac_optarg ;;
1255 -site |
--site |
--sit)
1257 -site=* |
--site=* |
--sit=*)
1260 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1262 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1263 srcdir
=$ac_optarg ;;
1265 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1266 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1267 ac_prev
=sysconfdir
;;
1268 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1269 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1270 sysconfdir
=$ac_optarg ;;
1272 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1273 ac_prev
=target_alias
;;
1274 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1275 target_alias
=$ac_optarg ;;
1277 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1280 -version |
--version |
--versio |
--versi |
--vers |
-V)
1281 ac_init_version
=: ;;
1284 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1285 # Reject names that are not valid shell variable names.
1286 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1287 as_fn_error
"invalid package name: $ac_useropt"
1288 ac_useropt_orig
=$ac_useropt
1289 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1290 case $ac_user_opts in
1294 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1295 ac_unrecognized_sep
=', ';;
1297 eval with_
$ac_useropt=\
$ac_optarg ;;
1299 -without-* |
--without-*)
1300 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1301 # Reject names that are not valid shell variable names.
1302 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1303 as_fn_error
"invalid package name: $ac_useropt"
1304 ac_useropt_orig
=$ac_useropt
1305 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1306 case $ac_user_opts in
1310 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1311 ac_unrecognized_sep
=', ';;
1313 eval with_
$ac_useropt=no
;;
1316 # Obsolete; use --with-x.
1319 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1320 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1321 ac_prev
=x_includes
;;
1322 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1323 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1324 x_includes
=$ac_optarg ;;
1326 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1327 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1328 ac_prev
=x_libraries
;;
1329 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1330 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1331 x_libraries
=$ac_optarg ;;
1333 -*) as_fn_error
"unrecognized option: \`$ac_option'
1334 Try \`$0 --help' for more information."
1338 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1339 # Reject names that are not valid shell variable names.
1340 case $ac_envvar in #(
1341 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1342 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1344 eval $ac_envvar=\
$ac_optarg
1345 export $ac_envvar ;;
1348 # FIXME: should be removed in autoconf 3.0.
1349 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1350 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1351 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1352 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1358 if test -n "$ac_prev"; then
1359 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1360 as_fn_error
"missing argument to $ac_option"
1363 if test -n "$ac_unrecognized_opts"; then
1364 case $enable_option_checking in
1366 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1367 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1371 # Check all directory arguments for consistency.
1372 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1373 datadir sysconfdir sharedstatedir localstatedir includedir \
1374 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1375 libdir localedir mandir
1377 eval ac_val
=\$
$ac_var
1378 # Remove trailing slashes.
1381 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1382 eval $ac_var=\
$ac_val;;
1384 # Be sure to have absolute directory names.
1386 [\\/$
]* | ?
:[\\/]* ) continue;;
1387 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1389 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1392 # There might be people who depend on the old broken behavior: `$host'
1393 # used to hold the argument of --host etc.
1394 # FIXME: To remove some day.
1397 target
=$target_alias
1399 # FIXME: To remove some day.
1400 if test "x$host_alias" != x
; then
1401 if test "x$build_alias" = x
; then
1402 cross_compiling
=maybe
1403 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1404 If a cross compiler is detected then cross compile mode will be used." >&2
1405 elif test "x$build_alias" != "x$host_alias"; then
1411 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1413 test "$silent" = yes && exec 6>/dev
/null
1416 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1417 ac_ls_di
=`ls -di .` &&
1418 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1419 as_fn_error
"working directory cannot be determined"
1420 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1421 as_fn_error
"pwd does not report name of working directory"
1424 # Find the source files, if location was not specified.
1425 if test -z "$srcdir"; then
1426 ac_srcdir_defaulted
=yes
1427 # Try the directory containing this script, then the parent directory.
1428 ac_confdir
=`$as_dirname -- "$as_myself" ||
1429 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1430 X"$as_myself" : 'X\(//\)[^/]' \| \
1431 X"$as_myself" : 'X\(//\)$' \| \
1432 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1433 $as_echo X"$as_myself" |
1434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1452 if test ! -r "$srcdir/$ac_unique_file"; then
1456 ac_srcdir_defaulted
=no
1458 if test ! -r "$srcdir/$ac_unique_file"; then
1459 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1460 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1462 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1464 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1466 # When building in place, set srcdir=.
1467 if test "$ac_abs_confdir" = "$ac_pwd"; then
1470 # Remove unnecessary trailing slashes from srcdir.
1471 # Double slashes in file names in object file debugging info
1472 # mess up M-x gdb in Emacs.
1474 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1476 for ac_var
in $ac_precious_vars; do
1477 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1478 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1479 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1480 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1484 # Report the --help message.
1486 if test "$ac_init_help" = "long"; then
1487 # Omit some internal or obsolete options to make the list less imposing.
1488 # This message is too long to be a string in the A/UX 3.1 sh.
1490 \`configure' configures GNU Classpath 0.98 to adapt to many kinds of systems.
1492 Usage: $0 [OPTION]... [VAR=VALUE]...
1494 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1495 VAR=VALUE. See below for descriptions of some of the useful variables.
1497 Defaults for the options are specified in brackets.
1500 -h, --help display this help and exit
1501 --help=short display options specific to this package
1502 --help=recursive display the short help of all the included packages
1503 -V, --version display version information and exit
1504 -q, --quiet, --silent do not print \`checking...' messages
1505 --cache-file=FILE cache test results in FILE [disabled]
1506 -C, --config-cache alias for \`--cache-file=config.cache'
1507 -n, --no-create do not create output files
1508 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1510 Installation directories:
1511 --prefix=PREFIX install architecture-independent files in PREFIX
1512 [$ac_default_prefix]
1513 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1516 By default, \`make install' will install all the files in
1517 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1518 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1519 for instance \`--prefix=\$HOME'.
1521 For better control, use the options below.
1523 Fine tuning of the installation directories:
1524 --bindir=DIR user executables [EPREFIX/bin]
1525 --sbindir=DIR system admin executables [EPREFIX/sbin]
1526 --libexecdir=DIR program executables [EPREFIX/libexec]
1527 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1528 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1529 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1530 --libdir=DIR object code libraries [EPREFIX/lib]
1531 --includedir=DIR C header files [PREFIX/include]
1532 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1533 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1534 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1535 --infodir=DIR info documentation [DATAROOTDIR/info]
1536 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1537 --mandir=DIR man documentation [DATAROOTDIR/man]
1538 --docdir=DIR documentation root [DATAROOTDIR/doc/classpath]
1539 --htmldir=DIR html documentation [DOCDIR]
1540 --dvidir=DIR dvi documentation [DOCDIR]
1541 --pdfdir=DIR pdf documentation [DOCDIR]
1542 --psdir=DIR ps documentation [DOCDIR]
1548 --program-prefix=PREFIX prepend PREFIX to installed program names
1549 --program-suffix=SUFFIX append SUFFIX to installed program names
1550 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1553 --x-includes=DIR X include files are
in DIR
1554 --x-libraries=DIR X library files are
in DIR
1557 --build=BUILD configure
for building on BUILD
[guessed
]
1558 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1559 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1563 if test -n "$ac_init_help"; then
1564 case $ac_init_help in
1565 short | recursive
) echo "Configuration of GNU Classpath 0.98:";;
1570 --disable-option-checking ignore unrecognized
--enable/--with options
1571 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1572 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1573 --enable-java-maintainer-mode
1574 allow rebuilding of .class and .h files
1575 --enable-generated-files-in-srcdir
1576 put copies of generated files
in source dir
1577 intended
for creating
source tarballs
for users
1578 without texinfo
, perl
, bison or flex.
1579 --enable-multilib build many library versions
(default
)
1580 --enable-collections create collections.jar default
=no
1581 --enable-jni compile JNI
source default
=yes
1582 --enable-core-jni compile JNI sources
for core default
=yes
1583 --enable-default-preferences-peer[=peer
type or class name
]
1584 specify one of
: "gconf" [default
] for a GConf based
1585 backend
, "file" for a
file based one
, "memory" for a
1586 transient one
, or a fully qualified class name
1587 implementing java.util.prefs.PreferencesFactory
1588 --disable-gconf-peer compile GConf native peers
(disabled by
1589 --disable-jni) default
=yes
1591 --enable-gstreamer-peer compile GStreamer native peers
(disabled by
1592 --disable-jni) default
=no
1593 --enable-Werror whether to compile C code with
-Werror which turns
1594 any compiler warning into a compilation failure
1596 --enable-default-toolkit
1597 fully qualified class name of default AWT toolkit
1598 --enable-xmlj compile native libxml
/xslt library default
=no
1599 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
1601 --disable-dependency-tracking speeds up one-time build
1602 --enable-dependency-tracking do not reject slow dependency extractors
1603 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
1605 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
1607 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
1609 --disable-plugin compile gcjwebplugin
(disabled by
--disable-plugin)
1611 --enable-gmp compile native java.math.BigInteger library
1612 (disabled by
--disable-gmp) default
=yes
1613 --disable-gjdoc compile GJDoc
(disabled by
--disable-gjdoc)
1615 --enable-regen-headers automatically regenerate JNI headers default
=yes if
1617 --enable-regen-gjdoc-parser
1618 automatically regenerate the GJDoc parser
1619 default=yes if generated source doesn't exist
1620 --enable-tool-wrappers create tool wrapper binaries default
=no
1621 --enable-static[=PKGS
] build static libraries
[default
=no
]
1622 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1623 --enable-fast-install[=PKGS
]
1624 optimize
for fast installation
[default
=yes]
1625 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1626 --disable-rpath do not hardcode runtime library paths
1627 --enable-maintainer-mode enable make rules and dependencies not useful
1628 (and sometimes confusing
) to the casual installer
1629 --enable-debug enable runtime debugging code
1630 --enable-load-library enable to use JNI native methods default
=yes
1631 --enable-java-lang-system-explicit-initialization
1632 will the VM explicitly invoke java.lang.System
's
1633 static initialization methods default=no
1634 --enable-examples enable build of the examples default=yes
1635 --enable-tools enable build of the tools default=yes
1636 --enable-portable-native-sync
1637 synchronize VM threads portably
1638 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1641 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1642 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1643 --with-native-libdir sets the installation directory for native libraries
1644 default='${libdir}/${PACKAGE}'
1645 --with-glibj-dir sets the installation directory for glibj.zip
1646 default='${libdir}/${PACKAGE}'
1647 --with-antlr-jar=file Use ANTLR from the specified jar file
1648 --with-pic try to use only PIC/non-PIC objects [default=use
1650 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1651 --with-gnu-ld assume the C compiler uses GNU ld default=no
1652 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1653 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1654 --with-x use the X Window System
1655 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
1656 systems use pkg-config.
1657 --with-javah specify path or name of a javah-like program
1658 --with-vm-classes specify path to VM override
source files
1659 --with-ecj-jar=ABS.PATH specify jar
file containing the Eclipse Java
1661 --with-jar=PATH define to use a jar style tool
1662 --with-glibj define what to
install (zip|flat|both|none|build
)
1664 --with-gjdoc generate documentation using gjdoc
(default is NO
)
1665 --with-jay=DIR|PATH Regenerate the parsers with jay
1666 --with-glibj-zip=ABS.PATH
1667 use prebuilt glibj.
zip class library
1668 --with-escher=ABS.PATH specify path to escher dir or JAR
for X peers
1670 Some influential environment variables
:
1671 CC C compiler
command
1672 CFLAGS C compiler flags
1673 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1674 nonstandard directory
<lib dir
>
1675 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1676 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1677 you have headers
in a nonstandard directory
<include dir
>
1679 CXX C
++ compiler
command
1680 CXXFLAGS C
++ compiler flags
1681 CXXCPP C
++ preprocessor
1682 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1684 Use these variables to override the choices made by
`configure' or to help
1685 it to find libraries and programs with nonstandard names/locations.
1687 Report bugs to <classpath@gnu.org>.
1688 GNU Classpath home page: <http://www.gnu.org/software/classpath/>.
1689 General help using GNU software: <http://www.gnu.org/gethelp/>.
1694 if test "$ac_init_help" = "recursive"; then
1695 # If there are subdirs, report their specific --help.
1696 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1697 test -d "$ac_dir" ||
1698 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1703 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1705 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1706 # A ".." for each directory in $ac_dir_suffix.
1707 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1708 case $ac_top_builddir_sub in
1709 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1710 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1713 ac_abs_top_builddir=$ac_pwd
1714 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1715 # for backward compatibility:
1716 ac_top_builddir=$ac_top_build_prefix
1719 .) # We are building in place.
1721 ac_top_srcdir=$ac_top_builddir_sub
1722 ac_abs_top_srcdir=$ac_pwd ;;
1723 [\\/]* | ?:[\\/]* ) # Absolute name.
1724 ac_srcdir=$srcdir$ac_dir_suffix;
1725 ac_top_srcdir=$srcdir
1726 ac_abs_top_srcdir=$srcdir ;;
1728 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1729 ac_top_srcdir=$ac_top_build_prefix$srcdir
1730 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1732 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1734 cd "$ac_dir" || { ac_status=$?; continue; }
1735 # Check for guested configure.
1736 if test -f "$ac_srcdir/configure.gnu"; then
1738 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1739 elif test -f "$ac_srcdir/configure"; then
1741 $SHELL "$ac_srcdir/configure" --help=recursive
1743 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1745 cd "$ac_pwd" || { ac_status=$?; break; }
1749 test -n "$ac_init_help" && exit $ac_status
1750 if $ac_init_version; then
1752 GNU Classpath configure 0.98
1753 generated by GNU Autoconf 2.64
1755 Copyright (C) 2009 Free Software Foundation, Inc.
1756 This configure script is free software; the Free Software Foundation
1757 gives unlimited permission to copy, distribute and modify it.
1762 ## ------------------------ ##
1763 ## Autoconf initialization. ##
1764 ## ------------------------ ##
1766 # ac_fn_c_try_compile LINENO
1767 # --------------------------
1768 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1769 ac_fn_c_try_compile ()
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 rm -f conftest.$ac_objext
1773 if { { ac_try="$ac_compile"
1775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1776 *) ac_try_echo
=$ac_try;;
1778 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_compile") 2>conftest.err
1782 if test -s conftest.err
; then
1783 grep -v '^ *+' conftest.err
>conftest.er1
1784 cat conftest.er1
>&5
1785 mv -f conftest.er1 conftest.err
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } && {
1789 test -z "$ac_c_werror_flag" ||
1790 test ! -s conftest.err
1791 } && test -s conftest.
$ac_objext; then :
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.
$ac_ext >&5
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1802 } # ac_fn_c_try_compile
1804 # ac_fn_c_try_cpp LINENO
1805 # ----------------------
1806 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1809 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1810 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1819 if test -s conftest.err; then
1820 grep -v '^ *+' conftest.err >conftest.er1
1821 cat conftest.er1 >&5
1822 mv -f conftest.er1 conftest.err
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; } >/dev/null && {
1826 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1827 test ! -s conftest.err
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1836 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1842 # -------------------------------------------------------
1843 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1844 # the include files in INCLUDES and setting the cache variable VAR
1846 ac_fn_c_check_header_mongrel ()
1848 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853 $as_echo_n "(cached) " >&6
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857 $as_echo "$ac_res" >&6; }
1859 # Is the header compilable?
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1861 $as_echo_n "checking $2 usability... " >&6; }
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1867 if ac_fn_c_try_compile "$LINENO"; then :
1868 ac_header_compiler=yes
1870 ac_header_compiler=no
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1874 $as_echo "$ac_header_compiler" >&6; }
1876 # Is the header present?
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1878 $as_echo_n "checking $2 presence... " >&6; }
1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1883 if ac_fn_c_try_cpp "$LINENO"; then :
1884 ac_header_preproc=yes
1886 ac_header_preproc=no
1888 rm -f conftest.err conftest.$ac_ext
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1890 $as_echo "$ac_header_preproc" >&6; }
1892 # So? What about this header?
1893 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1896 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1898 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1902 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1904 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1906 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1908 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1910 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1912 ## -------------------------------- ##
1913 ## Report this to classpath@gnu.org ##
1914 ## -------------------------------- ##
1916 ) | sed "s/^/$as_me: WARNING: /" >&2
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1920 $as_echo_n "checking for $2... " >&6; }
1921 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1922 $as_echo_n "(cached) " >&6
1924 eval "$3=\$ac_header_compiler"
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1928 $as_echo "$ac_res" >&6; }
1930 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1932 } # ac_fn_c_check_header_mongrel
1934 # ac_fn_c_try_run LINENO
1935 # ----------------------
1936 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1937 # that executables *can* be run.
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941 if { { ac_try="$ac_link"
1943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1944 *) ac_try_echo
=$ac_try;;
1946 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947 $as_echo "$ac_try_echo"; } >&5
1948 (eval "$ac_link") 2>&5
1950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1951 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1952 { { case "(($ac_try" in
1953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1954 *) ac_try_echo=$ac_try;;
1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957 $as_echo "$ac_try_echo"; } >&5
1958 (eval "$ac_try") 2>&5
1960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1961 test $ac_status = 0; }; }; then :
1964 $as_echo "$as_me: program exited with status $ac_status" >&5
1965 $as_echo "$as_me: failed program was:" >&5
1966 sed 's/^/| /' conftest.$ac_ext >&5
1968 ac_retval=$ac_status
1970 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1971 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1976 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1977 # -------------------------------------------------------
1978 # Tests whether HEADER exists and can be compiled using the include files in
1979 # INCLUDES, setting the cache variable VAR accordingly.
1980 ac_fn_c_check_header_compile ()
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1984 $as_echo_n "checking for $2... " >&6; }
1985 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1986 $as_echo_n "(cached) " >&6
1988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h. */
1993 if ac_fn_c_try_compile "$LINENO"; then :
1998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2002 $as_echo "$ac_res" >&6; }
2003 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2005 } # ac_fn_c_check_header_compile
2007 # ac_fn_c_try_link LINENO
2008 # -----------------------
2009 # Try to link conftest.$ac_ext, and return whether this succeeded.
2012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2013 rm -f conftest.$ac_objext conftest$ac_exeext
2014 if { { ac_try="$ac_link"
2016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2017 *) ac_try_echo
=$ac_try;;
2019 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2020 $as_echo "$ac_try_echo"; } >&5
2021 (eval "$ac_link") 2>conftest.err
2023 if test -s conftest.err
; then
2024 grep -v '^ *+' conftest.err
>conftest.er1
2025 cat conftest.er1
>&5
2026 mv -f conftest.er1 conftest.err
2028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2029 test $ac_status = 0; } && {
2030 test -z "$ac_c_werror_flag" ||
2031 test ! -s conftest.err
2032 } && test -s conftest
$ac_exeext && {
2033 test "$cross_compiling" = yes ||
2034 $as_test_x conftest
$ac_exeext
2038 $as_echo "$as_me: failed program was:" >&5
2039 sed 's/^/| /' conftest.
$ac_ext >&5
2043 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2044 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2045 # interfere with the next link command; also delete a directory that is
2046 # left behind by Apple's compiler. We do this before executing the actions.
2047 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2048 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2051 } # ac_fn_c_try_link
2053 # ac_fn_c_check_func LINENO FUNC VAR
2054 # ----------------------------------
2055 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2056 ac_fn_c_check_func
()
2058 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 $as_echo_n "checking for $2... " >&6; }
2061 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2062 $as_echo_n "(cached) " >&6
2064 if test x
$gcc_no_link = xyes
; then
2065 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2068 /* end confdefs.h. */
2069 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2071 #define $2 innocuous_$2
2073 /* System header to define __stub macros and hopefully few prototypes,
2074 which can conflict with char $2 (); below.
2075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2076 <limits.h> exists even on freestanding compilers. */
2079 # include <limits.h>
2081 # include <assert.h>
2086 /* Override any GCC internal prototype to avoid an error.
2087 Use char because int might match the return type of a GCC
2088 builtin and then its argument prototype would still apply. */
2093 /* The GNU C library defines this for functions which it implements
2094 to always fail with ENOSYS. Some functions are actually named
2095 something starting with __ and the normal name is an alias. */
2096 #if defined __stub_$2 || defined __stub___$2
2108 if ac_fn_c_try_link
"$LINENO"; then :
2113 rm -f core conftest.err conftest.
$ac_objext \
2114 conftest
$ac_exeext conftest.
$ac_ext
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2119 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2121 } # ac_fn_c_check_func
2123 # ac_fn_cxx_try_compile LINENO
2124 # ----------------------------
2125 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2126 ac_fn_cxx_try_compile
()
2128 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2129 rm -f conftest.
$ac_objext
2130 if { { ac_try
="$ac_compile"
2132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2133 *) ac_try_echo=$ac_try;;
2135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2136 $as_echo "$ac_try_echo"; } >&5
2137 (eval "$ac_compile") 2>conftest.err
2139 if test -s conftest.err; then
2140 grep -v '^ *+' conftest.err >conftest.er1
2141 cat conftest.er1 >&5
2142 mv -f conftest.er1 conftest.err
2144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2145 test $ac_status = 0; } && {
2146 test -z "$ac_cxx_werror_flag" ||
2147 test ! -s conftest.err
2148 } && test -s conftest.$ac_objext; then :
2151 $as_echo "$as_me: failed program was:" >&5
2152 sed 's/^/| /' conftest.$ac_ext >&5
2156 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2159 } # ac_fn_cxx_try_compile
2161 # ac_fn_cxx_try_cpp LINENO
2162 # ------------------------
2163 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2164 ac_fn_cxx_try_cpp ()
2166 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2167 if { { ac_try="$ac_cpp conftest.$ac_ext"
2169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2170 *) ac_try_echo
=$ac_try;;
2172 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2173 $as_echo "$ac_try_echo"; } >&5
2174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2176 if test -s conftest.err
; then
2177 grep -v '^ *+' conftest.err
>conftest.er1
2178 cat conftest.er1
>&5
2179 mv -f conftest.er1 conftest.err
2181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2182 test $ac_status = 0; } >/dev
/null
&& {
2183 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2184 test ! -s conftest.err
2188 $as_echo "$as_me: failed program was:" >&5
2189 sed 's/^/| /' conftest.
$ac_ext >&5
2193 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2196 } # ac_fn_cxx_try_cpp
2198 # ac_fn_cxx_try_link LINENO
2199 # -------------------------
2200 # Try to link conftest.$ac_ext, and return whether this succeeded.
2201 ac_fn_cxx_try_link
()
2203 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2204 rm -f conftest.
$ac_objext conftest
$ac_exeext
2205 if { { ac_try
="$ac_link"
2207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2208 *) ac_try_echo=$ac_try;;
2210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2211 $as_echo "$ac_try_echo"; } >&5
2212 (eval "$ac_link") 2>conftest.err
2214 if test -s conftest.err; then
2215 grep -v '^ *+' conftest.err >conftest.er1
2216 cat conftest.er1 >&5
2217 mv -f conftest.er1 conftest.err
2219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2220 test $ac_status = 0; } && {
2221 test -z "$ac_cxx_werror_flag" ||
2222 test ! -s conftest.err
2223 } && test -s conftest$ac_exeext && {
2224 test "$cross_compiling" = yes ||
2225 $as_test_x conftest$ac_exeext
2229 $as_echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.$ac_ext >&5
2234 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2235 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2236 # interfere with the next link command; also delete a directory that is
2237 # left behind by Apple's compiler. We do this before executing the actions.
2238 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2239 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2242 } # ac_fn_cxx_try_link
2244 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2245 # ----------------------------------------------------
2246 # Tries to find if the field MEMBER exists in type AGGR, after including
2247 # INCLUDES, setting cache variable VAR accordingly.
2248 ac_fn_c_check_member ()
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2252 $as_echo_n "checking for $2.$3... " >&6; }
2253 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2254 $as_echo_n "(cached) " >&6
2256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2257 /* end confdefs.h. */
2269 if ac_fn_c_try_compile "$LINENO"; then :
2272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2273 /* end confdefs.h. */
2279 if (sizeof ac_aggr.$3)
2285 if ac_fn_c_try_compile "$LINENO"; then :
2290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2296 $as_echo "$ac_res" >&6; }
2297 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2299 } # ac_fn_c_check_member
2301 # ac_fn_c_check_decl LINENO SYMBOL VAR
2302 # ------------------------------------
2303 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2304 ac_fn_c_check_decl ()
2306 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2308 $as_echo_n "checking whether $2 is declared... " >&6; }
2309 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2310 $as_echo_n "(cached) " >&6
2312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2313 /* end confdefs.h. */
2326 if ac_fn_c_try_compile "$LINENO"; then :
2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2335 $as_echo "$ac_res" >&6; }
2336 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2338 } # ac_fn_c_check_decl
2340 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2341 # -------------------------------------------
2342 # Tests whether TYPE exists after having included INCLUDES, setting cache
2343 # variable VAR accordingly.
2344 ac_fn_c_check_type ()
2346 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2348 $as_echo_n "checking for $2... " >&6; }
2349 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2350 $as_echo_n "(cached) " >&6
2353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354 /* end confdefs.h. */
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2367 /* end confdefs.h. */
2378 if ac_fn_c_try_compile "$LINENO"; then :
2383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2389 $as_echo "$ac_res" >&6; }
2390 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2392 } # ac_fn_c_check_type
2394 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2395 # --------------------------------------------
2396 # Tries to find the compile-time value of EXPR in a program that includes
2397 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2399 ac_fn_c_compute_int ()
2401 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2402 if test "$cross_compiling" = yes; then
2403 # Depending upon the size, compute the lo and hi bounds.
2404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2405 /* end confdefs.h. */
2410 static int test_array [1 - 2 * !(($2) >= 0)];
2417 if ac_fn_c_try_compile "$LINENO"; then :
2420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2421 /* end confdefs.h. */
2426 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2433 if ac_fn_c_try_compile "$LINENO"; then :
2434 ac_hi=$ac_mid; break
2436 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2437 if test $ac_lo -le $ac_mid; then
2441 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2447 /* end confdefs.h. */
2452 static int test_array [1 - 2 * !(($2) < 0)];
2459 if ac_fn_c_try_compile "$LINENO"; then :
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2468 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2475 if ac_fn_c_try_compile "$LINENO"; then :
2476 ac_lo=$ac_mid; break
2478 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2479 if test $ac_mid -le $ac_hi; then
2483 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493 # Binary search between lo and hi bounds.
2494 while test "x$ac_lo" != "x$ac_hi"; do
2495 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2497 /* end confdefs.h. */
2502 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2509 if ac_fn_c_try_compile "$LINENO"; then :
2512 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2517 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2522 /* end confdefs.h. */
2524 static long int longval () { return $2; }
2525 static unsigned long int ulongval () { return $2; }
2532 FILE *f = fopen ("conftest.val", "w");
2537 long int i = longval ();
2540 fprintf (f, "%ld", i);
2544 unsigned long int i = ulongval ();
2547 fprintf (f, "%lu", i);
2549 /* Do not output a trailing newline, as this causes \r\n confusion
2550 on some platforms. */
2551 return ferror (f) || fclose (f) != 0;
2557 if ac_fn_c_try_run "$LINENO"; then :
2558 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2563 conftest.$ac_objext conftest.beam conftest.$ac_ext
2567 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2570 } # ac_fn_c_compute_int
2571 cat >config.log <<_ACEOF
2572 This file contains any messages produced by compilers while
2573 running configure, to aid debugging if configure makes a mistake.
2575 It was created by GNU Classpath $as_me 0.98, which was
2576 generated by GNU Autoconf 2.64. Invocation command line was
2588 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2589 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2590 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2591 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2592 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2594 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2595 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2597 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2598 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2599 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2600 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2601 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2602 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2603 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir=.
2612 $as_echo "PATH: $as_dir"
2628 # Keep a trace of the command line.
2629 # Strip out --no-create and --no-recursion so they do not pile up.
2630 # Strip out --silent because we don't want to record it for future runs.
2631 # Also quote any args containing shell meta-characters.
2632 # Make two passes to allow for proper duplicate-argument suppression.
2636 ac_must_keep_next=false
2642 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2643 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2644 | -silent | --silent | --silen | --sile | --sil)
2647 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2650 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2652 as_fn_append ac_configure_args1 " '$ac_arg'"
2653 if test $ac_must_keep_next = true; then
2654 ac_must_keep_next=false # Got value, back to normal.
2657 *=* | --config-cache | -C | -disable-* | --disable-* \
2658 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2659 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2660 | -with-* | --with-* | -without-* | --without-* | --x)
2661 case "$ac_configure_args0 " in
2662 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2665 -* ) ac_must_keep_next=true ;;
2668 as_fn_append ac_configure_args " '$ac_arg'"
2673 { ac_configure_args0=; unset ac_configure_args0;}
2674 { ac_configure_args1=; unset ac_configure_args1;}
2676 # When interrupted or exit'd, cleanup temporary files, and complete
2677 # config.log. We remove comments because anyway the quotes in there
2678 # would cause problems or look ugly.
2679 # WARNING: Use '\'' to represent an apostrophe within the trap.
2680 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2681 trap 'exit_status=$?
2682 # Save into config.log some information that might help in debugging.
2687 ## ---------------- ##
2688 ## Cache variables. ##
2689 ## ---------------- ##
2692 # The following way of writing the cache mishandles newlines in values,
2694 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2695 eval ac_val=\$$ac_var
2699 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2700 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2703 _ | IFS | as_nl) ;; #(
2704 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2705 *) { eval $ac_var=; unset $ac_var;} ;;
2710 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2711 *${as_nl}ac_space=\ *)
2713 "s/'\''/'\''\\\\'\'''\''/g;
2714 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2717 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2725 ## ----------------- ##
2726 ## Output variables. ##
2727 ## ----------------- ##
2730 for ac_var in $ac_subst_vars
2732 eval ac_val=\$$ac_var
2734 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2736 $as_echo "$ac_var='\''$ac_val'\''"
2740 if test -n "$ac_subst_files"; then
2742 ## ------------------- ##
2743 ## File substitutions. ##
2744 ## ------------------- ##
2747 for ac_var in $ac_subst_files
2749 eval ac_val=\$$ac_var
2751 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2753 $as_echo "$ac_var='\''$ac_val'\''"
2758 if test -s confdefs.h; then
2768 test "$ac_signal" != 0 &&
2769 $as_echo "$as_me: caught signal $ac_signal"
2770 $as_echo "$as_me: exit $exit_status"
2772 rm -f core *.core core.conftest.* &&
2773 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2776 for ac_signal in 1 2 13 15; do
2777 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2781 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2782 rm -f -r conftest* confdefs.h
2784 $as_echo "/* confdefs.h */" > confdefs.h
2786 # Predefined preprocessor variables.
2788 cat >>confdefs.h <<_ACEOF
2789 #define PACKAGE_NAME "$PACKAGE_NAME"
2792 cat >>confdefs.h <<_ACEOF
2793 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2796 cat >>confdefs.h <<_ACEOF
2797 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2800 cat >>confdefs.h <<_ACEOF
2801 #define PACKAGE_STRING "$PACKAGE_STRING"
2804 cat >>confdefs.h <<_ACEOF
2805 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2808 cat >>confdefs.h <<_ACEOF
2809 #define PACKAGE_URL "$PACKAGE_URL"
2813 # Let the site file select an alternate cache file if it wants to.
2814 # Prefer an explicitly selected file to automatically selected ones.
2817 if test -n "$CONFIG_SITE"; then
2818 ac_site_file1=$CONFIG_SITE
2819 elif test "x$prefix" != xNONE; then
2820 ac_site_file1=$prefix/share/config.site
2821 ac_site_file2=$prefix/etc/config.site
2823 ac_site_file1=$ac_default_prefix/share/config.site
2824 ac_site_file2=$ac_default_prefix/etc/config.site
2826 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2828 test "x$ac_site_file" = xNONE && continue
2829 if test -r "$ac_site_file"; then
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2831 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2832 sed 's/^/| /' "$ac_site_file" >&5
2837 if test -r "$cache_file"; then
2838 # Some versions of bash will fail to source /dev/null (special
2839 # files actually), so we avoid doing that.
2840 if test -f "$cache_file"; then
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2842 $as_echo "$as_me: loading cache $cache_file" >&6;}
2844 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2845 *) . "./$cache_file";;
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2850 $as_echo "$as_me: creating cache $cache_file" >&6;}
2854 # Check that the precious variables saved in the cache have kept the same
2856 ac_cache_corrupted=false
2857 for ac_var in $ac_precious_vars; do
2858 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2859 eval ac_new_set=\$ac_env_${ac_var}_set
2860 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2861 eval ac_new_val=\$ac_env_${ac_var}_value
2862 case $ac_old_set,$ac_new_set in
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2865 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2866 ac_cache_corrupted=: ;;
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2869 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2870 ac_cache_corrupted=: ;;
2873 if test "x$ac_old_val" != "x$ac_new_val"; then
2874 # differences in whitespace do not lead to failure.
2875 ac_old_val_w=`echo x
$ac_old_val`
2876 ac_new_val_w=`echo x
$ac_new_val`
2877 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2879 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2880 ac_cache_corrupted=:
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2883 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2884 eval $ac_var=\$ac_old_val
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2887 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2889 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2892 # Pass precious variables to config.status.
2893 if test "$ac_new_set" = set; then
2895 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2896 *) ac_arg=$ac_var=$ac_new_val ;;
2898 case " $ac_configure_args " in
2899 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2900 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2904 if $ac_cache_corrupted; then
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2908 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2909 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2911 ## -------------------- ##
2912 ## Main body of script. ##
2913 ## -------------------- ##
2916 ac_cpp='$CPP $CPPFLAGS'
2917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2928 for ac_dir in ../.. "$srcdir"/../..; do
2929 for ac_t in install-sh install.sh shtool; do
2930 if test -f "$ac_dir/$ac_t"; then
2932 ac_install_sh="$ac_aux_dir/$ac_t -c"
2937 if test -z "$ac_aux_dir"; then
2938 as_fn_error "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2941 # These three variables are undocumented and unsupported,
2942 # and are intended to be withdrawn in a future Autoconf release.
2943 # They can cause serious problems if a builder's source tree is in a directory
2944 # whose full name contains unusual characters.
2945 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2946 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2947 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2951 # Make sure we can run config.sub.
2952 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2953 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2956 $as_echo_n "checking build system type... " >&6; }
2957 if test "${ac_cv_build+set}" = set; then :
2958 $as_echo_n "(cached) " >&6
2960 ac_build_alias=$build_alias
2961 test "x$ac_build_alias" = x &&
2962 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2963 test "x$ac_build_alias" = x &&
2964 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2965 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2966 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2970 $as_echo "$ac_cv_build" >&6; }
2971 case $ac_cv_build in
2973 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2976 ac_save_IFS=$IFS; IFS='-'
2982 # Remember, the first character of IFS is used to create $*,
2983 # except with old shells:
2986 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2990 $as_echo_n "checking host system type... " >&6; }
2991 if test "${ac_cv_host+set}" = set; then :
2992 $as_echo_n "(cached) " >&6
2994 if test "x$host_alias" = x; then
2995 ac_cv_host=$ac_cv_build
2997 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2998 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3003 $as_echo "$ac_cv_host" >&6; }
3006 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3009 ac_save_IFS=$IFS; IFS='-'
3015 # Remember, the first character of IFS is used to create $*,
3016 # except with old shells:
3019 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3023 $as_echo_n "checking target system type... " >&6; }
3024 if test "${ac_cv_target+set}" = set; then :
3025 $as_echo_n "(cached) " >&6
3027 if test "x$target_alias" = x; then
3028 ac_cv_target=$ac_cv_host
3030 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3031 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3036 $as_echo "$ac_cv_target" >&6; }
3037 case $ac_cv_target in
3039 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3041 target=$ac_cv_target
3042 ac_save_IFS=$IFS; IFS='-'
3048 # Remember, the first character of IFS is used to create $*,
3049 # except with old shells:
3052 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
3055 # The aliases save the names the user supplied, while $host etc.
3056 # will get canonicalized.
3057 test -n "$target_alias" &&
3058 test "$program_prefix$program_suffix$program_transform_name" = \
3060 program_prefix=${target_alias}-
3062 # Check whether --enable-java-maintainer-mode was given.
3063 if test "${enable_java_maintainer_mode+set}" = set; then :
3064 enableval=$enable_java_maintainer_mode;
3067 if test "$enable_java_maintainer_mode" = yes; then
3068 JAVA_MAINTAINER_MODE_TRUE=
3069 JAVA_MAINTAINER_MODE_FALSE='#'
3071 JAVA_MAINTAINER_MODE_TRUE='#'
3072 JAVA_MAINTAINER_MODE_FALSE=
3076 # We would like to our source tree to be readonly. However when releases or
3077 # pre-releases are generated, the man pages need to be included as they are
3078 # converted from the texi files via perl which we don't require end users to
3080 # Therefore we have --enable-generated-files-in-srcdir to do just that.
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to place generated files in the source directory" >&5
3083 $as_echo_n "checking whether to place generated files in the source directory... " >&6; }
3084 # Check whether --enable-generated-files-in-srcdir was given.
3085 if test "${enable_generated_files_in_srcdir+set}" = set; then :
3086 enableval=$enable_generated_files_in_srcdir; generated_files_in_srcdir=$enableval
3088 generated_files_in_srcdir=no
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $generated_files_in_srcdir" >&5
3093 $as_echo "$generated_files_in_srcdir" >&6; }
3094 if test x$generated_files_in_srcdir = xyes; then
3103 # Find the rest of the source tree framework.
3104 # Default to --enable-multilib
3105 # Check whether --enable-multilib was given.
3106 if test "${enable_multilib+set}" = set; then :
3107 enableval=$enable_multilib; case "$enableval" in
3108 yes) multilib=yes ;;
3110 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3117 # We may get other options which we leave undocumented:
3118 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3119 # See config-ml.in if you want the gory details.
3121 if test "$srcdir" = "."; then
3122 if test "$with_target_subdir" != "."; then
3123 multi_basedir="$srcdir/$with_multisrctop../../.."
3125 multi_basedir="$srcdir/$with_multisrctop../.."
3128 multi_basedir="$srcdir/../.."
3132 # Even if the default multilib is not a cross compilation,
3133 # it may be that some of the other multilibs are.
3134 if test $cross_compiling = no && test $multilib = yes \
3135 && test "x${with_multisubdir}" != x ; then
3136 cross_compiling=maybe
3139 ac_config_commands="$ac_config_commands default-1"
3142 if test -z "${with_multisubdir}"; then
3143 INSTALL_BINARIES_TRUE=
3144 INSTALL_BINARIES_FALSE='#'
3146 INSTALL_BINARIES_TRUE='#'
3147 INSTALL_BINARIES_FALSE=
3151 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
3164 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
3167 CLASSPATH_CONVENIENCE="-no-undefined"
3171 am__api_version='1.11'
3173 # Find a good install program. We prefer a C program (faster),
3174 # so one script is as good as another. But avoid the broken or
3175 # incompatible versions:
3176 # SysV /etc/install, /usr/sbin/install
3177 # SunOS /usr/etc/install
3178 # IRIX /sbin/install
3180 # AmigaOS /C/install, which installs bootblocks on floppy discs
3181 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3182 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3183 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3184 # OS/2's system install, which has a completely different semantic
3185 # ./install, which can be erroneously created by make from ./install.sh.
3186 # Reject install programs that cannot install multiple files.
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3188 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3189 if test -z "$INSTALL"; then
3190 if test "${ac_cv_path_install+set}" = set; then :
3191 $as_echo_n "(cached) " >&6
3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 test -z "$as_dir" && as_dir=.
3198 # Account for people who put trailing slashes in PATH elements.
3199 case $as_dir/ in #((
3200 ./ | .// | /[cC]/* | \
3201 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3202 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3205 # OSF1 and SCO ODT 3.0 have their own names for install.
3206 # Don't use installbsd from OSF since it installs stuff as root
3208 for ac_prog in ginstall scoinst install; do
3209 for ac_exec_ext in '' $ac_executable_extensions; do
3210 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3211 if test $ac_prog = install &&
3212 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3213 # AIX install. It has an incompatible calling convention.
3215 elif test $ac_prog = install &&
3216 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3217 # program-specific install script used by HP pwplus--don't use.
3220 rm -rf conftest.one conftest.two conftest.dir
3221 echo one > conftest.one
3222 echo two > conftest.two
3224 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3225 test -s conftest.one && test -s conftest.two &&
3226 test -s conftest.dir/conftest.one &&
3227 test -s conftest.dir/conftest.two
3229 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3242 rm -rf conftest.one conftest.two conftest.dir
3245 if test "${ac_cv_path_install+set}" = set; then
3246 INSTALL=$ac_cv_path_install
3248 # As a last resort, use the slow shell script. Don't cache a
3249 # value for INSTALL within a source directory, because that will
3250 # break other packages using the cache if that directory is
3251 # removed, or if the value is a relative name.
3252 INSTALL=$ac_install_sh
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3256 $as_echo "$INSTALL" >&6; }
3258 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3259 # It thinks the first close brace ends the variable substitution.
3260 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3262 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3264 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3267 $as_echo_n "checking whether build environment is sane... " >&6; }
3270 echo timestamp > conftest.file
3271 # Reject unsafe characters in $srcdir or the absolute working directory
3272 # name. Accept space and tab only in the latter.
3276 *[\\\"\#\$\&\'\`$am_lf]*)
3277 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3280 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3281 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3284 # Do `set' in a subshell so we don't clobber the current shell's
3285 # arguments. Must try -L first in case configure is actually a
3286 # symlink; some systems play weird games with the mod time of symlinks
3287 # (eg FreeBSD returns the mod time of the symlink's containing
3290 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3291 if test "$*" = "X"; then
3293 set X
`ls -t "$srcdir/configure" conftest.file`
3296 if test "$*" != "X $srcdir/configure conftest.file" \
3297 && test "$*" != "X conftest.file $srcdir/configure"; then
3299 # If neither matched, then we have a broken ls. This can happen
3300 # if, for instance, CONFIG_SHELL is bash and it inherits a
3301 # broken ls alias from the environment. This has actually
3302 # happened. Such a system could not be considered "sane".
3303 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3304 alias in your environment" "$LINENO" 5
3307 test "$2" = conftest.
file
3313 as_fn_error
"newly created file is older than distributed files!
3314 Check your system clock" "$LINENO" 5
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3317 $as_echo "yes" >&6; }
3318 test "$program_prefix" != NONE
&&
3319 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3320 # Use a double $ so make ignores it.
3321 test "$program_suffix" != NONE
&&
3322 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3323 # Double any \ or $.
3324 # By default was `s,x,x', remove it if useless.
3325 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3326 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3328 # expand $ac_aux_dir to an absolute path
3329 am_aux_dir
=`cd $ac_aux_dir && pwd`
3331 if test x
"${MISSING+set}" != xset
; then
3334 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3336 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3339 # Use eval to expand $SHELL
3340 if eval "$MISSING --run true"; then
3341 am_missing_run
="$MISSING --run "
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3345 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3348 if test x
"${install_sh}" != xset
; then
3351 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3353 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3357 # Installed binaries are usually stripped using `strip' when the user
3358 # run `make install-strip'. However `strip' might not be the right
3359 # tool to use in cross-compilation environments, therefore Automake
3360 # will honor the `STRIP' environment variable to overrule this program.
3361 if test "$cross_compiling" != no
; then
3362 if test -n "$ac_tool_prefix"; then
3363 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3364 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3366 $as_echo_n "checking for $ac_word... " >&6; }
3367 if test "${ac_cv_prog_STRIP+set}" = set; then :
3368 $as_echo_n "(cached) " >&6
3370 if test -n "$STRIP"; then
3371 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir
=.
3378 for ac_exec_ext
in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 STRIP
=$ac_cv_prog_STRIP
3391 if test -n "$STRIP"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3393 $as_echo "$STRIP" >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3401 if test -z "$ac_cv_prog_STRIP"; then
3403 # Extract the first word of "strip", so it can be a program name with args.
3404 set dummy strip
; ac_word
=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3408 $as_echo_n "(cached) " >&6
3410 if test -n "$ac_ct_STRIP"; then
3411 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3417 test -z "$as_dir" && as_dir
=.
3418 for ac_exec_ext
in '' $ac_executable_extensions; do
3419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3420 ac_cv_prog_ac_ct_STRIP
="strip"
3421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3430 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3431 if test -n "$ac_ct_STRIP"; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3433 $as_echo "$ac_ct_STRIP" >&6; }
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3439 if test "x$ac_ct_STRIP" = x
; then
3442 case $cross_compiling:$ac_tool_warned in
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3446 ac_tool_warned
=yes ;;
3451 STRIP
="$ac_cv_prog_STRIP"
3455 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3458 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3459 if test -z "$MKDIR_P"; then
3460 if test "${ac_cv_path_mkdir+set}" = set; then :
3461 $as_echo_n "(cached) " >&6
3463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3464 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3467 test -z "$as_dir" && as_dir
=.
3468 for ac_prog
in mkdir gmkdir
; do
3469 for ac_exec_ext
in '' $ac_executable_extensions; do
3470 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3471 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3472 'mkdir (GNU coreutils) '* | \
3473 'mkdir (coreutils) '* | \
3474 'mkdir (fileutils) '4.1*)
3475 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3485 if test "${ac_cv_path_mkdir+set}" = set; then
3486 MKDIR_P
="$ac_cv_path_mkdir -p"
3488 # As a last resort, use the slow shell script. Don't cache a
3489 # value for MKDIR_P within a source directory, because that will
3490 # break other packages using the cache if that directory is
3491 # removed, or if the value is a relative name.
3492 test -d .
/--version && rmdir .
/--version
3493 MKDIR_P
="$ac_install_sh -d"
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3497 $as_echo "$MKDIR_P" >&6; }
3501 [\\/$
]* | ?
:[\\/]*) ;;
3502 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3505 for ac_prog
in gawk mawk nawk
awk
3507 # Extract the first word of "$ac_prog", so it can be a program name with args.
3508 set dummy
$ac_prog; ac_word
=$2
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 $as_echo_n "checking for $ac_word... " >&6; }
3511 if test "${ac_cv_prog_AWK+set}" = set; then :
3512 $as_echo_n "(cached) " >&6
3514 if test -n "$AWK"; then
3515 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3521 test -z "$as_dir" && as_dir
=.
3522 for ac_exec_ext
in '' $ac_executable_extensions; do
3523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3524 ac_cv_prog_AWK
="$ac_prog"
3525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3535 if test -n "$AWK"; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3537 $as_echo "$AWK" >&6; }
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540 $as_echo "no" >&6; }
3544 test -n "$AWK" && break
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3548 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3550 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3551 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3552 $as_echo_n "(cached) " >&6
3554 cat >conftest.
make <<\_ACEOF
3557 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3559 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3560 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3562 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3564 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3568 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3570 $as_echo "yes" >&6; }
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3574 $as_echo "no" >&6; }
3575 SET_MAKE
="MAKE=${MAKE-make}"
3578 rm -rf .tst
2>/dev
/null
3579 mkdir .tst
2>/dev
/null
3580 if test -d .tst
; then
3585 rmdir .tst
2>/dev
/null
3587 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3588 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3589 # is not polluted with repeated "-I."
3590 am__isrc
=' -I$(srcdir)'
3591 # test to see if srcdir already configured
3592 if test -f $srcdir/config.status
; then
3593 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3597 # test whether we have cygpath
3598 if test -z "$CYGPATH_W"; then
3599 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3600 CYGPATH_W
='cygpath -w'
3607 # Define the identity of the package.
3612 cat >>confdefs.h
<<_ACEOF
3613 #define PACKAGE "$PACKAGE"
3617 cat >>confdefs.h
<<_ACEOF
3618 #define VERSION "$VERSION"
3621 # Some tools Automake needs.
3623 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3626 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3629 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3632 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3635 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3637 # We need awk for the "check" target. The system "awk" is bad on
3639 # Always define AMTAR for backward compatibility.
3641 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3645 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3646 # Loop over all known methods to create a tar archive until one works.
3647 _am_tools
='gnutar plaintar pax cpio none'
3648 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
3649 # Do not fold the above two line into one, because Tru64 sh and
3650 # Solaris sh will not grok spaces in the rhs of `-'.
3651 for _am_tool
in $_am_tools
3655 for _am_tar
in tar gnutar gtar
;
3657 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3658 ($_am_tar --version) >&5 2>&5
3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661 (exit $ac_status); } && break
3663 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
3664 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
3665 am__untar
="$_am_tar -xf -"
3668 # Must skip GNU tar: if it does not support --format= it doesn't create
3669 # ustar tarball either.
3670 (tar --version) >/dev
/null
2>&1 && continue
3671 am__tar
='tar chf - "$$tardir"'
3672 am__tar_
='tar chf - "$tardir"'
3673 am__untar
='tar xf -'
3676 am__tar
='pax -L -x ustar -w "$$tardir"'
3677 am__tar_
='pax -L -x ustar -w "$tardir"'
3681 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
3682 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
3683 am__untar
='cpio -i -H ustar -d'
3692 # If the value was cached, stop now. We just wanted to have am__tar
3693 # and am__untar set.
3694 test -n "${am_cv_prog_tar_ustar}" && break
3696 # tar/untar a dummy directory, and stop if the command works
3699 echo GrepMe
> conftest.dir
/file
3700 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3701 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); }
3706 if test -s conftest.
tar; then
3707 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3708 ($am__untar <conftest.
tar) >&5 2>&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); }
3712 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
3717 if test "${am_cv_prog_tar_ustar+set}" = set; then :
3718 $as_echo_n "(cached) " >&6
3720 am_cv_prog_tar_ustar
=$_am_tool
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3724 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3730 ac_config_headers
="$ac_config_headers include/config.h"
3736 # Check whether --enable-collections was given.
3737 if test "${enable_collections+set}" = set; then :
3738 enableval
=$enable_collections; case x
"${enableval}" in
3739 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
3740 xno
) COMPILE_COLLECTIONS
=no
;;
3741 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
3742 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
3745 COMPILE_COLLECTIONS
=no
3748 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
3749 CREATE_COLLECTIONS_TRUE
=
3750 CREATE_COLLECTIONS_FALSE
='#'
3752 CREATE_COLLECTIONS_TRUE
='#'
3753 CREATE_COLLECTIONS_FALSE
=
3757 # Check whether --enable-jni was given.
3758 if test "${enable_jni+set}" = set; then :
3759 enableval
=$enable_jni; case "${enableval}" in
3760 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
3761 no
) COMPILE_JNI
=no
;;
3762 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
3768 if test "x${COMPILE_JNI}" = xyes
; then
3769 CREATE_JNI_LIBRARIES_TRUE
=
3770 CREATE_JNI_LIBRARIES_FALSE
='#'
3772 CREATE_JNI_LIBRARIES_TRUE
='#'
3773 CREATE_JNI_LIBRARIES_FALSE
=
3777 # Check whether --enable-core-jni was given.
3778 if test "${enable_core_jni+set}" = set; then :
3779 enableval
=$enable_core_jni; case "${enableval}" in
3780 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
3781 no
) COMPILE_CORE_JNI
=no
;;
3782 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
3785 COMPILE_CORE_JNI
=yes
3788 if test "x${COMPILE_CORE_JNI}" = xyes
; then
3789 CREATE_CORE_JNI_LIBRARIES_TRUE
=
3790 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
3792 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
3793 CREATE_CORE_JNI_LIBRARIES_FALSE
=
3797 # Check whether --enable-default-preferences-peer was given.
3798 if test "${enable_default_preferences_peer+set}" = set; then :
3799 enableval
=$enable_default_preferences_peer; case "${enableval}" in
3800 file) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.FileBasedFactory
;;
3801 gconf|
yes|true
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
;;
3802 memory
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.MemoryBasedFactory
;;
3803 no|false
) as_fn_error
"bad value '${enableval}' for --enable-default-preferences-peer" "$LINENO" 5 ;;
3804 *) DEFAULT_PREFS_PEER
=${enableval} ;;
3807 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
3811 # Check whether --enable-gconf-peer was given.
3812 if test "${enable_gconf_peer+set}" = set; then :
3813 enableval
=$enable_gconf_peer; case "${enableval}" in
3814 yes) COMPILE_GCONF_PEER
=yes ;;
3815 no
) COMPILE_GCONF_PEER
=no
;;
3816 *) COMPILE_GCONF_PEER
=yes ;;
3819 COMPILE_GCONF_PEER
=yes
3822 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
3823 CREATE_GCONF_PEER_LIBRARIES_TRUE
=
3824 CREATE_GCONF_PEER_LIBRARIES_FALSE
='#'
3826 CREATE_GCONF_PEER_LIBRARIES_TRUE
='#'
3827 CREATE_GCONF_PEER_LIBRARIES_FALSE
=
3831 # Check whether --enable-gconf-peers was given.
3832 if test "${enable_gconf_peers+set}" = set; then :
3833 enableval
=$enable_gconf_peers; as_fn_error
"No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" "$LINENO" 5
3837 # Check whether --enable-gstreamer-peer was given.
3838 if test "${enable_gstreamer_peer+set}" = set; then :
3839 enableval
=$enable_gstreamer_peer; case "${enableval}" in
3840 yes) COMPILE_GSTREAMER_PEER
=yes ;;
3841 no
) COMPILE_GSTREAMER_PEER
=no
;;
3842 *) COMPILE_GSTREAMER_PEER
=default
;;
3845 COMPILE_GSTREAMER_PEER
=default
3848 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
3849 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
=
3850 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
='#'
3852 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
='#'
3853 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
=
3857 # Check whether --enable-gstreamer-peers was given.
3858 if test "${enable_gstreamer_peers+set}" = set; then :
3859 enableval
=$enable_gstreamer_peers; as_fn_error
"No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" "$LINENO" 5
3863 # Check whether --enable-Werror was given.
3864 if test "${enable_Werror+set}" = set; then :
3865 enableval
=$enable_Werror; case "${enableval}" in
3866 yes) ENABLE_WERROR
=yes ;;
3867 no
) ENABLE_WERROR
=no
;;
3868 *) ENABLE_WERROR
=default
;;
3871 ENABLE_WERROR
=default
3875 # Check whether --enable-default-toolkit was given.
3876 if test "${enable_default_toolkit+set}" = set; then :
3877 enableval
=$enable_default_toolkit;
3880 default_toolkit
=$enable_default_toolkit
3881 if test "$default_toolkit" = ""; then
3882 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
3886 # Check whether --enable-xmlj was given.
3887 if test "${enable_xmlj+set}" = set; then :
3888 enableval
=$enable_xmlj; case "${enableval}" in
3889 yes) COMPILE_XMLJ
=yes ;;
3890 no
) COMPILE_XMLJ
=no
;;
3891 *) COMPILE_XMLJ
=no
;;
3897 if test "x${COMPILE_XMLJ}" = xyes
; then
3898 CREATE_XMLJ_LIBRARY_TRUE
=
3899 CREATE_XMLJ_LIBRARY_FALSE
='#'
3901 CREATE_XMLJ_LIBRARY_TRUE
='#'
3902 CREATE_XMLJ_LIBRARY_FALSE
=
3906 DEPDIR
="${am__leading_dot}deps"
3908 ac_config_commands
="$ac_config_commands depfiles"
3911 am_make
=${MAKE-make}
3912 cat > confinc
<< 'END'
3914 @
echo this is the am__doit target
3917 # If we don't find an include directive, just comment out the code.
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3919 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3923 # First try GNU make style include.
3924 echo "include confinc" > confmf
3925 # Ignore all kinds of additional output from `make'.
3926 case `$am_make -s -f confmf 2> /dev/null` in #(
3927 *the\ am__doit\ target
*)
3933 # Now try BSD make style include.
3934 if test "$am__include" = "#"; then
3935 echo '.include "confinc"' > confmf
3936 case `$am_make -s -f confmf 2> /dev/null` in #(
3937 *the\ am__doit\ target
*)
3938 am__include
=.include
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3947 $as_echo "$_am_result" >&6; }
3948 rm -f confinc confmf
3950 # Check whether --enable-dependency-tracking was given.
3951 if test "${enable_dependency_tracking+set}" = set; then :
3952 enableval
=$enable_dependency_tracking;
3955 if test "x$enable_dependency_tracking" != xno
; then
3956 am_depcomp
="$ac_aux_dir/depcomp"
3959 if test "x$enable_dependency_tracking" != xno; then
3969 ac_cpp
='$CPP $CPPFLAGS'
3970 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3971 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3972 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3973 if test -n "$ac_tool_prefix"; then
3974 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3975 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if test "${ac_cv_prog_CC+set}" = set; then :
3979 $as_echo_n "(cached) " >&6
3981 if test -n "$CC"; then
3982 ac_cv_prog_CC
="$CC" # Let the user override the test.
3984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3988 test -z "$as_dir" && as_dir
=.
3989 for ac_exec_ext
in '' $ac_executable_extensions; do
3990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3991 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 if test -n "$CC"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4004 $as_echo "$CC" >&6; }
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4012 if test -z "$ac_cv_prog_CC"; then
4014 # Extract the first word of "gcc", so it can be a program name with args.
4015 set dummy gcc
; ac_word
=$2
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4017 $as_echo_n "checking for $ac_word... " >&6; }
4018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4019 $as_echo_n "(cached) " >&6
4021 if test -n "$ac_ct_CC"; then
4022 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4028 test -z "$as_dir" && as_dir
=.
4029 for ac_exec_ext
in '' $ac_executable_extensions; do
4030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4031 ac_cv_prog_ac_ct_CC
="gcc"
4032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4041 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4042 if test -n "$ac_ct_CC"; then
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4044 $as_echo "$ac_ct_CC" >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4047 $as_echo "no" >&6; }
4050 if test "x$ac_ct_CC" = x
; then
4053 case $cross_compiling:$ac_tool_warned in
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4057 ac_tool_warned
=yes ;;
4065 if test -z "$CC"; then
4066 if test -n "$ac_tool_prefix"; then
4067 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4068 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070 $as_echo_n "checking for $ac_word... " >&6; }
4071 if test "${ac_cv_prog_CC+set}" = set; then :
4072 $as_echo_n "(cached) " >&6
4074 if test -n "$CC"; then
4075 ac_cv_prog_CC
="$CC" # Let the user override the test.
4077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4081 test -z "$as_dir" && as_dir
=.
4082 for ac_exec_ext
in '' $ac_executable_extensions; do
4083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4084 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4095 if test -n "$CC"; then
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4097 $as_echo "$CC" >&6; }
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100 $as_echo "no" >&6; }
4106 if test -z "$CC"; then
4107 # Extract the first word of "cc", so it can be a program name with args.
4108 set dummy cc
; ac_word
=$2
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4110 $as_echo_n "checking for $ac_word... " >&6; }
4111 if test "${ac_cv_prog_CC+set}" = set; then :
4112 $as_echo_n "(cached) " >&6
4114 if test -n "$CC"; then
4115 ac_cv_prog_CC
="$CC" # Let the user override the test.
4118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4122 test -z "$as_dir" && as_dir
=.
4123 for ac_exec_ext
in '' $ac_executable_extensions; do
4124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4125 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4126 ac_prog_rejected
=yes
4130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4137 if test $ac_prog_rejected = yes; then
4138 # We found a bogon in the path, so make sure we never use it.
4139 set dummy
$ac_cv_prog_CC
4141 if test $# != 0; then
4142 # We chose a different compiler from the bogus one.
4143 # However, it has the same basename, so the bogon will be chosen
4144 # first if we set CC to just the basename; use the full file name.
4146 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4152 if test -n "$CC"; then
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4154 $as_echo "$CC" >&6; }
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4157 $as_echo "no" >&6; }
4162 if test -z "$CC"; then
4163 if test -n "$ac_tool_prefix"; then
4164 for ac_prog
in cl.exe
4166 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4167 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4169 $as_echo_n "checking for $ac_word... " >&6; }
4170 if test "${ac_cv_prog_CC+set}" = set; then :
4171 $as_echo_n "(cached) " >&6
4173 if test -n "$CC"; then
4174 ac_cv_prog_CC
="$CC" # Let the user override the test.
4176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4180 test -z "$as_dir" && as_dir
=.
4181 for ac_exec_ext
in '' $ac_executable_extensions; do
4182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4183 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4194 if test -n "$CC"; then
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4196 $as_echo "$CC" >&6; }
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4199 $as_echo "no" >&6; }
4203 test -n "$CC" && break
4206 if test -z "$CC"; then
4208 for ac_prog
in cl.exe
4210 # Extract the first word of "$ac_prog", so it can be a program name with args.
4211 set dummy
$ac_prog; ac_word
=$2
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4213 $as_echo_n "checking for $ac_word... " >&6; }
4214 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4215 $as_echo_n "(cached) " >&6
4217 if test -n "$ac_ct_CC"; then
4218 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4224 test -z "$as_dir" && as_dir
=.
4225 for ac_exec_ext
in '' $ac_executable_extensions; do
4226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4227 ac_cv_prog_ac_ct_CC
="$ac_prog"
4228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4237 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4238 if test -n "$ac_ct_CC"; then
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4240 $as_echo "$ac_ct_CC" >&6; }
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243 $as_echo "no" >&6; }
4247 test -n "$ac_ct_CC" && break
4250 if test "x$ac_ct_CC" = x
; then
4253 case $cross_compiling:$ac_tool_warned in
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4257 ac_tool_warned
=yes ;;
4266 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4268 as_fn_error
"no acceptable C compiler found in \$PATH
4269 See \`config.log' for more details." "$LINENO" 5; }
4271 # Provide some information about the compiler.
4272 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4275 for ac_option
in --version -v -V -qversion; do
4276 { { ac_try
="$ac_compiler $ac_option >&5"
4278 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4279 *) ac_try_echo=$ac_try;;
4281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4282 $as_echo "$ac_try_echo"; } >&5
4283 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4285 if test -s conftest.err; then
4287 ... rest of stderr output deleted ...
4288 10q' conftest.err >conftest.er1
4289 cat conftest.er1 >&5
4290 rm -f conftest.er1 conftest.err
4292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4293 test $ac_status = 0; }
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4309 (eval $ac_link) 2>&5
4311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4312 test $ac_status = 0; }; then :
4317 if test x$gcc_no_link = xyes; then
4318 # Setting cross_compile will disable run tests; it will
4319 # also disable AC_CHECK_FILE but that's generally
4320 # correct if we can't link.
4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4335 ac_clean_files_save=$ac_clean_files
4336 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4337 # Try to create an executable without -o first, disregard a.out.
4338 # It will help us diagnose broken compilers, and finding out an intuition
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4341 $as_echo_n "checking for C compiler default output file name... " >&6; }
4342 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4344 # The possible output files:
4345 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4348 for ac_file in $ac_files
4351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4352 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4357 if { { ac_try="$ac_link_default"
4359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4360 *) ac_try_echo
=$ac_try;;
4362 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4363 $as_echo "$ac_try_echo"; } >&5
4364 (eval "$ac_link_default") 2>&5
4366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4367 test $ac_status = 0; }; then :
4368 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4369 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4370 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4371 # so that the user can short-circuit this test for compilers unknown to
4373 for ac_file
in $ac_files ''
4375 test -f "$ac_file" ||
continue
4377 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4380 # We found the default executable, but exeext='' is most
4384 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4386 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4388 # We set ac_cv_exeext here because the later test for it is not
4389 # safe: cross compilers may not add the suffix if given an `-o'
4390 # argument, so we may need to know it at that point already.
4391 # Even if this section looks crufty: it has the advantage of
4398 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4404 $as_echo "$ac_file" >&6; }
4405 if test -z "$ac_file"; then :
4406 $as_echo "$as_me: failed program was:" >&5
4407 sed 's/^/| /' conftest.
$ac_ext >&5
4409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4411 { as_fn_set_status
77
4412 as_fn_error
"C compiler cannot create executables
4413 See \`config.log' for more details." "$LINENO" 5; }; }
4415 ac_exeext
=$ac_cv_exeext
4417 # Check that the compiler produces executables we can run. If not, either
4418 # the compiler is broken, or we cross compile.
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4420 $as_echo_n "checking whether the C compiler works... " >&6; }
4421 # If not cross compiling, check that we can run a simple program.
4422 if test "$cross_compiling" != yes; then
4423 if { ac_try
='./$ac_file'
4424 { { case "(($ac_try" in
4425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4426 *) ac_try_echo=$ac_try;;
4428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4429 $as_echo "$ac_try_echo"; } >&5
4430 (eval "$ac_try") 2>&5
4432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4433 test $ac_status = 0; }; }; then
4436 if test "$cross_compiling" = maybe; then
4439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4441 as_fn_error "cannot run C compiled programs.
4442 If you meant to cross compile
, use \
`--host'.
4443 See \`config.log
' for more details." "$LINENO" 5; }
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4448 $as_echo "yes" >&6; }
4450 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4451 ac_clean_files=$ac_clean_files_save
4452 # Check that the compiler produces executables we can run. If not, either
4453 # the compiler is broken, or we cross compile.
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4455 $as_echo_n "checking whether we are cross compiling... " >&6; }
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4457 $as_echo "$cross_compiling" >&6; }
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4460 $as_echo_n "checking for suffix of executables... " >&6; }
4461 if { { ac_try="$ac_link"
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467 $as_echo "$ac_try_echo"; } >&5
4468 (eval "$ac_link") 2>&5
4470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4471 test $ac_status = 0; }; then :
4472 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4473 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4474 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4476 for ac_file
in conftest.exe conftest conftest.
*; do
4477 test -f "$ac_file" ||
continue
4479 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4480 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4488 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4489 See \`config.log' for more details." "$LINENO" 5; }
4491 rm -f conftest
$ac_cv_exeext
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4493 $as_echo "$ac_cv_exeext" >&6; }
4495 rm -f conftest.
$ac_ext
4496 EXEEXT
=$ac_cv_exeext
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4500 $as_echo_n "checking for suffix of object files... " >&6; }
4501 if test "${ac_cv_objext+set}" = set; then :
4502 $as_echo_n "(cached) " >&6
4504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4515 rm -f conftest.o conftest.obj
4516 if { { ac_try
="$ac_compile"
4518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4519 *) ac_try_echo=$ac_try;;
4521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4522 $as_echo "$ac_try_echo"; } >&5
4523 (eval "$ac_compile") 2>&5
4525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4526 test $ac_status = 0; }; then :
4527 for ac_file in conftest.o conftest.obj conftest.*; do
4528 test -f "$ac_file" || continue;
4530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4531 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4536 $as_echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.$ac_ext >&5
4539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4541 as_fn_error "cannot compute suffix of object files
: cannot compile
4542 See \
`config.log' for more details." "$LINENO" 5; }
4544 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4547 $as_echo "$ac_cv_objext" >&6; }
4548 OBJEXT=$ac_cv_objext
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4551 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4552 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4553 $as_echo_n "(cached) " >&6
4555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4569 if ac_fn_c_try_compile "$LINENO"; then :
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4579 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4580 if test $ac_compiler_gnu = yes; then
4585 ac_test_CFLAGS=${CFLAGS+set}
4586 ac_save_CFLAGS=$CFLAGS
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4588 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4589 if test "${ac_cv_prog_cc_g+set}" = set; then :
4590 $as_echo_n "(cached) " >&6
4592 ac_save_c_werror_flag=$ac_c_werror_flag
4593 ac_c_werror_flag=yes
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4607 if ac_fn_c_try_compile "$LINENO"; then :
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4622 if ac_fn_c_try_compile "$LINENO"; then :
4625 ac_c_werror_flag=$ac_save_c_werror_flag
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4638 if ac_fn_c_try_compile "$LINENO"; then :
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646 ac_c_werror_flag=$ac_save_c_werror_flag
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4649 $as_echo "$ac_cv_prog_cc_g" >&6; }
4650 if test "$ac_test_CFLAGS" = set; then
4651 CFLAGS=$ac_save_CFLAGS
4652 elif test $ac_cv_prog_cc_g = yes; then
4653 if test "$GCC" = yes; then
4659 if test "$GCC" = yes; then
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4666 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4667 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4668 $as_echo_n "(cached) " >&6
4670 ac_cv_prog_cc_c89=no
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4676 #include <sys/types.h>
4677 #include <sys/stat.h>
4678 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4679 struct buf { int x; };
4680 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4681 static char *e (p, i)
4687 static char *f (char * (*g) (char **, int), char **p, ...)
4692 s = g (p, va_arg (v,int));
4697 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4698 function prototypes and stuff, but not '\xHH' hex character constants.
4699 These don't provoke an error unfortunately, instead are silently treated
4700 as 'x'. The following induces an error, until -std is added to get
4701 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4702 array size at least. It's necessary to write '\x00'==0 to get something
4703 that's true only with -std. */
4704 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4706 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4707 inside strings and character constants. */
4709 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4711 int test (int i, double x);
4712 struct s1 {int (*f) (int a);};
4713 struct s2 {int (*f) (double a);};
4714 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4720 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4725 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4726 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4728 CC="$ac_save_CC $ac_arg"
4729 if ac_fn_c_try_compile "$LINENO"; then :
4730 ac_cv_prog_cc_c89=$ac_arg
4732 rm -f core conftest.err conftest.$ac_objext
4733 test "x$ac_cv_prog_cc_c89" != "xno" && break
4735 rm -f conftest.$ac_ext
4740 case "x$ac_cv_prog_cc_c89" in
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4743 $as_echo "none needed" >&6; } ;;
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4746 $as_echo "unsupported" >&6; } ;;
4748 CC="$CC $ac_cv_prog_cc_c89"
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4750 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4752 if test "x$ac_cv_prog_cc_c89" != xno; then :
4757 ac_cpp='$CPP $CPPFLAGS'
4758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4762 depcc="$CC" am_compiler_list=
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4765 $as_echo_n "checking dependency style of $depcc... " >&6; }
4766 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4767 $as_echo_n "(cached) " >&6
4769 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4770 # We make a subdir and do the tests there. Otherwise we can end up
4771 # making bogus files that we don't know about and never remove. For
4772 # instance it was reported that on HP-UX the gcc test will end up
4773 # making a dummy file named `D
' -- because `-MD' means
`put the output
4776 # Copy depcomp to subdir because otherwise we won't find it if we're
4777 # using a relative directory.
4778 cp "$am_depcomp" conftest.dir
4780 # We will build objects and dependencies in a subdirectory because
4781 # it helps to detect inapplicable dependency modes. For instance
4782 # both Tru64's cc and ICC support -MD to output dependencies as a
4783 # side effect of compilation, but ICC will put the dependencies in
4784 # the current directory while Tru64 will put them in the object
4788 am_cv_CC_dependencies_compiler_type=none
4789 if test "$am_compiler_list" = ""; then
4790 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4793 case " $depcc " in #(
4794 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4797 for depmode in $am_compiler_list; do
4798 # Setup a source with many dependencies, because some compilers
4799 # like to wrap large dependency lists on column 80 (with \), and
4800 # we should not choose a depcomp mode which is confused by this.
4802 # We need to recreate these files for each test, as the compiler may
4803 # overwrite some of them when testing with obscure command lines.
4804 # This happens at least with the AIX C compiler.
4806 for i in 1 2 3 4 5 6; do
4807 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4808 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4809 # Solaris 8's
{/usr
,}/bin
/sh.
4810 touch sub
/conftst
$i.h
4812 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4814 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4815 # mode. It turns out that the SunPro C++ compiler does not properly
4816 # handle `-M -o', and we need to detect this. Also, some Intel
4817 # versions had trouble with output in subdirs
4818 am__obj
=sub
/conftest.
${OBJEXT-o}
4819 am__minus_obj
="-o $am__obj"
4822 # This depmode causes a compiler race in universal mode.
4823 test "$am__universal" = false ||
continue
4826 # after this tag, mechanisms are not by side-effect, so they'll
4827 # only be used when explicitly requested
4828 if test "x$enable_dependency_tracking" = xyes
; then
4834 msvisualcpp | msvcmsys
)
4835 # This compiler won't grok `-c -o', but also, the minuso test has
4836 # not run yet. These depmodes are late enough in the game, and
4837 # so weak that their functioning should not be impacted.
4838 am__obj
=conftest.
${OBJEXT-o}
4843 if depmode
=$depmode \
4844 source=sub
/conftest.c object
=$am__obj \
4845 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4846 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4847 >/dev
/null
2>conftest.err
&&
4848 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4849 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4850 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4851 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4852 # icc doesn't choke on unknown options, it will just issue warnings
4853 # or remarks (even with -Werror). So we grep stderr for any message
4854 # that says an option was ignored or not supported.
4855 # When given -MP, icc 7.0 and 7.1 complain thusly:
4856 # icc: Command line warning: ignoring option '-M'; no argument required
4857 # The diagnosis changed in icc 8.0:
4858 # icc: Command line remark: option '-MP' not supported
4859 if (grep 'ignoring option' conftest.err ||
4860 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4861 am_cv_CC_dependencies_compiler_type
=$depmode
4870 am_cv_CC_dependencies_compiler_type
=none
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4875 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4876 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4879 test "x$enable_dependency_tracking" != xno \
4880 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4882 am__fastdepCC_FALSE
='#'
4884 am__fastdepCC_TRUE
='#'
4885 am__fastdepCC_FALSE
=
4891 ac_cpp
='$CPP $CPPFLAGS'
4892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4896 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4897 # On Suns, sometimes $CPP names a directory.
4898 if test -n "$CPP" && test -d "$CPP"; then
4901 if test -z "$CPP"; then
4902 if test "${ac_cv_prog_CPP+set}" = set; then :
4903 $as_echo_n "(cached) " >&6
4905 # Double quotes because CPP needs to be expanded
4906 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4909 for ac_c_preproc_warn_flag
in '' yes
4911 # Use a header file that comes with gcc, so configuring glibc
4912 # with a fresh cross-compiler works.
4913 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4914 # <limits.h> exists even on freestanding compilers.
4915 # On the NeXT, cc -E runs the code through the compiler's parser,
4916 # not just through cpp. "Syntax error" is here to catch this case.
4917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4918 /* end confdefs.h. */
4920 # include <limits.h>
4922 # include <assert.h>
4926 if ac_fn_c_try_cpp
"$LINENO"; then :
4929 # Broken: fails on valid input.
4932 rm -f conftest.err conftest.
$ac_ext
4934 # OK, works on sane cases. Now check whether nonexistent headers
4935 # can be detected and how.
4936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4938 #include <ac_nonexistent.h>
4940 if ac_fn_c_try_cpp
"$LINENO"; then :
4941 # Broken: success on invalid input.
4944 # Passes both tests.
4948 rm -f conftest.err conftest.
$ac_ext
4951 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4952 rm -f conftest.err conftest.
$ac_ext
4953 if $ac_preproc_ok; then :
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4966 $as_echo "$CPP" >&6; }
4968 for ac_c_preproc_warn_flag
in '' yes
4970 # Use a header file that comes with gcc, so configuring glibc
4971 # with a fresh cross-compiler works.
4972 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4973 # <limits.h> exists even on freestanding compilers.
4974 # On the NeXT, cc -E runs the code through the compiler's parser,
4975 # not just through cpp. "Syntax error" is here to catch this case.
4976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4977 /* end confdefs.h. */
4979 # include <limits.h>
4981 # include <assert.h>
4985 if ac_fn_c_try_cpp
"$LINENO"; then :
4988 # Broken: fails on valid input.
4991 rm -f conftest.err conftest.
$ac_ext
4993 # OK, works on sane cases. Now check whether nonexistent headers
4994 # can be detected and how.
4995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4996 /* end confdefs.h. */
4997 #include <ac_nonexistent.h>
4999 if ac_fn_c_try_cpp
"$LINENO"; then :
5000 # Broken: success on invalid input.
5003 # Passes both tests.
5007 rm -f conftest.err conftest.
$ac_ext
5010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5011 rm -f conftest.err conftest.
$ac_ext
5012 if $ac_preproc_ok; then :
5015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5017 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5018 See \`config.log' for more details." "$LINENO" 5; }
5022 ac_cpp
='$CPP $CPPFLAGS'
5023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5029 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5030 if test "${ac_cv_path_GREP+set}" = set; then :
5031 $as_echo_n "(cached) " >&6
5033 if test -z "$GREP"; then
5034 ac_path_GREP_found
=false
5035 # Loop through the user's path and test for each of PROGNAME-LIST
5036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5037 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5040 test -z "$as_dir" && as_dir
=.
5041 for ac_prog
in grep ggrep
; do
5042 for ac_exec_ext
in '' $ac_executable_extensions; do
5043 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5044 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5045 # Check for GNU ac_path_GREP and select it if it is found.
5046 # Check for GNU $ac_path_GREP
5047 case `"$ac_path_GREP" --version 2>&1` in
5049 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5052 $as_echo_n 0123456789 >"conftest.in"
5055 cat "conftest.in" "conftest.in" >"conftest.tmp"
5056 mv "conftest.tmp" "conftest.in"
5057 cp "conftest.in" "conftest.nl"
5058 $as_echo 'GREP' >> "conftest.nl"
5059 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5060 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5061 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5062 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5063 # Best one so far, save it but keep looking for a better one
5064 ac_cv_path_GREP
="$ac_path_GREP"
5065 ac_path_GREP_max
=$ac_count
5067 # 10*(2^10) chars as input seems more than enough
5068 test $ac_count -gt 10 && break
5070 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5073 $ac_path_GREP_found && break 3
5078 if test -z "$ac_cv_path_GREP"; then
5079 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5082 ac_cv_path_GREP
=$GREP
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5087 $as_echo "$ac_cv_path_GREP" >&6; }
5088 GREP
="$ac_cv_path_GREP"
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5092 $as_echo_n "checking for egrep... " >&6; }
5093 if test "${ac_cv_path_EGREP+set}" = set; then :
5094 $as_echo_n "(cached) " >&6
5096 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5097 then ac_cv_path_EGREP
="$GREP -E"
5099 if test -z "$EGREP"; then
5100 ac_path_EGREP_found
=false
5101 # Loop through the user's path and test for each of PROGNAME-LIST
5102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5103 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5106 test -z "$as_dir" && as_dir
=.
5107 for ac_prog
in egrep; do
5108 for ac_exec_ext
in '' $ac_executable_extensions; do
5109 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5110 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5111 # Check for GNU ac_path_EGREP and select it if it is found.
5112 # Check for GNU $ac_path_EGREP
5113 case `"$ac_path_EGREP" --version 2>&1` in
5115 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5118 $as_echo_n 0123456789 >"conftest.in"
5121 cat "conftest.in" "conftest.in" >"conftest.tmp"
5122 mv "conftest.tmp" "conftest.in"
5123 cp "conftest.in" "conftest.nl"
5124 $as_echo 'EGREP' >> "conftest.nl"
5125 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5126 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5127 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5128 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5129 # Best one so far, save it but keep looking for a better one
5130 ac_cv_path_EGREP
="$ac_path_EGREP"
5131 ac_path_EGREP_max
=$ac_count
5133 # 10*(2^10) chars as input seems more than enough
5134 test $ac_count -gt 10 && break
5136 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5139 $ac_path_EGREP_found && break 3
5144 if test -z "$ac_cv_path_EGREP"; then
5145 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5148 ac_cv_path_EGREP
=$EGREP
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5154 $as_echo "$ac_cv_path_EGREP" >&6; }
5155 EGREP
="$ac_cv_path_EGREP"
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5159 $as_echo_n "checking for ANSI C header files... " >&6; }
5160 if test "${ac_cv_header_stdc+set}" = set; then :
5161 $as_echo_n "(cached) " >&6
5163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5178 if ac_fn_c_try_compile
"$LINENO"; then :
5179 ac_cv_header_stdc
=yes
5181 ac_cv_header_stdc
=no
5183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5185 if test $ac_cv_header_stdc = yes; then
5186 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5188 /* end confdefs.h. */
5192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5193 $EGREP "memchr" >/dev
/null
2>&1; then :
5196 ac_cv_header_stdc
=no
5202 if test $ac_cv_header_stdc = yes; then
5203 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h. */
5209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5210 $EGREP "free" >/dev
/null
2>&1; then :
5213 ac_cv_header_stdc
=no
5219 if test $ac_cv_header_stdc = yes; then
5220 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5221 if test "$cross_compiling" = yes; then :
5224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5225 /* end confdefs.h. */
5228 #if ((' ' & 0x0FF) == 0x020)
5229 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5230 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5232 # define ISLOWER(c) \
5233 (('a' <= (c) && (c) <= 'i') \
5234 || ('j' <= (c) && (c) <= 'r') \
5235 || ('s' <= (c) && (c) <= 'z'))
5236 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5239 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5244 for (i = 0; i < 256; i++)
5245 if (XOR (islower (i), ISLOWER (i))
5246 || toupper (i) != TOUPPER (i))
5251 if ac_fn_c_try_run
"$LINENO"; then :
5254 ac_cv_header_stdc
=no
5256 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5257 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5263 $as_echo "$ac_cv_header_stdc" >&6; }
5264 if test $ac_cv_header_stdc = yes; then
5266 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5270 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5271 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5272 inttypes.h stdint.h unistd.h
5274 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5275 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5277 eval as_val
=\$
$as_ac_Header
5278 if test "x$as_val" = x
""yes; then :
5279 cat >>confdefs.h
<<_ACEOF
5280 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5288 # Check whether --enable-alsa was given.
5289 if test "${enable_alsa+set}" = set; then :
5290 enableval
=$enable_alsa; case "${enableval}" in
5291 yes) COMPILE_ALSA
=yes ;;
5292 no
) COMPILE_ALSA
=no
;;
5293 *) COMPILE_ALSA
=yes ;;
5296 for ac_header
in alsa
/asoundlib.h
5298 ac_fn_c_check_header_mongrel
"$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
5299 if test "x$ac_cv_header_alsa_asoundlib_h" = x
""yes; then :
5300 cat >>confdefs.h
<<_ACEOF
5301 #define HAVE_ALSA_ASOUNDLIB_H 1
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_seq_open in -lasound" >&5
5304 $as_echo_n "checking for snd_seq_open in -lasound... " >&6; }
5305 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then :
5306 $as_echo_n "(cached) " >&6
5308 ac_check_lib_save_LIBS
=$LIBS
5309 LIBS
="-lasound $LIBS"
5310 if test x
$gcc_no_link = xyes
; then
5311 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5314 /* end confdefs.h. */
5316 /* Override any GCC internal prototype to avoid an error.
5317 Use char because int might match the return type of a GCC
5318 builtin and then its argument prototype would still apply. */
5322 char snd_seq_open ();
5326 return snd_seq_open ();
5331 if ac_fn_c_try_link
"$LINENO"; then :
5332 ac_cv_lib_asound_snd_seq_open
=yes
5334 ac_cv_lib_asound_snd_seq_open
=no
5336 rm -f core conftest.err conftest.
$ac_objext \
5337 conftest
$ac_exeext conftest.
$ac_ext
5338 LIBS
=$ac_check_lib_save_LIBS
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_seq_open" >&5
5341 $as_echo "$ac_cv_lib_asound_snd_seq_open" >&6; }
5342 if test "x$ac_cv_lib_asound_snd_seq_open" = x
""yes; then :
5356 if test "x${COMPILE_ALSA}" = xyes
; then
5357 CREATE_ALSA_LIBRARIES_TRUE
=
5358 CREATE_ALSA_LIBRARIES_FALSE
='#'
5360 CREATE_ALSA_LIBRARIES_TRUE
='#'
5361 CREATE_ALSA_LIBRARIES_FALSE
=
5365 # Check whether --enable-dssi was given.
5366 if test "${enable_dssi+set}" = set; then :
5367 enableval
=$enable_dssi; case "${enableval}" in
5368 yes) COMPILE_DSSI
=yes ;;
5369 no
) COMPILE_DSSI
=no
;;
5370 *) COMPILE_DSSI
=yes ;;
5374 for ac_header
in dssi.h
5376 ac_fn_c_check_header_mongrel
"$LINENO" "dssi.h" "ac_cv_header_dssi_h" "$ac_includes_default"
5377 if test "x$ac_cv_header_dssi_h" = x
""yes; then :
5378 cat >>confdefs.h
<<_ACEOF
5379 #define HAVE_DSSI_H 1
5382 for ac_header
in jack
/jack.h
5384 ac_fn_c_check_header_mongrel
"$LINENO" "jack/jack.h" "ac_cv_header_jack_jack_h" "$ac_includes_default"
5385 if test "x$ac_cv_header_jack_jack_h" = x
""yes; then :
5386 cat >>confdefs.h
<<_ACEOF
5387 #define HAVE_JACK_JACK_H 1
5400 if test "x${COMPILE_DSSI}" = xyes
; then
5401 CREATE_DSSI_LIBRARIES_TRUE
=
5402 CREATE_DSSI_LIBRARIES_FALSE
='#'
5404 CREATE_DSSI_LIBRARIES_TRUE
='#'
5405 CREATE_DSSI_LIBRARIES_FALSE
=
5409 # Check whether --enable-gtk-peer was given.
5410 if test "${enable_gtk_peer+set}" = set; then :
5411 enableval
=$enable_gtk_peer; case "${enableval}" in
5412 yes) COMPILE_GTK_PEER
=yes ;;
5413 no
) COMPILE_GTK_PEER
=no
;;
5414 *) COMPILE_GTK_PEER
=yes ;;
5417 COMPILE_GTK_PEER
=yes
5420 if test "x${COMPILE_GTK_PEER}" = xyes
; then
5421 CREATE_GTK_PEER_LIBRARIES_TRUE
=
5422 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
5424 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
5425 CREATE_GTK_PEER_LIBRARIES_FALSE
=
5429 # Check whether --enable-gtk-peers was given.
5430 if test "${enable_gtk_peers+set}" = set; then :
5431 enableval
=$enable_gtk_peers; as_fn_error
"No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" "$LINENO" 5
5435 # Check whether --enable-qt-peer was given.
5436 if test "${enable_qt_peer+set}" = set; then :
5437 enableval
=$enable_qt_peer; case "${enableval}" in
5438 yes) COMPILE_QT_PEER
=yes ;;
5439 no
) COMPILE_QT_PEER
=no
;;
5440 *) COMPILE_QT_PEER
=yes ;;
5446 if test "x${COMPILE_QT_PEER}" = xyes
; then
5447 CREATE_QT_PEER_LIBRARIES_TRUE
=
5448 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
5450 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
5451 CREATE_QT_PEER_LIBRARIES_FALSE
=
5455 # Check whether --enable-plugin was given.
5456 if test "${enable_plugin+set}" = set; then :
5457 enableval
=$enable_plugin; case "${enableval}" in
5458 yes) COMPILE_PLUGIN
=yes ;;
5459 no
) COMPILE_PLUGIN
=no
;;
5460 *) COMPILE_PLUGIN
=yes ;;
5466 if test "x${COMPILE_PLUGIN}" = xyes
; then
5468 CREATE_PLUGIN_FALSE
='#'
5470 CREATE_PLUGIN_TRUE
='#'
5471 CREATE_PLUGIN_FALSE
=
5475 # Check whether --enable-gmp was given.
5476 if test "${enable_gmp+set}" = set; then :
5477 enableval
=$enable_gmp; case "${enableval}" in
5478 yes|true
) COMPILE_GMP
=yes ;;
5479 no|false
) COMPILE_GMP
=no
;;
5480 *) COMPILE_GMP
=yes ;;
5487 # Check whether --enable-gjdoc was given.
5488 if test "${enable_gjdoc+set}" = set; then :
5489 enableval
=$enable_gjdoc; case "${enableval}" in
5490 yes) COMPILE_GJDOC
=yes ;;
5491 no
) COMPILE_GJDOC
=no
;;
5492 *) COMPILE_GJDOC
=yes ;;
5498 if test "x${COMPILE_GJDOC}" = xyes
; then
5500 CREATE_GJDOC_FALSE
='#'
5502 CREATE_GJDOC_TRUE
='#'
5508 multi_os_directory
=`$CC -print-multi-os-directory`
5509 case $multi_os_directory in
5510 .
) toolexeclibdir
=${libdir} ;; # Avoid trailing /.
5511 *) toolexeclibdir
=${libdir}/${multi_os_directory} ;;
5517 # Check whether --with-native-libdir was given.
5518 if test "${with_native_libdir+set}" = set; then :
5519 withval
=$with_native_libdir;
5520 nativeexeclibdir
=${withval}
5524 nativeexeclibdir
='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`-`awk -F: '/^[^#].*:/ { print $1 }' ${srcdir}/..
/libtool-version
`
5532 # Check whether --with-glibj-dir was given.
5533 if test "${with_glibj_dir+set}" = set; then :
5534 withval=$with_glibj_dir;
5539 glibjdir='${datadir}/${PACKAGE}'
5547 # Check whether --with-antlr-jar was given.
5548 if test "${with_antlr_jar+set}" = set; then :
5549 withval=$with_antlr_jar;
5554 ANTLR_JAR="$ANTLR_JAR"
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate the headers" >&5
5560 $as_echo_n "checking whether to regenerate the headers... " >&6; }
5561 # Check whether --enable-regen-headers was given.
5562 if test "${enable_regen_headers+set}" = set; then :
5563 enableval=$enable_regen_headers; case "${enableval}" in
5564 yes) REGENERATE_JNI_HEADERS=yes ;;
5565 no) REGENERATE_JNI_HEADERS=no ;;
5566 *) REGENERATE_JNI_HEADERS=yes ;;
5569 if test -e ${srcdir}/include/java_lang_VMSystem.h; then
5570 REGENERATE_JNI_HEADERS=no ;
5572 REGENERATE_JNI_HEADERS=yes ;
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${REGENERATE_JNI_HEADERS}" >&5
5577 $as_echo "${REGENERATE_JNI_HEADERS}" >&6; }
5578 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
5579 CREATE_JNI_HEADERS_TRUE=
5580 CREATE_JNI_HEADERS_FALSE='#'
5582 CREATE_JNI_HEADERS_TRUE='#'
5583 CREATE_JNI_HEADERS_FALSE=
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate the GJDoc parser" >&5
5588 $as_echo_n "checking whether to regenerate the GJDoc parser... " >&6; }
5589 # Check whether --enable-regen-gjdoc-parser was given.
5590 if test "${enable_regen_gjdoc_parser+set}" = set; then :
5591 enableval=$enable_regen_gjdoc_parser; case "${enableval}" in
5592 yes) REGENERATE_GJDOC_PARSER=yes ;;
5593 no) REGENERATE_GJDOC_PARSER=no ;;
5594 *) REGENERATE_GJDOC_PARSER=yes ;;
5597 if test -e ${srcdir}/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java; then
5598 REGENERATE_GJDOC_PARSER=no ;
5600 REGENERATE_GJDOC_PARSER=yes ;
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${REGENERATE_GJDOC_PARSER}" >&5
5605 $as_echo "${REGENERATE_GJDOC_PARSER}" >&6; }
5606 if test "x${REGENERATE_GJDOC_PARSER}" = xyes; then
5607 CREATE_GJDOC_PARSER_TRUE=
5608 CREATE_GJDOC_PARSER_FALSE='#'
5610 CREATE_GJDOC_PARSER_TRUE='#'
5611 CREATE_GJDOC_PARSER_FALSE=
5615 # Check whether --enable-tool-wrappers was given.
5616 if test "${enable_tool_wrappers+set}" = set; then :
5617 enableval=$enable_tool_wrappers; case x"${enableval}" in
5619 COMPILE_WRAPPERS=yes;
5620 for ac_header in ltdl.h
5622 ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default"
5623 if test "x$ac_cv_header_ltdl_h" = x""yes; then :
5624 cat >>confdefs.h <<_ACEOF
5625 #define HAVE_LTDL_H 1
5629 as_fn_error "cannot find ltdl.h" "$LINENO" 5
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlopen in -lltdl" >&5
5635 $as_echo_n "checking for lt_dlopen in -lltdl... " >&6; }
5636 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then :
5637 $as_echo_n "(cached) " >&6
5639 ac_check_lib_save_LIBS=$LIBS
5641 if test x$gcc_no_link = xyes; then
5642 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5645 /* end confdefs.h. */
5647 /* Override any GCC internal prototype to avoid an error.
5648 Use char because int might match the return type of a GCC
5649 builtin and then its argument prototype would still apply. */
5657 return lt_dlopen ();
5662 if ac_fn_c_try_link "$LINENO"; then :
5663 ac_cv_lib_ltdl_lt_dlopen=yes
5665 ac_cv_lib_ltdl_lt_dlopen=no
5667 rm -f core conftest.err conftest.$ac_objext \
5668 conftest$ac_exeext conftest.$ac_ext
5669 LIBS=$ac_check_lib_save_LIBS
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5672 $as_echo "$ac_cv_lib_ltdl_lt_dlopen" >&6; }
5673 if test "x$ac_cv_lib_ltdl_lt_dlopen" = x""yes; then :
5674 cat >>confdefs.h <<_ACEOF
5675 #define HAVE_LIBLTDL 1
5681 as_fn_error "cannot find libltdl" "$LINENO" 5
5685 xno) COMPILE_WRAPPERS=no ;;
5686 x) COMPILE_WRAPPERS=yes ;;
5687 *) COMPILE_WRAPPERS=yes ;;
5693 if test "x${COMPILE_WRAPPERS}" = xyes; then
5694 CREATE_WRAPPERS_TRUE=
5695 CREATE_WRAPPERS_FALSE='#'
5697 CREATE_WRAPPERS_TRUE='#'
5698 CREATE_WRAPPERS_FALSE=
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5703 $as_echo_n "checking whether ln -s works... " >&6; }
5705 if test "$LN_S" = "ln -s"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5707 $as_echo "yes" >&6; }
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5710 $as_echo "no, using $LN_S" >&6; }
5716 # Check whether --enable-static was given.
5717 if test "${enable_static+set}" = set; then :
5718 enableval=$enable_static; p=${PACKAGE-default}
5720 yes) enable_static=yes ;;
5721 no) enable_static=no ;;
5724 # Look at the argument we got. We use all the common list separators.
5725 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5726 for pkg in $enableval; do
5728 if test "X$pkg" = "X$p"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5750 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5755 macro_version='2.2.7a'
5756 macro_revision='1.3134'
5770 ltmain="$ac_aux_dir/ltmain.sh"
5772 # Backslashify metacharacters that are still active within
5773 # double-quoted strings.
5774 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5776 # Same as above, but do not quote variable references.
5777 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5779 # Sed substitution to delay expansion of an escaped shell variable in a
5780 # double_quote_subst'ed string.
5781 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5783 # Sed substitution to delay expansion of an escaped single quote.
5784 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5786 # Sed substitution to avoid accidental globbing in evaled expressions
5787 no_glob_subst='s/\*/\\\*/g'
5789 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5790 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5791 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5794 $as_echo_n "checking how to print
strings...
" >&6; }
5795 # Test print first, because it will be a builtin if present.
5796 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5797 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5799 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5802 # Use this function as a fallback that always works.
5803 func_fallback_echo ()
5805 eval 'cat <<_LTECHO_EOF
5809 ECHO='func_fallback_echo'
5812 # func_echo_all arg...
5813 # Invoke $ECHO with all args, space-separated.
5820 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5821 $as_echo "printf" >&6; } ;;
5822 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5823 $as_echo "print
-r" >&6; } ;;
5824 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5825 $as_echo "cat" >&6; } ;;
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5842 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5843 if test "${ac_cv_path_SED+set}" = set; then :
5844 $as_echo_n "(cached
) " >&6
5846 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5847 for ac_i in 1 2 3 4 5 6 7; do
5848 ac_script="$ac_script$as_nl$ac_script"
5850 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5851 { ac_script=; unset ac_script;}
5852 if test -z "$SED"; then
5853 ac_path_SED_found=false
5854 # Loop through the user's path and test for each of PROGNAME-LIST
5855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5859 test -z "$as_dir" && as_dir=.
5860 for ac_prog in sed gsed; do
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5863 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5864 # Check for GNU ac_path_SED and select it if it is found.
5865 # Check for GNU $ac_path_SED
5866 case `"$ac_path_SED" --version 2>&1` in
5868 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5871 $as_echo_n 0123456789 >"conftest.
in"
5874 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5875 mv "conftest.tmp
" "conftest.
in"
5876 cp "conftest.
in" "conftest.
nl"
5877 $as_echo '' >> "conftest.
nl"
5878 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5879 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5880 as_fn_arith $ac_count + 1 && ac_count=$as_val
5881 if test $ac_count -gt ${ac_path_SED_max-0}; then
5882 # Best one so far, save it but keep looking for a better one
5883 ac_cv_path_SED="$ac_path_SED"
5884 ac_path_SED_max=$ac_count
5886 # 10*(2^10) chars as input seems more than enough
5887 test $ac_count -gt 10 && break
5889 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5892 $ac_path_SED_found && break 3
5897 if test -z "$ac_cv_path_SED"; then
5898 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5906 $as_echo "$ac_cv_path_SED" >&6; }
5907 SED="$ac_cv_path_SED"
5910 test -z "$SED" && SED=sed
5911 Xsed="$SED -e 1s
/^X
//"
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5924 $as_echo_n "checking
for fgrep...
" >&6; }
5925 if test "${ac_cv_path_FGREP+set}" = set; then :
5926 $as_echo_n "(cached
) " >&6
5928 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5929 then ac_cv_path_FGREP="$GREP -F"
5931 if test -z "$FGREP"; then
5932 ac_path_FGREP_found=false
5933 # Loop through the user's path and test for each of PROGNAME-LIST
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5938 test -z "$as_dir" && as_dir=.
5939 for ac_prog in fgrep; do
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5942 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5943 # Check for GNU ac_path_FGREP and select it if it is found.
5944 # Check for GNU $ac_path_FGREP
5945 case `"$ac_path_FGREP" --version 2>&1` in
5947 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5950 $as_echo_n 0123456789 >"conftest.
in"
5953 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5954 mv "conftest.tmp
" "conftest.
in"
5955 cp "conftest.
in" "conftest.
nl"
5956 $as_echo 'FGREP' >> "conftest.
nl"
5957 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5958 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5959 as_fn_arith $ac_count + 1 && ac_count=$as_val
5960 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5961 # Best one so far, save it but keep looking for a better one
5962 ac_cv_path_FGREP="$ac_path_FGREP"
5963 ac_path_FGREP_max=$ac_count
5965 # 10*(2^10) chars as input seems more than enough
5966 test $ac_count -gt 10 && break
5968 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5971 $ac_path_FGREP_found && break 3
5976 if test -z "$ac_cv_path_FGREP"; then
5977 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5980 ac_cv_path_FGREP=$FGREP
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5986 $as_echo "$ac_cv_path_FGREP" >&6; }
5987 FGREP="$ac_cv_path_FGREP"
5990 test -z "$GREP" && GREP=grep
6010 # Check whether --with-gnu-ld was given.
6011 if test "${with_gnu_ld+set}" = set; then :
6012 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6018 if test "$GCC" = yes; then
6019 # Check if gcc -print-prog-name=ld gives a path.
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6021 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6024 # gcc leaves a trailing carriage return which upsets mingw
6025 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6027 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6030 # Accept absolute paths.
6032 re_direlt='/[^/][^/]*/\.\./'
6033 # Canonicalize the pathname of ld
6034 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6035 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6036 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6038 test -z "$LD" && LD="$ac_prog"
6041 # If it fails, then pretend we aren't using GCC.
6045 # If it is relative, then search for the first ld in PATH.
6049 elif test "$with_gnu_ld" = yes; then
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6051 $as_echo_n "checking
for GNU ld...
" >&6; }
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6054 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6056 if test "${lt_cv_path_LD+set}" = set; then :
6057 $as_echo_n "(cached
) " >&6
6059 if test -z "$LD"; then
6060 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6061 for ac_dir in $PATH; do
6063 test -z "$ac_dir" && ac_dir=.
6064 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6065 lt_cv_path_LD="$ac_dir/$ac_prog"
6066 # Check to see if the program is GNU ld. I'd rather use --version,
6067 # but apparently some variants of GNU ld only accept -v.
6068 # Break only if it was the GNU/non-GNU ld that we prefer.
6069 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6070 *GNU* | *'with BFD'*)
6071 test "$with_gnu_ld" != no && break
6074 test "$with_gnu_ld" != yes && break
6081 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6086 if test -n "$LD"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6088 $as_echo "$LD" >&6; }
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6091 $as_echo "no
" >&6; }
6093 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6095 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6096 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6097 $as_echo_n "(cached
) " >&6
6099 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6100 case `$LD -v 2>&1 </dev/null` in
6101 *GNU* | *'with BFD'*)
6102 lt_cv_prog_gnu_ld=yes
6105 lt_cv_prog_gnu_ld=no
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6110 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6111 with_gnu_ld=$lt_cv_prog_gnu_ld
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6122 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6123 if test "${lt_cv_path_NM+set}" = set; then :
6124 $as_echo_n "(cached
) " >&6
6126 if test -n "$NM"; then
6127 # Let the user override the test.
6130 lt_nm_to_check="${ac_tool_prefix}nm
"
6131 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6132 lt_nm_to_check="$lt_nm_to_check nm
"
6134 for lt_tmp_nm in $lt_nm_to_check; do
6135 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6136 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6138 test -z "$ac_dir" && ac_dir=.
6139 tmp_nm="$ac_dir/$lt_tmp_nm"
6140 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6141 # Check to see if the nm accepts a BSD-compat flag.
6142 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6143 # nm: unknown option "B
" ignored
6144 # Tru64's nm complains that /dev/null is an invalid object file
6145 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6146 */dev/null* | *'Invalid file or object type'*)
6147 lt_cv_path_NM="$tmp_nm -B"
6151 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6153 lt_cv_path_NM="$tmp_nm -p"
6157 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6158 continue # so that we can try to find one that supports BSD flags
6167 : ${lt_cv_path_NM=no}
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6171 $as_echo "$lt_cv_path_NM" >&6; }
6172 if test "$lt_cv_path_NM" != "no
"; then
6175 # Didn't find any BSD compatible name lister, look for dumpbin.
6176 if test -n "$DUMPBIN"; then :
6177 # Let the user override the test.
6179 if test -n "$ac_tool_prefix"; then
6180 for ac_prog in dumpbin "link
-dump"
6182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6185 $as_echo_n "checking
for $ac_word...
" >&6; }
6186 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6187 $as_echo_n "(cached
) " >&6
6189 if test -n "$DUMPBIN"; then
6190 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6200 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6209 DUMPBIN=$ac_cv_prog_DUMPBIN
6210 if test -n "$DUMPBIN"; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6212 $as_echo "$DUMPBIN" >&6; }
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6215 $as_echo "no
" >&6; }
6219 test -n "$DUMPBIN" && break
6222 if test -z "$DUMPBIN"; then
6223 ac_ct_DUMPBIN=$DUMPBIN
6224 for ac_prog in dumpbin "link
-dump"
6226 # Extract the first word of "$ac_prog", so it can be a program name with args.
6227 set dummy $ac_prog; ac_word=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6229 $as_echo_n "checking
for $ac_word...
" >&6; }
6230 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6231 $as_echo_n "(cached
) " >&6
6233 if test -n "$ac_ct_DUMPBIN"; then
6234 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6240 test -z "$as_dir" && as_dir=.
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6243 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6253 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6254 if test -n "$ac_ct_DUMPBIN"; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6256 $as_echo "$ac_ct_DUMPBIN" >&6; }
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6259 $as_echo "no
" >&6; }
6263 test -n "$ac_ct_DUMPBIN" && break
6266 if test "x
$ac_ct_DUMPBIN" = x; then
6269 case $cross_compiling:$ac_tool_warned in
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6272 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6273 ac_tool_warned=yes ;;
6275 DUMPBIN=$ac_ct_DUMPBIN
6279 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6281 DUMPBIN="$DUMPBIN -symbols"
6289 if test "$DUMPBIN" != ":"; then
6293 test -z "$NM" && NM=nm
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6301 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6302 if test "${lt_cv_nm_interface+set}" = set; then :
6303 $as_echo_n "(cached
) " >&6
6305 lt_cv_nm_interface="BSD nm
"
6306 echo "int some_variable
= 0;" > conftest.$ac_ext
6307 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6308 (eval "$ac_compile" 2>conftest.err)
6309 cat conftest.err >&5
6310 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6311 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6312 cat conftest.err >&5
6313 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6314 cat conftest.out >&5
6315 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6316 lt_cv_nm_interface="MS dumpbin
"
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6321 $as_echo "$lt_cv_nm_interface" >&6; }
6323 # find the maximum length of command line arguments
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6325 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6326 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6327 $as_echo_n "(cached
) " >&6
6334 # On DJGPP, this test can blow up pretty badly due to problems in libc
6335 # (any single argument exceeding 2000 bytes causes a buffer overrun
6336 # during glob expansion). Even if it were fixed, the result of this
6337 # check would be larger than it should be.
6338 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6342 # Under GNU Hurd, this test is not required because there is
6343 # no limit to the length of command line arguments.
6344 # Libtool will interpret -1 as no limit whatsoever
6345 lt_cv_sys_max_cmd_len=-1;
6348 cygwin* | mingw* | cegcc*)
6349 # On Win9x/ME, this test blows up -- it succeeds, but takes
6350 # about 5 minutes as the teststring grows exponentially.
6351 # Worse, since 9x/ME are not pre-emptively multitasking,
6352 # you end up with a "frozen
" computer, even though with patience
6353 # the test eventually succeeds (with a max line length of 256k).
6354 # Instead, let's just punt: use the minimum linelength reported by
6355 # all of the supported platforms: 8192 (on NT/2K/XP).
6356 lt_cv_sys_max_cmd_len=8192;
6360 # On MiNT this can take a long time and run out of memory.
6361 lt_cv_sys_max_cmd_len=8192;
6365 # On AmigaOS with pdksh, this test takes hours, literally.
6366 # So we just punt and use a minimum line length of 8192.
6367 lt_cv_sys_max_cmd_len=8192;
6370 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6371 # This has been around since 386BSD, at least. Likely further.
6372 if test -x /sbin/sysctl; then
6373 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6374 elif test -x /usr/sbin/sysctl; then
6375 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6377 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6379 # And add a safety zone
6380 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6381 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6385 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6386 lt_cv_sys_max_cmd_len=196608
6390 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6391 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6392 # nice to cause kernel panics so lets avoid the loop below.
6393 # First set a reasonable default.
6394 lt_cv_sys_max_cmd_len=16384
6396 if test -x /sbin/sysconfig; then
6397 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6398 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6403 lt_cv_sys_max_cmd_len=102400
6405 sysv5* | sco5v6* | sysv4.2uw2*)
6406 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6407 if test -n "$kargmax"; then
6408 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6410 lt_cv_sys_max_cmd_len=32768
6414 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6415 if test -n "$lt_cv_sys_max_cmd_len"; then
6416 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6417 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6419 # Make teststring a little bigger before we do anything with it.
6420 # a 1K string should be a reasonable start.
6421 for i in 1 2 3 4 5 6 7 8 ; do
6422 teststring=$teststring$teststring
6424 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6425 # If test is not a shell built-in, we'll probably end up computing a
6426 # maximum length that is only half of the actual maximum length, but
6428 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6429 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6430 test $i != 17 # 1/2 MB should be enough
6433 teststring=$teststring$teststring
6435 # Only check the string length outside the loop.
6436 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6438 # Add a significant safety factor because C++ compilers can tack on
6439 # massive amounts of additional arguments before passing them to the
6440 # linker. It appears as though 1/2 is a usable value.
6441 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6448 if test -n $lt_cv_sys_max_cmd_len ; then
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6450 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6453 $as_echo "none
" >&6; }
6455 max_cmd_len=$lt_cv_sys_max_cmd_len
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6467 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6468 # Try some XSI features
6471 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6473 && eval 'test $(( 1 + 1 )) -eq 2 \
6474 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6477 $as_echo "$xsi_shell" >&6; }
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6481 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6483 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6485 && lt_shell_append
=yes
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6487 $as_echo "$lt_shell_append" >&6; }
6490 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6500 # test EBCDIC or ASCII
6501 case `echo X|tr X '\101'` in
6502 A
) # ASCII based system
6503 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6504 lt_SP2NL
='tr \040 \012'
6505 lt_NL2SP
='tr \015\012 \040\040'
6507 *) # EBCDIC based system
6508 lt_SP2NL
='tr \100 \n'
6509 lt_NL2SP
='tr \r\n \100\100'
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6522 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6523 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6524 $as_echo_n "(cached) " >&6
6526 lt_cv_ld_reload_flag
='-r'
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6529 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6530 reload_flag
=$lt_cv_ld_reload_flag
6531 case $reload_flag in
6533 *) reload_flag
=" $reload_flag" ;;
6535 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6538 if test "$GCC" = yes; then
6539 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6541 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6554 if test -n "$ac_tool_prefix"; then
6555 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6556 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6558 $as_echo_n "checking for $ac_word... " >&6; }
6559 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6560 $as_echo_n "(cached) " >&6
6562 if test -n "$OBJDUMP"; then
6563 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6569 test -z "$as_dir" && as_dir
=.
6570 for ac_exec_ext
in '' $ac_executable_extensions; do
6571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6572 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6582 OBJDUMP
=$ac_cv_prog_OBJDUMP
6583 if test -n "$OBJDUMP"; then
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6585 $as_echo "$OBJDUMP" >&6; }
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 $as_echo "no" >&6; }
6593 if test -z "$ac_cv_prog_OBJDUMP"; then
6594 ac_ct_OBJDUMP
=$OBJDUMP
6595 # Extract the first word of "objdump", so it can be a program name with args.
6596 set dummy objdump
; ac_word
=$2
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6598 $as_echo_n "checking for $ac_word... " >&6; }
6599 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6600 $as_echo_n "(cached) " >&6
6602 if test -n "$ac_ct_OBJDUMP"; then
6603 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6609 test -z "$as_dir" && as_dir
=.
6610 for ac_exec_ext
in '' $ac_executable_extensions; do
6611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6612 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6623 if test -n "$ac_ct_OBJDUMP"; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6625 $as_echo "$ac_ct_OBJDUMP" >&6; }
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6628 $as_echo "no" >&6; }
6631 if test "x$ac_ct_OBJDUMP" = x
; then
6634 case $cross_compiling:$ac_tool_warned in
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6638 ac_tool_warned
=yes ;;
6640 OBJDUMP
=$ac_ct_OBJDUMP
6643 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6646 test -z "$OBJDUMP" && OBJDUMP
=objdump
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6657 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6658 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6659 $as_echo_n "(cached) " >&6
6661 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6662 lt_cv_file_magic_test_file
=
6663 lt_cv_deplibs_check_method
='unknown'
6664 # Need to set the preceding variable on all platforms that support
6665 # interlibrary dependencies.
6666 # 'none' -- dependencies not supported.
6667 # `unknown' -- same as none, but documents that we really don't know.
6668 # 'pass_all' -- all dependencies passed with no checks.
6669 # 'test_compile' -- check by making test program.
6670 # 'file_magic [[regex]]' -- check by looking for files in library path
6671 # which responds to the $file_magic_cmd with a given extended regex.
6672 # If you have `file' or equivalent on your system and you're not sure
6673 # whether `pass_all' will *always* work, you probably want this one.
6677 lt_cv_deplibs_check_method
=pass_all
6681 lt_cv_deplibs_check_method
=pass_all
6685 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6686 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6687 lt_cv_file_magic_test_file
=/shlib
/libc.so
6691 # func_win32_libid is a shell function defined in ltmain.sh
6692 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6693 lt_cv_file_magic_cmd
='func_win32_libid'
6697 # Base MSYS/MinGW do not provide the 'file' command needed by
6698 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6699 # unless we find 'file', for example because we are cross-compiling.
6700 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6701 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6702 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6703 lt_cv_file_magic_cmd
='func_win32_libid'
6705 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6706 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6711 # use the weaker test based on 'objdump'. See mingw*.
6712 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6713 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6716 darwin
* | rhapsody
*)
6717 lt_cv_deplibs_check_method
=pass_all
6720 freebsd
* | dragonfly
*)
6721 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6724 # Not sure whether the presence of OpenBSD here was a mistake.
6725 # Let's accept both of them until this is cleared up.
6726 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6727 lt_cv_file_magic_cmd
=/usr
/bin
/file
6728 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6732 lt_cv_deplibs_check_method
=pass_all
6737 lt_cv_deplibs_check_method
=pass_all
6741 lt_cv_deplibs_check_method
=pass_all
6744 hpux10.20
* | hpux11
*)
6745 lt_cv_file_magic_cmd
=/usr
/bin
/file
6748 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6749 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6752 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]'
6753 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6756 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6757 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6763 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6764 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6767 irix5
* | irix6
* | nonstopux
*)
6769 *-32|
*"-32 ") libmagic
=32-bit;;
6770 *-n32|
*"-n32 ") libmagic
=N32
;;
6771 *-64|
*"-64 ") libmagic
=64-bit;;
6772 *) libmagic
=never-match
;;
6774 lt_cv_deplibs_check_method
=pass_all
6777 # This must be Linux ELF.
6778 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6779 lt_cv_deplibs_check_method
=pass_all
6783 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6784 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6786 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6791 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6792 lt_cv_file_magic_cmd
=/usr
/bin
/file
6793 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6797 lt_cv_deplibs_check_method
=pass_all
6801 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6802 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6804 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6808 osf3
* | osf4
* | osf5
*)
6809 lt_cv_deplibs_check_method
=pass_all
6813 lt_cv_deplibs_check_method
=pass_all
6817 lt_cv_deplibs_check_method
=pass_all
6820 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6821 lt_cv_deplibs_check_method
=pass_all
6825 case $host_vendor in
6827 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]'
6828 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6831 lt_cv_deplibs_check_method
=pass_all
6834 lt_cv_file_magic_cmd
='/bin/file'
6835 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6838 lt_cv_file_magic_cmd
='/bin/file'
6839 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6840 lt_cv_file_magic_test_file
=/lib
/libc.so
6843 lt_cv_deplibs_check_method
=pass_all
6846 lt_cv_deplibs_check_method
=pass_all
6852 lt_cv_deplibs_check_method
=pass_all
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6858 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6859 file_magic_cmd
=$lt_cv_file_magic_cmd
6860 deplibs_check_method
=$lt_cv_deplibs_check_method
6861 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6874 if test -n "$ac_tool_prefix"; then
6875 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6876 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6878 $as_echo_n "checking for $ac_word... " >&6; }
6879 if test "${ac_cv_prog_AR+set}" = set; then :
6880 $as_echo_n "(cached) " >&6
6882 if test -n "$AR"; then
6883 ac_cv_prog_AR
="$AR" # Let the user override the test.
6885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6889 test -z "$as_dir" && as_dir
=.
6890 for ac_exec_ext
in '' $ac_executable_extensions; do
6891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6892 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6903 if test -n "$AR"; then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6905 $as_echo "$AR" >&6; }
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6908 $as_echo "no" >&6; }
6913 if test -z "$ac_cv_prog_AR"; then
6915 # Extract the first word of "ar", so it can be a program name with args.
6916 set dummy
ar; ac_word
=$2
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918 $as_echo_n "checking for $ac_word... " >&6; }
6919 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6920 $as_echo_n "(cached) " >&6
6922 if test -n "$ac_ct_AR"; then
6923 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6929 test -z "$as_dir" && as_dir
=.
6930 for ac_exec_ext
in '' $ac_executable_extensions; do
6931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6932 ac_cv_prog_ac_ct_AR
="ar"
6933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6942 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6943 if test -n "$ac_ct_AR"; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6945 $as_echo "$ac_ct_AR" >&6; }
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948 $as_echo "no" >&6; }
6951 if test "x$ac_ct_AR" = x
; then
6954 case $cross_compiling:$ac_tool_warned in
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6958 ac_tool_warned
=yes ;;
6966 test -z "$AR" && AR
=ar
6967 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6979 if test -n "$ac_tool_prefix"; then
6980 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6981 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6983 $as_echo_n "checking for $ac_word... " >&6; }
6984 if test "${ac_cv_prog_STRIP+set}" = set; then :
6985 $as_echo_n "(cached) " >&6
6987 if test -n "$STRIP"; then
6988 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6994 test -z "$as_dir" && as_dir
=.
6995 for ac_exec_ext
in '' $ac_executable_extensions; do
6996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6997 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7007 STRIP
=$ac_cv_prog_STRIP
7008 if test -n "$STRIP"; then
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7010 $as_echo "$STRIP" >&6; }
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7013 $as_echo "no" >&6; }
7018 if test -z "$ac_cv_prog_STRIP"; then
7020 # Extract the first word of "strip", so it can be a program name with args.
7021 set dummy strip
; ac_word
=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023 $as_echo_n "checking for $ac_word... " >&6; }
7024 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7025 $as_echo_n "(cached) " >&6
7027 if test -n "$ac_ct_STRIP"; then
7028 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7034 test -z "$as_dir" && as_dir
=.
7035 for ac_exec_ext
in '' $ac_executable_extensions; do
7036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7037 ac_cv_prog_ac_ct_STRIP
="strip"
7038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7048 if test -n "$ac_ct_STRIP"; then
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7050 $as_echo "$ac_ct_STRIP" >&6; }
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 $as_echo "no" >&6; }
7056 if test "x$ac_ct_STRIP" = x
; then
7059 case $cross_compiling:$ac_tool_warned in
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7063 ac_tool_warned
=yes ;;
7068 STRIP
="$ac_cv_prog_STRIP"
7071 test -z "$STRIP" && STRIP
=:
7078 if test -n "$ac_tool_prefix"; then
7079 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7080 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7082 $as_echo_n "checking for $ac_word... " >&6; }
7083 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7084 $as_echo_n "(cached) " >&6
7086 if test -n "$RANLIB"; then
7087 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7093 test -z "$as_dir" && as_dir
=.
7094 for ac_exec_ext
in '' $ac_executable_extensions; do
7095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7096 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7106 RANLIB
=$ac_cv_prog_RANLIB
7107 if test -n "$RANLIB"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7109 $as_echo "$RANLIB" >&6; }
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 $as_echo "no" >&6; }
7117 if test -z "$ac_cv_prog_RANLIB"; then
7118 ac_ct_RANLIB
=$RANLIB
7119 # Extract the first word of "ranlib", so it can be a program name with args.
7120 set dummy ranlib
; ac_word
=$2
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7122 $as_echo_n "checking for $ac_word... " >&6; }
7123 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7124 $as_echo_n "(cached) " >&6
7126 if test -n "$ac_ct_RANLIB"; then
7127 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7133 test -z "$as_dir" && as_dir
=.
7134 for ac_exec_ext
in '' $ac_executable_extensions; do
7135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7136 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7146 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7147 if test -n "$ac_ct_RANLIB"; then
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7149 $as_echo "$ac_ct_RANLIB" >&6; }
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7152 $as_echo "no" >&6; }
7155 if test "x$ac_ct_RANLIB" = x
; then
7158 case $cross_compiling:$ac_tool_warned in
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7162 ac_tool_warned
=yes ;;
7164 RANLIB
=$ac_ct_RANLIB
7167 RANLIB
="$ac_cv_prog_RANLIB"
7170 test -z "$RANLIB" && RANLIB
=:
7177 # Determine commands to create old-style static archives.
7178 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7179 old_postinstall_cmds
='chmod 644 $oldlib'
7180 old_postuninstall_cmds
=
7182 if test -n "$RANLIB"; then
7185 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7188 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7191 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7196 lock_old_archive_extraction
=yes ;;
7198 lock_old_archive_extraction
=no
;;
7239 # If no C compiler was specified, use CC.
7242 # If no C compiler flags were specified, use CFLAGS.
7243 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7245 # Allow CC to be a program name with arguments.
7249 # Check for command to grab the raw symbol name followed by C symbol from nm.
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7251 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7252 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7253 $as_echo_n "(cached) " >&6
7256 # These are sane defaults that work on at least a few old systems.
7257 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7259 # Character class describing NM global symbol codes.
7260 symcode
='[BCDEGRST]'
7262 # Regexp to match symbols that can be accessed directly from C.
7263 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7265 # Define system-specific variables.
7270 cygwin
* | mingw
* | pw32
* | cegcc
*)
7271 symcode
='[ABCDGISTW]'
7274 if test "$host_cpu" = ia64
; then
7275 symcode
='[ABCDEGRST]'
7279 symcode
='[BCDEGRST]'
7282 symcode
='[BCDEGQRST]'
7293 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7301 # If we're using GNU nm, then use its standard symbol codes.
7302 case `$NM -V 2>&1` in
7303 *GNU
* |
*'with BFD'*)
7304 symcode
='[ABCDGIRSTW]' ;;
7307 # Transform an extracted symbol line into a proper C declaration.
7308 # Some systems (esp. on ia64) link data and code symbols differently,
7309 # so use this general approach.
7310 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7312 # Transform an extracted symbol line into symbol name and symbol address
7313 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7314 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'"
7316 # Handle CRLF in mingw tool chain
7320 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7324 # Try without a prefix underscore, then with it.
7325 for ac_symprfx
in "" "_"; do
7327 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7328 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7330 # Write the raw and C identifiers.
7331 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7332 # Fake it for dumpbin and say T for any non-static function
7333 # and D for any global variable.
7334 # Also find C++ and __fastcall symbols from MSVC++,
7335 # which start with @ or ?.
7336 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7337 " {last_section=section; section=\$ 3};"\
7338 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7339 " \$ 0!~/External *\|/{next};"\
7340 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7341 " {if(hide[section]) next};"\
7342 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7343 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7344 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7345 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7346 " ' prfx=^$ac_symprfx"
7348 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7351 # Check to see that the pipe works correctly.
7355 cat > conftest.
$ac_ext <<_LT_EOF
7360 void nm_test_func(void);
7361 void nm_test_func(void){}
7365 int main(){nm_test_var='a';nm_test_func();return(0);}
7368 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7369 (eval $ac_compile) 2>&5
7371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7372 test $ac_status = 0; }; then
7373 # Now try to grab the symbols.
7375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7376 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7379 test $ac_status = 0; } && test -s "$nlist"; then
7380 # Try sorting and uniquifying the output.
7381 if sort "$nlist" |
uniq > "$nlist"T
; then
7382 mv -f "$nlist"T
"$nlist"
7387 # Make sure that we snagged all the symbols we need.
7388 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7389 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7390 cat <<_LT_EOF > conftest.$ac_ext
7396 # Now generate the symbol file.
7397 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7399 cat <<_LT_EOF >> conftest.$ac_ext
7401 /* The mapping between symbol names and symbols. */
7406 lt__PROGRAM__LTX_preloaded_symbols[] =
7408 { "@PROGRAM@", (void *) 0 },
7410 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7411 cat <<\_LT_EOF
>> conftest.
$ac_ext
7415 /* This works around a problem
in FreeBSD linker
*/
7416 #ifdef FREEBSD_WORKAROUND
7417 static const void
*lt_preloaded_setup
() {
7418 return lt__PROGRAM__LTX_preloaded_symbols
;
7426 # Now try linking the two files.
7427 mv conftest.
$ac_objext conftstm.
$ac_objext
7428 lt_save_LIBS
="$LIBS"
7429 lt_save_CFLAGS
="$CFLAGS"
7430 LIBS
="conftstm.$ac_objext"
7431 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7432 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7433 (eval $ac_link) 2>&5
7435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7436 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7439 LIBS
="$lt_save_LIBS"
7440 CFLAGS
="$lt_save_CFLAGS"
7442 echo "cannot find nm_test_func in $nlist" >&5
7445 echo "cannot find nm_test_var in $nlist" >&5
7448 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7451 echo "$progname: failed program was:" >&5
7452 cat conftest.
$ac_ext >&5
7454 rm -rf conftest
* conftst
*
7456 # Do not use the global_symbol_pipe unless it works.
7457 if test "$pipe_works" = yes; then
7460 lt_cv_sys_global_symbol_pipe
=
7466 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7467 lt_cv_sys_global_symbol_to_cdecl
=
7469 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7471 $as_echo "failed" >&6; }
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7474 $as_echo "ok" >&6; }
7498 # Check whether --enable-libtool-lock was given.
7499 if test "${enable_libtool_lock+set}" = set; then :
7500 enableval
=$enable_libtool_lock;
7503 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7505 # Some flags need to be propagated to the compiler or linker for good
7509 # Find out which ABI we are using.
7510 echo 'int i;' > conftest.
$ac_ext
7511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7512 (eval $ac_compile) 2>&5
7514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7515 test $ac_status = 0; }; then
7516 case `/usr/bin/file conftest.$ac_objext` in
7528 # Find out which ABI we are using.
7529 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7530 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7531 (eval $ac_compile) 2>&5
7533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7534 test $ac_status = 0; }; then
7535 if test "$lt_cv_prog_gnu_ld" = yes; then
7536 case `/usr/bin/file conftest.$ac_objext` in
7538 LD
="${LD-ld} -melf32bsmip"
7541 LD
="${LD-ld} -melf32bmipn32"
7544 LD
="${LD-ld} -melf64bmip"
7548 case `/usr/bin/file conftest.$ac_objext` in
7564 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
7565 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7566 # Find out which ABI we are using.
7567 echo 'int i;' > conftest.
$ac_ext
7568 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7569 (eval $ac_compile) 2>&5
7571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7572 test $ac_status = 0; }; then
7573 case `/usr/bin/file conftest.o` in
7576 x86_64-
*kfreebsd
*-gnu)
7577 LD
="${LD-ld} -m elf_i386_fbsd"
7580 LD
="${LD-ld} -m elf_i386"
7582 ppc64-
*linux
*|powerpc64-
*linux
*)
7583 LD
="${LD-ld} -m elf32ppclinux"
7586 LD
="${LD-ld} -m elf_s390"
7589 LD
="${LD-ld} -m elf32_sparc"
7595 x86_64-
*kfreebsd
*-gnu)
7596 LD
="${LD-ld} -m elf_x86_64_fbsd"
7599 LD
="${LD-ld} -m elf_x86_64"
7601 ppc
*-*linux
*|powerpc
*-*linux
*)
7602 LD
="${LD-ld} -m elf64ppc"
7604 s390
*-*linux
*|s390
*-*tpf
*)
7605 LD
="${LD-ld} -m elf64_s390"
7608 LD
="${LD-ld} -m elf64_sparc"
7618 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7619 SAVE_CFLAGS
="$CFLAGS"
7620 CFLAGS
="$CFLAGS -belf"
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7622 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7623 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7624 $as_echo_n "(cached) " >&6
7627 ac_cpp
='$CPP $CPPFLAGS'
7628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7632 if test x
$gcc_no_link = xyes
; then
7633 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7636 /* end confdefs.h. */
7646 if ac_fn_c_try_link
"$LINENO"; then :
7647 lt_cv_cc_needs_belf
=yes
7649 lt_cv_cc_needs_belf
=no
7651 rm -f core conftest.err conftest.
$ac_objext \
7652 conftest
$ac_exeext conftest.
$ac_ext
7654 ac_cpp
='$CPP $CPPFLAGS'
7655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7661 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7662 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7663 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7664 CFLAGS
="$SAVE_CFLAGS"
7668 # Find out which ABI we are using.
7669 echo 'int i;' > conftest.
$ac_ext
7670 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7671 (eval $ac_compile) 2>&5
7673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7674 test $ac_status = 0; }; then
7675 case `/usr/bin/file conftest.o` in
7677 case $lt_cv_prog_gnu_ld in
7678 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7680 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7692 need_locks
="$enable_libtool_lock"
7696 rhapsody
* | darwin
*)
7697 if test -n "$ac_tool_prefix"; then
7698 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7699 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7701 $as_echo_n "checking for $ac_word... " >&6; }
7702 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7703 $as_echo_n "(cached) " >&6
7705 if test -n "$DSYMUTIL"; then
7706 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7712 test -z "$as_dir" && as_dir
=.
7713 for ac_exec_ext
in '' $ac_executable_extensions; do
7714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7715 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7725 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7726 if test -n "$DSYMUTIL"; then
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7728 $as_echo "$DSYMUTIL" >&6; }
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7731 $as_echo "no" >&6; }
7736 if test -z "$ac_cv_prog_DSYMUTIL"; then
7737 ac_ct_DSYMUTIL
=$DSYMUTIL
7738 # Extract the first word of "dsymutil", so it can be a program name with args.
7739 set dummy dsymutil
; ac_word
=$2
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7741 $as_echo_n "checking for $ac_word... " >&6; }
7742 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7743 $as_echo_n "(cached) " >&6
7745 if test -n "$ac_ct_DSYMUTIL"; then
7746 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7752 test -z "$as_dir" && as_dir
=.
7753 for ac_exec_ext
in '' $ac_executable_extensions; do
7754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7755 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7765 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7766 if test -n "$ac_ct_DSYMUTIL"; then
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7768 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7771 $as_echo "no" >&6; }
7774 if test "x$ac_ct_DSYMUTIL" = x
; then
7777 case $cross_compiling:$ac_tool_warned in
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7781 ac_tool_warned
=yes ;;
7783 DSYMUTIL
=$ac_ct_DSYMUTIL
7786 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7789 if test -n "$ac_tool_prefix"; then
7790 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7791 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7793 $as_echo_n "checking for $ac_word... " >&6; }
7794 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7795 $as_echo_n "(cached) " >&6
7797 if test -n "$NMEDIT"; then
7798 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7804 test -z "$as_dir" && as_dir
=.
7805 for ac_exec_ext
in '' $ac_executable_extensions; do
7806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7807 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7817 NMEDIT
=$ac_cv_prog_NMEDIT
7818 if test -n "$NMEDIT"; then
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7820 $as_echo "$NMEDIT" >&6; }
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7823 $as_echo "no" >&6; }
7828 if test -z "$ac_cv_prog_NMEDIT"; then
7829 ac_ct_NMEDIT
=$NMEDIT
7830 # Extract the first word of "nmedit", so it can be a program name with args.
7831 set dummy nmedit
; ac_word
=$2
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7833 $as_echo_n "checking for $ac_word... " >&6; }
7834 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7835 $as_echo_n "(cached) " >&6
7837 if test -n "$ac_ct_NMEDIT"; then
7838 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7844 test -z "$as_dir" && as_dir
=.
7845 for ac_exec_ext
in '' $ac_executable_extensions; do
7846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7847 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7857 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7858 if test -n "$ac_ct_NMEDIT"; then
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7860 $as_echo "$ac_ct_NMEDIT" >&6; }
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7863 $as_echo "no" >&6; }
7866 if test "x$ac_ct_NMEDIT" = x
; then
7869 case $cross_compiling:$ac_tool_warned in
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7873 ac_tool_warned
=yes ;;
7875 NMEDIT
=$ac_ct_NMEDIT
7878 NMEDIT
="$ac_cv_prog_NMEDIT"
7881 if test -n "$ac_tool_prefix"; then
7882 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7883 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7885 $as_echo_n "checking for $ac_word... " >&6; }
7886 if test "${ac_cv_prog_LIPO+set}" = set; then :
7887 $as_echo_n "(cached) " >&6
7889 if test -n "$LIPO"; then
7890 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7896 test -z "$as_dir" && as_dir
=.
7897 for ac_exec_ext
in '' $ac_executable_extensions; do
7898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7899 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7909 LIPO
=$ac_cv_prog_LIPO
7910 if test -n "$LIPO"; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7912 $as_echo "$LIPO" >&6; }
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7915 $as_echo "no" >&6; }
7920 if test -z "$ac_cv_prog_LIPO"; then
7922 # Extract the first word of "lipo", so it can be a program name with args.
7923 set dummy lipo
; ac_word
=$2
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7925 $as_echo_n "checking for $ac_word... " >&6; }
7926 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7927 $as_echo_n "(cached) " >&6
7929 if test -n "$ac_ct_LIPO"; then
7930 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7936 test -z "$as_dir" && as_dir
=.
7937 for ac_exec_ext
in '' $ac_executable_extensions; do
7938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7939 ac_cv_prog_ac_ct_LIPO
="lipo"
7940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7949 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7950 if test -n "$ac_ct_LIPO"; then
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7952 $as_echo "$ac_ct_LIPO" >&6; }
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7955 $as_echo "no" >&6; }
7958 if test "x$ac_ct_LIPO" = x
; then
7961 case $cross_compiling:$ac_tool_warned in
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7965 ac_tool_warned
=yes ;;
7970 LIPO
="$ac_cv_prog_LIPO"
7973 if test -n "$ac_tool_prefix"; then
7974 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7975 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7977 $as_echo_n "checking for $ac_word... " >&6; }
7978 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7979 $as_echo_n "(cached) " >&6
7981 if test -n "$OTOOL"; then
7982 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7988 test -z "$as_dir" && as_dir
=.
7989 for ac_exec_ext
in '' $ac_executable_extensions; do
7990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7991 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8001 OTOOL
=$ac_cv_prog_OTOOL
8002 if test -n "$OTOOL"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8004 $as_echo "$OTOOL" >&6; }
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8012 if test -z "$ac_cv_prog_OTOOL"; then
8014 # Extract the first word of "otool", so it can be a program name with args.
8015 set dummy otool
; ac_word
=$2
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8017 $as_echo_n "checking for $ac_word... " >&6; }
8018 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8019 $as_echo_n "(cached) " >&6
8021 if test -n "$ac_ct_OTOOL"; then
8022 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8028 test -z "$as_dir" && as_dir
=.
8029 for ac_exec_ext
in '' $ac_executable_extensions; do
8030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8031 ac_cv_prog_ac_ct_OTOOL
="otool"
8032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8041 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8042 if test -n "$ac_ct_OTOOL"; then
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8044 $as_echo "$ac_ct_OTOOL" >&6; }
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047 $as_echo "no" >&6; }
8050 if test "x$ac_ct_OTOOL" = x
; then
8053 case $cross_compiling:$ac_tool_warned in
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8057 ac_tool_warned
=yes ;;
8062 OTOOL
="$ac_cv_prog_OTOOL"
8065 if test -n "$ac_tool_prefix"; then
8066 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8067 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8069 $as_echo_n "checking for $ac_word... " >&6; }
8070 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8071 $as_echo_n "(cached) " >&6
8073 if test -n "$OTOOL64"; then
8074 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8080 test -z "$as_dir" && as_dir
=.
8081 for ac_exec_ext
in '' $ac_executable_extensions; do
8082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8083 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8093 OTOOL64
=$ac_cv_prog_OTOOL64
8094 if test -n "$OTOOL64"; then
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8096 $as_echo "$OTOOL64" >&6; }
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8099 $as_echo "no" >&6; }
8104 if test -z "$ac_cv_prog_OTOOL64"; then
8105 ac_ct_OTOOL64
=$OTOOL64
8106 # Extract the first word of "otool64", so it can be a program name with args.
8107 set dummy otool64
; ac_word
=$2
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8109 $as_echo_n "checking for $ac_word... " >&6; }
8110 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8111 $as_echo_n "(cached) " >&6
8113 if test -n "$ac_ct_OTOOL64"; then
8114 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8120 test -z "$as_dir" && as_dir
=.
8121 for ac_exec_ext
in '' $ac_executable_extensions; do
8122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8123 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8133 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8134 if test -n "$ac_ct_OTOOL64"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8136 $as_echo "$ac_ct_OTOOL64" >&6; }
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139 $as_echo "no" >&6; }
8142 if test "x$ac_ct_OTOOL64" = x
; then
8145 case $cross_compiling:$ac_tool_warned in
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8149 ac_tool_warned
=yes ;;
8151 OTOOL64
=$ac_ct_OTOOL64
8154 OTOOL64
="$ac_cv_prog_OTOOL64"
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8184 $as_echo_n "checking for -single_module linker flag... " >&6; }
8185 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8186 $as_echo_n "(cached) " >&6
8188 lt_cv_apple_cc_single_mod
=no
8189 if test -z "${LT_MULTI_MODULE}"; then
8190 # By default we will add the -single_module flag. You can override
8191 # by either setting the environment variable LT_MULTI_MODULE
8192 # non-empty at configure time, or by adding -multi_module to the
8194 rm -rf libconftest.dylib
*
8195 echo "int foo(void){return 1;}" > conftest.c
8196 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8197 -dynamiclib -Wl,-single_module conftest.c" >&5
8198 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8199 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8201 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8202 lt_cv_apple_cc_single_mod
=yes
8204 cat conftest.err
>&5
8206 rm -rf libconftest.dylib
*
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8211 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8213 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8214 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8215 $as_echo_n "(cached) " >&6
8217 lt_cv_ld_exported_symbols_list
=no
8218 save_LDFLAGS
=$LDFLAGS
8219 echo "_main" > conftest.sym
8220 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8221 if test x
$gcc_no_link = xyes
; then
8222 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8225 /* end confdefs.h. */
8235 if ac_fn_c_try_link
"$LINENO"; then :
8236 lt_cv_ld_exported_symbols_list
=yes
8238 lt_cv_ld_exported_symbols_list
=no
8240 rm -f core conftest.err conftest.
$ac_objext \
8241 conftest
$ac_exeext conftest.
$ac_ext
8242 LDFLAGS
="$save_LDFLAGS"
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8246 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8248 $as_echo_n "checking for -force_load linker flag... " >&6; }
8249 if test "${lt_cv_ld_force_load+set}" = set; then :
8250 $as_echo_n "(cached) " >&6
8252 lt_cv_ld_force_load
=no
8253 cat > conftest.c
<< _LT_EOF
8254 int forced_loaded() { return 2;}
8256 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8257 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8258 echo "$AR cru libconftest.a conftest.o" >&5
8259 $AR cru libconftest.a conftest.o
2>&5
8260 cat > conftest.c
<< _LT_EOF
8261 int main() { return 0;}
8263 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8264 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8266 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8267 lt_cv_ld_force_load
=yes
8269 cat conftest.err
>&5
8271 rm -f conftest.err libconftest.a conftest conftest.c
8272 rm -rf conftest.dSYM
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8276 $as_echo "$lt_cv_ld_force_load" >&6; }
8278 rhapsody
* | darwin1.
[012])
8279 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8281 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8282 darwin
*) # darwin 5.x on
8283 # if running on 10.5 or later, the deployment target defaults
8284 # to the OS version, if on x86, and 10.4, the deployment
8285 # target defaults to 10.4. Don't you love it?
8286 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8287 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8288 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8290 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8292 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8296 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8297 _lt_dar_single_mod
='$single_module'
8299 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8300 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8302 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8304 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8305 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8312 for ac_header
in dlfcn.h
8314 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8316 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8317 cat >>confdefs.h
<<_ACEOF
8318 #define HAVE_DLFCN_H 1
8339 # Check whether --enable-shared was given.
8340 if test "${enable_shared+set}" = set; then :
8341 enableval
=$enable_shared; p
=${PACKAGE-default}
8343 yes) enable_shared
=yes ;;
8344 no
) enable_shared
=no
;;
8347 # Look at the argument we got. We use all the common list separators.
8348 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8349 for pkg
in $enableval; do
8351 if test "X$pkg" = "X$p"; then
8372 # Check whether --with-pic was given.
8373 if test "${with_pic+set}" = set; then :
8374 withval
=$with_pic; pic_mode
="$withval"
8380 test -z "$pic_mode" && pic_mode
=default
8388 # Check whether --enable-fast-install was given.
8389 if test "${enable_fast_install+set}" = set; then :
8390 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8392 yes) enable_fast_install
=yes ;;
8393 no
) enable_fast_install
=no
;;
8395 enable_fast_install
=no
8396 # Look at the argument we got. We use all the common list separators.
8397 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8398 for pkg
in $enableval; do
8400 if test "X$pkg" = "X$p"; then
8401 enable_fast_install
=yes
8408 enable_fast_install
=yes
8421 # This can be used to rebuild libtool when needed
8422 LIBTOOL_DEPS
="$ltmain"
8424 # Always use our own libtool.
8425 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8452 test -z "$LN_S" && LN_S
="ln -s"
8467 if test -n "${ZSH_VERSION+set}" ; then
8468 setopt NO_GLOB_SUBST
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8472 $as_echo_n "checking for objdir... " >&6; }
8473 if test "${lt_cv_objdir+set}" = set; then :
8474 $as_echo_n "(cached) " >&6
8476 rm -f .libs
2>/dev
/null
8477 mkdir .libs
2>/dev
/null
8478 if test -d .libs
; then
8481 # MS-DOS does not allow filenames that begin with a dot.
8484 rmdir .libs
2>/dev
/null
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8487 $as_echo "$lt_cv_objdir" >&6; }
8488 objdir
=$lt_cv_objdir
8494 cat >>confdefs.h
<<_ACEOF
8495 #define LT_OBJDIR "$lt_cv_objdir/"
8503 # AIX sometimes has problems with the GCC collect2 program. For some
8504 # reason, if we set the COLLECT_NAMES environment variable, the problems
8505 # vanish in a puff of smoke.
8506 if test "X${COLLECT_NAMES+set}" != Xset
; then
8508 export COLLECT_NAMES
8515 can_build_shared
=yes
8517 # All known linkers require a `.a' archive for static linking (except MSVC,
8518 # which needs '.lib').
8521 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8524 old_CFLAGS
="$CFLAGS"
8526 # Set sane defaults for various variables
8527 test -z "$CC" && CC
=cc
8528 test -z "$LTCC" && LTCC
=$CC
8529 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8530 test -z "$LD" && LD
=ld
8531 test -z "$ac_objext" && ac_objext
=o
8533 for cc_temp
in $compiler""; do
8535 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8536 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8541 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8544 # Only perform the check for file, if the check method requires it
8545 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8546 case $deplibs_check_method in
8548 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8550 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8551 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8552 $as_echo_n "(cached) " >&6
8556 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8559 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8560 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8561 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8562 for ac_dir
in $ac_dummy; do
8564 test -z "$ac_dir" && ac_dir
=.
8565 if test -f $ac_dir/${ac_tool_prefix}file; then
8566 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8567 if test -n "$file_magic_test_file"; then
8568 case $deplibs_check_method in
8570 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8571 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8572 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8573 $EGREP "$file_magic_regex" > /dev
/null
; then
8578 *** Warning: the command libtool uses to detect shared libraries,
8579 *** $file_magic_cmd, produces output that libtool cannot recognize.
8580 *** The result is that libtool may fail to recognize shared libraries
8581 *** as such. This will affect the creation of libtool libraries that
8582 *** depend on shared libraries, but programs linked with such libtool
8583 *** libraries will work regardless of this problem. Nevertheless, you
8584 *** may want to report the problem to your system manager and/or to
8585 *** bug-libtool@gnu.org
8595 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8600 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8601 if test -n "$MAGIC_CMD"; then
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8603 $as_echo "$MAGIC_CMD" >&6; }
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8606 $as_echo "no" >&6; }
8613 if test -z "$lt_cv_path_MAGIC_CMD"; then
8614 if test -n "$ac_tool_prefix"; then
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8616 $as_echo_n "checking for file... " >&6; }
8617 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8618 $as_echo_n "(cached) " >&6
8622 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8625 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8626 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8627 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8628 for ac_dir
in $ac_dummy; do
8630 test -z "$ac_dir" && ac_dir
=.
8631 if test -f $ac_dir/file; then
8632 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8633 if test -n "$file_magic_test_file"; then
8634 case $deplibs_check_method in
8636 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8637 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8638 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8639 $EGREP "$file_magic_regex" > /dev
/null
; then
8644 *** Warning: the command libtool uses to detect shared libraries,
8645 *** $file_magic_cmd, produces output that libtool cannot recognize.
8646 *** The result is that libtool may fail to recognize shared libraries
8647 *** as such. This will affect the creation of libtool libraries that
8648 *** depend on shared libraries, but programs linked with such libtool
8649 *** libraries will work regardless of this problem. Nevertheless, you
8650 *** may want to report the problem to your system manager and/or to
8651 *** bug-libtool@gnu.org
8661 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8666 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8667 if test -n "$MAGIC_CMD"; then
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8669 $as_echo "$MAGIC_CMD" >&6; }
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8672 $as_echo "no" >&6; }
8685 # Use C for the default configuration in the libtool script
8689 ac_cpp
='$CPP $CPPFLAGS'
8690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8695 # Source file extension for C test sources.
8698 # Object file extension for compiled C test sources.
8702 # Code to be used in simple compile tests
8703 lt_simple_compile_test_code
="int some_variable = 0;"
8705 # Code to be used in simple link tests
8706 lt_simple_link_test_code
='int main(){return(0);}'
8714 # If no C compiler was specified, use CC.
8717 # If no C compiler flags were specified, use CFLAGS.
8718 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8720 # Allow CC to be a program name with arguments.
8723 # Save the default compiler, since it gets overwritten when the other
8724 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8725 compiler_DEFAULT
=$CC
8727 # save warnings/boilerplate of simple test code
8728 ac_outfile
=conftest.
$ac_objext
8729 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8730 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8731 _lt_compiler_boilerplate
=`cat conftest.err`
8734 ac_outfile
=conftest.
$ac_objext
8735 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8736 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8737 _lt_linker_boilerplate
=`cat conftest.err`
8742 ## There is no encapsulation within the following macros, do not change
8743 ## the running order or otherwise move them around unless you know exactly
8744 ## what you are doing...
8745 if test -n "$compiler"; then
8747 lt_prog_compiler_no_builtin_flag
=
8749 if test "$GCC" = yes; then
8750 case $cc_basename in
8752 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8754 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8758 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8759 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8760 $as_echo_n "(cached) " >&6
8762 lt_cv_prog_compiler_rtti_exceptions
=no
8763 ac_outfile
=conftest.
$ac_objext
8764 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8765 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8766 # Insert the option either (1) after the last *FLAGS variable, or
8767 # (2) before a word containing "conftest.", or (3) at the end.
8768 # Note that $ac_compile itself does not contain backslashes and begins
8769 # with a dollar sign (not a hyphen), so the echo should work correctly.
8770 # The option is referenced via a variable to avoid confusing sed.
8771 lt_compile
=`echo "$ac_compile" | $SED \
8772 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8773 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8774 -e 's:$: $lt_compiler_flag:'`
8775 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8776 (eval "$lt_compile" 2>conftest.err
)
8778 cat conftest.err
>&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 if (exit $ac_status) && test -s "$ac_outfile"; then
8781 # The compiler can only warn and ignore the option if not recognized
8782 # So say no if there are warnings other than the usual output.
8783 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8784 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8785 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8786 lt_cv_prog_compiler_rtti_exceptions
=yes
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8793 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8795 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8796 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8808 lt_prog_compiler_wl
=
8809 lt_prog_compiler_pic
=
8810 lt_prog_compiler_static
=
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8813 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8815 if test "$GCC" = yes; then
8816 lt_prog_compiler_wl
='-Wl,'
8817 lt_prog_compiler_static
='-static'
8821 # All AIX code is PIC.
8822 if test "$host_cpu" = ia64
; then
8823 # AIX 5 now supports IA64 processor
8824 lt_prog_compiler_static
='-Bstatic'
8831 # see comment about AmigaOS4 .so support
8832 lt_prog_compiler_pic
='-fPIC'
8835 # FIXME: we need at least 68020 code to build shared libraries, but
8836 # adding the `-m68020' flag to GCC prevents building anything better,
8838 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8843 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8844 # PIC is the default for these OSes.
8847 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8848 # This hack is so that the source file can tell whether it is being
8849 # built for inclusion in a dll (and should export symbols for example).
8850 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8851 # (--disable-auto-import) libraries
8852 lt_prog_compiler_pic
='-DDLL_EXPORT'
8855 darwin
* | rhapsody
*)
8856 # PIC is the default on this platform
8857 # Common symbols not allowed in MH_DYLIB files
8858 lt_prog_compiler_pic
='-fno-common'
8862 # PIC is the default for Haiku.
8863 # The "-static" flag exists, but is broken.
8864 lt_prog_compiler_static
=
8868 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8869 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8870 # sets the default TLS model and affects inlining.
8876 lt_prog_compiler_pic
='-fPIC'
8882 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8883 # Instead, we relocate shared libraries at runtime.
8887 # Just because we use GCC doesn't mean we suddenly get shared libraries
8888 # on systems that don't support them.
8889 lt_prog_compiler_can_build_shared
=no
8894 # QNX uses GNU C++, but need to define -shared option too, otherwise
8896 lt_prog_compiler_pic
='-fPIC -shared'
8900 if test -d /usr
/nec
; then
8901 lt_prog_compiler_pic
=-Kconform_pic
8906 lt_prog_compiler_pic
='-fPIC'
8910 case $cc_basename in
8911 nvcc
*) # Cuda Compiler Driver 2.2
8912 lt_prog_compiler_wl
='-Xlinker '
8913 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8917 # PORTME Check for flag to pass linker flags through the system compiler.
8920 lt_prog_compiler_wl
='-Wl,'
8921 if test "$host_cpu" = ia64
; then
8922 # AIX 5 now supports IA64 processor
8923 lt_prog_compiler_static
='-Bstatic'
8925 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8929 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8930 # This hack is so that the source file can tell whether it is being
8931 # built for inclusion in a dll (and should export symbols for example).
8932 lt_prog_compiler_pic
='-DDLL_EXPORT'
8935 hpux9
* | hpux10
* | hpux11
*)
8936 lt_prog_compiler_wl
='-Wl,'
8937 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8944 lt_prog_compiler_pic
='+Z'
8947 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8948 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8951 irix5
* | irix6
* | nonstopux
*)
8952 lt_prog_compiler_wl
='-Wl,'
8953 # PIC (with -KPIC) is the default.
8954 lt_prog_compiler_static
='-non_shared'
8957 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8958 case $cc_basename in
8959 # old Intel for x86_64 which still supported -KPIC.
8961 lt_prog_compiler_wl
='-Wl,'
8962 lt_prog_compiler_pic
='-KPIC'
8963 lt_prog_compiler_static
='-static'
8965 # icc used to be incompatible with GCC.
8966 # ICC 10 doesn't accept -KPIC any more.
8968 lt_prog_compiler_wl
='-Wl,'
8969 lt_prog_compiler_pic
='-fPIC'
8970 lt_prog_compiler_static
='-static'
8972 # Lahey Fortran 8.1.
8974 lt_prog_compiler_wl
='-Wl,'
8975 lt_prog_compiler_pic
='--shared'
8976 lt_prog_compiler_static
='--static'
8978 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8979 # Portland Group compilers (*not* the Pentium gcc compiler,
8980 # which looks to be a dead project)
8981 lt_prog_compiler_wl
='-Wl,'
8982 lt_prog_compiler_pic
='-fpic'
8983 lt_prog_compiler_static
='-Bstatic'
8986 lt_prog_compiler_wl
='-Wl,'
8987 # All Alpha code is PIC.
8988 lt_prog_compiler_static
='-non_shared'
8990 xl
* | bgxl
* | bgf
* | mpixl
*)
8991 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8992 lt_prog_compiler_wl
='-Wl,'
8993 lt_prog_compiler_pic
='-qpic'
8994 lt_prog_compiler_static
='-qstaticlink'
8997 case `$CC -V 2>&1 | sed 5q` in
8998 *Sun\ F
* |
*Sun
*Fortran
*)
8999 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9000 lt_prog_compiler_pic
='-KPIC'
9001 lt_prog_compiler_static
='-Bstatic'
9002 lt_prog_compiler_wl
=''
9006 lt_prog_compiler_pic
='-KPIC'
9007 lt_prog_compiler_static
='-Bstatic'
9008 lt_prog_compiler_wl
='-Wl,'
9016 lt_prog_compiler_pic
='-KPIC'
9017 lt_prog_compiler_static
='-Bstatic'
9021 # QNX uses GNU C++, but need to define -shared option too, otherwise
9023 lt_prog_compiler_pic
='-fPIC -shared'
9026 osf3
* | osf4
* | osf5
*)
9027 lt_prog_compiler_wl
='-Wl,'
9028 # All OSF/1 code is PIC.
9029 lt_prog_compiler_static
='-non_shared'
9033 lt_prog_compiler_static
='-non_shared'
9037 lt_prog_compiler_pic
='-KPIC'
9038 lt_prog_compiler_static
='-Bstatic'
9039 case $cc_basename in
9041 lt_prog_compiler_wl
='-Qoption ld ';;
9043 lt_prog_compiler_wl
='-Wl,';;
9048 lt_prog_compiler_wl
='-Qoption ld '
9049 lt_prog_compiler_pic
='-PIC'
9050 lt_prog_compiler_static
='-Bstatic'
9053 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9054 lt_prog_compiler_wl
='-Wl,'
9055 lt_prog_compiler_pic
='-KPIC'
9056 lt_prog_compiler_static
='-Bstatic'
9060 if test -d /usr
/nec
;then
9061 lt_prog_compiler_pic
='-Kconform_pic'
9062 lt_prog_compiler_static
='-Bstatic'
9066 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9067 lt_prog_compiler_wl
='-Wl,'
9068 lt_prog_compiler_pic
='-KPIC'
9069 lt_prog_compiler_static
='-Bstatic'
9073 lt_prog_compiler_wl
='-Wl,'
9074 lt_prog_compiler_can_build_shared
=no
9078 lt_prog_compiler_pic
='-pic'
9079 lt_prog_compiler_static
='-Bstatic'
9083 lt_prog_compiler_can_build_shared
=no
9089 # For platforms which do not support PIC, -DPIC is meaningless:
9091 lt_prog_compiler_pic
=
9094 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9098 $as_echo "$lt_prog_compiler_pic" >&6; }
9106 # Check to make sure the PIC flag actually works.
9108 if test -n "$lt_prog_compiler_pic"; then
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9110 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9111 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9112 $as_echo_n "(cached) " >&6
9114 lt_cv_prog_compiler_pic_works
=no
9115 ac_outfile
=conftest.
$ac_objext
9116 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9117 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9118 # Insert the option either (1) after the last *FLAGS variable, or
9119 # (2) before a word containing "conftest.", or (3) at the end.
9120 # Note that $ac_compile itself does not contain backslashes and begins
9121 # with a dollar sign (not a hyphen), so the echo should work correctly.
9122 # The option is referenced via a variable to avoid confusing sed.
9123 lt_compile
=`echo "$ac_compile" | $SED \
9124 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9125 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9126 -e 's:$: $lt_compiler_flag:'`
9127 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9128 (eval "$lt_compile" 2>conftest.err
)
9130 cat conftest.err
>&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 if (exit $ac_status) && test -s "$ac_outfile"; then
9133 # The compiler can only warn and ignore the option if not recognized
9134 # So say no if there are warnings other than the usual output.
9135 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9136 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9137 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9138 lt_cv_prog_compiler_pic_works
=yes
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9145 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9147 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9148 case $lt_prog_compiler_pic in
9150 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9153 lt_prog_compiler_pic
=
9154 lt_prog_compiler_can_build_shared
=no
9165 # Check to make sure the static flag actually works.
9167 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9169 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9170 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9171 $as_echo_n "(cached) " >&6
9173 lt_cv_prog_compiler_static_works
=no
9174 save_LDFLAGS
="$LDFLAGS"
9175 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9176 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9177 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9178 # The linker can only warn and ignore the option if not recognized
9179 # So say no if there are warnings
9180 if test -s conftest.err
; then
9181 # Append any errors to the config.log.
9182 cat conftest.err
1>&5
9183 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9184 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9185 if diff conftest.exp conftest.er2
>/dev
/null
; then
9186 lt_cv_prog_compiler_static_works
=yes
9189 lt_cv_prog_compiler_static_works
=yes
9193 LDFLAGS
="$save_LDFLAGS"
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9197 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9199 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9202 lt_prog_compiler_static
=
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9212 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9213 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9214 $as_echo_n "(cached) " >&6
9216 lt_cv_prog_compiler_c_o
=no
9217 $RM -r conftest
2>/dev
/null
9221 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9223 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9224 # Insert the option either (1) after the last *FLAGS variable, or
9225 # (2) before a word containing "conftest.", or (3) at the end.
9226 # Note that $ac_compile itself does not contain backslashes and begins
9227 # with a dollar sign (not a hyphen), so the echo should work correctly.
9228 lt_compile
=`echo "$ac_compile" | $SED \
9229 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9230 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9231 -e 's:$: $lt_compiler_flag:'`
9232 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9233 (eval "$lt_compile" 2>out
/conftest.err
)
9235 cat out
/conftest.err
>&5
9236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9239 # The compiler can only warn and ignore the option if not recognized
9240 # So say no if there are warnings
9241 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9242 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9243 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9244 lt_cv_prog_compiler_c_o
=yes
9249 # SGI C++ compiler will create directory out/ii_files/ for
9250 # template instantiation
9251 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9252 $RM out
/* && rmdir out
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9259 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9267 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9268 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9269 $as_echo_n "(cached) " >&6
9271 lt_cv_prog_compiler_c_o
=no
9272 $RM -r conftest
2>/dev
/null
9276 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9278 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9279 # Insert the option either (1) after the last *FLAGS variable, or
9280 # (2) before a word containing "conftest.", or (3) at the end.
9281 # Note that $ac_compile itself does not contain backslashes and begins
9282 # with a dollar sign (not a hyphen), so the echo should work correctly.
9283 lt_compile
=`echo "$ac_compile" | $SED \
9284 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9285 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9286 -e 's:$: $lt_compiler_flag:'`
9287 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9288 (eval "$lt_compile" 2>out
/conftest.err
)
9290 cat out
/conftest.err
>&5
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9294 # The compiler can only warn and ignore the option if not recognized
9295 # So say no if there are warnings
9296 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9297 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9298 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9299 lt_cv_prog_compiler_c_o
=yes
9304 # SGI C++ compiler will create directory out/ii_files/ for
9305 # template instantiation
9306 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9307 $RM out
/* && rmdir out
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9314 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9319 hard_links
="nottested"
9320 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9321 # do not overwrite the value of need_locks provided by the user
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9323 $as_echo_n "checking if we can lock with hard links... " >&6; }
9326 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9328 ln conftest.a conftest.b
2>&5 || hard_links
=no
9329 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9331 $as_echo "$hard_links" >&6; }
9332 if test "$hard_links" = no
; then
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9334 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9347 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9350 allow_undefined_flag
=
9351 always_export_symbols
=no
9353 archive_expsym_cmds
=
9354 compiler_needs_object
=no
9355 enable_shared_with_static_runtimes
=no
9356 export_dynamic_flag_spec
=
9357 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9358 hardcode_automatic
=no
9360 hardcode_direct_absolute
=no
9361 hardcode_libdir_flag_spec
=
9362 hardcode_libdir_flag_spec_ld
=
9363 hardcode_libdir_separator
=
9365 hardcode_shlibpath_var
=unsupported
9367 link_all_deplibs
=unknown
9370 old_archive_from_new_cmds
=
9371 old_archive_from_expsyms_cmds
=
9372 thread_safe_flag_spec
=
9373 whole_archive_flag_spec
=
9374 # include_expsyms should be a list of space-separated symbols to be *always*
9375 # included in the symbol list
9377 # exclude_expsyms can be an extended regexp of symbols to exclude
9378 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9379 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9380 # as well as any symbol that contains `d'.
9381 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9382 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9383 # platforms (ab)use it in PIC code, but their linkers get confused if
9384 # the symbol is explicitly referenced. Since portable code cannot
9385 # rely on this symbol name, it's probably fine to never include it in
9386 # preloaded symbol tables.
9387 # Exclude shared library initialization/finalization symbols.
9388 extract_expsyms_cmds
=
9391 cygwin
* | mingw
* | pw32
* | cegcc
*)
9392 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9393 # When not using gcc, we currently assume that we are using
9394 # Microsoft Visual C++.
9395 if test "$GCC" != yes; then
9400 # we just hope/assume this is gcc and not c89 (= MSVC++)
9410 # On some targets, GNU ld is compatible enough with the native linker
9411 # that we're better off using the native interface for both.
9412 lt_use_gnu_ld_interface
=no
9413 if test "$with_gnu_ld" = yes; then
9416 # The AIX port of GNU ld has always aspired to compatibility
9417 # with the native linker. However, as the warning in the GNU ld
9418 # block says, versions before 2.19.5* couldn't really create working
9419 # shared libraries, regardless of the interface used.
9420 case `$LD -v 2>&1` in
9421 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9422 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9423 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9425 lt_use_gnu_ld_interface
=yes
9430 lt_use_gnu_ld_interface
=yes
9435 if test "$lt_use_gnu_ld_interface" = yes; then
9436 # If archive_cmds runs LD, not CC, wlarc should be empty
9439 # Set some defaults for GNU ld with shared library support. These
9440 # are reset later if shared libraries are not supported. Putting them
9441 # here allows them to be overridden if necessary.
9442 runpath_var
=LD_RUN_PATH
9443 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9444 export_dynamic_flag_spec
='${wl}--export-dynamic'
9445 # ancient GNU ld didn't support --whole-archive et. al.
9446 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9447 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9449 whole_archive_flag_spec
=
9451 supports_anon_versioning
=no
9452 case `$LD -v 2>&1` in
9453 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9454 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9455 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9456 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9457 *\
2.11.
*) ;; # other 2.11 versions
9458 *) supports_anon_versioning
=yes ;;
9461 # See if GNU ld supports shared libraries.
9464 # On AIX/PPC, the GNU linker is very broken
9465 if test "$host_cpu" != ia64
; then
9469 *** Warning: the GNU linker, at least up to release 2.19, is reported
9470 *** to be unable to reliably create shared libraries on AIX.
9471 *** Therefore, libtool is disabling shared libraries support. If you
9472 *** really care for shared libraries, you may want to install binutils
9473 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9474 *** You will then need to restart the configuration process.
9483 # see comment about AmigaOS4 .so support
9484 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9485 archive_expsym_cmds
=''
9488 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)'
9489 hardcode_libdir_flag_spec
='-L$libdir'
9490 hardcode_minus_L
=yes
9496 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9497 allow_undefined_flag
=unsupported
9498 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9499 # support --undefined. This deserves some investigation. FIXME
9500 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9506 cygwin
* | mingw
* | pw32
* | cegcc
*)
9507 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9508 # as there is no search path for DLLs.
9509 hardcode_libdir_flag_spec
='-L$libdir'
9510 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9511 allow_undefined_flag
=unsupported
9512 always_export_symbols
=no
9513 enable_shared_with_static_runtimes
=yes
9514 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9516 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9517 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9518 # If the export-symbols file already is a .def file (1st line
9519 # is EXPORTS), use it as is; otherwise, prepend...
9520 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9521 cp $export_symbols $output_objdir/$soname.def;
9523 echo EXPORTS > $output_objdir/$soname.def;
9524 cat $export_symbols >> $output_objdir/$soname.def;
9526 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9533 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9534 link_all_deplibs
=yes
9539 hardcode_shlibpath_var
=no
9540 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9541 export_dynamic_flag_spec
='${wl}-E'
9542 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9543 # Instead, shared libraries are loaded at an image base (0x10000000 by
9544 # default) and relocated if they conflict, which is a slow very memory
9545 # consuming and fragmenting process. To avoid this, we pick a random,
9546 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9547 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9548 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9549 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'
9552 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9554 if test "$host_os" = linux-dietlibc
; then
9555 case $cc_basename in
9556 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9559 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9560 && test "$tmp_diet" = no
9563 tmp_sharedflag
='-shared'
9564 case $cc_basename,$host_cpu in
9565 pgcc
*) # Portland Group C compiler
9566 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'
9567 tmp_addflag
=' $pic_flag'
9569 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9570 # Portland Group f77 and f90 compilers
9571 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'
9572 tmp_addflag
=' $pic_flag -Mnomain' ;;
9573 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9574 tmp_addflag
=' -i_dynamic' ;;
9575 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9576 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9577 ifc
* | ifort
*) # Intel Fortran compiler
9578 tmp_addflag
=' -nofor_main' ;;
9579 lf95
*) # Lahey Fortran 8.1
9580 whole_archive_flag_spec
=
9581 tmp_sharedflag
='--shared' ;;
9582 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9583 tmp_sharedflag
='-qmkshrobj'
9585 nvcc
*) # Cuda Compiler Driver 2.2
9586 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9587 compiler_needs_object
=yes
9590 case `$CC -V 2>&1 | sed 5q` in
9591 *Sun\ C
*) # Sun C 5.9
9592 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'
9593 compiler_needs_object
=yes
9594 tmp_sharedflag
='-G' ;;
9595 *Sun\ F
*) # Sun Fortran 8.3
9596 tmp_sharedflag
='-G' ;;
9598 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9600 if test "x$supports_anon_versioning" = xyes
; then
9601 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9602 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9603 echo "local: *; };" >> $output_objdir/$libname.ver~
9604 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9607 case $cc_basename in
9608 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9609 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9610 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9611 hardcode_libdir_flag_spec
=
9612 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9613 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9614 if test "x$supports_anon_versioning" = xyes
; then
9615 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9616 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9617 echo "local: *; };" >> $output_objdir/$libname.ver~
9618 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9628 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9629 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9632 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9633 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9638 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9642 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9643 *** create shared libraries on Solaris systems. Therefore, libtool
9644 *** is disabling shared libraries support. We urge you to upgrade GNU
9645 *** binutils to release 2.9.1 or newer. Another option is to modify
9646 *** your PATH or compiler configuration so that the native linker is
9647 *** used, and then restart.
9650 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9651 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9652 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9658 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9659 case `$LD -v 2>&1` in
9660 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9664 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9665 *** reliably create shared libraries on SCO systems. Therefore, libtool
9666 *** is disabling shared libraries support. We urge you to upgrade GNU
9667 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9668 *** your PATH or compiler configuration so that the native linker is
9669 *** used, and then restart.
9674 # For security reasons, it is highly recommended that you always
9675 # use absolute paths for naming shared libraries, and exclude the
9676 # DT_RUNPATH tag from executables and libraries. But doing so
9677 # requires that you compile everything twice, which is a pain.
9678 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9679 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9680 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9681 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9690 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9693 hardcode_shlibpath_var
=no
9697 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9698 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9699 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9706 if test "$ld_shlibs" = no
; then
9708 hardcode_libdir_flag_spec
=
9709 export_dynamic_flag_spec
=
9710 whole_archive_flag_spec
=
9713 # PORTME fill in a description of your system's linker (not GNU ld)
9716 allow_undefined_flag
=unsupported
9717 always_export_symbols
=yes
9718 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'
9719 # Note: this linker hardcodes the directories in LIBPATH if there
9720 # are no directories specified by -L.
9721 hardcode_minus_L
=yes
9722 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9723 # Neither direct hardcoding nor static linking is supported with a
9725 hardcode_direct
=unsupported
9730 if test "$host_cpu" = ia64
; then
9731 # On IA64, the linker does run time linking by default, so we don't
9732 # have to do anything special.
9733 aix_use_runtimelinking
=no
9734 exp_sym_flag
='-Bexport'
9737 # If we're using GNU nm, then we don't want the "-C" option.
9738 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9739 # Also, AIX nm treats weak defined symbols like other global
9740 # defined symbols, whereas GNU nm marks them as "W".
9741 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9742 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'
9744 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'
9746 aix_use_runtimelinking
=no
9748 # Test if we are trying to use run time linking or normal
9749 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9750 # need to do runtime linking.
9751 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9752 for ld_flag
in $LDFLAGS; do
9753 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9754 aix_use_runtimelinking
=yes
9761 exp_sym_flag
='-bexport'
9762 no_entry_flag
='-bnoentry'
9765 # When large executables or shared objects are built, AIX ld can
9766 # have problems creating the table of contents. If linking a library
9767 # or program results in "error TOC overflow" add -mminimal-toc to
9768 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9769 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9773 hardcode_direct_absolute
=yes
9774 hardcode_libdir_separator
=':'
9775 link_all_deplibs
=yes
9776 file_list_spec
='${wl}-f,'
9778 if test "$GCC" = yes; then
9779 case $host_os in aix4.
[012]|aix4.
[012].
*)
9780 # We only want to do this on AIX 4.2 and lower, the check
9781 # below for broken collect2 doesn't work under 4.3+
9782 collect2name
=`${CC} -print-prog-name=collect2`
9783 if test -f "$collect2name" &&
9784 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9786 # We have reworked collect2
9789 # We have old collect2
9790 hardcode_direct
=unsupported
9791 # It fails to find uninstalled libraries when the uninstalled
9792 # path is not listed in the libpath. Setting hardcode_minus_L
9793 # to unsupported forces relinking
9794 hardcode_minus_L
=yes
9795 hardcode_libdir_flag_spec
='-L$libdir'
9796 hardcode_libdir_separator
=
9800 shared_flag
='-shared'
9801 if test "$aix_use_runtimelinking" = yes; then
9802 shared_flag
="$shared_flag "'${wl}-G'
9806 if test "$host_cpu" = ia64
; then
9807 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9808 # chokes on -Wl,-G. The following line is correct:
9811 if test "$aix_use_runtimelinking" = yes; then
9812 shared_flag
='${wl}-G'
9814 shared_flag
='${wl}-bM:SRE'
9819 export_dynamic_flag_spec
='${wl}-bexpall'
9820 # It seems that -bexpall does not export symbols beginning with
9821 # underscore (_), so it is better to generate a list of symbols to export.
9822 always_export_symbols
=yes
9823 if test "$aix_use_runtimelinking" = yes; then
9824 # Warning - without using the other runtime loading flags (-brtl),
9825 # -berok will link without error, but may produce a broken library.
9826 allow_undefined_flag
='-berok'
9827 # Determine the default libpath from the value encoded in an
9829 if test x
$gcc_no_link = xyes
; then
9830 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9843 if ac_fn_c_try_link
"$LINENO"; then :
9845 lt_aix_libpath_sed
='
9846 /Import File Strings/,/^$/ {
9852 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9853 # Check for a 64-bit object if we didn't find anything.
9854 if test -z "$aix_libpath"; then
9855 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9858 rm -f core conftest.err conftest.
$ac_objext \
9859 conftest
$ac_exeext conftest.
$ac_ext
9860 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9862 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9863 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"
9865 if test "$host_cpu" = ia64
; then
9866 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9867 allow_undefined_flag
="-z nodefs"
9868 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"
9870 # Determine the default libpath from the value encoded in an
9872 if test x
$gcc_no_link = xyes
; then
9873 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9886 if ac_fn_c_try_link
"$LINENO"; then :
9888 lt_aix_libpath_sed
='
9889 /Import File Strings/,/^$/ {
9895 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9896 # Check for a 64-bit object if we didn't find anything.
9897 if test -z "$aix_libpath"; then
9898 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9901 rm -f core conftest.err conftest.
$ac_objext \
9902 conftest
$ac_exeext conftest.
$ac_ext
9903 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9905 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9906 # Warning - without using the other run time loading flags,
9907 # -berok will link without error, but may produce a broken library.
9908 no_undefined_flag
=' ${wl}-bernotok'
9909 allow_undefined_flag
=' ${wl}-berok'
9910 if test "$with_gnu_ld" = yes; then
9911 # We only use this code for GNU lds that support --whole-archive.
9912 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9914 # Exported symbols can be pulled into shared objects from archives
9915 whole_archive_flag_spec
='$convenience'
9917 archive_cmds_need_lc
=yes
9918 # This is similar to how AIX traditionally builds its shared libraries.
9919 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'
9927 # see comment about AmigaOS4 .so support
9928 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9929 archive_expsym_cmds
=''
9932 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)'
9933 hardcode_libdir_flag_spec
='-L$libdir'
9934 hardcode_minus_L
=yes
9940 export_dynamic_flag_spec
=-rdynamic
9943 cygwin
* | mingw
* | pw32
* | cegcc
*)
9944 # When not using gcc, we currently assume that we are using
9945 # Microsoft Visual C++.
9946 # hardcode_libdir_flag_spec is actually meaningless, as there is
9947 # no search path for DLLs.
9948 hardcode_libdir_flag_spec
=' '
9949 allow_undefined_flag
=unsupported
9950 # Tell ltmain to make .lib files, not .a files.
9952 # Tell ltmain to make .dll files, not .so files.
9954 # FIXME: Setting linknames here is a bad hack.
9955 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9956 # The linker will automatically build a .lib file if we build a DLL.
9957 old_archive_from_new_cmds
='true'
9958 # FIXME: Should let the user specify the lib program.
9959 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9960 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9961 enable_shared_with_static_runtimes
=yes
9964 darwin
* | rhapsody
*)
9967 archive_cmds_need_lc
=no
9969 hardcode_automatic
=yes
9970 hardcode_shlibpath_var
=unsupported
9971 if test "$lt_cv_ld_force_load" = "yes"; then
9972 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\"`'
9974 whole_archive_flag_spec
=''
9976 link_all_deplibs
=yes
9977 allow_undefined_flag
="$_lt_dar_allow_undefined"
9978 case $cc_basename in
9979 ifort
*) _lt_dar_can_shared
=yes ;;
9980 *) _lt_dar_can_shared
=$GCC ;;
9982 if test "$_lt_dar_can_shared" = "yes"; then
9983 output_verbose_link_cmd
=func_echo_all
9984 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9985 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9986 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}"
9987 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}"
9996 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9997 hardcode_libdir_flag_spec
='-L$libdir'
9998 hardcode_shlibpath_var
=no
10005 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10006 # support. Future versions do this automatically, but an explicit c++rt0.o
10007 # does not break anything, and helps significantly (at the cost of a little
10010 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10011 hardcode_libdir_flag_spec
='-R$libdir'
10012 hardcode_direct
=yes
10013 hardcode_shlibpath_var
=no
10016 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10018 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_direct
=yes
10020 hardcode_minus_L
=yes
10021 hardcode_shlibpath_var
=no
10024 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10025 freebsd
* | dragonfly
*)
10026 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10027 hardcode_libdir_flag_spec
='-R$libdir'
10028 hardcode_direct
=yes
10029 hardcode_shlibpath_var
=no
10033 if test "$GCC" = yes; then
10034 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'
10036 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'
10038 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10039 hardcode_libdir_separator
=:
10040 hardcode_direct
=yes
10042 # hardcode_minus_L: Not really in the search PATH,
10043 # but as the default location of the library.
10044 hardcode_minus_L
=yes
10045 export_dynamic_flag_spec
='${wl}-E'
10049 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10050 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10052 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10054 if test "$with_gnu_ld" = no
; then
10055 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10056 hardcode_libdir_flag_spec_ld
='+b $libdir'
10057 hardcode_libdir_separator
=:
10058 hardcode_direct
=yes
10059 hardcode_direct_absolute
=yes
10060 export_dynamic_flag_spec
='${wl}-E'
10061 # hardcode_minus_L: Not really in the search PATH,
10062 # but as the default location of the library.
10063 hardcode_minus_L
=yes
10068 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10071 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10077 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10083 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10086 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10090 # Older versions of the 11.00 compiler do not understand -b yet
10091 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10093 $as_echo_n "checking if $CC understands -b... " >&6; }
10094 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10095 $as_echo_n "(cached) " >&6
10097 lt_cv_prog_compiler__b
=no
10098 save_LDFLAGS
="$LDFLAGS"
10099 LDFLAGS
="$LDFLAGS -b"
10100 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10101 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10102 # The linker can only warn and ignore the option if not recognized
10103 # So say no if there are warnings
10104 if test -s conftest.err
; then
10105 # Append any errors to the config.log.
10106 cat conftest.err
1>&5
10107 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10108 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10109 if diff conftest.exp conftest.er2
>/dev
/null
; then
10110 lt_cv_prog_compiler__b
=yes
10113 lt_cv_prog_compiler__b
=yes
10117 LDFLAGS
="$save_LDFLAGS"
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10121 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10123 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10124 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10126 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10132 if test "$with_gnu_ld" = no
; then
10133 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10134 hardcode_libdir_separator
=:
10139 hardcode_shlibpath_var
=no
10142 hardcode_direct
=yes
10143 hardcode_direct_absolute
=yes
10144 export_dynamic_flag_spec
='${wl}-E'
10146 # hardcode_minus_L: Not really in the search PATH,
10147 # but as the default location of the library.
10148 hardcode_minus_L
=yes
10154 irix5
* | irix6
* | nonstopux
*)
10155 if test "$GCC" = yes; then
10156 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'
10157 # Try to use the -exported_symbol ld option, if it does not
10158 # work, assume that -exports_file does not work either and
10159 # implicitly export all symbols.
10160 save_LDFLAGS
="$LDFLAGS"
10161 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10162 if test x
$gcc_no_link = xyes
; then
10163 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10169 if ac_fn_c_try_link
"$LINENO"; then :
10170 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'
10173 rm -f core conftest.err conftest.
$ac_objext \
10174 conftest
$ac_exeext conftest.
$ac_ext
10175 LDFLAGS
="$save_LDFLAGS"
10177 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'
10178 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'
10180 archive_cmds_need_lc
='no'
10181 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10182 hardcode_libdir_separator
=:
10184 link_all_deplibs
=yes
10188 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10189 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10191 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10193 hardcode_libdir_flag_spec
='-R$libdir'
10194 hardcode_direct
=yes
10195 hardcode_shlibpath_var
=no
10199 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10200 hardcode_direct
=yes
10201 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10202 hardcode_libdir_separator
=:
10203 hardcode_shlibpath_var
=no
10210 if test -f /usr
/libexec
/ld.so
; then
10211 hardcode_direct
=yes
10212 hardcode_shlibpath_var
=no
10213 hardcode_direct_absolute
=yes
10214 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10215 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10216 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10217 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10218 export_dynamic_flag_spec
='${wl}-E'
10221 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10222 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10223 hardcode_libdir_flag_spec
='-R$libdir'
10226 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10227 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10237 hardcode_libdir_flag_spec
='-L$libdir'
10238 hardcode_minus_L
=yes
10239 allow_undefined_flag
=unsupported
10240 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'
10241 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10245 if test "$GCC" = yes; then
10246 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10247 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'
10249 allow_undefined_flag
=' -expect_unresolved \*'
10250 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'
10252 archive_cmds_need_lc
='no'
10253 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10254 hardcode_libdir_separator
=:
10257 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10258 if test "$GCC" = yes; then
10259 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10260 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'
10261 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10263 allow_undefined_flag
=' -expect_unresolved \*'
10264 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'
10265 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~
10266 $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'
10268 # Both c and cxx compiler support -rpath directly
10269 hardcode_libdir_flag_spec
='-rpath $libdir'
10271 archive_cmds_need_lc
='no'
10272 hardcode_libdir_separator
=:
10276 no_undefined_flag
=' -z defs'
10277 if test "$GCC" = yes; then
10279 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10280 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10281 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10283 case `$CC -V 2>&1` in
10286 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10287 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10288 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10292 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10293 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10294 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10298 hardcode_libdir_flag_spec
='-R$libdir'
10299 hardcode_shlibpath_var
=no
10301 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10303 # The compiler driver will combine and reorder linker options,
10304 # but understands `-z linker_flag'. GCC discards it without `$wl',
10305 # but is careful enough not to reorder.
10306 # Supported since Solaris 2.6 (maybe 2.5.1?)
10307 if test "$GCC" = yes; then
10308 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10310 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10314 link_all_deplibs
=yes
10318 if test "x$host_vendor" = xsequent
; then
10319 # Use $CC to link under sequent, because it throws in some extra .o
10320 # files that make .init and .fini sections work.
10321 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10323 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10325 hardcode_libdir_flag_spec
='-L$libdir'
10326 hardcode_direct
=yes
10327 hardcode_minus_L
=yes
10328 hardcode_shlibpath_var
=no
10332 case $host_vendor in
10334 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10335 hardcode_direct
=yes # is this really true???
10338 ## LD is ld it makes a PLAMLIB
10339 ## CC just makes a GrossModule.
10340 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10341 reload_cmds
='$CC -r -o $output$reload_objs'
10345 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10346 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10349 runpath_var
='LD_RUN_PATH'
10350 hardcode_shlibpath_var
=no
10354 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10355 hardcode_shlibpath_var
=no
10356 export_dynamic_flag_spec
='-Bexport'
10360 if test -d /usr
/nec
; then
10361 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10362 hardcode_shlibpath_var
=no
10363 runpath_var
=LD_RUN_PATH
10364 hardcode_runpath_var
=yes
10369 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10370 no_undefined_flag
='${wl}-z,text'
10371 archive_cmds_need_lc
=no
10372 hardcode_shlibpath_var
=no
10373 runpath_var
='LD_RUN_PATH'
10375 if test "$GCC" = yes; then
10376 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10377 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10379 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10380 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10384 sysv5
* | sco3.2v5
* | sco5v6
*)
10385 # Note: We can NOT use -z defs as we might desire, because we do not
10386 # link with -lc, and that would cause any symbols used from libc to
10387 # always be unresolved, which means just about no library would
10388 # ever link correctly. If we're not using GNU ld we use -z text
10389 # though, which does catch some bad symbols but isn't as heavy-handed
10391 no_undefined_flag
='${wl}-z,text'
10392 allow_undefined_flag
='${wl}-z,nodefs'
10393 archive_cmds_need_lc
=no
10394 hardcode_shlibpath_var
=no
10395 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10396 hardcode_libdir_separator
=':'
10397 link_all_deplibs
=yes
10398 export_dynamic_flag_spec
='${wl}-Bexport'
10399 runpath_var
='LD_RUN_PATH'
10401 if test "$GCC" = yes; then
10402 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10403 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10405 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10406 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10411 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10412 hardcode_libdir_flag_spec
='-L$libdir'
10413 hardcode_shlibpath_var
=no
10421 if test x
$host_vendor = xsni
; then
10423 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10424 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10431 $as_echo "$ld_shlibs" >&6; }
10432 test "$ld_shlibs" = no
&& can_build_shared
=no
10434 with_gnu_ld
=$with_gnu_ld
10451 # Do we need to explicitly link libc?
10453 case "x$archive_cmds_need_lc" in
10455 # Assume -lc should be added
10456 archive_cmds_need_lc
=yes
10458 if test "$enable_shared" = yes && test "$GCC" = yes; then
10459 case $archive_cmds in
10461 # FIXME: we may have to deal with multi-command sequences.
10464 # Test whether the compiler implicitly links with -lc since on some
10465 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10466 # to ld, don't add -lc before -lgcc.
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10468 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10469 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10470 $as_echo_n "(cached) " >&6
10473 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10476 (eval $ac_compile) 2>&5
10478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10479 test $ac_status = 0; } 2>conftest.err
; then
10482 libobjs
=conftest.
$ac_objext
10484 wl
=$lt_prog_compiler_wl
10485 pic_flag
=$lt_prog_compiler_pic
10491 lt_save_allow_undefined_flag
=$allow_undefined_flag
10492 allow_undefined_flag
=
10493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10494 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10497 test $ac_status = 0; }
10499 lt_cv_archive_cmds_need_lc
=no
10501 lt_cv_archive_cmds_need_lc
=yes
10503 allow_undefined_flag
=$lt_save_allow_undefined_flag
10505 cat conftest.err
1>&5
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10511 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10512 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10676 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10678 if test "$GCC" = yes; then
10680 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10681 *) lt_awk_arg
="/^libraries:/" ;;
10684 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10685 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10687 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10688 case $lt_search_path_spec in
10690 # if the path contains ";" then we assume it to be the separator
10691 # otherwise default to the standard path separator (i.e. ":") - it is
10692 # assumed that no part of a normal pathname contains ";" but that should
10693 # okay in the real world where ";" in dirpaths is itself problematic.
10694 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10697 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10700 # Ok, now we have the path, separated by spaces, we can step through it
10701 # and add multilib dir if necessary.
10702 lt_tmp_lt_search_path_spec
=
10703 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10704 for lt_sys_path
in $lt_search_path_spec; do
10705 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10706 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10708 test -d "$lt_sys_path" && \
10709 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10712 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10713 BEGIN {RS=" "; FS="/|\n";} {
10716 for (lt_i = NF; lt_i > 0; lt_i--) {
10717 if ($lt_i != "" && $lt_i != ".") {
10718 if ($lt_i == "..") {
10721 if (lt_count == 0) {
10722 lt_foo="/" $lt_i lt_foo;
10729 if (lt_foo != "") { lt_freq[lt_foo]++; }
10730 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10732 # AWK program above erroneously prepends '/' to C:/dos/paths
10735 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10736 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10738 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10740 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10742 library_names_spec
=
10743 libname_spec
='lib$name'
10747 postuninstall_cmds
=
10751 shlibpath_overrides_runpath
=unknown
10753 dynamic_linker
="$host_os ld.so"
10754 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10755 need_lib_prefix
=unknown
10756 hardcode_into_libs
=no
10758 # when you set need_version to no, make sure it does not cause -set_version
10759 # flags to be left without arguments
10760 need_version
=unknown
10765 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10766 shlibpath_var
=LIBPATH
10768 # AIX 3 has no versioning support, so we append a major version to the name.
10769 soname_spec
='${libname}${release}${shared_ext}$major'
10776 hardcode_into_libs
=yes
10777 if test "$host_cpu" = ia64
; then
10778 # AIX 5 supports IA64
10779 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10780 shlibpath_var
=LD_LIBRARY_PATH
10782 # With GCC up to 2.95.x, collect2 would create an import file
10783 # for dependence libraries. The import file would start with
10784 # the line `#! .'. This would cause the generated library to
10785 # depend on `.', always an invalid library. This was fixed in
10786 # development snapshots of GCC prior to 3.0.
10788 aix4 | aix4.
[01] | aix4.
[01].
*)
10789 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10791 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10794 can_build_shared
=no
10798 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10799 # soname into executable. Probably we can add versioning support to
10800 # collect2, so additional links can be useful in future.
10801 if test "$aix_use_runtimelinking" = yes; then
10802 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10803 # instead of lib<name>.a to let people know that these are not
10804 # typical AIX shared libraries.
10805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10807 # We preserve .a as extension for shared libraries through AIX4.2
10808 # and later when we are not doing run time linking.
10809 library_names_spec
='${libname}${release}.a $libname.a'
10810 soname_spec
='${libname}${release}${shared_ext}$major'
10812 shlibpath_var
=LIBPATH
10819 # Since July 2007 AmigaOS4 officially supports .so libraries.
10820 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10824 library_names_spec
='$libname.ixlibrary $libname.a'
10825 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10826 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'
10832 library_names_spec
='${libname}${shared_ext}'
10833 dynamic_linker
="$host_os ld.so"
10834 shlibpath_var
=LIBRARY_PATH
10840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10841 soname_spec
='${libname}${release}${shared_ext}$major'
10842 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10843 shlibpath_var
=LD_LIBRARY_PATH
10844 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10845 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10846 # the default ld.so.conf also contains /usr/contrib/lib and
10847 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10848 # libtool to hard-code these into programs
10851 cygwin
* | mingw
* | pw32
* | cegcc
*)
10852 version_type
=windows
10857 case $GCC,$host_os in
10858 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10859 library_names_spec
='$libname.dll.a'
10860 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10861 postinstall_cmds
='base_file=`basename \${file}`~
10862 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10863 dldir=$destdir/`dirname \$dlpath`~
10864 test -d \$dldir || mkdir -p \$dldir~
10865 $install_prog $dir/$dlname \$dldir/$dlname~
10866 chmod a+x \$dldir/$dlname~
10867 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10868 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10870 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10871 dlpath=$dir/\$dldll~
10873 shlibpath_overrides_runpath
=yes
10877 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10878 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10880 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10883 # MinGW DLLs use traditional 'lib' prefix
10884 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10887 # pw32 DLLs use 'pw' prefix rather than 'lib'
10888 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10894 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10897 dynamic_linker
='Win32 ld.exe'
10898 # FIXME: first we should search . and the directory the executable is in
10902 darwin
* | rhapsody
*)
10903 dynamic_linker
="$host_os dyld"
10904 version_type
=darwin
10907 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10908 soname_spec
='${libname}${release}${major}$shared_ext'
10909 shlibpath_overrides_runpath
=yes
10910 shlibpath_var
=DYLD_LIBRARY_PATH
10911 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10913 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10914 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10922 soname_spec
='${libname}${release}${shared_ext}$major'
10923 shlibpath_var
=LD_LIBRARY_PATH
10930 freebsd
* | dragonfly
*)
10931 # DragonFly does not have aout. When/if they implement a new
10932 # versioning mechanism, adjust this.
10933 if test -x /usr
/bin
/objformat
; then
10934 objformat
=`/usr/bin/objformat`
10937 freebsd
[123]*) objformat
=aout
;;
10938 *) objformat
=elf
;;
10941 version_type
=freebsd-
$objformat
10942 case $version_type in
10944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10949 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10953 shlibpath_var
=LD_LIBRARY_PATH
10956 shlibpath_overrides_runpath
=yes
10958 freebsd3.
[01]* | freebsdelf3.
[01]*)
10959 shlibpath_overrides_runpath
=yes
10960 hardcode_into_libs
=yes
10962 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10963 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10964 shlibpath_overrides_runpath
=no
10965 hardcode_into_libs
=yes
10967 *) # from 4.6 on, and DragonFly
10968 shlibpath_overrides_runpath
=yes
10969 hardcode_into_libs
=yes
10978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10979 soname_spec
='${libname}${release}${shared_ext}$major'
10980 shlibpath_var
=LD_LIBRARY_PATH
10981 hardcode_into_libs
=yes
10988 dynamic_linker
="$host_os runtime_loader"
10989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10990 soname_spec
='${libname}${release}${shared_ext}$major'
10991 shlibpath_var
=LIBRARY_PATH
10992 shlibpath_overrides_runpath
=yes
10993 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10994 hardcode_into_libs
=yes
10997 hpux9
* | hpux10
* | hpux11
*)
10998 # Give a soname corresponding to the major version so that dld.sl refuses to
10999 # link against other versions.
11006 hardcode_into_libs
=yes
11007 dynamic_linker
="$host_os dld.so"
11008 shlibpath_var
=LD_LIBRARY_PATH
11009 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11011 soname_spec
='${libname}${release}${shared_ext}$major'
11012 if test "X$HPUX_IA64_MODE" = X32
; then
11013 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11015 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11017 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11021 hardcode_into_libs
=yes
11022 dynamic_linker
="$host_os dld.sl"
11023 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11024 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11026 soname_spec
='${libname}${release}${shared_ext}$major'
11027 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11028 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11032 dynamic_linker
="$host_os dld.sl"
11033 shlibpath_var
=SHLIB_PATH
11034 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11036 soname_spec
='${libname}${release}${shared_ext}$major'
11039 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11040 postinstall_cmds
='chmod 555 $lib'
11041 # or fails outright, so override atomically:
11042 install_override_mode
=555
11049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11050 soname_spec
='${libname}${release}${shared_ext}$major'
11051 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11052 shlibpath_var
=LD_LIBRARY_PATH
11053 shlibpath_overrides_runpath
=no
11054 hardcode_into_libs
=yes
11057 irix5
* | irix6
* | nonstopux
*)
11059 nonstopux
*) version_type
=nonstopux
;;
11061 if test "$lt_cv_prog_gnu_ld" = yes; then
11069 soname_spec
='${libname}${release}${shared_ext}$major'
11070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11072 irix5
* | nonstopux
*)
11073 libsuff
= shlibsuff
=
11076 case $LD in # libtool.m4 will add one of these switches to LD
11077 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11078 libsuff
= shlibsuff
= libmagic
=32-bit;;
11079 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11080 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11081 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11082 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11083 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11087 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11088 shlibpath_overrides_runpath
=no
11089 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11090 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11091 hardcode_into_libs
=yes
11094 # No shared lib support for Linux oldld, aout, or coff.
11095 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11099 # This must be Linux ELF.
11100 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11105 soname_spec
='${libname}${release}${shared_ext}$major'
11106 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11107 shlibpath_var
=LD_LIBRARY_PATH
11108 shlibpath_overrides_runpath
=no
11110 # Some binutils ld are patched to set DT_RUNPATH
11111 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11112 $as_echo_n "(cached) " >&6
11114 lt_cv_shlibpath_overrides_runpath
=no
11115 save_LDFLAGS
=$LDFLAGS
11116 save_libdir
=$libdir
11117 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11118 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11119 if test x
$gcc_no_link = xyes
; then
11120 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11133 if ac_fn_c_try_link
"$LINENO"; then :
11134 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11135 lt_cv_shlibpath_overrides_runpath
=yes
11138 rm -f core conftest.err conftest.
$ac_objext \
11139 conftest
$ac_exeext conftest.
$ac_ext
11140 LDFLAGS
=$save_LDFLAGS
11141 libdir
=$save_libdir
11145 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11147 # This implies no fast_install, which is unacceptable.
11148 # Some rework will be needed to allow for fast_install
11149 # before this can be enabled.
11150 hardcode_into_libs
=yes
11152 # Append ld.so.conf contents to the search path
11153 if test -f /etc
/ld.so.conf
; then
11154 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' ' '`
11155 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11158 # We used to test for /lib/ld.so.1 and disable shared libraries on
11159 # powerpc, because MkLinux only supported shared libraries with the
11160 # GNU dynamic linker. Since this was broken with cross compilers,
11161 # most powerpc-linux boxes support dynamic linking these days and
11162 # people can always --disable-shared, the test was removed, and we
11163 # assume the GNU/Linux dynamic linker is in use.
11164 dynamic_linker
='GNU/Linux ld.so'
11171 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11173 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11174 dynamic_linker
='NetBSD (a.out) ld.so'
11176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11177 soname_spec
='${libname}${release}${shared_ext}$major'
11178 dynamic_linker
='NetBSD ld.elf_so'
11180 shlibpath_var
=LD_LIBRARY_PATH
11181 shlibpath_overrides_runpath
=yes
11182 hardcode_into_libs
=yes
11187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11188 shlibpath_var
=LD_LIBRARY_PATH
11189 shlibpath_overrides_runpath
=yes
11196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11197 soname_spec
='${libname}${release}${shared_ext}$major'
11198 shlibpath_var
=LD_LIBRARY_PATH
11199 shlibpath_overrides_runpath
=no
11200 hardcode_into_libs
=yes
11201 dynamic_linker
='ldqnx.so'
11206 sys_lib_dlsearch_path_spec
="/usr/lib"
11208 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11210 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11211 *) need_version
=no
;;
11213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11214 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11215 shlibpath_var
=LD_LIBRARY_PATH
11216 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11218 openbsd2.
[89] | openbsd2.
[89].
*)
11219 shlibpath_overrides_runpath
=no
11222 shlibpath_overrides_runpath
=yes
11226 shlibpath_overrides_runpath
=yes
11231 libname_spec
='$name'
11234 library_names_spec
='$libname${shared_ext} $libname.a'
11235 dynamic_linker
='OS/2 ld.exe'
11236 shlibpath_var
=LIBPATH
11239 osf3
* | osf4
* | osf5
*)
11243 soname_spec
='${libname}${release}${shared_ext}$major'
11244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11245 shlibpath_var
=LD_LIBRARY_PATH
11246 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11247 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11259 soname_spec
='${libname}${release}${shared_ext}$major'
11260 shlibpath_var
=LD_LIBRARY_PATH
11261 shlibpath_overrides_runpath
=yes
11262 hardcode_into_libs
=yes
11263 # ldd complains unless libraries are executable
11264 postinstall_cmds
='chmod +x $lib'
11269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11270 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11271 shlibpath_var
=LD_LIBRARY_PATH
11272 shlibpath_overrides_runpath
=yes
11273 if test "$with_gnu_ld" = yes; then
11281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11282 soname_spec
='${libname}${release}${shared_ext}$major'
11283 shlibpath_var
=LD_LIBRARY_PATH
11284 case $host_vendor in
11286 shlibpath_overrides_runpath
=no
11288 runpath_var
=LD_RUN_PATH
11296 shlibpath_overrides_runpath
=no
11297 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11303 if test -d /usr
/nec
;then
11305 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11306 soname_spec
='$libname${shared_ext}.$major'
11307 shlibpath_var
=LD_LIBRARY_PATH
11311 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11312 version_type
=freebsd-elf
11315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11316 soname_spec
='${libname}${release}${shared_ext}$major'
11317 shlibpath_var
=LD_LIBRARY_PATH
11318 shlibpath_overrides_runpath
=yes
11319 hardcode_into_libs
=yes
11320 if test "$with_gnu_ld" = yes; then
11321 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11323 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11326 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11330 sys_lib_dlsearch_path_spec
='/usr/lib'
11334 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11339 shlibpath_var
=LD_LIBRARY_PATH
11340 shlibpath_overrides_runpath
=no
11341 hardcode_into_libs
=yes
11346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 soname_spec
='${libname}${release}${shared_ext}$major'
11348 shlibpath_var
=LD_LIBRARY_PATH
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11356 $as_echo "$dynamic_linker" >&6; }
11357 test "$dynamic_linker" = no
&& can_build_shared
=no
11359 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11360 if test "$GCC" = yes; then
11361 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11364 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11365 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11367 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11368 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11463 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11465 if test -n "$hardcode_libdir_flag_spec" ||
11466 test -n "$runpath_var" ||
11467 test "X$hardcode_automatic" = "Xyes" ; then
11469 # We can hardcode non-existent directories.
11470 if test "$hardcode_direct" != no
&&
11471 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11472 # have to relink, otherwise we might link with an installed library
11473 # when we should be linking with a yet-to-be-installed one
11474 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11475 test "$hardcode_minus_L" != no
; then
11476 # Linking always hardcodes the temporary library directory.
11477 hardcode_action
=relink
11479 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11480 hardcode_action
=immediate
11483 # We cannot hardcode anything, or else we can only hardcode existing
11485 hardcode_action
=unsupported
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11488 $as_echo "$hardcode_action" >&6; }
11490 if test "$hardcode_action" = relink ||
11491 test "$inherit_rpath" = yes; then
11492 # Fast installation is not supported
11493 enable_fast_install
=no
11494 elif test "$shlibpath_overrides_runpath" = yes ||
11495 test "$enable_shared" = no
; then
11496 # Fast installation is not necessary
11497 enable_fast_install
=needless
11505 if test "x$enable_dlopen" != xyes
; then
11506 enable_dlopen
=unknown
11507 enable_dlopen_self
=unknown
11508 enable_dlopen_self_static
=unknown
11515 lt_cv_dlopen
="load_add_on"
11517 lt_cv_dlopen_self
=yes
11520 mingw
* | pw32
* | cegcc
*)
11521 lt_cv_dlopen
="LoadLibrary"
11526 lt_cv_dlopen
="dlopen"
11531 # if libdl is installed we need to link against it
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11533 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11534 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11535 $as_echo_n "(cached) " >&6
11537 ac_check_lib_save_LIBS
=$LIBS
11539 if test x
$gcc_no_link = xyes
; then
11540 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11545 /* Override any GCC internal prototype to avoid an error.
11546 Use char because int might match the return type of a GCC
11547 builtin and then its argument prototype would still apply. */
11560 if ac_fn_c_try_link
"$LINENO"; then :
11561 ac_cv_lib_dl_dlopen
=yes
11563 ac_cv_lib_dl_dlopen
=no
11565 rm -f core conftest.err conftest.
$ac_objext \
11566 conftest
$ac_exeext conftest.
$ac_ext
11567 LIBS
=$ac_check_lib_save_LIBS
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11570 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11571 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11572 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11575 lt_cv_dlopen
="dyld"
11577 lt_cv_dlopen_self
=yes
11584 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11585 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11586 lt_cv_dlopen
="shl_load"
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11589 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11590 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11591 $as_echo_n "(cached) " >&6
11593 ac_check_lib_save_LIBS
=$LIBS
11595 if test x
$gcc_no_link = xyes
; then
11596 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11599 /* end confdefs.h. */
11601 /* Override any GCC internal prototype to avoid an error.
11602 Use char because int might match the return type of a GCC
11603 builtin and then its argument prototype would still apply. */
11611 return shl_load ();
11616 if ac_fn_c_try_link
"$LINENO"; then :
11617 ac_cv_lib_dld_shl_load
=yes
11619 ac_cv_lib_dld_shl_load
=no
11621 rm -f core conftest.err conftest.
$ac_objext \
11622 conftest
$ac_exeext conftest.
$ac_ext
11623 LIBS
=$ac_check_lib_save_LIBS
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11626 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11627 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11628 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11630 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11631 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11632 lt_cv_dlopen
="dlopen"
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11635 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11636 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11637 $as_echo_n "(cached) " >&6
11639 ac_check_lib_save_LIBS
=$LIBS
11641 if test x
$gcc_no_link = xyes
; then
11642 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11662 if ac_fn_c_try_link
"$LINENO"; then :
11663 ac_cv_lib_dl_dlopen
=yes
11665 ac_cv_lib_dl_dlopen
=no
11667 rm -f core conftest.err conftest.
$ac_objext \
11668 conftest
$ac_exeext conftest.
$ac_ext
11669 LIBS
=$ac_check_lib_save_LIBS
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11672 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11673 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11674 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11677 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11678 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11679 $as_echo_n "(cached) " >&6
11681 ac_check_lib_save_LIBS
=$LIBS
11682 LIBS
="-lsvld $LIBS"
11683 if test x
$gcc_no_link = xyes
; then
11684 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11687 /* end confdefs.h. */
11689 /* Override any GCC internal prototype to avoid an error.
11690 Use char because int might match the return type of a GCC
11691 builtin and then its argument prototype would still apply. */
11704 if ac_fn_c_try_link
"$LINENO"; then :
11705 ac_cv_lib_svld_dlopen
=yes
11707 ac_cv_lib_svld_dlopen
=no
11709 rm -f core conftest.err conftest.
$ac_objext \
11710 conftest
$ac_exeext conftest.
$ac_ext
11711 LIBS
=$ac_check_lib_save_LIBS
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11714 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11715 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11716 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11719 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11720 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11721 $as_echo_n "(cached) " >&6
11723 ac_check_lib_save_LIBS
=$LIBS
11725 if test x
$gcc_no_link = xyes
; then
11726 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11731 /* Override any GCC internal prototype to avoid an error.
11732 Use char because int might match the return type of a GCC
11733 builtin and then its argument prototype would still apply. */
11741 return dld_link ();
11746 if ac_fn_c_try_link
"$LINENO"; then :
11747 ac_cv_lib_dld_dld_link
=yes
11749 ac_cv_lib_dld_dld_link
=no
11751 rm -f core conftest.err conftest.
$ac_objext \
11752 conftest
$ac_exeext conftest.
$ac_ext
11753 LIBS
=$ac_check_lib_save_LIBS
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11756 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11757 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11758 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11779 if test "x$lt_cv_dlopen" != xno
; then
11785 case $lt_cv_dlopen in
11787 save_CPPFLAGS
="$CPPFLAGS"
11788 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11790 save_LDFLAGS
="$LDFLAGS"
11791 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11794 LIBS
="$lt_cv_dlopen_libs $LIBS"
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11797 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11798 if test "${lt_cv_dlopen_self+set}" = set; then :
11799 $as_echo_n "(cached) " >&6
11801 if test "$cross_compiling" = yes; then :
11802 lt_cv_dlopen_self
=cross
11804 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11805 lt_status
=$lt_dlunknown
11806 cat > conftest.
$ac_ext <<_LT_EOF
11807 #line 11807 "configure"
11808 #include "confdefs.h"
11817 # define LT_DLGLOBAL RTLD_GLOBAL
11820 # define LT_DLGLOBAL DL_GLOBAL
11822 # define LT_DLGLOBAL 0
11826 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11827 find out it does not work in some platform. */
11828 #ifndef LT_DLLAZY_OR_NOW
11830 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11833 # define LT_DLLAZY_OR_NOW DL_LAZY
11836 # define LT_DLLAZY_OR_NOW RTLD_NOW
11839 # define LT_DLLAZY_OR_NOW DL_NOW
11841 # define LT_DLLAZY_OR_NOW 0
11848 /* When -fvisbility=hidden is used, assume the code has been annotated
11849 correspondingly for the symbols needed. */
11850 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11851 void fnord () __attribute__((visibility("default")));
11854 void fnord () { int i=42; }
11857 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11858 int status = $lt_dlunknown;
11862 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11865 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11866 else puts (dlerror ());
11868 /* dlclose (self); */
11876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11877 (eval $ac_link) 2>&5
11879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11880 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11881 (.
/conftest
; exit; ) >&5 2>/dev
/null
11883 case x
$lt_status in
11884 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11885 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11886 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11889 # compilation failed
11890 lt_cv_dlopen_self
=no
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11898 $as_echo "$lt_cv_dlopen_self" >&6; }
11900 if test "x$lt_cv_dlopen_self" = xyes
; then
11901 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11903 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11904 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11905 $as_echo_n "(cached) " >&6
11907 if test "$cross_compiling" = yes; then :
11908 lt_cv_dlopen_self_static
=cross
11910 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11911 lt_status
=$lt_dlunknown
11912 cat > conftest.
$ac_ext <<_LT_EOF
11913 #line 11913 "configure"
11914 #include "confdefs.h"
11923 # define LT_DLGLOBAL RTLD_GLOBAL
11926 # define LT_DLGLOBAL DL_GLOBAL
11928 # define LT_DLGLOBAL 0
11932 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11933 find out it does not work in some platform. */
11934 #ifndef LT_DLLAZY_OR_NOW
11936 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11939 # define LT_DLLAZY_OR_NOW DL_LAZY
11942 # define LT_DLLAZY_OR_NOW RTLD_NOW
11945 # define LT_DLLAZY_OR_NOW DL_NOW
11947 # define LT_DLLAZY_OR_NOW 0
11954 /* When -fvisbility=hidden is used, assume the code has been annotated
11955 correspondingly for the symbols needed. */
11956 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11957 void fnord () __attribute__((visibility("default")));
11960 void fnord () { int i=42; }
11963 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11964 int status = $lt_dlunknown;
11968 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11971 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11972 else puts (dlerror ());
11974 /* dlclose (self); */
11982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11983 (eval $ac_link) 2>&5
11985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11986 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11987 (.
/conftest
; exit; ) >&5 2>/dev
/null
11989 case x
$lt_status in
11990 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11991 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11992 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11995 # compilation failed
11996 lt_cv_dlopen_self_static
=no
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12004 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12007 CPPFLAGS
="$save_CPPFLAGS"
12008 LDFLAGS
="$save_LDFLAGS"
12013 case $lt_cv_dlopen_self in
12014 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12015 *) enable_dlopen_self
=unknown
;;
12018 case $lt_cv_dlopen_self_static in
12019 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12020 *) enable_dlopen_self_static
=unknown
;;
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12043 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12044 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12045 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12046 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12048 $as_echo "yes" >&6; }
12050 # FIXME - insert some real tests, host_os isn't really good enough
12053 if test -n "$STRIP" ; then
12054 striplib
="$STRIP -x"
12055 old_striplib
="$STRIP -S"
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12057 $as_echo "yes" >&6; }
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12060 $as_echo "no" >&6; }
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12065 $as_echo "no" >&6; }
12081 # Report which library types will actually be built
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12083 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12085 $as_echo "$can_build_shared" >&6; }
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12088 $as_echo_n "checking whether to build shared libraries... " >&6; }
12089 test "$can_build_shared" = "no" && enable_shared
=no
12091 # On AIX, shared libraries and static libraries use the same namespace, and
12092 # are all built from PIC.
12095 test "$enable_shared" = yes && enable_static
=no
12096 if test -n "$RANLIB"; then
12097 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12098 postinstall_cmds
='$RANLIB $lib'
12103 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12104 test "$enable_shared" = yes && enable_static
=no
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12109 $as_echo "$enable_shared" >&6; }
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12112 $as_echo_n "checking whether to build static libraries... " >&6; }
12113 # Make sure either enable_shared or enable_static is yes.
12114 test "$enable_shared" = yes || enable_static
=yes
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12116 $as_echo "$enable_static" >&6; }
12123 ac_cpp
='$CPP $CPPFLAGS'
12124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12142 ac_config_commands
="$ac_config_commands libtool"
12147 # Only expand once:
12150 for ac_prog
in gawk mawk nawk
awk
12152 # Extract the first word of "$ac_prog", so it can be a program name with args.
12153 set dummy
$ac_prog; ac_word
=$2
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12155 $as_echo_n "checking for $ac_word... " >&6; }
12156 if test "${ac_cv_prog_AWK+set}" = set; then :
12157 $as_echo_n "(cached) " >&6
12159 if test -n "$AWK"; then
12160 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
12162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12163 for as_dir
in $PATH
12166 test -z "$as_dir" && as_dir
=.
12167 for ac_exec_ext
in '' $ac_executable_extensions; do
12168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12169 ac_cv_prog_AWK
="$ac_prog"
12170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12179 AWK
=$ac_cv_prog_AWK
12180 if test -n "$AWK"; then
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
12182 $as_echo "$AWK" >&6; }
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12185 $as_echo "no" >&6; }
12189 test -n "$AWK" && break
12193 ac_cpp
='$CPP $CPPFLAGS'
12194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12197 if test -n "$ac_tool_prefix"; then
12198 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12199 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12201 $as_echo_n "checking for $ac_word... " >&6; }
12202 if test "${ac_cv_prog_CC+set}" = set; then :
12203 $as_echo_n "(cached) " >&6
12205 if test -n "$CC"; then
12206 ac_cv_prog_CC
="$CC" # Let the user override the test.
12208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12209 for as_dir
in $PATH
12212 test -z "$as_dir" && as_dir
=.
12213 for ac_exec_ext
in '' $ac_executable_extensions; do
12214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12215 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12226 if test -n "$CC"; then
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12228 $as_echo "$CC" >&6; }
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12231 $as_echo "no" >&6; }
12236 if test -z "$ac_cv_prog_CC"; then
12238 # Extract the first word of "gcc", so it can be a program name with args.
12239 set dummy gcc
; ac_word
=$2
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12241 $as_echo_n "checking for $ac_word... " >&6; }
12242 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12243 $as_echo_n "(cached) " >&6
12245 if test -n "$ac_ct_CC"; then
12246 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12249 for as_dir
in $PATH
12252 test -z "$as_dir" && as_dir
=.
12253 for ac_exec_ext
in '' $ac_executable_extensions; do
12254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12255 ac_cv_prog_ac_ct_CC
="gcc"
12256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12265 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12266 if test -n "$ac_ct_CC"; then
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12268 $as_echo "$ac_ct_CC" >&6; }
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12271 $as_echo "no" >&6; }
12274 if test "x$ac_ct_CC" = x
; then
12277 case $cross_compiling:$ac_tool_warned in
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12281 ac_tool_warned
=yes ;;
12286 CC
="$ac_cv_prog_CC"
12289 if test -z "$CC"; then
12290 if test -n "$ac_tool_prefix"; then
12291 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12292 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12294 $as_echo_n "checking for $ac_word... " >&6; }
12295 if test "${ac_cv_prog_CC+set}" = set; then :
12296 $as_echo_n "(cached) " >&6
12298 if test -n "$CC"; then
12299 ac_cv_prog_CC
="$CC" # Let the user override the test.
12301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12302 for as_dir
in $PATH
12305 test -z "$as_dir" && as_dir
=.
12306 for ac_exec_ext
in '' $ac_executable_extensions; do
12307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12308 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12319 if test -n "$CC"; then
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12321 $as_echo "$CC" >&6; }
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12324 $as_echo "no" >&6; }
12330 if test -z "$CC"; then
12331 # Extract the first word of "cc", so it can be a program name with args.
12332 set dummy cc
; ac_word
=$2
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12334 $as_echo_n "checking for $ac_word... " >&6; }
12335 if test "${ac_cv_prog_CC+set}" = set; then :
12336 $as_echo_n "(cached) " >&6
12338 if test -n "$CC"; then
12339 ac_cv_prog_CC
="$CC" # Let the user override the test.
12341 ac_prog_rejected
=no
12342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12343 for as_dir
in $PATH
12346 test -z "$as_dir" && as_dir
=.
12347 for ac_exec_ext
in '' $ac_executable_extensions; do
12348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12349 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12350 ac_prog_rejected
=yes
12354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12361 if test $ac_prog_rejected = yes; then
12362 # We found a bogon in the path, so make sure we never use it.
12363 set dummy
$ac_cv_prog_CC
12365 if test $# != 0; then
12366 # We chose a different compiler from the bogus one.
12367 # However, it has the same basename, so the bogon will be chosen
12368 # first if we set CC to just the basename; use the full file name.
12370 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12376 if test -n "$CC"; then
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12378 $as_echo "$CC" >&6; }
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12381 $as_echo "no" >&6; }
12386 if test -z "$CC"; then
12387 if test -n "$ac_tool_prefix"; then
12388 for ac_prog
in cl.exe
12390 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12391 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12393 $as_echo_n "checking for $ac_word... " >&6; }
12394 if test "${ac_cv_prog_CC+set}" = set; then :
12395 $as_echo_n "(cached) " >&6
12397 if test -n "$CC"; then
12398 ac_cv_prog_CC
="$CC" # Let the user override the test.
12400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12401 for as_dir
in $PATH
12404 test -z "$as_dir" && as_dir
=.
12405 for ac_exec_ext
in '' $ac_executable_extensions; do
12406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12407 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12418 if test -n "$CC"; then
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12420 $as_echo "$CC" >&6; }
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12423 $as_echo "no" >&6; }
12427 test -n "$CC" && break
12430 if test -z "$CC"; then
12432 for ac_prog
in cl.exe
12434 # Extract the first word of "$ac_prog", so it can be a program name with args.
12435 set dummy
$ac_prog; ac_word
=$2
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12437 $as_echo_n "checking for $ac_word... " >&6; }
12438 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12439 $as_echo_n "(cached) " >&6
12441 if test -n "$ac_ct_CC"; then
12442 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12445 for as_dir
in $PATH
12448 test -z "$as_dir" && as_dir
=.
12449 for ac_exec_ext
in '' $ac_executable_extensions; do
12450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12451 ac_cv_prog_ac_ct_CC
="$ac_prog"
12452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12461 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12462 if test -n "$ac_ct_CC"; then
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12464 $as_echo "$ac_ct_CC" >&6; }
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12467 $as_echo "no" >&6; }
12471 test -n "$ac_ct_CC" && break
12474 if test "x$ac_ct_CC" = x
; then
12477 case $cross_compiling:$ac_tool_warned in
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12481 ac_tool_warned
=yes ;;
12490 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12492 as_fn_error
"no acceptable C compiler found in \$PATH
12493 See \`config.log' for more details." "$LINENO" 5; }
12495 # Provide some information about the compiler.
12496 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12499 for ac_option
in --version -v -V -qversion; do
12500 { { ac_try
="$ac_compiler $ac_option >&5"
12501 case "(($ac_try" in
12502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12503 *) ac_try_echo=$ac_try;;
12505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12506 $as_echo "$ac_try_echo"; } >&5
12507 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12509 if test -s conftest.err; then
12511 ... rest of stderr output deleted ...
12512 10q' conftest.err >conftest.er1
12513 cat conftest.er1 >&5
12514 rm -f conftest.er1 conftest.err
12516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12517 test $ac_status = 0; }
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12521 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12522 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12523 $as_echo_n "(cached) " >&6
12525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12526 /* end confdefs.h. */
12539 if ac_fn_c_try_compile "$LINENO"; then :
12540 ac_compiler_gnu=yes
12544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12545 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12549 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12550 if test $ac_compiler_gnu = yes; then
12555 ac_test_CFLAGS=${CFLAGS+set}
12556 ac_save_CFLAGS=$CFLAGS
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12558 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12559 if test "${ac_cv_prog_cc_g+set}" = set; then :
12560 $as_echo_n "(cached) " >&6
12562 ac_save_c_werror_flag=$ac_c_werror_flag
12563 ac_c_werror_flag=yes
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12577 if ac_fn_c_try_compile "$LINENO"; then :
12578 ac_cv_prog_cc_g=yes
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12592 if ac_fn_c_try_compile "$LINENO"; then :
12595 ac_c_werror_flag=$ac_save_c_werror_flag
12597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598 /* end confdefs.h. */
12608 if ac_fn_c_try_compile "$LINENO"; then :
12609 ac_cv_prog_cc_g=yes
12611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12616 ac_c_werror_flag=$ac_save_c_werror_flag
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12619 $as_echo "$ac_cv_prog_cc_g" >&6; }
12620 if test "$ac_test_CFLAGS" = set; then
12621 CFLAGS=$ac_save_CFLAGS
12622 elif test $ac_cv_prog_cc_g = yes; then
12623 if test "$GCC" = yes; then
12629 if test "$GCC" = yes; then
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12636 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12637 if test "${ac_cv_prog_cc_c89+set}" = set; then :
12638 $as_echo_n "(cached) " >&6
12640 ac_cv_prog_cc_c89=no
12642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12643 /* end confdefs.h. */
12644 #include <stdarg.h>
12646 #include <sys/types.h>
12647 #include <sys/stat.h>
12648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12649 struct buf { int x; };
12650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12651 static char *e (p, i)
12657 static char *f (char * (*g) (char **, int), char **p, ...)
12662 s = g (p, va_arg (v,int));
12667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12668 function prototypes and stuff, but not '\xHH' hex character constants.
12669 These don't provoke an error unfortunately, instead are silently treated
12670 as 'x'. The following induces an error, until -std is added to get
12671 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12672 array size at least. It's necessary to write '\x00'==0 to get something
12673 that's true only with -std. */
12674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12676 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12677 inside strings and character constants. */
12679 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12681 int test (int i, double x);
12682 struct s1 {int (*f) (int a);};
12683 struct s2 {int (*f) (double a);};
12684 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12690 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12695 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12696 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12698 CC="$ac_save_CC $ac_arg"
12699 if ac_fn_c_try_compile "$LINENO"; then :
12700 ac_cv_prog_cc_c89=$ac_arg
12702 rm -f core conftest.err conftest.$ac_objext
12703 test "x$ac_cv_prog_cc_c89" != "xno" && break
12705 rm -f conftest.$ac_ext
12710 case "x$ac_cv_prog_cc_c89" in
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12713 $as_echo "none needed" >&6; } ;;
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12716 $as_echo "unsupported" >&6; } ;;
12718 CC="$CC $ac_cv_prog_cc_c89"
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12720 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12722 if test "x$ac_cv_prog_cc_c89" != xno; then :
12727 ac_cpp='$CPP $CPPFLAGS'
12728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12732 depcc="$CC" am_compiler_list=
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12735 $as_echo_n "checking dependency style of $depcc... " >&6; }
12736 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12737 $as_echo_n "(cached) " >&6
12739 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12740 # We make a subdir and do the tests there. Otherwise we can end up
12741 # making bogus files that we don't know about and never remove. For
12742 # instance it was reported that on HP-UX the gcc test will end up
12743 # making a dummy file named `D
' -- because `-MD' means
`put the output
12746 # Copy depcomp to subdir because otherwise we won't find it if we're
12747 # using a relative directory.
12748 cp "$am_depcomp" conftest.dir
12750 # We will build objects and dependencies in a subdirectory because
12751 # it helps to detect inapplicable dependency modes. For instance
12752 # both Tru64's cc and ICC support -MD to output dependencies as a
12753 # side effect of compilation, but ICC will put the dependencies in
12754 # the current directory while Tru64 will put them in the object
12758 am_cv_CC_dependencies_compiler_type=none
12759 if test "$am_compiler_list" = ""; then
12760 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
12762 am__universal=false
12763 case " $depcc " in #(
12764 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12767 for depmode in $am_compiler_list; do
12768 # Setup a source with many dependencies, because some compilers
12769 # like to wrap large dependency lists on column 80 (with \), and
12770 # we should not choose a depcomp mode which is confused by this.
12772 # We need to recreate these files for each test, as the compiler may
12773 # overwrite some of them when testing with obscure command lines.
12774 # This happens at least with the AIX C compiler.
12776 for i in 1 2 3 4 5 6; do
12777 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12778 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
12779 # Solaris 8's
{/usr
,}/bin
/sh.
12780 touch sub
/conftst
$i.h
12782 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12784 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12785 # mode. It turns out that the SunPro C++ compiler does not properly
12786 # handle `-M -o', and we need to detect this. Also, some Intel
12787 # versions had trouble with output in subdirs
12788 am__obj
=sub
/conftest.
${OBJEXT-o}
12789 am__minus_obj
="-o $am__obj"
12792 # This depmode causes a compiler race in universal mode.
12793 test "$am__universal" = false ||
continue
12796 # after this tag, mechanisms are not by side-effect, so they'll
12797 # only be used when explicitly requested
12798 if test "x$enable_dependency_tracking" = xyes
; then
12804 msvisualcpp | msvcmsys
)
12805 # This compiler won't grok `-c -o', but also, the minuso test has
12806 # not run yet. These depmodes are late enough in the game, and
12807 # so weak that their functioning should not be impacted.
12808 am__obj
=conftest.
${OBJEXT-o}
12813 if depmode
=$depmode \
12814 source=sub
/conftest.c object
=$am__obj \
12815 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12816 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12817 >/dev
/null
2>conftest.err
&&
12818 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12819 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12820 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12821 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12822 # icc doesn't choke on unknown options, it will just issue warnings
12823 # or remarks (even with -Werror). So we grep stderr for any message
12824 # that says an option was ignored or not supported.
12825 # When given -MP, icc 7.0 and 7.1 complain thusly:
12826 # icc: Command line warning: ignoring option '-M'; no argument required
12827 # The diagnosis changed in icc 8.0:
12828 # icc: Command line remark: option '-MP' not supported
12829 if (grep 'ignoring option' conftest.err ||
12830 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12831 am_cv_CC_dependencies_compiler_type
=$depmode
12838 rm -rf conftest.dir
12840 am_cv_CC_dependencies_compiler_type
=none
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12845 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12846 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
12849 test "x$enable_dependency_tracking" != xno \
12850 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
12851 am__fastdepCC_TRUE
=
12852 am__fastdepCC_FALSE
='#'
12854 am__fastdepCC_TRUE
='#'
12855 am__fastdepCC_FALSE
=
12859 if test "x$CC" != xcc
; then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12861 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12864 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12866 set dummy
$CC; ac_cc
=`$as_echo "$2" |
12867 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12868 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
12869 $as_echo_n "(cached) " >&6
12871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h. */
12882 # Make sure it works both with $CC and with simple cc.
12883 # We do the test twice because some compilers refuse to overwrite an
12884 # existing .o file with -o, though they will create one.
12885 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12887 if { { case "(($ac_try" in
12888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12889 *) ac_try_echo=$ac_try;;
12891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12892 $as_echo "$ac_try_echo"; } >&5
12893 (eval "$ac_try") 2>&5
12895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12896 test $ac_status = 0; } &&
12897 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12899 *) ac_try_echo
=$ac_try;;
12901 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12902 $as_echo "$ac_try_echo"; } >&5
12903 (eval "$ac_try") 2>&5
12905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12906 test $ac_status = 0; };
12908 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
12909 if test "x$CC" != xcc
; then
12910 # Test first that cc exists at all.
12911 if { ac_try
='cc -c conftest.$ac_ext >&5'
12912 { { case "(($ac_try" in
12913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12914 *) ac_try_echo=$ac_try;;
12916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12917 $as_echo "$ac_try_echo"; } >&5
12918 (eval "$ac_try") 2>&5
12920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12921 test $ac_status = 0; }; }; then
12922 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12924 if { { case "(($ac_try" in
12925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12926 *) ac_try_echo
=$ac_try;;
12928 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12929 $as_echo "$ac_try_echo"; } >&5
12930 (eval "$ac_try") 2>&5
12932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12933 test $ac_status = 0; } &&
12934 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
12935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12936 *) ac_try_echo=$ac_try;;
12938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12939 $as_echo "$ac_try_echo"; } >&5
12940 (eval "$ac_try") 2>&5
12942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12943 test $ac_status = 0; };
12948 # cc exists but doesn't like -o.
12949 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12954 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12956 rm -f core conftest*
12959 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12961 $as_echo "yes" >&6; }
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12964 $as_echo "no" >&6; }
12966 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12970 # FIXME: we rely on the cache variable name because
12971 # there is no other way.
12973 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12974 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12975 if test "$am_t" != yes; then
12976 # Losing compiler, so override with the script.
12977 # FIXME: It is wrong to rewrite CC.
12978 # But if we don't then we get into trouble of one sort or another.
12979 # A longer-term fix would be to have automake use am__CC in this case,
12980 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12981 CC="$am_aux_dir/compile $CC"
12986 ac_cpp='$CPP $CPPFLAGS'
12987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12991 $as_echo_n "checking how to run the C preprocessor... " >&6; }
12992 # On Suns, sometimes $CPP names a directory.
12993 if test -n "$CPP" && test -d "$CPP"; then
12996 if test -z "$CPP"; then
12997 if test "${ac_cv_prog_CPP+set}" = set; then :
12998 $as_echo_n "(cached) " >&6
13000 # Double quotes because CPP needs to be expanded
13001 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13003 ac_preproc_ok=false
13004 for ac_c_preproc_warn_flag in '' yes
13006 # Use a header file that comes with gcc, so configuring glibc
13007 # with a fresh cross-compiler works.
13008 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13009 # <limits.h> exists even on freestanding compilers.
13010 # On the NeXT, cc -E runs the code through the compiler's parser,
13011 # not just through cpp. "Syntax error" is here to catch this case.
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13015 # include <limits.h>
13017 # include <assert.h>
13021 if ac_fn_c_try_cpp "$LINENO"; then :
13024 # Broken: fails on valid input.
13027 rm -f conftest.err conftest.$ac_ext
13029 # OK, works on sane cases. Now check whether nonexistent headers
13030 # can be detected and how.
13031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h. */
13033 #include <ac_nonexistent.h>
13035 if ac_fn_c_try_cpp "$LINENO"; then :
13036 # Broken: success on invalid input.
13039 # Passes both tests.
13043 rm -f conftest.err conftest.$ac_ext
13046 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13047 rm -f conftest.err conftest.
$ac_ext
13048 if $ac_preproc_ok; then :
13053 ac_cv_prog_CPP
=$CPP
13056 CPP
=$ac_cv_prog_CPP
13058 ac_cv_prog_CPP
=$CPP
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13061 $as_echo "$CPP" >&6; }
13062 ac_preproc_ok
=false
13063 for ac_c_preproc_warn_flag
in '' yes
13065 # Use a header file that comes with gcc, so configuring glibc
13066 # with a fresh cross-compiler works.
13067 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13068 # <limits.h> exists even on freestanding compilers.
13069 # On the NeXT, cc -E runs the code through the compiler's parser,
13070 # not just through cpp. "Syntax error" is here to catch this case.
13071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h. */
13074 # include <limits.h>
13076 # include <assert.h>
13080 if ac_fn_c_try_cpp
"$LINENO"; then :
13083 # Broken: fails on valid input.
13086 rm -f conftest.err conftest.
$ac_ext
13088 # OK, works on sane cases. Now check whether nonexistent headers
13089 # can be detected and how.
13090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13092 #include <ac_nonexistent.h>
13094 if ac_fn_c_try_cpp
"$LINENO"; then :
13095 # Broken: success on invalid input.
13098 # Passes both tests.
13102 rm -f conftest.err conftest.
$ac_ext
13105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13106 rm -f conftest.err conftest.
$ac_ext
13107 if $ac_preproc_ok; then :
13110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13112 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
13113 See \`config.log' for more details." "$LINENO" 5; }
13117 ac_cpp
='$CPP $CPPFLAGS'
13118 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13119 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13120 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13123 ac_cpp
='$CXXCPP $CPPFLAGS'
13124 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13125 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13126 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13127 if test -z "$CXX"; then
13128 if test -n "$CCC"; then
13131 if test -n "$ac_tool_prefix"; then
13132 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
13134 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13135 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13137 $as_echo_n "checking for $ac_word... " >&6; }
13138 if test "${ac_cv_prog_CXX+set}" = set; then :
13139 $as_echo_n "(cached) " >&6
13141 if test -n "$CXX"; then
13142 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13145 for as_dir
in $PATH
13148 test -z "$as_dir" && as_dir
=.
13149 for ac_exec_ext
in '' $ac_executable_extensions; do
13150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13151 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13161 CXX
=$ac_cv_prog_CXX
13162 if test -n "$CXX"; then
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13164 $as_echo "$CXX" >&6; }
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13167 $as_echo "no" >&6; }
13171 test -n "$CXX" && break
13174 if test -z "$CXX"; then
13176 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
13178 # Extract the first word of "$ac_prog", so it can be a program name with args.
13179 set dummy
$ac_prog; ac_word
=$2
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13181 $as_echo_n "checking for $ac_word... " >&6; }
13182 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13183 $as_echo_n "(cached) " >&6
13185 if test -n "$ac_ct_CXX"; then
13186 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13189 for as_dir
in $PATH
13192 test -z "$as_dir" && as_dir
=.
13193 for ac_exec_ext
in '' $ac_executable_extensions; do
13194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13195 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13205 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13206 if test -n "$ac_ct_CXX"; then
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13208 $as_echo "$ac_ct_CXX" >&6; }
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13211 $as_echo "no" >&6; }
13215 test -n "$ac_ct_CXX" && break
13218 if test "x$ac_ct_CXX" = x
; then
13221 case $cross_compiling:$ac_tool_warned in
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13225 ac_tool_warned
=yes ;;
13233 # Provide some information about the compiler.
13234 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13237 for ac_option
in --version -v -V -qversion; do
13238 { { ac_try
="$ac_compiler $ac_option >&5"
13239 case "(($ac_try" in
13240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13241 *) ac_try_echo=$ac_try;;
13243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13244 $as_echo "$ac_try_echo"; } >&5
13245 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13247 if test -s conftest.err; then
13249 ... rest of stderr output deleted ...
13250 10q' conftest.err >conftest.er1
13251 cat conftest.er1 >&5
13252 rm -f conftest.er1 conftest.err
13254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13255 test $ac_status = 0; }
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13259 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13260 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13261 $as_echo_n "(cached) " >&6
13263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13264 /* end confdefs.h. */
13277 if ac_fn_cxx_try_compile "$LINENO"; then :
13278 ac_compiler_gnu=yes
13282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13283 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13287 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13288 if test $ac_compiler_gnu = yes; then
13293 ac_test_CXXFLAGS=${CXXFLAGS+set}
13294 ac_save_CXXFLAGS=$CXXFLAGS
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13296 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13297 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13298 $as_echo_n "(cached) " >&6
13300 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13301 ac_cxx_werror_flag=yes
13302 ac_cv_prog_cxx_g=no
13304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13305 /* end confdefs.h. */
13315 if ac_fn_cxx_try_compile "$LINENO"; then :
13316 ac_cv_prog_cxx_g=yes
13319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13320 /* end confdefs.h. */
13330 if ac_fn_cxx_try_compile "$LINENO"; then :
13333 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13336 /* end confdefs.h. */
13346 if ac_fn_cxx_try_compile "$LINENO"; then :
13347 ac_cv_prog_cxx_g=yes
13349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13354 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13357 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13358 if test "$ac_test_CXXFLAGS" = set; then
13359 CXXFLAGS=$ac_save_CXXFLAGS
13360 elif test $ac_cv_prog_cxx_g = yes; then
13361 if test "$GXX" = yes; then
13367 if test "$GXX" = yes; then
13374 ac_cpp='$CPP $CPPFLAGS'
13375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13379 depcc="$CXX" am_compiler_list=
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13382 $as_echo_n "checking dependency style of $depcc... " >&6; }
13383 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13384 $as_echo_n "(cached) " >&6
13386 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13387 # We make a subdir and do the tests there. Otherwise we can end up
13388 # making bogus files that we don't know about and never remove. For
13389 # instance it was reported that on HP-UX the gcc test will end up
13390 # making a dummy file named `D
' -- because `-MD' means
`put the output
13393 # Copy depcomp to subdir because otherwise we won't find it if we're
13394 # using a relative directory.
13395 cp "$am_depcomp" conftest.dir
13397 # We will build objects and dependencies in a subdirectory because
13398 # it helps to detect inapplicable dependency modes. For instance
13399 # both Tru64's cc and ICC support -MD to output dependencies as a
13400 # side effect of compilation, but ICC will put the dependencies in
13401 # the current directory while Tru64 will put them in the object
13405 am_cv_CXX_dependencies_compiler_type=none
13406 if test "$am_compiler_list" = ""; then
13407 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
13409 am__universal=false
13410 case " $depcc " in #(
13411 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13414 for depmode in $am_compiler_list; do
13415 # Setup a source with many dependencies, because some compilers
13416 # like to wrap large dependency lists on column 80 (with \), and
13417 # we should not choose a depcomp mode which is confused by this.
13419 # We need to recreate these files for each test, as the compiler may
13420 # overwrite some of them when testing with obscure command lines.
13421 # This happens at least with the AIX C compiler.
13423 for i in 1 2 3 4 5 6; do
13424 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13425 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
13426 # Solaris 8's
{/usr
,}/bin
/sh.
13427 touch sub
/conftst
$i.h
13429 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13431 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13432 # mode. It turns out that the SunPro C++ compiler does not properly
13433 # handle `-M -o', and we need to detect this. Also, some Intel
13434 # versions had trouble with output in subdirs
13435 am__obj
=sub
/conftest.
${OBJEXT-o}
13436 am__minus_obj
="-o $am__obj"
13439 # This depmode causes a compiler race in universal mode.
13440 test "$am__universal" = false ||
continue
13443 # after this tag, mechanisms are not by side-effect, so they'll
13444 # only be used when explicitly requested
13445 if test "x$enable_dependency_tracking" = xyes
; then
13451 msvisualcpp | msvcmsys
)
13452 # This compiler won't grok `-c -o', but also, the minuso test has
13453 # not run yet. These depmodes are late enough in the game, and
13454 # so weak that their functioning should not be impacted.
13455 am__obj
=conftest.
${OBJEXT-o}
13460 if depmode
=$depmode \
13461 source=sub
/conftest.c object
=$am__obj \
13462 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13463 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
13464 >/dev
/null
2>conftest.err
&&
13465 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13466 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13467 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
13468 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13469 # icc doesn't choke on unknown options, it will just issue warnings
13470 # or remarks (even with -Werror). So we grep stderr for any message
13471 # that says an option was ignored or not supported.
13472 # When given -MP, icc 7.0 and 7.1 complain thusly:
13473 # icc: Command line warning: ignoring option '-M'; no argument required
13474 # The diagnosis changed in icc 8.0:
13475 # icc: Command line remark: option '-MP' not supported
13476 if (grep 'ignoring option' conftest.err ||
13477 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13478 am_cv_CXX_dependencies_compiler_type
=$depmode
13485 rm -rf conftest.dir
13487 am_cv_CXX_dependencies_compiler_type
=none
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13492 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13493 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
13496 test "x$enable_dependency_tracking" != xno \
13497 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
13498 am__fastdepCXX_TRUE
=
13499 am__fastdepCXX_FALSE
='#'
13501 am__fastdepCXX_TRUE
='#'
13502 am__fastdepCXX_FALSE
=
13506 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13507 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13508 (test "X$CXX" != "Xg++"))) ; then
13510 ac_cpp
='$CXXCPP $CPPFLAGS'
13511 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13512 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13513 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13515 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13516 if test -z "$CXXCPP"; then
13517 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13518 $as_echo_n "(cached) " >&6
13520 # Double quotes because CXXCPP needs to be expanded
13521 for CXXCPP
in "$CXX -E" "/lib/cpp"
13523 ac_preproc_ok
=false
13524 for ac_cxx_preproc_warn_flag
in '' yes
13526 # Use a header file that comes with gcc, so configuring glibc
13527 # with a fresh cross-compiler works.
13528 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13529 # <limits.h> exists even on freestanding compilers.
13530 # On the NeXT, cc -E runs the code through the compiler's parser,
13531 # not just through cpp. "Syntax error" is here to catch this case.
13532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13533 /* end confdefs.h. */
13535 # include <limits.h>
13537 # include <assert.h>
13541 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13544 # Broken: fails on valid input.
13547 rm -f conftest.err conftest.
$ac_ext
13549 # OK, works on sane cases. Now check whether nonexistent headers
13550 # can be detected and how.
13551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13552 /* end confdefs.h. */
13553 #include <ac_nonexistent.h>
13555 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13556 # Broken: success on invalid input.
13559 # Passes both tests.
13563 rm -f conftest.err conftest.
$ac_ext
13566 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13567 rm -f conftest.err conftest.
$ac_ext
13568 if $ac_preproc_ok; then :
13573 ac_cv_prog_CXXCPP
=$CXXCPP
13576 CXXCPP
=$ac_cv_prog_CXXCPP
13578 ac_cv_prog_CXXCPP
=$CXXCPP
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13581 $as_echo "$CXXCPP" >&6; }
13582 ac_preproc_ok
=false
13583 for ac_cxx_preproc_warn_flag
in '' yes
13585 # Use a header file that comes with gcc, so configuring glibc
13586 # with a fresh cross-compiler works.
13587 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13588 # <limits.h> exists even on freestanding compilers.
13589 # On the NeXT, cc -E runs the code through the compiler's parser,
13590 # not just through cpp. "Syntax error" is here to catch this case.
13591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13592 /* end confdefs.h. */
13594 # include <limits.h>
13596 # include <assert.h>
13600 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13603 # Broken: fails on valid input.
13606 rm -f conftest.err conftest.
$ac_ext
13608 # OK, works on sane cases. Now check whether nonexistent headers
13609 # can be detected and how.
13610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13611 /* end confdefs.h. */
13612 #include <ac_nonexistent.h>
13614 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13615 # Broken: success on invalid input.
13618 # Passes both tests.
13622 rm -f conftest.err conftest.
$ac_ext
13625 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13626 rm -f conftest.err conftest.
$ac_ext
13627 if $ac_preproc_ok; then :
13630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13632 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
13633 See \`config.log' for more details." "$LINENO" 5; }
13637 ac_cpp
='$CPP $CPPFLAGS'
13638 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13639 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13640 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13643 _lt_caught_CXX_error
=yes
13647 ac_cpp
='$CXXCPP $CPPFLAGS'
13648 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13649 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13650 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13652 archive_cmds_need_lc_CXX
=no
13653 allow_undefined_flag_CXX
=
13654 always_export_symbols_CXX
=no
13655 archive_expsym_cmds_CXX
=
13656 compiler_needs_object_CXX
=no
13657 export_dynamic_flag_spec_CXX
=
13658 hardcode_direct_CXX
=no
13659 hardcode_direct_absolute_CXX
=no
13660 hardcode_libdir_flag_spec_CXX
=
13661 hardcode_libdir_flag_spec_ld_CXX
=
13662 hardcode_libdir_separator_CXX
=
13663 hardcode_minus_L_CXX
=no
13664 hardcode_shlibpath_var_CXX
=unsupported
13665 hardcode_automatic_CXX
=no
13666 inherit_rpath_CXX
=no
13668 module_expsym_cmds_CXX
=
13669 link_all_deplibs_CXX
=unknown
13670 old_archive_cmds_CXX
=$old_archive_cmds
13671 reload_flag_CXX
=$reload_flag
13672 reload_cmds_CXX
=$reload_cmds
13673 no_undefined_flag_CXX
=
13674 whole_archive_flag_spec_CXX
=
13675 enable_shared_with_static_runtimes_CXX
=no
13677 # Source file extension for C++ test sources.
13680 # Object file extension for compiled C++ test sources.
13684 # No sense in running all these tests if we already determined that
13685 # the CXX compiler isn't working. Some variables (like enable_shared)
13686 # are currently assumed to apply to all compilers on this platform,
13687 # and will be corrupted by setting them based on a non-working compiler.
13688 if test "$_lt_caught_CXX_error" != yes; then
13689 # Code to be used in simple compile tests
13690 lt_simple_compile_test_code
="int some_variable = 0;"
13692 # Code to be used in simple link tests
13693 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13695 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13702 # If no C compiler was specified, use CC.
13705 # If no C compiler flags were specified, use CFLAGS.
13706 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13708 # Allow CC to be a program name with arguments.
13712 # save warnings/boilerplate of simple test code
13713 ac_outfile
=conftest.
$ac_objext
13714 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13715 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13716 _lt_compiler_boilerplate
=`cat conftest.err`
13719 ac_outfile
=conftest.
$ac_objext
13720 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13721 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13722 _lt_linker_boilerplate
=`cat conftest.err`
13726 # Allow CC to be a program name with arguments.
13731 lt_save_with_gnu_ld
=$with_gnu_ld
13732 lt_save_path_LD
=$lt_cv_path_LD
13733 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13734 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13736 $as_unset lt_cv_prog_gnu_ld
13738 if test -n "${lt_cv_path_LDCXX+set}"; then
13739 lt_cv_path_LD
=$lt_cv_path_LDCXX
13741 $as_unset lt_cv_path_LD
13743 test -z "${LDCXX+set}" || LD
=$LDCXX
13747 for cc_temp
in $compiler""; do
13749 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13750 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13755 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13758 if test -n "$compiler"; then
13759 # We don't want -fno-exception when compiling C++ code, so set the
13760 # no_builtin_flag separately
13761 if test "$GXX" = yes; then
13762 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13764 lt_prog_compiler_no_builtin_flag_CXX
=
13767 if test "$GXX" = yes; then
13768 # Set up default GNU C++ configuration
13772 # Check whether --with-gnu-ld was given.
13773 if test "${with_gnu_ld+set}" = set; then :
13774 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13780 if test "$GCC" = yes; then
13781 # Check if gcc -print-prog-name=ld gives a path.
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13783 $as_echo_n "checking for ld used by $CC... " >&6; }
13786 # gcc leaves a trailing carriage return which upsets mingw
13787 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13789 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13792 # Accept absolute paths.
13794 re_direlt
='/[^/][^/]*/\.\./'
13795 # Canonicalize the pathname of ld
13796 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13797 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13798 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13800 test -z "$LD" && LD
="$ac_prog"
13803 # If it fails, then pretend we aren't using GCC.
13807 # If it is relative, then search for the first ld in PATH.
13808 with_gnu_ld
=unknown
13811 elif test "$with_gnu_ld" = yes; then
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13813 $as_echo_n "checking for GNU ld... " >&6; }
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13816 $as_echo_n "checking for non-GNU ld... " >&6; }
13818 if test "${lt_cv_path_LD+set}" = set; then :
13819 $as_echo_n "(cached) " >&6
13821 if test -z "$LD"; then
13822 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13823 for ac_dir
in $PATH; do
13825 test -z "$ac_dir" && ac_dir
=.
13826 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13827 lt_cv_path_LD
="$ac_dir/$ac_prog"
13828 # Check to see if the program is GNU ld. I'd rather use --version,
13829 # but apparently some variants of GNU ld only accept -v.
13830 # Break only if it was the GNU/non-GNU ld that we prefer.
13831 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13832 *GNU
* |
*'with BFD'*)
13833 test "$with_gnu_ld" != no
&& break
13836 test "$with_gnu_ld" != yes && break
13843 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13847 LD
="$lt_cv_path_LD"
13848 if test -n "$LD"; then
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13850 $as_echo "$LD" >&6; }
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13853 $as_echo "no" >&6; }
13855 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13857 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13858 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
13859 $as_echo_n "(cached) " >&6
13861 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13862 case `$LD -v 2>&1 </dev/null` in
13863 *GNU
* |
*'with BFD'*)
13864 lt_cv_prog_gnu_ld
=yes
13867 lt_cv_prog_gnu_ld
=no
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13872 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13873 with_gnu_ld
=$lt_cv_prog_gnu_ld
13881 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13882 # archiving commands below assume that GNU ld is being used.
13883 if test "$with_gnu_ld" = yes; then
13884 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13885 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'
13887 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13888 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13890 # If archive_cmds runs LD, not CC, wlarc should be empty
13891 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13892 # investigate it a little bit more. (MM)
13895 # ancient GNU ld didn't support --whole-archive et. al.
13896 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13897 $GREP 'no-whole-archive' > /dev
/null
; then
13898 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13900 whole_archive_flag_spec_CXX
=
13906 # A generic and very simple default shared library creation
13907 # command for GNU C++ for the case where it uses the native
13908 # linker, instead of GNU ld. If possible, this setting should
13909 # overridden to take advantage of the native linker features on
13910 # the platform it is being used on.
13911 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13914 # Commands to make compiler produce verbose output that lists
13915 # what "hidden" libraries, object files and flags are used when
13916 # linking a shared library.
13917 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13925 # PORTME: fill in a description of your system's C++ link characteristics
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13927 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13931 # FIXME: insert proper C++ library support
13935 if test "$host_cpu" = ia64
; then
13936 # On IA64, the linker does run time linking by default, so we don't
13937 # have to do anything special.
13938 aix_use_runtimelinking
=no
13939 exp_sym_flag
='-Bexport'
13942 aix_use_runtimelinking
=no
13944 # Test if we are trying to use run time linking or normal
13945 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13946 # need to do runtime linking.
13947 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13948 for ld_flag
in $LDFLAGS; do
13951 aix_use_runtimelinking
=yes
13959 exp_sym_flag
='-bexport'
13960 no_entry_flag
='-bnoentry'
13963 # When large executables or shared objects are built, AIX ld can
13964 # have problems creating the table of contents. If linking a library
13965 # or program results in "error TOC overflow" add -mminimal-toc to
13966 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13967 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13969 archive_cmds_CXX
=''
13970 hardcode_direct_CXX
=yes
13971 hardcode_direct_absolute_CXX
=yes
13972 hardcode_libdir_separator_CXX
=':'
13973 link_all_deplibs_CXX
=yes
13974 file_list_spec_CXX
='${wl}-f,'
13976 if test "$GXX" = yes; then
13977 case $host_os in aix4.
[012]|aix4.
[012].
*)
13978 # We only want to do this on AIX 4.2 and lower, the check
13979 # below for broken collect2 doesn't work under 4.3+
13980 collect2name
=`${CC} -print-prog-name=collect2`
13981 if test -f "$collect2name" &&
13982 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13984 # We have reworked collect2
13987 # We have old collect2
13988 hardcode_direct_CXX
=unsupported
13989 # It fails to find uninstalled libraries when the uninstalled
13990 # path is not listed in the libpath. Setting hardcode_minus_L
13991 # to unsupported forces relinking
13992 hardcode_minus_L_CXX
=yes
13993 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13994 hardcode_libdir_separator_CXX
=
13997 shared_flag
='-shared'
13998 if test "$aix_use_runtimelinking" = yes; then
13999 shared_flag
="$shared_flag "'${wl}-G'
14003 if test "$host_cpu" = ia64
; then
14004 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14005 # chokes on -Wl,-G. The following line is correct:
14008 if test "$aix_use_runtimelinking" = yes; then
14009 shared_flag
='${wl}-G'
14011 shared_flag
='${wl}-bM:SRE'
14016 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14017 # It seems that -bexpall does not export symbols beginning with
14018 # underscore (_), so it is better to generate a list of symbols to
14020 always_export_symbols_CXX
=yes
14021 if test "$aix_use_runtimelinking" = yes; then
14022 # Warning - without using the other runtime loading flags (-brtl),
14023 # -berok will link without error, but may produce a broken library.
14024 allow_undefined_flag_CXX
='-berok'
14025 # Determine the default libpath from the value encoded in an empty
14027 if test x
$gcc_no_link = xyes
; then
14028 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14041 if ac_fn_cxx_try_link
"$LINENO"; then :
14043 lt_aix_libpath_sed
='
14044 /Import File Strings/,/^$/ {
14050 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14051 # Check for a 64-bit object if we didn't find anything.
14052 if test -z "$aix_libpath"; then
14053 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14056 rm -f core conftest.err conftest.
$ac_objext \
14057 conftest
$ac_exeext conftest.
$ac_ext
14058 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14060 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14062 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"
14064 if test "$host_cpu" = ia64
; then
14065 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14066 allow_undefined_flag_CXX
="-z nodefs"
14067 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"
14069 # Determine the default libpath from the value encoded in an
14070 # empty executable.
14071 if test x
$gcc_no_link = xyes
; then
14072 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14085 if ac_fn_cxx_try_link
"$LINENO"; then :
14087 lt_aix_libpath_sed
='
14088 /Import File Strings/,/^$/ {
14094 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14095 # Check for a 64-bit object if we didn't find anything.
14096 if test -z "$aix_libpath"; then
14097 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14100 rm -f core conftest.err conftest.
$ac_objext \
14101 conftest
$ac_exeext conftest.
$ac_ext
14102 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14104 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14105 # Warning - without using the other run time loading flags,
14106 # -berok will link without error, but may produce a broken library.
14107 no_undefined_flag_CXX
=' ${wl}-bernotok'
14108 allow_undefined_flag_CXX
=' ${wl}-berok'
14109 if test "$with_gnu_ld" = yes; then
14110 # We only use this code for GNU lds that support --whole-archive.
14111 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14113 # Exported symbols can be pulled into shared objects from archives
14114 whole_archive_flag_spec_CXX
='$convenience'
14116 archive_cmds_need_lc_CXX
=yes
14117 # This is similar to how AIX traditionally builds its shared
14119 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'
14125 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14126 allow_undefined_flag_CXX
=unsupported
14127 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14128 # support --undefined. This deserves some investigation. FIXME
14129 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14136 case $cc_basename in
14138 # FIXME: insert proper C++ library support
14144 cygwin
* | mingw
* | pw32
* | cegcc
*)
14145 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14146 # as there is no search path for DLLs.
14147 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14148 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
14149 allow_undefined_flag_CXX
=unsupported
14150 always_export_symbols_CXX
=no
14151 enable_shared_with_static_runtimes_CXX
=yes
14153 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14154 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'
14155 # If the export-symbols file already is a .def file (1st line
14156 # is EXPORTS), use it as is; otherwise, prepend...
14157 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14158 cp $export_symbols $output_objdir/$soname.def;
14160 echo EXPORTS > $output_objdir/$soname.def;
14161 cat $export_symbols >> $output_objdir/$soname.def;
14163 $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'
14168 darwin
* | rhapsody
*)
14171 archive_cmds_need_lc_CXX
=no
14172 hardcode_direct_CXX
=no
14173 hardcode_automatic_CXX
=yes
14174 hardcode_shlibpath_var_CXX
=unsupported
14175 if test "$lt_cv_ld_force_load" = "yes"; then
14176 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\"`'
14178 whole_archive_flag_spec_CXX
=''
14180 link_all_deplibs_CXX
=yes
14181 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14182 case $cc_basename in
14183 ifort
*) _lt_dar_can_shared
=yes ;;
14184 *) _lt_dar_can_shared
=$GCC ;;
14186 if test "$_lt_dar_can_shared" = "yes"; then
14187 output_verbose_link_cmd
=func_echo_all
14188 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}"
14189 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14190 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}"
14191 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}"
14192 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14193 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}"
14194 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}"
14204 case $cc_basename in
14206 # FIXME: insert proper C++ library support
14210 # Green Hills C++ Compiler
14211 # FIXME: insert proper C++ library support
14215 # FIXME: insert proper C++ library support
14222 # C++ shared libraries reported to be fairly broken before
14228 archive_cmds_need_lc_CXX
=no
14231 freebsd
* | dragonfly
*)
14232 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14241 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14242 link_all_deplibs_CXX
=yes
14246 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14247 hardcode_libdir_separator_CXX
=:
14248 export_dynamic_flag_spec_CXX
='${wl}-E'
14249 hardcode_direct_CXX
=yes
14250 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14251 # but as the default
14252 # location of the library.
14254 case $cc_basename in
14256 # FIXME: insert proper C++ library support
14260 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'
14261 # Commands to make compiler produce verbose output that lists
14262 # what "hidden" libraries, object files and flags are used when
14263 # linking a shared library.
14265 # There doesn't appear to be a way to prevent this compiler from
14266 # explicitly linking system object files so we need to strip them
14267 # from the output so that they don't get included in the library
14269 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"'
14272 if test "$GXX" = yes; then
14273 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'
14275 # FIXME: insert proper C++ library support
14283 if test $with_gnu_ld = no
; then
14284 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14285 hardcode_libdir_separator_CXX
=:
14291 export_dynamic_flag_spec_CXX
='${wl}-E'
14297 hardcode_direct_CXX
=no
14298 hardcode_shlibpath_var_CXX
=no
14301 hardcode_direct_CXX
=yes
14302 hardcode_direct_absolute_CXX
=yes
14303 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14304 # but as the default
14305 # location of the library.
14309 case $cc_basename in
14311 # FIXME: insert proper C++ library support
14317 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14320 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14323 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14326 # Commands to make compiler produce verbose output that lists
14327 # what "hidden" libraries, object files and flags are used when
14328 # linking a shared library.
14330 # There doesn't appear to be a way to prevent this compiler from
14331 # explicitly linking system object files so we need to strip them
14332 # from the output so that they don't get included in the library
14334 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"'
14337 if test "$GXX" = yes; then
14338 if test $with_gnu_ld = no
; then
14341 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14344 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14347 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'
14352 # FIXME: insert proper C++ library support
14360 hardcode_direct_CXX
=no
14361 hardcode_shlibpath_var_CXX
=no
14362 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14363 export_dynamic_flag_spec_CXX
='${wl}-E'
14364 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14365 # Instead, shared libraries are loaded at an image base (0x10000000 by
14366 # default) and relocated if they conflict, which is a slow very memory
14367 # consuming and fragmenting process. To avoid this, we pick a random,
14368 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14369 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14370 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'
14371 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'
14374 case $cc_basename in
14377 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'
14379 # Archives containing C++ object files must be created using
14380 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14381 # necessary to make sure instantiated templates are included
14383 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14386 if test "$GXX" = yes; then
14387 if test "$with_gnu_ld" = no
; then
14388 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'
14390 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'
14393 link_all_deplibs_CXX
=yes
14396 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14397 hardcode_libdir_separator_CXX
=:
14398 inherit_rpath_CXX
=yes
14401 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14402 case $cc_basename in
14404 # Kuck and Associates, Inc. (KAI) C++ Compiler
14406 # KCC will only create a shared library if the output file
14407 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14408 # to its proper name (with version) after linking.
14409 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'
14410 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'
14411 # Commands to make compiler produce verbose output that lists
14412 # what "hidden" libraries, object files and flags are used when
14413 # linking a shared library.
14415 # There doesn't appear to be a way to prevent this compiler from
14416 # explicitly linking system object files so we need to strip them
14417 # from the output so that they don't get included in the library
14419 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"'
14421 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14422 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14424 # Archives containing C++ object files must be created using
14425 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14426 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14431 # version 8.0 and above of icpc choke on multiply defined symbols
14432 # if we add $predep_objects and $postdep_objects, however 7.1 and
14433 # earlier do not add the objects themselves.
14434 case `$CC -V 2>&1` in
14436 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14437 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'
14439 *) # Version 8.0 or newer
14442 ia64
*) tmp_idyn
=' -i_dynamic';;
14444 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14445 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'
14448 archive_cmds_need_lc_CXX
=no
14449 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14450 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14451 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14454 # Portland Group C++ compiler
14456 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
14457 prelink_cmds_CXX
='tpldir=Template.dir~
14459 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14460 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14461 old_archive_cmds_CXX
='tpldir=Template.dir~
14463 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14464 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14466 archive_cmds_CXX
='tpldir=Template.dir~
14468 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14469 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14470 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14472 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14473 $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'
14475 *) # Version 6 and above use weak symbols
14476 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14477 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'
14481 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14482 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14483 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'
14487 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14488 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'
14490 runpath_var
=LD_RUN_PATH
14491 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14492 hardcode_libdir_separator_CXX
=:
14494 # Commands to make compiler produce verbose output that lists
14495 # what "hidden" libraries, object files and flags are used when
14496 # linking a shared library.
14498 # There doesn't appear to be a way to prevent this compiler from
14499 # explicitly linking system object files so we need to strip them
14500 # from the output so that they don't get included in the library
14502 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'
14504 xl
* | mpixl
* | bgxl
*)
14505 # IBM XL 8.0 on PPC, with GNU ld
14506 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14507 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14508 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14509 if test "x$supports_anon_versioning" = xyes
; then
14510 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14511 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14512 echo "local: *; };" >> $output_objdir/$libname.ver~
14513 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14517 case `$CC -V 2>&1 | sed 5q` in
14520 no_undefined_flag_CXX
=' -zdefs'
14521 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14522 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'
14523 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14524 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'
14525 compiler_needs_object_CXX
=yes
14527 # Not sure whether something based on
14528 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14530 output_verbose_link_cmd
='func_echo_all'
14532 # Archives containing C++ object files must be created using
14533 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14534 # necessary to make sure instantiated templates are included
14536 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14544 # FIXME: insert proper C++ library support
14549 # FIXME: insert proper C++ library support
14554 case $cc_basename in
14556 # FIXME: insert proper C++ library support
14560 # FIXME: insert proper C++ library support
14567 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14568 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14570 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14571 hardcode_direct_CXX
=yes
14572 hardcode_shlibpath_var_CXX
=no
14574 # Workaround some broken pre-1.5 toolchains
14575 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14583 # C++ shared libraries are fairly broken
14588 if test -f /usr
/libexec
/ld.so
; then
14589 hardcode_direct_CXX
=yes
14590 hardcode_shlibpath_var_CXX
=no
14591 hardcode_direct_absolute_CXX
=yes
14592 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14593 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14594 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14595 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14596 export_dynamic_flag_spec_CXX
='${wl}-E'
14597 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14599 output_verbose_link_cmd
=func_echo_all
14605 osf3
* | osf4
* | osf5
*)
14606 case $cc_basename in
14608 # Kuck and Associates, Inc. (KAI) C++ Compiler
14610 # KCC will only create a shared library if the output file
14611 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14612 # to its proper name (with version) after linking.
14613 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'
14615 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14616 hardcode_libdir_separator_CXX
=:
14618 # Archives containing C++ object files must be created using
14619 # the KAI C++ compiler.
14621 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14622 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14626 # Rational C++ 2.4.1
14627 # FIXME: insert proper C++ library support
14633 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14634 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'
14635 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14638 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14639 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'
14640 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14641 echo "-hidden">> $lib.exp~
14642 $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~
14644 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14648 hardcode_libdir_separator_CXX
=:
14650 # Commands to make compiler produce verbose output that lists
14651 # what "hidden" libraries, object files and flags are used when
14652 # linking a shared library.
14654 # There doesn't appear to be a way to prevent this compiler from
14655 # explicitly linking system object files so we need to strip them
14656 # from the output so that they don't get included in the library
14658 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"'
14661 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14662 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14665 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'
14668 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'
14672 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14673 hardcode_libdir_separator_CXX
=:
14675 # Commands to make compiler produce verbose output that lists
14676 # what "hidden" libraries, object files and flags are used when
14677 # linking a shared library.
14678 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14681 # FIXME: insert proper C++ library support
14689 # FIXME: insert proper C++ library support
14694 case $cc_basename in
14697 # FIXME: insert proper C++ library support
14702 # FIXME: insert proper C++ library support
14706 # FIXME: insert proper C++ library support
14713 case $cc_basename in
14715 # Sun C++ 4.2, 5.x and Centerline C++
14716 archive_cmds_need_lc_CXX
=yes
14717 no_undefined_flag_CXX
=' -zdefs'
14718 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14719 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14720 $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'
14722 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14723 hardcode_shlibpath_var_CXX
=no
14725 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14727 # The compiler driver will combine and reorder linker options,
14728 # but understands `-z linker_flag'.
14729 # Supported since Solaris 2.6 (maybe 2.5.1?)
14730 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14733 link_all_deplibs_CXX
=yes
14735 output_verbose_link_cmd
='func_echo_all'
14737 # Archives containing C++ object files must be created using
14738 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14739 # necessary to make sure instantiated templates are included
14741 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14744 # Green Hills C++ Compiler
14745 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14747 # The C++ compiler must be used to create the archive.
14748 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14751 # GNU C++ compiler with Solaris linker
14752 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14753 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14754 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14755 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14756 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14757 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14759 # Commands to make compiler produce verbose output that lists
14760 # what "hidden" libraries, object files and flags are used when
14761 # linking a shared library.
14762 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14764 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14766 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14767 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14768 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14770 # Commands to make compiler produce verbose output that lists
14771 # what "hidden" libraries, object files and flags are used when
14772 # linking a shared library.
14773 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14776 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14778 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14780 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14788 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14789 no_undefined_flag_CXX
='${wl}-z,text'
14790 archive_cmds_need_lc_CXX
=no
14791 hardcode_shlibpath_var_CXX
=no
14792 runpath_var
='LD_RUN_PATH'
14794 case $cc_basename in
14796 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14797 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14800 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14801 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14806 sysv5
* | sco3.2v5
* | sco5v6
*)
14807 # Note: We can NOT use -z defs as we might desire, because we do not
14808 # link with -lc, and that would cause any symbols used from libc to
14809 # always be unresolved, which means just about no library would
14810 # ever link correctly. If we're not using GNU ld we use -z text
14811 # though, which does catch some bad symbols but isn't as heavy-handed
14813 no_undefined_flag_CXX
='${wl}-z,text'
14814 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14815 archive_cmds_need_lc_CXX
=no
14816 hardcode_shlibpath_var_CXX
=no
14817 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14818 hardcode_libdir_separator_CXX
=':'
14819 link_all_deplibs_CXX
=yes
14820 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14821 runpath_var
='LD_RUN_PATH'
14823 case $cc_basename in
14825 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14826 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14827 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14828 '"$old_archive_cmds_CXX"
14829 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14830 '"$reload_cmds_CXX"
14833 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14834 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14840 case $cc_basename in
14842 # NonStop-UX NCC 3.20
14843 # FIXME: insert proper C++ library support
14847 # FIXME: insert proper C++ library support
14854 # FIXME: insert proper C++ library support
14859 # FIXME: insert proper C++ library support
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14865 $as_echo "$ld_shlibs_CXX" >&6; }
14866 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14872 ## There is no encapsulation within the following macros, do not change
14873 ## the running order or otherwise move them around unless you know exactly
14874 ## what you are doing...
14875 # Dependencies to place before and after the object being linked:
14876 predep_objects_CXX
=
14877 postdep_objects_CXX
=
14880 compiler_lib_search_path_CXX
=
14882 cat > conftest.
$ac_ext <<_LT_EOF
14886 Foo (void) { a = 0; }
14892 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14893 (eval $ac_compile) 2>&5
14895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14896 test $ac_status = 0; }; then
14897 # Parse the compiler output and extract the necessary
14898 # objects, libraries and library flags.
14900 # Sentinel used to keep track of whether or not we are before
14901 # the conftest object file.
14902 pre_test_object_deps_done
=no
14904 for p
in `eval "$output_verbose_link_cmd"`; do
14908 # Some compilers place space between "-{L,R}" and the path.
14909 # Remove the space.
14910 if test $p = "-L" ||
14911 test $p = "-R"; then
14918 if test "$pre_test_object_deps_done" = no
; then
14921 # Internal compiler library paths should come after those
14922 # provided the user. The postdeps already come after the
14923 # user supplied libs so there is no need to process them.
14924 if test -z "$compiler_lib_search_path_CXX"; then
14925 compiler_lib_search_path_CXX
="${prev}${p}"
14927 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14930 # The "-l" case would never come before the object being
14931 # linked, so don't bother handling this case.
14934 if test -z "$postdeps_CXX"; then
14935 postdeps_CXX
="${prev}${p}"
14937 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14943 # This assumes that the test object file only shows up
14944 # once in the compiler output.
14945 if test "$p" = "conftest.$objext"; then
14946 pre_test_object_deps_done
=yes
14950 if test "$pre_test_object_deps_done" = no
; then
14951 if test -z "$predep_objects_CXX"; then
14952 predep_objects_CXX
="$p"
14954 predep_objects_CXX
="$predep_objects_CXX $p"
14957 if test -z "$postdep_objects_CXX"; then
14958 postdep_objects_CXX
="$p"
14960 postdep_objects_CXX
="$postdep_objects_CXX $p"
14965 *) ;; # Ignore the rest.
14973 echo "libtool.m4: error: problem compiling CXX test program"
14976 $RM -f confest.
$objext
14978 # PORTME: override above test on systems where it is broken
14981 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14982 # hack all around it, let's just trust "g++" to DTRT.
14983 predep_objects_CXX
=
14984 postdep_objects_CXX
=
14989 case `$CC -V 2>&1 | sed 5q` in
14993 # The more standards-conforming stlport4 library is
14994 # incompatible with the Cstd library. Avoid specifying
14995 # it if it's in CXXFLAGS. Ignore libCrun as
14996 # -library=stlport4 depends on it.
14997 case " $CXX $CXXFLAGS " in
14998 *" -library=stlport4 "*)
14999 solaris_use_stlport4
=yes
15003 if test "$solaris_use_stlport4" != yes; then
15004 postdeps_CXX
='-library=Cstd -library=Crun'
15011 case $cc_basename in
15013 # The more standards-conforming stlport4 library is
15014 # incompatible with the Cstd library. Avoid specifying
15015 # it if it's in CXXFLAGS. Ignore libCrun as
15016 # -library=stlport4 depends on it.
15017 case " $CXX $CXXFLAGS " in
15018 *" -library=stlport4 "*)
15019 solaris_use_stlport4
=yes
15023 # Adding this requires a known-good setup of shared libraries for
15024 # Sun compiler versions before 5.6, else PIC objects from an old
15025 # archive will be linked into the output, leading to subtle bugs.
15026 if test "$solaris_use_stlport4" != yes; then
15027 postdeps_CXX
='-library=Cstd -library=Crun'
15035 case " $postdeps_CXX " in
15036 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15038 compiler_lib_search_dirs_CXX
=
15039 if test -n "${compiler_lib_search_path_CXX}"; then
15040 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15073 lt_prog_compiler_wl_CXX
=
15074 lt_prog_compiler_pic_CXX
=
15075 lt_prog_compiler_static_CXX
=
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15078 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15080 # C++ specific cases for pic, static, wl, etc.
15081 if test "$GXX" = yes; then
15082 lt_prog_compiler_wl_CXX
='-Wl,'
15083 lt_prog_compiler_static_CXX
='-static'
15087 # All AIX code is PIC.
15088 if test "$host_cpu" = ia64
; then
15089 # AIX 5 now supports IA64 processor
15090 lt_prog_compiler_static_CXX
='-Bstatic'
15097 # see comment about AmigaOS4 .so support
15098 lt_prog_compiler_pic_CXX
='-fPIC'
15101 # FIXME: we need at least 68020 code to build shared libraries, but
15102 # adding the `-m68020' flag to GCC prevents building anything better,
15104 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15109 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15110 # PIC is the default for these OSes.
15112 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15113 # This hack is so that the source file can tell whether it is being
15114 # built for inclusion in a dll (and should export symbols for example).
15115 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15116 # (--disable-auto-import) libraries
15117 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15119 darwin
* | rhapsody
*)
15120 # PIC is the default on this platform
15121 # Common symbols not allowed in MH_DYLIB files
15122 lt_prog_compiler_pic_CXX
='-fno-common'
15125 # DJGPP does not support shared libraries at all
15126 lt_prog_compiler_pic_CXX
=
15129 # PIC is the default for Haiku.
15130 # The "-static" flag exists, but is broken.
15131 lt_prog_compiler_static_CXX
=
15134 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15135 # Instead, we relocate shared libraries at runtime.
15138 if test -d /usr
/nec
; then
15139 lt_prog_compiler_pic_CXX
=-Kconform_pic
15143 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15144 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15145 # sets the default TLS model and affects inlining.
15150 lt_prog_compiler_pic_CXX
='-fPIC'
15155 # QNX uses GNU C++, but need to define -shared option too, otherwise
15156 # it will coredump.
15157 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15160 lt_prog_compiler_pic_CXX
='-fPIC'
15166 # All AIX code is PIC.
15167 if test "$host_cpu" = ia64
; then
15168 # AIX 5 now supports IA64 processor
15169 lt_prog_compiler_static_CXX
='-Bstatic'
15171 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15175 case $cc_basename in
15177 # Green Hills C++ Compiler
15178 # _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"
15183 case $cc_basename in
15185 lt_prog_compiler_pic_CXX
='-KPIC'
15188 # Green Hills C++ Compiler
15189 lt_prog_compiler_pic_CXX
='-pic'
15195 freebsd
* | dragonfly
*)
15196 # FreeBSD uses GNU C++
15198 hpux9
* | hpux10
* | hpux11
*)
15199 case $cc_basename in
15201 lt_prog_compiler_wl_CXX
='-Wl,'
15202 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15203 if test "$host_cpu" != ia64
; then
15204 lt_prog_compiler_pic_CXX
='+Z'
15208 lt_prog_compiler_wl_CXX
='-Wl,'
15209 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15215 lt_prog_compiler_pic_CXX
='+Z'
15224 # This is c89, which is MS Visual C++ (no shared libs)
15225 # Anyone wants to do a port?
15227 irix5
* | irix6
* | nonstopux
*)
15228 case $cc_basename in
15230 lt_prog_compiler_wl_CXX
='-Wl,'
15231 lt_prog_compiler_static_CXX
='-non_shared'
15232 # CC pic flag -KPIC is the default.
15238 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15239 case $cc_basename in
15242 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15243 lt_prog_compiler_pic_CXX
='-fPIC'
15246 # old Intel C++ for x86_64 which still supported -KPIC.
15247 lt_prog_compiler_wl_CXX
='-Wl,'
15248 lt_prog_compiler_pic_CXX
='-KPIC'
15249 lt_prog_compiler_static_CXX
='-static'
15252 # Intel C++, used to be incompatible with GCC.
15253 # ICC 10 doesn't accept -KPIC any more.
15254 lt_prog_compiler_wl_CXX
='-Wl,'
15255 lt_prog_compiler_pic_CXX
='-fPIC'
15256 lt_prog_compiler_static_CXX
='-static'
15259 # Portland Group C++ compiler
15260 lt_prog_compiler_wl_CXX
='-Wl,'
15261 lt_prog_compiler_pic_CXX
='-fpic'
15262 lt_prog_compiler_static_CXX
='-Bstatic'
15266 # Make sure the PIC flag is empty. It appears that all Alpha
15267 # Linux and Compaq Tru64 Unix objects are PIC.
15268 lt_prog_compiler_pic_CXX
=
15269 lt_prog_compiler_static_CXX
='-non_shared'
15271 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15272 # IBM XL 8.0, 9.0 on PPC and BlueGene
15273 lt_prog_compiler_wl_CXX
='-Wl,'
15274 lt_prog_compiler_pic_CXX
='-qpic'
15275 lt_prog_compiler_static_CXX
='-qstaticlink'
15278 case `$CC -V 2>&1 | sed 5q` in
15281 lt_prog_compiler_pic_CXX
='-KPIC'
15282 lt_prog_compiler_static_CXX
='-Bstatic'
15283 lt_prog_compiler_wl_CXX
='-Qoption ld '
15294 case $cc_basename in
15296 lt_prog_compiler_pic_CXX
='-W c,exportall'
15305 # QNX uses GNU C++, but need to define -shared option too, otherwise
15306 # it will coredump.
15307 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15309 osf3
* | osf4
* | osf5
*)
15310 case $cc_basename in
15312 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15315 # Rational C++ 2.4.1
15316 lt_prog_compiler_pic_CXX
='-pic'
15319 # Digital/Compaq C++
15320 lt_prog_compiler_wl_CXX
='-Wl,'
15321 # Make sure the PIC flag is empty. It appears that all Alpha
15322 # Linux and Compaq Tru64 Unix objects are PIC.
15323 lt_prog_compiler_pic_CXX
=
15324 lt_prog_compiler_static_CXX
='-non_shared'
15333 case $cc_basename in
15335 # Sun C++ 4.2, 5.x and Centerline C++
15336 lt_prog_compiler_pic_CXX
='-KPIC'
15337 lt_prog_compiler_static_CXX
='-Bstatic'
15338 lt_prog_compiler_wl_CXX
='-Qoption ld '
15341 # Green Hills C++ Compiler
15342 lt_prog_compiler_pic_CXX
='-PIC'
15349 case $cc_basename in
15352 lt_prog_compiler_pic_CXX
='-pic'
15353 lt_prog_compiler_static_CXX
='-Bstatic'
15357 lt_prog_compiler_pic_CXX
='-pic'
15363 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15364 case $cc_basename in
15366 lt_prog_compiler_wl_CXX
='-Wl,'
15367 lt_prog_compiler_pic_CXX
='-KPIC'
15368 lt_prog_compiler_static_CXX
='-Bstatic'
15373 case $cc_basename in
15375 # NonStop-UX NCC 3.20
15376 lt_prog_compiler_pic_CXX
='-KPIC'
15385 lt_prog_compiler_can_build_shared_CXX
=no
15391 # For platforms which do not support PIC, -DPIC is meaningless:
15393 lt_prog_compiler_pic_CXX
=
15396 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15400 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15405 # Check to make sure the PIC flag actually works.
15407 if test -n "$lt_prog_compiler_pic_CXX"; then
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15409 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15410 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15411 $as_echo_n "(cached) " >&6
15413 lt_cv_prog_compiler_pic_works_CXX
=no
15414 ac_outfile
=conftest.
$ac_objext
15415 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15416 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15417 # Insert the option either (1) after the last *FLAGS variable, or
15418 # (2) before a word containing "conftest.", or (3) at the end.
15419 # Note that $ac_compile itself does not contain backslashes and begins
15420 # with a dollar sign (not a hyphen), so the echo should work correctly.
15421 # The option is referenced via a variable to avoid confusing sed.
15422 lt_compile
=`echo "$ac_compile" | $SED \
15423 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15425 -e 's:$: $lt_compiler_flag:'`
15426 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15427 (eval "$lt_compile" 2>conftest.err
)
15429 cat conftest.err
>&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 if (exit $ac_status) && test -s "$ac_outfile"; then
15432 # The compiler can only warn and ignore the option if not recognized
15433 # So say no if there are warnings other than the usual output.
15434 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
15435 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15436 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15437 lt_cv_prog_compiler_pic_works_CXX
=yes
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15444 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15446 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15447 case $lt_prog_compiler_pic_CXX in
15449 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15452 lt_prog_compiler_pic_CXX
=
15453 lt_prog_compiler_can_build_shared_CXX
=no
15461 # Check to make sure the static flag actually works.
15463 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15465 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15466 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15467 $as_echo_n "(cached) " >&6
15469 lt_cv_prog_compiler_static_works_CXX
=no
15470 save_LDFLAGS
="$LDFLAGS"
15471 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15472 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15473 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15474 # The linker can only warn and ignore the option if not recognized
15475 # So say no if there are warnings
15476 if test -s conftest.err
; then
15477 # Append any errors to the config.log.
15478 cat conftest.err
1>&5
15479 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15480 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15481 if diff conftest.exp conftest.er2
>/dev
/null
; then
15482 lt_cv_prog_compiler_static_works_CXX
=yes
15485 lt_cv_prog_compiler_static_works_CXX
=yes
15489 LDFLAGS
="$save_LDFLAGS"
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15493 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15495 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15498 lt_prog_compiler_static_CXX
=
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15505 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15506 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15507 $as_echo_n "(cached) " >&6
15509 lt_cv_prog_compiler_c_o_CXX
=no
15510 $RM -r conftest
2>/dev
/null
15514 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15516 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15517 # Insert the option either (1) after the last *FLAGS variable, or
15518 # (2) before a word containing "conftest.", or (3) at the end.
15519 # Note that $ac_compile itself does not contain backslashes and begins
15520 # with a dollar sign (not a hyphen), so the echo should work correctly.
15521 lt_compile
=`echo "$ac_compile" | $SED \
15522 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15523 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15524 -e 's:$: $lt_compiler_flag:'`
15525 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15526 (eval "$lt_compile" 2>out
/conftest.err
)
15528 cat out
/conftest.err
>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15532 # The compiler can only warn and ignore the option if not recognized
15533 # So say no if there are warnings
15534 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15535 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15536 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15537 lt_cv_prog_compiler_c_o_CXX
=yes
15542 # SGI C++ compiler will create directory out/ii_files/ for
15543 # template instantiation
15544 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15545 $RM out
/* && rmdir out
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15552 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15557 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15558 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15559 $as_echo_n "(cached) " >&6
15561 lt_cv_prog_compiler_c_o_CXX
=no
15562 $RM -r conftest
2>/dev
/null
15566 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15568 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15569 # Insert the option either (1) after the last *FLAGS variable, or
15570 # (2) before a word containing "conftest.", or (3) at the end.
15571 # Note that $ac_compile itself does not contain backslashes and begins
15572 # with a dollar sign (not a hyphen), so the echo should work correctly.
15573 lt_compile
=`echo "$ac_compile" | $SED \
15574 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15575 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15576 -e 's:$: $lt_compiler_flag:'`
15577 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15578 (eval "$lt_compile" 2>out
/conftest.err
)
15580 cat out
/conftest.err
>&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15584 # The compiler can only warn and ignore the option if not recognized
15585 # So say no if there are warnings
15586 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15587 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15588 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15589 lt_cv_prog_compiler_c_o_CXX
=yes
15594 # SGI C++ compiler will create directory out/ii_files/ for
15595 # template instantiation
15596 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15597 $RM out
/* && rmdir out
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15604 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15609 hard_links
="nottested"
15610 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15611 # do not overwrite the value of need_locks provided by the user
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15613 $as_echo_n "checking if we can lock with hard links... " >&6; }
15616 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15618 ln conftest.a conftest.b
2>&5 || hard_links
=no
15619 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15621 $as_echo "$hard_links" >&6; }
15622 if test "$hard_links" = no
; then
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15624 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15634 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15636 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15639 # If we're using GNU nm, then we don't want the "-C" option.
15640 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15641 # Also, AIX nm treats weak defined symbols like other global defined
15642 # symbols, whereas GNU nm marks them as "W".
15643 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15644 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'
15646 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'
15650 export_symbols_cmds_CXX
="$ltdll_cmds"
15652 cygwin
* | mingw
* | cegcc
*)
15653 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'
15656 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15659 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15662 $as_echo "$ld_shlibs_CXX" >&6; }
15663 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15665 with_gnu_ld_CXX
=$with_gnu_ld
15673 # Do we need to explicitly link libc?
15675 case "x$archive_cmds_need_lc_CXX" in
15677 # Assume -lc should be added
15678 archive_cmds_need_lc_CXX
=yes
15680 if test "$enable_shared" = yes && test "$GCC" = yes; then
15681 case $archive_cmds_CXX in
15683 # FIXME: we may have to deal with multi-command sequences.
15686 # Test whether the compiler implicitly links with -lc since on some
15687 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15688 # to ld, don't add -lc before -lgcc.
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15690 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15691 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15692 $as_echo_n "(cached) " >&6
15695 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15697 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15698 (eval $ac_compile) 2>&5
15700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15701 test $ac_status = 0; } 2>conftest.err
; then
15704 libobjs
=conftest.
$ac_objext
15706 wl
=$lt_prog_compiler_wl_CXX
15707 pic_flag
=$lt_prog_compiler_pic_CXX
15713 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15714 allow_undefined_flag_CXX
=
15715 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15716 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15719 test $ac_status = 0; }
15721 lt_cv_archive_cmds_need_lc_CXX
=no
15723 lt_cv_archive_cmds_need_lc_CXX
=yes
15725 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15727 cat conftest.err
1>&5
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15733 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15734 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15805 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15807 library_names_spec
=
15808 libname_spec
='lib$name'
15812 postuninstall_cmds
=
15816 shlibpath_overrides_runpath
=unknown
15818 dynamic_linker
="$host_os ld.so"
15819 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15820 need_lib_prefix
=unknown
15821 hardcode_into_libs
=no
15823 # when you set need_version to no, make sure it does not cause -set_version
15824 # flags to be left without arguments
15825 need_version
=unknown
15830 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15831 shlibpath_var
=LIBPATH
15833 # AIX 3 has no versioning support, so we append a major version to the name.
15834 soname_spec
='${libname}${release}${shared_ext}$major'
15841 hardcode_into_libs
=yes
15842 if test "$host_cpu" = ia64
; then
15843 # AIX 5 supports IA64
15844 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15845 shlibpath_var
=LD_LIBRARY_PATH
15847 # With GCC up to 2.95.x, collect2 would create an import file
15848 # for dependence libraries. The import file would start with
15849 # the line `#! .'. This would cause the generated library to
15850 # depend on `.', always an invalid library. This was fixed in
15851 # development snapshots of GCC prior to 3.0.
15853 aix4 | aix4.
[01] | aix4.
[01].
*)
15854 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15856 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15859 can_build_shared
=no
15863 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15864 # soname into executable. Probably we can add versioning support to
15865 # collect2, so additional links can be useful in future.
15866 if test "$aix_use_runtimelinking" = yes; then
15867 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15868 # instead of lib<name>.a to let people know that these are not
15869 # typical AIX shared libraries.
15870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15872 # We preserve .a as extension for shared libraries through AIX4.2
15873 # and later when we are not doing run time linking.
15874 library_names_spec
='${libname}${release}.a $libname.a'
15875 soname_spec
='${libname}${release}${shared_ext}$major'
15877 shlibpath_var
=LIBPATH
15884 # Since July 2007 AmigaOS4 officially supports .so libraries.
15885 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15889 library_names_spec
='$libname.ixlibrary $libname.a'
15890 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15891 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'
15897 library_names_spec
='${libname}${shared_ext}'
15898 dynamic_linker
="$host_os ld.so"
15899 shlibpath_var
=LIBRARY_PATH
15905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15906 soname_spec
='${libname}${release}${shared_ext}$major'
15907 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15908 shlibpath_var
=LD_LIBRARY_PATH
15909 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15910 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15911 # the default ld.so.conf also contains /usr/contrib/lib and
15912 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15913 # libtool to hard-code these into programs
15916 cygwin
* | mingw
* | pw32
* | cegcc
*)
15917 version_type
=windows
15922 case $GCC,$host_os in
15923 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15924 library_names_spec
='$libname.dll.a'
15925 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15926 postinstall_cmds
='base_file=`basename \${file}`~
15927 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15928 dldir=$destdir/`dirname \$dlpath`~
15929 test -d \$dldir || mkdir -p \$dldir~
15930 $install_prog $dir/$dlname \$dldir/$dlname~
15931 chmod a+x \$dldir/$dlname~
15932 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15933 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15935 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15936 dlpath=$dir/\$dldll~
15938 shlibpath_overrides_runpath
=yes
15942 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15943 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15947 # MinGW DLLs use traditional 'lib' prefix
15948 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15951 # pw32 DLLs use 'pw' prefix rather than 'lib'
15952 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15958 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15961 dynamic_linker
='Win32 ld.exe'
15962 # FIXME: first we should search . and the directory the executable is in
15966 darwin
* | rhapsody
*)
15967 dynamic_linker
="$host_os dyld"
15968 version_type
=darwin
15971 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15972 soname_spec
='${libname}${release}${major}$shared_ext'
15973 shlibpath_overrides_runpath
=yes
15974 shlibpath_var
=DYLD_LIBRARY_PATH
15975 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15977 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15985 soname_spec
='${libname}${release}${shared_ext}$major'
15986 shlibpath_var
=LD_LIBRARY_PATH
15993 freebsd
* | dragonfly
*)
15994 # DragonFly does not have aout. When/if they implement a new
15995 # versioning mechanism, adjust this.
15996 if test -x /usr
/bin
/objformat
; then
15997 objformat
=`/usr/bin/objformat`
16000 freebsd
[123]*) objformat
=aout
;;
16001 *) objformat
=elf
;;
16004 version_type
=freebsd-
$objformat
16005 case $version_type in
16007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16012 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16016 shlibpath_var
=LD_LIBRARY_PATH
16019 shlibpath_overrides_runpath
=yes
16021 freebsd3.
[01]* | freebsdelf3.
[01]*)
16022 shlibpath_overrides_runpath
=yes
16023 hardcode_into_libs
=yes
16025 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16026 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16027 shlibpath_overrides_runpath
=no
16028 hardcode_into_libs
=yes
16030 *) # from 4.6 on, and DragonFly
16031 shlibpath_overrides_runpath
=yes
16032 hardcode_into_libs
=yes
16041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16042 soname_spec
='${libname}${release}${shared_ext}$major'
16043 shlibpath_var
=LD_LIBRARY_PATH
16044 hardcode_into_libs
=yes
16051 dynamic_linker
="$host_os runtime_loader"
16052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16053 soname_spec
='${libname}${release}${shared_ext}$major'
16054 shlibpath_var
=LIBRARY_PATH
16055 shlibpath_overrides_runpath
=yes
16056 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
16057 hardcode_into_libs
=yes
16060 hpux9
* | hpux10
* | hpux11
*)
16061 # Give a soname corresponding to the major version so that dld.sl refuses to
16062 # link against other versions.
16069 hardcode_into_libs
=yes
16070 dynamic_linker
="$host_os dld.so"
16071 shlibpath_var
=LD_LIBRARY_PATH
16072 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16074 soname_spec
='${libname}${release}${shared_ext}$major'
16075 if test "X$HPUX_IA64_MODE" = X32
; then
16076 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16078 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16080 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16084 hardcode_into_libs
=yes
16085 dynamic_linker
="$host_os dld.sl"
16086 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16087 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16089 soname_spec
='${libname}${release}${shared_ext}$major'
16090 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16091 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16095 dynamic_linker
="$host_os dld.sl"
16096 shlibpath_var
=SHLIB_PATH
16097 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16099 soname_spec
='${libname}${release}${shared_ext}$major'
16102 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16103 postinstall_cmds
='chmod 555 $lib'
16104 # or fails outright, so override atomically:
16105 install_override_mode
=555
16112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16113 soname_spec
='${libname}${release}${shared_ext}$major'
16114 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16115 shlibpath_var
=LD_LIBRARY_PATH
16116 shlibpath_overrides_runpath
=no
16117 hardcode_into_libs
=yes
16120 irix5
* | irix6
* | nonstopux
*)
16122 nonstopux
*) version_type
=nonstopux
;;
16124 if test "$lt_cv_prog_gnu_ld" = yes; then
16132 soname_spec
='${libname}${release}${shared_ext}$major'
16133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16135 irix5
* | nonstopux
*)
16136 libsuff
= shlibsuff
=
16139 case $LD in # libtool.m4 will add one of these switches to LD
16140 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16141 libsuff
= shlibsuff
= libmagic
=32-bit;;
16142 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16143 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16144 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16145 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16146 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16150 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16151 shlibpath_overrides_runpath
=no
16152 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16153 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16154 hardcode_into_libs
=yes
16157 # No shared lib support for Linux oldld, aout, or coff.
16158 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16162 # This must be Linux ELF.
16163 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16168 soname_spec
='${libname}${release}${shared_ext}$major'
16169 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16170 shlibpath_var
=LD_LIBRARY_PATH
16171 shlibpath_overrides_runpath
=no
16173 # Some binutils ld are patched to set DT_RUNPATH
16174 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16175 $as_echo_n "(cached) " >&6
16177 lt_cv_shlibpath_overrides_runpath
=no
16178 save_LDFLAGS
=$LDFLAGS
16179 save_libdir
=$libdir
16180 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16181 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16182 if test x
$gcc_no_link = xyes
; then
16183 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16186 /* end confdefs.h. */
16196 if ac_fn_cxx_try_link
"$LINENO"; then :
16197 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16198 lt_cv_shlibpath_overrides_runpath
=yes
16201 rm -f core conftest.err conftest.
$ac_objext \
16202 conftest
$ac_exeext conftest.
$ac_ext
16203 LDFLAGS
=$save_LDFLAGS
16204 libdir
=$save_libdir
16208 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16210 # This implies no fast_install, which is unacceptable.
16211 # Some rework will be needed to allow for fast_install
16212 # before this can be enabled.
16213 hardcode_into_libs
=yes
16215 # Append ld.so.conf contents to the search path
16216 if test -f /etc
/ld.so.conf
; then
16217 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' ' '`
16218 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16221 # We used to test for /lib/ld.so.1 and disable shared libraries on
16222 # powerpc, because MkLinux only supported shared libraries with the
16223 # GNU dynamic linker. Since this was broken with cross compilers,
16224 # most powerpc-linux boxes support dynamic linking these days and
16225 # people can always --disable-shared, the test was removed, and we
16226 # assume the GNU/Linux dynamic linker is in use.
16227 dynamic_linker
='GNU/Linux ld.so'
16234 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16236 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16237 dynamic_linker
='NetBSD (a.out) ld.so'
16239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16240 soname_spec
='${libname}${release}${shared_ext}$major'
16241 dynamic_linker
='NetBSD ld.elf_so'
16243 shlibpath_var
=LD_LIBRARY_PATH
16244 shlibpath_overrides_runpath
=yes
16245 hardcode_into_libs
=yes
16250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16251 shlibpath_var
=LD_LIBRARY_PATH
16252 shlibpath_overrides_runpath
=yes
16259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16260 soname_spec
='${libname}${release}${shared_ext}$major'
16261 shlibpath_var
=LD_LIBRARY_PATH
16262 shlibpath_overrides_runpath
=no
16263 hardcode_into_libs
=yes
16264 dynamic_linker
='ldqnx.so'
16269 sys_lib_dlsearch_path_spec
="/usr/lib"
16271 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16273 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16274 *) need_version
=no
;;
16276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16277 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16278 shlibpath_var
=LD_LIBRARY_PATH
16279 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16281 openbsd2.
[89] | openbsd2.
[89].
*)
16282 shlibpath_overrides_runpath
=no
16285 shlibpath_overrides_runpath
=yes
16289 shlibpath_overrides_runpath
=yes
16294 libname_spec
='$name'
16297 library_names_spec
='$libname${shared_ext} $libname.a'
16298 dynamic_linker
='OS/2 ld.exe'
16299 shlibpath_var
=LIBPATH
16302 osf3
* | osf4
* | osf5
*)
16306 soname_spec
='${libname}${release}${shared_ext}$major'
16307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16308 shlibpath_var
=LD_LIBRARY_PATH
16309 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16310 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16322 soname_spec
='${libname}${release}${shared_ext}$major'
16323 shlibpath_var
=LD_LIBRARY_PATH
16324 shlibpath_overrides_runpath
=yes
16325 hardcode_into_libs
=yes
16326 # ldd complains unless libraries are executable
16327 postinstall_cmds
='chmod +x $lib'
16332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16333 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16334 shlibpath_var
=LD_LIBRARY_PATH
16335 shlibpath_overrides_runpath
=yes
16336 if test "$with_gnu_ld" = yes; then
16344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16345 soname_spec
='${libname}${release}${shared_ext}$major'
16346 shlibpath_var
=LD_LIBRARY_PATH
16347 case $host_vendor in
16349 shlibpath_overrides_runpath
=no
16351 runpath_var
=LD_RUN_PATH
16359 shlibpath_overrides_runpath
=no
16360 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16366 if test -d /usr
/nec
;then
16368 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16369 soname_spec
='$libname${shared_ext}.$major'
16370 shlibpath_var
=LD_LIBRARY_PATH
16374 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16375 version_type
=freebsd-elf
16378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16379 soname_spec
='${libname}${release}${shared_ext}$major'
16380 shlibpath_var
=LD_LIBRARY_PATH
16381 shlibpath_overrides_runpath
=yes
16382 hardcode_into_libs
=yes
16383 if test "$with_gnu_ld" = yes; then
16384 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16386 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16389 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16393 sys_lib_dlsearch_path_spec
='/usr/lib'
16397 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16402 shlibpath_var
=LD_LIBRARY_PATH
16403 shlibpath_overrides_runpath
=no
16404 hardcode_into_libs
=yes
16409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16410 soname_spec
='${libname}${release}${shared_ext}$major'
16411 shlibpath_var
=LD_LIBRARY_PATH
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16419 $as_echo "$dynamic_linker" >&6; }
16420 test "$dynamic_linker" = no
&& can_build_shared
=no
16422 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16423 if test "$GCC" = yes; then
16424 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16427 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16428 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16430 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16431 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16472 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16473 hardcode_action_CXX
=
16474 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16475 test -n "$runpath_var_CXX" ||
16476 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16478 # We can hardcode non-existent directories.
16479 if test "$hardcode_direct_CXX" != no
&&
16480 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16481 # have to relink, otherwise we might link with an installed library
16482 # when we should be linking with a yet-to-be-installed one
16483 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16484 test "$hardcode_minus_L_CXX" != no
; then
16485 # Linking always hardcodes the temporary library directory.
16486 hardcode_action_CXX
=relink
16488 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16489 hardcode_action_CXX
=immediate
16492 # We cannot hardcode anything, or else we can only hardcode existing
16494 hardcode_action_CXX
=unsupported
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16497 $as_echo "$hardcode_action_CXX" >&6; }
16499 if test "$hardcode_action_CXX" = relink ||
16500 test "$inherit_rpath_CXX" = yes; then
16501 # Fast installation is not supported
16502 enable_fast_install
=no
16503 elif test "$shlibpath_overrides_runpath" = yes ||
16504 test "$enable_shared" = no
; then
16505 # Fast installation is not necessary
16506 enable_fast_install
=needless
16515 fi # test -n "$compiler"
16521 with_gnu_ld
=$lt_save_with_gnu_ld
16522 lt_cv_path_LDCXX
=$lt_cv_path_LD
16523 lt_cv_path_LD
=$lt_save_path_LD
16524 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16525 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16526 fi # test "$_lt_caught_CXX_error" != yes
16529 ac_cpp
='$CPP $CPPFLAGS'
16530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16536 # Handle -Werror default case.
16537 if test "$ENABLE_WERROR" = default
; then
16540 if test "$GCC" = yes; then
16547 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
16548 # Extract the first word of "perl", so it can be a program name with args.
16549 set dummy perl
; ac_word
=$2
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16551 $as_echo_n "checking for $ac_word... " >&6; }
16552 if test "${ac_cv_path_PERL+set}" = set; then :
16553 $as_echo_n "(cached) " >&6
16557 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
16560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16561 for as_dir
in $PATH
16564 test -z "$as_dir" && as_dir
=.
16565 for ac_exec_ext
in '' $ac_executable_extensions; do
16566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16567 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
16568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16578 PERL
=$ac_cv_path_PERL
16579 if test -n "$PERL"; then
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16581 $as_echo "$PERL" >&6; }
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16584 $as_echo "no" >&6; }
16590 ac_config_files
="$ac_config_files lib/mkcollections.pl"
16592 ac_config_commands
="$ac_config_commands mkcollections.pl"
16596 if test "x${COMPILE_JNI}" = xyes
; then
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((,,))" >&5
16601 $as_echo_n "checking __attribute__((,,))... " >&6; }
16602 if test "${gcc_cv_c_gcc_attribute_supported+set}" = set; then :
16603 $as_echo_n "(cached) " >&6
16606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16612 extern int testfunction(int x) __attribute__((,,))
16617 if ac_fn_c_try_compile
"$LINENO"; then :
16618 gcc_cv_c_gcc_attribute_supported
=yes
16620 gcc_cv_c_gcc_attribute_supported
=no
16622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16626 if test "x$gcc_cv_c_gcc_attribute_supported" = xyes
; then
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16629 $as_echo "yes" >&6; }
16631 $as_echo "#define HAVE_GNUC25_ATTRIB /**/" >>confdefs.h
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16637 $as_echo "no" >&6; }
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((unused))" >&5
16650 $as_echo_n "checking __attribute__((unused))... " >&6; }
16651 if test "${gcc_cv_c_gcc_attribute_unused+set}" = set; then :
16652 $as_echo_n "(cached) " >&6
16655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16656 /* end confdefs.h. */
16661 extern int testfunction(int x) __attribute__((unused))
16666 if ac_fn_c_try_compile
"$LINENO"; then :
16667 gcc_cv_c_gcc_attribute_unused
=yes
16669 gcc_cv_c_gcc_attribute_unused
=no
16671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16675 if test "x$gcc_cv_c_gcc_attribute_unused" = xyes
; then
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16678 $as_echo "yes" >&6; }
16680 $as_echo "#define HAVE_GNUC25_UNUSED /**/" >>confdefs.h
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16686 $as_echo "no" >&6; }
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16695 $as_echo_n "checking for ANSI C header files... " >&6; }
16696 if test "${ac_cv_header_stdc+set}" = set; then :
16697 $as_echo_n "(cached) " >&6
16699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16701 #include <stdlib.h>
16702 #include <stdarg.h>
16703 #include <string.h>
16714 if ac_fn_c_try_compile
"$LINENO"; then :
16715 ac_cv_header_stdc
=yes
16717 ac_cv_header_stdc
=no
16719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16721 if test $ac_cv_header_stdc = yes; then
16722 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16724 /* end confdefs.h. */
16725 #include <string.h>
16728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16729 $EGREP "memchr" >/dev
/null
2>&1; then :
16732 ac_cv_header_stdc
=no
16738 if test $ac_cv_header_stdc = yes; then
16739 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16741 /* end confdefs.h. */
16742 #include <stdlib.h>
16745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16746 $EGREP "free" >/dev
/null
2>&1; then :
16749 ac_cv_header_stdc
=no
16755 if test $ac_cv_header_stdc = yes; then
16756 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16757 if test "$cross_compiling" = yes; then :
16760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16763 #include <stdlib.h>
16764 #if ((' ' & 0x0FF) == 0x020)
16765 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16766 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16768 # define ISLOWER(c) \
16769 (('a' <= (c) && (c) <= 'i') \
16770 || ('j' <= (c) && (c) <= 'r') \
16771 || ('s' <= (c) && (c) <= 'z'))
16772 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16775 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16780 for (i = 0; i < 256; i++)
16781 if (XOR (islower (i), ISLOWER (i))
16782 || toupper (i) != TOUPPER (i))
16787 if ac_fn_c_try_run
"$LINENO"; then :
16790 ac_cv_header_stdc
=no
16792 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16793 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16799 $as_echo "$ac_cv_header_stdc" >&6; }
16800 if test $ac_cv_header_stdc = yes; then
16802 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16808 $as_echo_n "checking size of void *... " >&6; }
16809 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16810 $as_echo_n "(cached) " >&6
16812 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
16813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h. */
16815 #include "confdefs.h"
16816 #include <sys/types.h>
16822 switch (0) case 0: case (sizeof (void *) == $ac_size):;
16827 if ac_fn_c_try_compile
"$LINENO"; then :
16828 ac_cv_sizeof_void_p
=$ac_size
16830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16831 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
16836 if test x
$ac_cv_sizeof_void_p = x
; then
16837 as_fn_error
"cannot determine a size for void *" "$LINENO" 5
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16840 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16842 cat >>confdefs.h
<<_ACEOF
16843 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16849 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16850 if test "${ac_cv_c_bigendian+set}" = set; then :
16851 $as_echo_n "(cached) " >&6
16853 ac_cv_c_bigendian
=unknown
16854 # See if sys/param.h defines the BYTE_ORDER macro.
16855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16856 /* end confdefs.h. */
16857 #include <sys/types.h>
16858 #include <sys/param.h>
16863 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16864 bogus endian macros
16870 if ac_fn_c_try_compile
"$LINENO"; then :
16871 # It does; now see whether it defined to BIG_ENDIAN or not.
16872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16873 /* end confdefs.h. */
16874 #include <sys/types.h>
16875 #include <sys/param.h>
16880 #if BYTE_ORDER != BIG_ENDIAN
16887 if ac_fn_c_try_compile
"$LINENO"; then :
16888 ac_cv_c_bigendian
=yes
16890 ac_cv_c_bigendian
=no
16892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16895 if test $ac_cv_c_bigendian = unknown
; then
16896 if test "$cross_compiling" = yes; then :
16897 echo $ac_n "cross-compiling... " 2>&6
16899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h. */
16902 /* Are we little or big endian? From Harbison&Steele. */
16906 char c[sizeof (long)];
16909 exit (u.c[sizeof (long) - 1] == 1);
16912 if ac_fn_c_try_run
"$LINENO"; then :
16913 ac_cv_c_bigendian
=no
16915 ac_cv_c_bigendian
=yes
16917 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16918 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16924 $as_echo "$ac_cv_c_bigendian" >&6; }
16925 if test $ac_cv_c_bigendian = unknown
; then
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to probe for byte ordering" >&5
16927 $as_echo_n "checking to probe for byte ordering... " >&6; }
16929 cat >conftest.c
<<EOF
16930 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16931 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16932 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
16933 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16934 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16935 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
16936 int main() { _ascii (); _ebcdic (); return 0; }
16938 if test -f conftest.c
; then
16939 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
16940 if test `grep -l BIGenDianSyS conftest.o` ; then
16941 echo $ac_n ' big endian probe OK, ' 1>&6
16942 ac_cv_c_bigendian
=yes
16944 if test `grep -l LiTTleEnDian conftest.o` ; then
16945 echo $ac_n ' little endian probe OK, ' 1>&6
16946 if test $ac_cv_c_bigendian = yes ; then
16947 ac_cv_c_bigendian
=unknown
;
16949 ac_cv_c_bigendian
=no
16952 echo $ac_n 'guessing bigendian ... ' >&6
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16956 $as_echo "$ac_cv_c_bigendian" >&6; }
16958 if test $ac_cv_c_bigendian = yes; then
16960 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16963 $as_echo "#define HOST_WORDS_BIG_ENDIAN 1" >>confdefs.h
16970 cat >>confdefs.h
<<_ACEOF
16971 #define BYTEORDER $BYTEORDER
16974 if test $ac_cv_c_bigendian = unknown
; then
16975 as_fn_error
"unknown endianess - sorry, please pre-set ac_cv_c_bigendian" "$LINENO" 5
16979 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
16981 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
16988 sys
/event.h sys
/epoll.h \
16990 netinet
/in_systm.h netinet
/ip.h net
/if.h \
16991 sys
/loadavg.h sys
/sockio.h
16993 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16994 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16995 eval as_val
=\$
$as_ac_Header
16996 if test "x$as_val" = x
""yes; then :
16997 cat >>confdefs.h
<<_ACEOF
16998 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h. */
17008 #include <stdint.h>
17011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17012 $EGREP "uint32_t" >/dev
/null
2>&1; then :
17014 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17021 #include <inttypes.h>
17024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17025 $EGREP "uint32_t" >/dev
/null
2>&1; then :
17027 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17034 #include <sys/types.h>
17037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17038 $EGREP "u_int32_t" >/dev
/null
2>&1; then :
17040 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17047 #include <sys/config.h>
17050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17051 $EGREP "u_int32_t" >/dev
/null
2>&1; then :
17053 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
17060 $as_echo_n "checking for library containing inet_pton... " >&6; }
17061 if test "${ac_cv_search_inet_pton+set}" = set; then :
17062 $as_echo_n "(cached) " >&6
17064 ac_func_search_save_LIBS
=$LIBS
17065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17066 /* end confdefs.h. */
17068 /* Override any GCC internal prototype to avoid an error.
17069 Use char because int might match the return type of a GCC
17070 builtin and then its argument prototype would still apply. */
17078 return inet_pton ();
17083 for ac_lib
in '' nsl
; do
17084 if test -z "$ac_lib"; then
17085 ac_res
="none required"
17088 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17090 if test x
$gcc_no_link = xyes
; then
17091 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17093 if ac_fn_c_try_link
"$LINENO"; then :
17094 ac_cv_search_inet_pton
=$ac_res
17096 rm -f core conftest.err conftest.
$ac_objext \
17098 if test "${ac_cv_search_inet_pton+set}" = set; then :
17102 if test "${ac_cv_search_inet_pton+set}" = set; then :
17105 ac_cv_search_inet_pton
=no
17107 rm conftest.
$ac_ext
17108 LIBS
=$ac_func_search_save_LIBS
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
17111 $as_echo "$ac_cv_search_inet_pton" >&6; }
17112 ac_res
=$ac_cv_search_inet_pton
17113 if test "$ac_res" != no
; then :
17114 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lsocket" >&5
17119 $as_echo_n "checking for gethostname in -lsocket... " >&6; }
17120 if test "${ac_cv_lib_socket_gethostname+set}" = set; then :
17121 $as_echo_n "(cached) " >&6
17123 ac_check_lib_save_LIBS
=$LIBS
17124 LIBS
="-lsocket $LIBS"
17125 if test x
$gcc_no_link = xyes
; then
17126 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17131 /* Override any GCC internal prototype to avoid an error.
17132 Use char because int might match the return type of a GCC
17133 builtin and then its argument prototype would still apply. */
17137 char gethostname ();
17141 return gethostname ();
17146 if ac_fn_c_try_link
"$LINENO"; then :
17147 ac_cv_lib_socket_gethostname
=yes
17149 ac_cv_lib_socket_gethostname
=no
17151 rm -f core conftest.err conftest.
$ac_objext \
17152 conftest
$ac_exeext conftest.
$ac_ext
17153 LIBS
=$ac_check_lib_save_LIBS
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostname" >&5
17156 $as_echo "$ac_cv_lib_socket_gethostname" >&6; }
17157 if test "x$ac_cv_lib_socket_gethostname" = x
""yes; then :
17158 cat >>confdefs.h
<<_ACEOF
17159 #define HAVE_LIBSOCKET 1
17162 LIBS
="-lsocket $LIBS"
17166 for ac_func
in ftruncate fsync
select \
17167 gethostname socket strerror fork pipe execve open close \
17168 lseek fstat
read readv
write writev htonl memset htons connect \
17169 getsockname getpeername
bind listen accept \
17170 recvfrom send sendto setsockopt getsockopt
time mktime \
17171 gethostbyname_r localtime_r \
17175 mmap munmap mincore msync madvise getpagesize sysconf \
17177 inet_aton inet_addr inet_pton \
17178 getifaddrs kqueue kevent epoll_create \
17181 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17182 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17183 eval as_val
=\$
$as_ac_var
17184 if test "x$as_val" = x
""yes; then :
17185 cat >>confdefs.h
<<_ACEOF
17186 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
17195 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
17196 if test "${ac_cv_lib_magic_magic_open+set}" = set; then :
17197 $as_echo_n "(cached) " >&6
17199 ac_check_lib_save_LIBS
=$LIBS
17200 LIBS
="-lmagic $LIBS"
17201 if test x
$gcc_no_link = xyes
; then
17202 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17207 /* Override any GCC internal prototype to avoid an error.
17208 Use char because int might match the return type of a GCC
17209 builtin and then its argument prototype would still apply. */
17213 char magic_open ();
17217 return magic_open ();
17222 if ac_fn_c_try_link
"$LINENO"; then :
17223 ac_cv_lib_magic_magic_open
=yes
17225 ac_cv_lib_magic_magic_open
=no
17227 rm -f core conftest.err conftest.
$ac_objext \
17228 conftest
$ac_exeext conftest.
$ac_ext
17229 LIBS
=$ac_check_lib_save_LIBS
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
17232 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
17233 if test "x$ac_cv_lib_magic_magic_open" = x
""yes; then :
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
17240 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
17241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17242 /* end confdefs.h. */
17243 #include <netinet/in.h>
17247 struct sockaddr_in6 addr6;
17252 if ac_fn_c_try_compile
"$LINENO"; then :
17254 $as_echo "#define HAVE_INET6 1" >>confdefs.h
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17257 $as_echo "yes" >&6; }
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17260 $as_echo "no" >&6; }
17262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
17265 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
17266 if test "${ac_cv_header_time+set}" = set; then :
17267 $as_echo_n "(cached) " >&6
17269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17270 /* end confdefs.h. */
17271 #include <sys/types.h>
17272 #include <sys/time.h>
17278 if ((struct tm *) 0)
17284 if ac_fn_c_try_compile
"$LINENO"; then :
17285 ac_cv_header_time
=yes
17287 ac_cv_header_time
=no
17289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
17292 $as_echo "$ac_cv_header_time" >&6; }
17293 if test $ac_cv_header_time = yes; then
17295 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
17300 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
17301 if test "${ac_cv_struct_tm+set}" = set; then :
17302 $as_echo_n "(cached) " >&6
17304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17305 /* end confdefs.h. */
17306 #include <sys/types.h>
17313 int *p = &tm.tm_sec;
17319 if ac_fn_c_try_compile
"$LINENO"; then :
17320 ac_cv_struct_tm
=time.h
17322 ac_cv_struct_tm
=sys
/time.h
17324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
17327 $as_echo "$ac_cv_struct_tm" >&6; }
17328 if test $ac_cv_struct_tm = sys
/time.h
; then
17330 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
17334 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
17335 #include <$ac_cv_struct_tm>
17338 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
17340 cat >>confdefs.h
<<_ACEOF
17341 #define HAVE_STRUCT_TM_TM_ZONE 1
17347 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
17349 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
17352 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
17354 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
17360 cat >>confdefs.h
<<_ACEOF
17361 #define HAVE_DECL_TZNAME $ac_have_decl
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
17365 $as_echo_n "checking for tzname... " >&6; }
17366 if test "${ac_cv_var_tzname+set}" = set; then :
17367 $as_echo_n "(cached) " >&6
17369 if test x
$gcc_no_link = xyes
; then
17370 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17373 /* end confdefs.h. */
17375 #if !HAVE_DECL_TZNAME
17376 extern char *tzname[];
17382 return tzname[0][0];
17387 if ac_fn_c_try_link
"$LINENO"; then :
17388 ac_cv_var_tzname
=yes
17390 ac_cv_var_tzname
=no
17392 rm -f core conftest.err conftest.
$ac_objext \
17393 conftest
$ac_exeext conftest.
$ac_ext
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
17396 $as_echo "$ac_cv_var_tzname" >&6; }
17397 if test $ac_cv_var_tzname = yes; then
17399 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
17406 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
17407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17413 struct tm tim; tim.tm_gmtoff = 0;
17418 if ac_fn_c_try_compile
"$LINENO"; then :
17420 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17423 $as_echo "yes" >&6; }
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17426 $as_echo "no" >&6; }
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
17428 $as_echo_n "checking for global timezone variable... " >&6; }
17429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h. */
17435 void i(){long z2 = 2*timezone;}
17440 if ac_fn_c_try_compile
"$LINENO"; then :
17442 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17445 $as_echo "yes" >&6; }
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17448 $as_echo "no" >&6; }
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
17450 $as_echo_n "checking for global _timezone variable... " >&6; }
17451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17457 long z2 = _timezone;
17462 if ac_fn_c_try_compile
"$LINENO"; then :
17464 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17467 $as_echo "yes" >&6; }
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17470 $as_echo "no" >&6; }
17472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17479 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17480 if test "${ac_cv_c_const+set}" = set; then :
17481 $as_echo_n "(cached) " >&6
17483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17484 /* end confdefs.h. */
17489 /* FIXME: Include the comments suggested by Paul. */
17490 #ifndef __cplusplus
17491 /* Ultrix mips cc rejects this. */
17492 typedef int charset[2];
17494 /* SunOS 4.1.1 cc rejects this. */
17495 char const *const *pcpcc;
17497 /* NEC SVR4.0.2 mips cc rejects this. */
17498 struct point {int x, y;};
17499 static struct point const zero = {0,0};
17500 /* AIX XL C 1.02.0.0 rejects this.
17501 It does not let you subtract one const X* pointer from another in
17502 an arm of an if-expression whose if-part is not a constant
17504 const char *g = "string";
17505 pcpcc = &g + (g ? g-g : 0);
17506 /* HPUX 7.0 cc rejects these. */
17508 ppc = (char**) pcpcc;
17509 pcpcc = (char const *const *) ppc;
17510 { /* SCO 3.2v4 cc rejects this. */
17512 char const *s = 0 ? (char *) 0 : (char const *) 0;
17517 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17518 int x[] = {25, 17};
17519 const int *foo = &x[0];
17522 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17523 typedef const int *iptr;
17527 { /* AIX XL C 1.02.0.0 rejects this saying
17528 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17529 struct s { int j; const int *ap[3]; };
17530 struct s *b; b->j = 5;
17532 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17533 const int foo = 10;
17534 if (!foo) return 0;
17536 return !cs[0] && !zero.x;
17543 if ac_fn_c_try_compile
"$LINENO"; then :
17548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17551 $as_echo "$ac_cv_c_const" >&6; }
17552 if test $ac_cv_c_const = no
; then
17554 $as_echo "#define const /**/" >>confdefs.h
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17559 $as_echo_n "checking for inline... " >&6; }
17560 if test "${ac_cv_c_inline+set}" = set; then :
17561 $as_echo_n "(cached) " >&6
17564 for ac_kw
in inline __inline__ __inline
; do
17565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567 #ifndef __cplusplus
17569 static $ac_kw foo_t static_foo () {return 0; }
17570 $ac_kw foo_t foo () {return 0; }
17574 if ac_fn_c_try_compile
"$LINENO"; then :
17575 ac_cv_c_inline
=$ac_kw
17577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17578 test "$ac_cv_c_inline" != no
&& break
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17583 $as_echo "$ac_cv_c_inline" >&6; }
17585 case $ac_cv_c_inline in
17588 case $ac_cv_c_inline in
17590 *) ac_val
=$ac_cv_c_inline;;
17592 cat >>confdefs.h
<<_ACEOF
17593 #ifndef __cplusplus
17594 #define inline $ac_val
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
17601 $as_echo_n "checking for __attribute__... " >&6; }
17602 if test "${ac_cv_c_attribute+set}" = set; then :
17603 $as_echo_n "(cached) " >&6
17606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 void foo(void) __attribute__ ((__noreturn__));
17611 if ac_fn_c_try_compile
"$LINENO"; then :
17612 ac_cv_c_attribute
=yes
17614 ac_cv_c_attribute
=no
17617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_attribute" >&5
17621 $as_echo "$ac_cv_c_attribute" >&6; }
17623 case $ac_cv_c_attribute in
17626 cat >>confdefs.h
<<_ACEOF
17627 #define __attribute__(x) /* nothing */
17635 ac_cpp
='$CPP $CPPFLAGS'
17636 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17637 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17638 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
17641 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
17643 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
17644 $as_echo_n "(cached) " >&6
17648 ################################################################
17650 ac_cv_func_which_gethostbyname_r
=unknown
17653 # ONE ARGUMENT (sanity check)
17656 # This should fail, as there is no variant of gethostbyname_r() that takes
17657 # a single argument. If it actually compiles, then we can assume that
17658 # netdb.h is not declaring the function, and the compiler is thereby
17659 # assuming an implicit prototype. In which case, we're out of luck.
17661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17662 /* end confdefs.h. */
17668 char *name = "www.gnu.org";
17669 (void)gethostbyname_r(name) /* ; */
17675 if ac_fn_c_try_compile
"$LINENO"; then :
17676 ac_cv_func_which_gethostbyname_r
=no
17678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17685 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17688 /* end confdefs.h. */
17694 char *name = "www.gnu.org";
17695 struct hostent ret, *retp;
17699 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
17705 if ac_fn_c_try_compile
"$LINENO"; then :
17706 ac_cv_func_which_gethostbyname_r
=six
17708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17717 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17726 char *name = "www.gnu.org";
17727 struct hostent ret;
17731 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
17737 if ac_fn_c_try_compile
"$LINENO"; then :
17738 ac_cv_func_which_gethostbyname_r
=five
17740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17746 # (e.g. AIX, HP-UX, Tru64)
17749 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17752 /* end confdefs.h. */
17758 char *name = "www.gnu.org";
17759 struct hostent ret;
17760 struct hostent_data data;
17761 (void)gethostbyname_r(name, &ret, &data) /* ; */
17767 if ac_fn_c_try_compile
"$LINENO"; then :
17768 ac_cv_func_which_gethostbyname_r
=three
17770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17774 ################################################################
17779 case "$ac_cv_func_which_gethostbyname_r" in
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
17782 $as_echo "three" >&6; }
17784 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
17790 $as_echo "five" >&6; }
17792 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
17798 $as_echo "six" >&6; }
17800 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
17806 $as_echo "cannot find function declaration in netdb.h" >&6; }
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
17811 $as_echo "can't tell" >&6; }
17815 as_fn_error
"internal error" "$LINENO" 5
17820 ac_cpp
='$CPP $CPPFLAGS'
17821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17829 if test "X$prefix" = "XNONE"; then
17830 acl_final_prefix
="$ac_default_prefix"
17832 acl_final_prefix
="$prefix"
17834 if test "X$exec_prefix" = "XNONE"; then
17835 acl_final_exec_prefix
='${prefix}'
17837 acl_final_exec_prefix
="$exec_prefix"
17839 acl_save_prefix
="$prefix"
17840 prefix
="$acl_final_prefix"
17841 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
17842 prefix
="$acl_save_prefix"
17845 # Check whether --with-gnu-ld was given.
17846 if test "${with_gnu_ld+set}" = set; then :
17847 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
17852 # Prepare PATH_SEPARATOR.
17853 # The user is always right.
17854 if test "${PATH_SEPARATOR+set}" != set; then
17855 echo "#! /bin/sh" >conf$$.sh
17856 echo "exit 0" >>conf$$.sh
17858 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17866 if test "$GCC" = yes; then
17867 # Check if gcc -print-prog-name=ld gives a path.
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17869 $as_echo_n "checking for ld used by GCC... " >&6; }
17872 # gcc leaves a trailing carriage return which upsets mingw
17873 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17875 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
17878 # Accept absolute paths.
17879 [\\/]* |
[A-Za-z
]:[\\/]*)
17880 re_direlt
='/[^/][^/]*/\.\./'
17881 # Canonicalize the path of ld
17882 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
17883 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
17884 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
17886 test -z "$LD" && LD
="$ac_prog"
17889 # If it fails, then pretend we aren't using GCC.
17893 # If it is relative, then search for the first ld in PATH.
17894 with_gnu_ld
=unknown
17897 elif test "$with_gnu_ld" = yes; then
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17899 $as_echo_n "checking for GNU ld... " >&6; }
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17902 $as_echo_n "checking for non-GNU ld... " >&6; }
17904 if test "${acl_cv_path_LD+set}" = set; then :
17905 $as_echo_n "(cached) " >&6
17907 if test -z "$LD"; then
17908 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17909 for ac_dir
in $PATH; do
17910 test -z "$ac_dir" && ac_dir
=.
17911 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
17912 acl_cv_path_LD
="$ac_dir/$ac_prog"
17913 # Check to see if the program is GNU ld. I'd rather use --version,
17914 # but apparently some GNU ld's only accept -v.
17915 # Break only if it was the GNU/non-GNU ld that we prefer.
17916 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
17917 test "$with_gnu_ld" != no
&& break
17919 test "$with_gnu_ld" != yes && break
17925 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
17929 LD
="$acl_cv_path_LD"
17930 if test -n "$LD"; then
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17932 $as_echo "$LD" >&6; }
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17935 $as_echo "no" >&6; }
17937 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17939 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17940 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
17941 $as_echo_n "(cached) " >&6
17943 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
17944 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
17945 acl_cv_prog_gnu_ld
=yes
17947 acl_cv_prog_gnu_ld
=no
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17951 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
17952 with_gnu_ld
=$acl_cv_prog_gnu_ld
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17957 $as_echo_n "checking for shared library run path origin... " >&6; }
17958 if test "${acl_cv_rpath+set}" = set; then :
17959 $as_echo_n "(cached) " >&6
17962 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
17963 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17965 rm -f .
/conftest.sh
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17970 $as_echo "$acl_cv_rpath" >&6; }
17972 libext
="$acl_cv_libext"
17973 shlibext
="$acl_cv_shlibext"
17974 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
17975 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
17976 hardcode_direct
="$acl_cv_hardcode_direct"
17977 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
17978 # Check whether --enable-rpath was given.
17979 if test "${enable_rpath+set}" = set; then :
17980 enableval
=$enable_rpath; :
17994 acl_save_prefix
="$prefix"
17995 prefix
="$acl_final_prefix"
17996 acl_save_exec_prefix
="$exec_prefix"
17997 exec_prefix
="$acl_final_exec_prefix"
17999 eval additional_includedir
=\"$includedir\"
18000 eval additional_libdir
=\"$libdir\"
18002 exec_prefix
="$acl_save_exec_prefix"
18003 prefix
="$acl_save_prefix"
18006 # Check whether --with-libiconv-prefix was given.
18007 if test "${with_libiconv_prefix+set}" = set; then :
18008 withval
=$with_libiconv_prefix;
18009 if test "X$withval" = "Xno"; then
18012 if test "X$withval" = "X"; then
18014 acl_save_prefix
="$prefix"
18015 prefix
="$acl_final_prefix"
18016 acl_save_exec_prefix
="$exec_prefix"
18017 exec_prefix
="$acl_final_exec_prefix"
18019 eval additional_includedir
=\"$includedir\"
18020 eval additional_libdir
=\"$libdir\"
18022 exec_prefix
="$acl_save_exec_prefix"
18023 prefix
="$acl_save_prefix"
18026 additional_includedir
="$withval/include"
18027 additional_libdir
="$withval/lib"
18038 names_already_handled
=
18039 names_next_round
='iconv '
18040 while test -n "$names_next_round"; do
18041 names_this_round
="$names_next_round"
18043 for name
in $names_this_round; do
18045 for n
in $names_already_handled; do
18046 if test "$n" = "$name"; then
18047 already_handled
=yes
18051 if test -z "$already_handled"; then
18052 names_already_handled
="$names_already_handled $name"
18053 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18054 eval value
=\"\
$HAVE_LIB$uppername\"
18055 if test -n "$value"; then
18056 if test "$value" = yes; then
18057 eval value
=\"\
$LIB$uppername\"
18058 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
18059 eval value
=\"\
$LTLIB$uppername\"
18060 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
18069 if test $use_additional = yes; then
18070 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
18071 found_dir
="$additional_libdir"
18072 found_so
="$additional_libdir/lib$name.$shlibext"
18073 if test -f "$additional_libdir/lib$name.la"; then
18074 found_la
="$additional_libdir/lib$name.la"
18077 if test -f "$additional_libdir/lib$name.$libext"; then
18078 found_dir
="$additional_libdir"
18079 found_a
="$additional_libdir/lib$name.$libext"
18080 if test -f "$additional_libdir/lib$name.la"; then
18081 found_la
="$additional_libdir/lib$name.la"
18086 if test "X$found_dir" = "X"; then
18087 for x
in $LDFLAGS $LTLIBICONV; do
18089 acl_save_prefix
="$prefix"
18090 prefix
="$acl_final_prefix"
18091 acl_save_exec_prefix
="$exec_prefix"
18092 exec_prefix
="$acl_final_exec_prefix"
18094 exec_prefix
="$acl_save_exec_prefix"
18095 prefix
="$acl_save_prefix"
18099 dir
=`echo "X$x" | sed -e 's/^X-L//'`
18100 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
18102 found_so
="$dir/lib$name.$shlibext"
18103 if test -f "$dir/lib$name.la"; then
18104 found_la
="$dir/lib$name.la"
18107 if test -f "$dir/lib$name.$libext"; then
18109 found_a
="$dir/lib$name.$libext"
18110 if test -f "$dir/lib$name.la"; then
18111 found_la
="$dir/lib$name.la"
18117 if test "X$found_dir" != "X"; then
18122 if test "X$found_dir" != "X"; then
18123 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18124 if test "X$found_so" != "X"; then
18125 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
18126 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18129 for x
in $ltrpathdirs; do
18130 if test "X$x" = "X$found_dir"; then
18135 if test -z "$haveit"; then
18136 ltrpathdirs
="$ltrpathdirs $found_dir"
18138 if test "$hardcode_direct" = yes; then
18139 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18141 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
18142 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18144 for x
in $rpathdirs; do
18145 if test "X$x" = "X$found_dir"; then
18150 if test -z "$haveit"; then
18151 rpathdirs
="$rpathdirs $found_dir"
18155 for x
in $LDFLAGS $LIBICONV; do
18157 acl_save_prefix
="$prefix"
18158 prefix
="$acl_final_prefix"
18159 acl_save_exec_prefix
="$exec_prefix"
18160 exec_prefix
="$acl_final_exec_prefix"
18162 exec_prefix
="$acl_save_exec_prefix"
18163 prefix
="$acl_save_prefix"
18165 if test "X$x" = "X-L$found_dir"; then
18170 if test -z "$haveit"; then
18171 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18173 if test "$hardcode_minus_L" != no
; then
18174 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18176 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18182 if test "X$found_a" != "X"; then
18183 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
18185 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18188 additional_includedir
=
18189 case "$found_dir" in
18191 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
18192 additional_includedir
="$basedir/include"
18195 if test "X$additional_includedir" != "X"; then
18196 if test "X$additional_includedir" != "X/usr/include"; then
18198 if test "X$additional_includedir" = "X/usr/local/include"; then
18199 if test -n "$GCC"; then
18201 linux
*) haveit
=yes;;
18205 if test -z "$haveit"; then
18206 for x
in $CPPFLAGS $INCICONV; do
18208 acl_save_prefix
="$prefix"
18209 prefix
="$acl_final_prefix"
18210 acl_save_exec_prefix
="$exec_prefix"
18211 exec_prefix
="$acl_final_exec_prefix"
18213 exec_prefix
="$acl_save_exec_prefix"
18214 prefix
="$acl_save_prefix"
18216 if test "X$x" = "X-I$additional_includedir"; then
18221 if test -z "$haveit"; then
18222 if test -d "$additional_includedir"; then
18223 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18229 if test -n "$found_la"; then
18230 save_libdir
="$libdir"
18231 case "$found_la" in
18232 */* |
*\\*) .
"$found_la" ;;
18233 *) .
"./$found_la" ;;
18235 libdir
="$save_libdir"
18236 for dep
in $dependency_libs; do
18239 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
18240 if test "X$additional_libdir" != "X/usr/lib"; then
18242 if test "X$additional_libdir" = "X/usr/local/lib"; then
18243 if test -n "$GCC"; then
18245 linux
*) haveit
=yes;;
18249 if test -z "$haveit"; then
18251 for x
in $LDFLAGS $LIBICONV; do
18253 acl_save_prefix
="$prefix"
18254 prefix
="$acl_final_prefix"
18255 acl_save_exec_prefix
="$exec_prefix"
18256 exec_prefix
="$acl_final_exec_prefix"
18258 exec_prefix
="$acl_save_exec_prefix"
18259 prefix
="$acl_save_prefix"
18261 if test "X$x" = "X-L$additional_libdir"; then
18266 if test -z "$haveit"; then
18267 if test -d "$additional_libdir"; then
18268 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18272 for x
in $LDFLAGS $LTLIBICONV; do
18274 acl_save_prefix
="$prefix"
18275 prefix
="$acl_final_prefix"
18276 acl_save_exec_prefix
="$exec_prefix"
18277 exec_prefix
="$acl_final_exec_prefix"
18279 exec_prefix
="$acl_save_exec_prefix"
18280 prefix
="$acl_save_prefix"
18282 if test "X$x" = "X-L$additional_libdir"; then
18287 if test -z "$haveit"; then
18288 if test -d "$additional_libdir"; then
18289 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18296 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
18297 if test "$enable_rpath" != no
; then
18299 for x
in $rpathdirs; do
18300 if test "X$x" = "X$dir"; then
18305 if test -z "$haveit"; then
18306 rpathdirs
="$rpathdirs $dir"
18309 for x
in $ltrpathdirs; do
18310 if test "X$x" = "X$dir"; then
18315 if test -z "$haveit"; then
18316 ltrpathdirs
="$ltrpathdirs $dir"
18321 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18324 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18327 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
18328 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18334 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18335 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18341 if test "X$rpathdirs" != "X"; then
18342 if test -n "$hardcode_libdir_separator"; then
18344 for found_dir
in $rpathdirs; do
18345 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
18347 acl_save_libdir
="$libdir"
18349 eval flag
=\"$hardcode_libdir_flag_spec\"
18350 libdir
="$acl_save_libdir"
18351 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
18353 for found_dir
in $rpathdirs; do
18354 acl_save_libdir
="$libdir"
18355 libdir
="$found_dir"
18356 eval flag
=\"$hardcode_libdir_flag_spec\"
18357 libdir
="$acl_save_libdir"
18358 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
18362 if test "X$ltrpathdirs" != "X"; then
18363 for found_dir
in $ltrpathdirs; do
18364 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18374 am_save_CPPFLAGS
="$CPPFLAGS"
18376 for element
in $INCICONV; do
18378 for x
in $CPPFLAGS; do
18380 acl_save_prefix
="$prefix"
18381 prefix
="$acl_final_prefix"
18382 acl_save_exec_prefix
="$exec_prefix"
18383 exec_prefix
="$acl_final_exec_prefix"
18385 exec_prefix
="$acl_save_exec_prefix"
18386 prefix
="$acl_save_prefix"
18388 if test "X$x" = "X$element"; then
18393 if test -z "$haveit"; then
18394 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18400 $as_echo_n "checking for iconv... " >&6; }
18401 if test "${am_cv_func_iconv+set}" = set; then :
18402 $as_echo_n "(cached) " >&6
18405 am_cv_func_iconv
="no, consider installing GNU libiconv"
18407 if test x
$gcc_no_link = xyes
; then
18408 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18411 /* end confdefs.h. */
18412 #include <stdlib.h>
18417 iconv_t cd = iconv_open("","");
18418 iconv(cd,NULL,NULL,NULL,NULL);
18424 if ac_fn_c_try_link
"$LINENO"; then :
18425 am_cv_func_iconv
=yes
18427 rm -f core conftest.err conftest.
$ac_objext \
18428 conftest
$ac_exeext conftest.
$ac_ext
18429 if test "$am_cv_func_iconv" != yes; then
18430 am_save_LIBS
="$LIBS"
18431 LIBS
="$LIBS $LIBICONV"
18432 if test x
$gcc_no_link = xyes
; then
18433 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18436 /* end confdefs.h. */
18437 #include <stdlib.h>
18442 iconv_t cd = iconv_open("","");
18443 iconv(cd,NULL,NULL,NULL,NULL);
18449 if ac_fn_c_try_link
"$LINENO"; then :
18450 am_cv_lib_iconv
=yes
18451 am_cv_func_iconv
=yes
18453 rm -f core conftest.err conftest.
$ac_objext \
18454 conftest
$ac_exeext conftest.
$ac_ext
18455 LIBS
="$am_save_LIBS"
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18460 $as_echo "$am_cv_func_iconv" >&6; }
18461 if test "$am_cv_func_iconv" = yes; then
18463 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18466 if test "$am_cv_lib_iconv" = yes; then
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18468 $as_echo_n "checking how to link with libiconv... " >&6; }
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18470 $as_echo "$LIBICONV" >&6; }
18472 CPPFLAGS
="$am_save_CPPFLAGS"
18479 if test "$am_cv_func_iconv" = yes; then
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
18481 $as_echo_n "checking for iconv declaration... " >&6; }
18482 if test "${am_cv_proto_iconv+set}" = set; then :
18483 $as_echo_n "(cached) " >&6
18486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18487 /* end confdefs.h. */
18489 #include <stdlib.h>
18495 #if defined(__STDC__) || defined(__cplusplus)
18496 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
18509 if ac_fn_c_try_compile
"$LINENO"; then :
18510 am_cv_proto_iconv_arg1
=""
18512 am_cv_proto_iconv_arg1
="const"
18514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18515 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);"
18518 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
18520 }$am_cv_proto_iconv" >&5
18522 }$am_cv_proto_iconv" >&6; }
18524 cat >>confdefs.h
<<_ACEOF
18525 #define ICONV_CONST $am_cv_proto_iconv_arg1
18531 if test "x${GCC}" = xyes
; then
18533 WARNING_CFLAGS
='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
18536 EXTRA_CFLAGS
='-fexceptions -fasynchronous-unwind-tables'
18539 STRICT_WARNING_CFLAGS
='-Wstrict-prototypes -pedantic'
18543 if test "x${ENABLE_WERROR}" = xyes
; then
18544 ERROR_CFLAGS
='-Werror'
18549 if test "x${COMPILE_XMLJ}" = xyes
; then
18553 if test -z "$PKG_CONFIG"; then
18554 # Extract the first word of "pkg-config", so it can be a program name with args.
18555 set dummy pkg-config
; ac_word
=$2
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18557 $as_echo_n "checking for $ac_word... " >&6; }
18558 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18559 $as_echo_n "(cached) " >&6
18561 case $PKG_CONFIG in
18563 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18567 for as_dir
in $PATH
18570 test -z "$as_dir" && as_dir
=.
18571 for ac_exec_ext
in '' $ac_executable_extensions; do
18572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18573 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18581 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
18585 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18586 if test -n "$PKG_CONFIG"; then
18587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18588 $as_echo "$PKG_CONFIG" >&6; }
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18591 $as_echo "no" >&6; }
18597 if test "$PKG_CONFIG" = "no" ; then
18598 echo "*** The pkg-config script could not be found. Make sure it is"
18599 echo "*** in your path, or set the PKG_CONFIG environment variable"
18600 echo "*** to the full path to pkg-config."
18601 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18603 PKG_CONFIG_MIN_VERSION
=0.9.0
18604 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.6.8" >&5
18606 $as_echo_n "checking for libxml-2.0 >= 2.6.8... " >&6; }
18608 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18610 $as_echo "yes" >&6; }
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_CFLAGS" >&5
18614 $as_echo_n "checking XML_CFLAGS... " >&6; }
18615 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CFLAGS" >&5
18617 $as_echo "$XML_CFLAGS" >&6; }
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_LIBS" >&5
18620 $as_echo_n "checking XML_LIBS... " >&6; }
18621 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_LIBS" >&5
18623 $as_echo "$XML_LIBS" >&6; }
18627 ## If we have a custom action on failure, don't print errors, but
18628 ## do set a variable so people can do so.
18629 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
18630 echo $XML_PKG_ERRORS
18636 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18637 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18641 if test $succeeded = yes; then
18644 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
18650 if test -z "$PKG_CONFIG"; then
18651 # Extract the first word of "pkg-config", so it can be a program name with args.
18652 set dummy pkg-config
; ac_word
=$2
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18654 $as_echo_n "checking for $ac_word... " >&6; }
18655 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18656 $as_echo_n "(cached) " >&6
18658 case $PKG_CONFIG in
18660 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18664 for as_dir
in $PATH
18667 test -z "$as_dir" && as_dir
=.
18668 for ac_exec_ext
in '' $ac_executable_extensions; do
18669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18670 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18678 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
18682 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18683 if test -n "$PKG_CONFIG"; then
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18685 $as_echo "$PKG_CONFIG" >&6; }
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18688 $as_echo "no" >&6; }
18694 if test "$PKG_CONFIG" = "no" ; then
18695 echo "*** The pkg-config script could not be found. Make sure it is"
18696 echo "*** in your path, or set the PKG_CONFIG environment variable"
18697 echo "*** to the full path to pkg-config."
18698 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18700 PKG_CONFIG_MIN_VERSION
=0.9.0
18701 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxslt >= 1.1.11" >&5
18703 $as_echo_n "checking for libxslt >= 1.1.11... " >&6; }
18705 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18707 $as_echo "yes" >&6; }
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_CFLAGS" >&5
18711 $as_echo_n "checking XSLT_CFLAGS... " >&6; }
18712 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_CFLAGS" >&5
18714 $as_echo "$XSLT_CFLAGS" >&6; }
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_LIBS" >&5
18717 $as_echo_n "checking XSLT_LIBS... " >&6; }
18718 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_LIBS" >&5
18720 $as_echo "$XSLT_LIBS" >&6; }
18724 ## If we have a custom action on failure, don't print errors, but
18725 ## do set a variable so people can do so.
18726 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
18727 echo $XSLT_PKG_ERRORS
18733 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18734 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18738 if test $succeeded = yes; then
18741 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
18750 if test "x${COMPILE_GTK_PEER}" = xyes
; then
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
18752 $as_echo_n "checking for X... " >&6; }
18755 # Check whether --with-x was given.
18756 if test "${with_x+set}" = set; then :
18760 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18761 if test "x$with_x" = xno
; then
18762 # The user explicitly disabled X.
18765 case $x_includes,$x_libraries in #(
18766 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
18767 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
18768 $as_echo_n "(cached) " >&6
18770 # One or both of the vars are not set, and there is no cached value.
18771 ac_x_includes
=no ac_x_libraries
=no
18772 rm -f -r conftest.dir
18773 if mkdir conftest.dir
; then
18775 cat >Imakefile
<<'_ACEOF'
18777 @echo incroot='${INCROOT}'
18779 @echo usrlibdir='${USRLIBDIR}'
18781 @echo libdir='${LIBDIR}'
18783 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
18784 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18785 for ac_var
in incroot usrlibdir libdir
; do
18786 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
18788 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
18789 for ac_extension
in a so sl dylib la dll
; do
18790 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
18791 test -f "$ac_im_libdir/libX11.$ac_extension"; then
18792 ac_im_usrlibdir
=$ac_im_libdir; break
18795 # Screen out bogus values from the imake configuration. They are
18796 # bogus both because they are the default anyway, and because
18797 # using them would break gcc on systems where it needs fixed includes.
18798 case $ac_im_incroot in
18799 /usr
/include
) ac_x_includes
= ;;
18800 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
18802 case $ac_im_usrlibdir in
18803 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
18804 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
18808 rm -f -r conftest.dir
18811 # Standard set of common directories for X headers.
18812 # Check X11 before X11Rn because it is often a symlink to the current release.
18826 /usr/local/X11/include
18827 /usr/local/X11R7/include
18828 /usr/local/X11R6/include
18829 /usr/local/X11R5/include
18830 /usr/local/X11R4/include
18832 /usr/local/include/X11
18833 /usr/local/include/X11R7
18834 /usr/local/include/X11R6
18835 /usr/local/include/X11R5
18836 /usr/local/include/X11R4
18840 /usr/XFree86/include/X11
18844 /usr/unsupported/include
18845 /usr/athena/include
18846 /usr/local/x11r5/include
18847 /usr/lpp/Xamples/include
18849 /usr/openwin/include
18850 /usr/openwin/share/include'
18852 if test "$ac_x_includes" = no
; then
18853 # Guess where to find include files, by looking for Xlib.h.
18854 # First, try using that file with no special directory specified.
18855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18857 #include <X11/Xlib.h>
18859 if ac_fn_c_try_cpp
"$LINENO"; then :
18860 # We can compile using X headers with no special include directory.
18863 for ac_dir
in $ac_x_header_dirs; do
18864 if test -r "$ac_dir/X11/Xlib.h"; then
18865 ac_x_includes
=$ac_dir
18870 rm -f conftest.err conftest.
$ac_ext
18871 fi # $ac_x_includes = no
18873 if test "$ac_x_libraries" = no
; then
18874 # Check for the libraries.
18875 # See if we find them without any special options.
18876 # Don't add to $LIBS permanently.
18879 if test x
$gcc_no_link = xyes
; then
18880 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18883 /* end confdefs.h. */
18884 #include <X11/Xlib.h>
18893 if ac_fn_c_try_link
"$LINENO"; then :
18895 # We can link X programs with no special library path.
18899 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
18901 # Don't even attempt the hair of trying to link an X program!
18902 for ac_extension
in a so sl dylib la dll
; do
18903 if test -r "$ac_dir/libX11.$ac_extension"; then
18904 ac_x_libraries
=$ac_dir
18910 rm -f core conftest.err conftest.
$ac_objext \
18911 conftest
$ac_exeext conftest.
$ac_ext
18912 fi # $ac_x_libraries = no
18914 case $ac_x_includes,$ac_x_libraries in #(
18915 no
,* |
*,no |
*\'*)
18916 # Didn't find X, or a directory has "'" in its name.
18917 ac_cv_have_x
="have_x=no";; #(
18919 # Record where we found X for the cache.
18920 ac_cv_have_x
="have_x=yes\
18921 ac_x_includes='$ac_x_includes'\
18922 ac_x_libraries='$ac_x_libraries'"
18928 eval "$ac_cv_have_x"
18931 if test "$have_x" != yes; then
18932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
18933 $as_echo "$have_x" >&6; }
18936 # If each of the values was on the command line, it overrides each guess.
18937 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
18938 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
18939 # Update the cache value to reflect the command line values.
18940 ac_cv_have_x
="have_x=yes\
18941 ac_x_includes='$x_includes'\
18942 ac_x_libraries='$x_libraries'"
18943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
18944 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
18947 if test "$no_x" = yes; then
18948 # Not all programs may use this symbol, but it does not hurt to define it.
18950 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
18952 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
18954 if test -n "$x_includes"; then
18955 X_CFLAGS
="$X_CFLAGS -I$x_includes"
18958 # It would also be nice to do this for all -L options, not just this one.
18959 if test -n "$x_libraries"; then
18960 X_LIBS
="$X_LIBS -L$x_libraries"
18961 # For Solaris; some versions of Sun CC require a space after -R and
18962 # others require no space. Words are not sufficient . . . .
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
18964 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
18965 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
18966 ac_xsave_c_werror_flag
=$ac_c_werror_flag
18967 ac_c_werror_flag
=yes
18968 if test x
$gcc_no_link = xyes
; then
18969 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18972 /* end confdefs.h. */
18982 if ac_fn_c_try_link
"$LINENO"; then :
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18984 $as_echo "no" >&6; }
18985 X_LIBS
="$X_LIBS -R$x_libraries"
18987 LIBS
="$ac_xsave_LIBS -R $x_libraries"
18988 if test x
$gcc_no_link = xyes
; then
18989 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18992 /* end confdefs.h. */
19002 if ac_fn_c_try_link
"$LINENO"; then :
19003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19004 $as_echo "yes" >&6; }
19005 X_LIBS
="$X_LIBS -R $x_libraries"
19007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
19008 $as_echo "neither works" >&6; }
19010 rm -f core conftest.err conftest.
$ac_objext \
19011 conftest
$ac_exeext conftest.
$ac_ext
19013 rm -f core conftest.err conftest.
$ac_objext \
19014 conftest
$ac_exeext conftest.
$ac_ext
19015 ac_c_werror_flag
=$ac_xsave_c_werror_flag
19016 LIBS
=$ac_xsave_LIBS
19019 # Check for system-dependent libraries X programs must link with.
19020 # Do this before checking for the system-independent R6 libraries
19021 # (-lICE), since we may need -lsocket or whatever for X linking.
19023 if test "$ISC" = yes; then
19024 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19026 # Martyn Johnson says this is needed for Ultrix, if the X
19027 # libraries were built with DECnet support. And Karl Berry says
19028 # the Alpha needs dnet_stub (dnet does not exist).
19029 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19030 if test x
$gcc_no_link = xyes
; then
19031 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19036 /* Override any GCC internal prototype to avoid an error.
19037 Use char because int might match the return type of a GCC
19038 builtin and then its argument prototype would still apply. */
19042 char XOpenDisplay ();
19046 return XOpenDisplay ();
19051 if ac_fn_c_try_link
"$LINENO"; then :
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
19055 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
19056 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
19057 $as_echo_n "(cached) " >&6
19059 ac_check_lib_save_LIBS
=$LIBS
19060 LIBS
="-ldnet $LIBS"
19061 if test x
$gcc_no_link = xyes
; then
19062 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h. */
19067 /* Override any GCC internal prototype to avoid an error.
19068 Use char because int might match the return type of a GCC
19069 builtin and then its argument prototype would still apply. */
19077 return dnet_ntoa ();
19082 if ac_fn_c_try_link
"$LINENO"; then :
19083 ac_cv_lib_dnet_dnet_ntoa
=yes
19085 ac_cv_lib_dnet_dnet_ntoa
=no
19087 rm -f core conftest.err conftest.
$ac_objext \
19088 conftest
$ac_exeext conftest.
$ac_ext
19089 LIBS
=$ac_check_lib_save_LIBS
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19092 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19093 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
19094 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19097 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
19099 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
19100 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
19101 $as_echo_n "(cached) " >&6
19103 ac_check_lib_save_LIBS
=$LIBS
19104 LIBS
="-ldnet_stub $LIBS"
19105 if test x
$gcc_no_link = xyes
; then
19106 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19111 /* Override any GCC internal prototype to avoid an error.
19112 Use char because int might match the return type of a GCC
19113 builtin and then its argument prototype would still apply. */
19121 return dnet_ntoa ();
19126 if ac_fn_c_try_link
"$LINENO"; then :
19127 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19129 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19131 rm -f core conftest.err conftest.
$ac_objext \
19132 conftest
$ac_exeext conftest.
$ac_ext
19133 LIBS
=$ac_check_lib_save_LIBS
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19136 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19137 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
19138 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19143 rm -f core conftest.err conftest.
$ac_objext \
19144 conftest
$ac_exeext conftest.
$ac_ext
19145 LIBS
="$ac_xsave_LIBS"
19147 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19148 # to get the SysV transport functions.
19149 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19151 # The nsl library prevents programs from opening the X display
19152 # on Irix 5.2, according to T.E. Dickey.
19153 # The functions gethostbyname, getservbyname, and inet_addr are
19154 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19155 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
19156 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
19160 if test $ac_cv_func_gethostbyname = no
; then
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
19162 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
19163 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
19164 $as_echo_n "(cached) " >&6
19166 ac_check_lib_save_LIBS
=$LIBS
19168 if test x
$gcc_no_link = xyes
; then
19169 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19172 /* end confdefs.h. */
19174 /* Override any GCC internal prototype to avoid an error.
19175 Use char because int might match the return type of a GCC
19176 builtin and then its argument prototype would still apply. */
19180 char gethostbyname ();
19184 return gethostbyname ();
19189 if ac_fn_c_try_link
"$LINENO"; then :
19190 ac_cv_lib_nsl_gethostbyname
=yes
19192 ac_cv_lib_nsl_gethostbyname
=no
19194 rm -f core conftest.err conftest.
$ac_objext \
19195 conftest
$ac_exeext conftest.
$ac_ext
19196 LIBS
=$ac_check_lib_save_LIBS
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
19199 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
19200 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
19201 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19204 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
19206 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
19207 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
19208 $as_echo_n "(cached) " >&6
19210 ac_check_lib_save_LIBS
=$LIBS
19212 if test x
$gcc_no_link = xyes
; then
19213 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19216 /* end confdefs.h. */
19218 /* Override any GCC internal prototype to avoid an error.
19219 Use char because int might match the return type of a GCC
19220 builtin and then its argument prototype would still apply. */
19224 char gethostbyname ();
19228 return gethostbyname ();
19233 if ac_fn_c_try_link
"$LINENO"; then :
19234 ac_cv_lib_bsd_gethostbyname
=yes
19236 ac_cv_lib_bsd_gethostbyname
=no
19238 rm -f core conftest.err conftest.
$ac_objext \
19239 conftest
$ac_exeext conftest.
$ac_ext
19240 LIBS
=$ac_check_lib_save_LIBS
19242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
19243 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
19244 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
19245 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19251 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19252 # socket/setsockopt and other routines are undefined under SCO ODT
19253 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19254 # on later versions), says Simon Leinen: it contains gethostby*
19255 # variants that don't use the name server (or something). -lsocket
19256 # must be given before -lnsl if both are needed. We assume that
19257 # if connect needs -lnsl, so does gethostbyname.
19258 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
19259 if test "x$ac_cv_func_connect" = x
""yes; then :
19263 if test $ac_cv_func_connect = no
; then
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
19265 $as_echo_n "checking for connect in -lsocket... " >&6; }
19266 if test "${ac_cv_lib_socket_connect+set}" = set; then :
19267 $as_echo_n "(cached) " >&6
19269 ac_check_lib_save_LIBS
=$LIBS
19270 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19271 if test x
$gcc_no_link = xyes
; then
19272 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19275 /* end confdefs.h. */
19277 /* Override any GCC internal prototype to avoid an error.
19278 Use char because int might match the return type of a GCC
19279 builtin and then its argument prototype would still apply. */
19292 if ac_fn_c_try_link
"$LINENO"; then :
19293 ac_cv_lib_socket_connect
=yes
19295 ac_cv_lib_socket_connect
=no
19297 rm -f core conftest.err conftest.
$ac_objext \
19298 conftest
$ac_exeext conftest.
$ac_ext
19299 LIBS
=$ac_check_lib_save_LIBS
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
19302 $as_echo "$ac_cv_lib_socket_connect" >&6; }
19303 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
19304 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
19309 # Guillermo Gomez says -lposix is necessary on A/UX.
19310 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
19311 if test "x$ac_cv_func_remove" = x
""yes; then :
19315 if test $ac_cv_func_remove = no
; then
19316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
19317 $as_echo_n "checking for remove in -lposix... " >&6; }
19318 if test "${ac_cv_lib_posix_remove+set}" = set; then :
19319 $as_echo_n "(cached) " >&6
19321 ac_check_lib_save_LIBS
=$LIBS
19322 LIBS
="-lposix $LIBS"
19323 if test x
$gcc_no_link = xyes
; then
19324 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19327 /* end confdefs.h. */
19329 /* Override any GCC internal prototype to avoid an error.
19330 Use char because int might match the return type of a GCC
19331 builtin and then its argument prototype would still apply. */
19344 if ac_fn_c_try_link
"$LINENO"; then :
19345 ac_cv_lib_posix_remove
=yes
19347 ac_cv_lib_posix_remove
=no
19349 rm -f core conftest.err conftest.
$ac_objext \
19350 conftest
$ac_exeext conftest.
$ac_ext
19351 LIBS
=$ac_check_lib_save_LIBS
19353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
19354 $as_echo "$ac_cv_lib_posix_remove" >&6; }
19355 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
19356 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
19361 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
19362 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
19363 if test "x$ac_cv_func_shmat" = x
""yes; then :
19367 if test $ac_cv_func_shmat = no
; then
19368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
19369 $as_echo_n "checking for shmat in -lipc... " >&6; }
19370 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
19371 $as_echo_n "(cached) " >&6
19373 ac_check_lib_save_LIBS
=$LIBS
19375 if test x
$gcc_no_link = xyes
; then
19376 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19379 /* end confdefs.h. */
19381 /* Override any GCC internal prototype to avoid an error.
19382 Use char because int might match the return type of a GCC
19383 builtin and then its argument prototype would still apply. */
19396 if ac_fn_c_try_link
"$LINENO"; then :
19397 ac_cv_lib_ipc_shmat
=yes
19399 ac_cv_lib_ipc_shmat
=no
19401 rm -f core conftest.err conftest.
$ac_objext \
19402 conftest
$ac_exeext conftest.
$ac_ext
19403 LIBS
=$ac_check_lib_save_LIBS
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
19406 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
19407 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
19408 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
19414 # Check for libraries that X11R6 Xt/Xaw programs need.
19415 ac_save_LDFLAGS
=$LDFLAGS
19416 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
19417 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
19418 # check for ICE first), but we must link in the order -lSM -lICE or
19419 # we get undefined symbols. So assume we have SM if we have ICE.
19420 # These have to be linked with before -lX11, unlike the other
19421 # libraries we check for below, so use a different variable.
19422 # John Interrante, Karl Berry
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
19424 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
19425 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
19426 $as_echo_n "(cached) " >&6
19428 ac_check_lib_save_LIBS
=$LIBS
19429 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
19430 if test x
$gcc_no_link = xyes
; then
19431 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19436 /* Override any GCC internal prototype to avoid an error.
19437 Use char because int might match the return type of a GCC
19438 builtin and then its argument prototype would still apply. */
19442 char IceConnectionNumber ();
19446 return IceConnectionNumber ();
19451 if ac_fn_c_try_link
"$LINENO"; then :
19452 ac_cv_lib_ICE_IceConnectionNumber
=yes
19454 ac_cv_lib_ICE_IceConnectionNumber
=no
19456 rm -f core conftest.err conftest.
$ac_objext \
19457 conftest
$ac_exeext conftest.
$ac_ext
19458 LIBS
=$ac_check_lib_save_LIBS
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
19461 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
19462 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
19463 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
19466 LDFLAGS
=$ac_save_LDFLAGS
19470 if test "$no_x" = yes; then
19471 as_fn_error
"GTK+ peers requested but no X library available" "$LINENO" 5
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
19474 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
19475 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
19476 $as_echo_n "(cached) " >&6
19478 ac_check_lib_save_LIBS
=$LIBS
19479 LIBS
="-lXtst ${X_LIBS} $LIBS"
19480 if test x
$gcc_no_link = xyes
; then
19481 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19484 /* end confdefs.h. */
19486 /* Override any GCC internal prototype to avoid an error.
19487 Use char because int might match the return type of a GCC
19488 builtin and then its argument prototype would still apply. */
19492 char XTestQueryExtension ();
19496 return XTestQueryExtension ();
19501 if ac_fn_c_try_link
"$LINENO"; then :
19502 ac_cv_lib_Xtst_XTestQueryExtension
=yes
19504 ac_cv_lib_Xtst_XTestQueryExtension
=no
19506 rm -f core conftest.err conftest.
$ac_objext \
19507 conftest
$ac_exeext conftest.
$ac_ext
19508 LIBS
=$ac_check_lib_save_LIBS
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
19511 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
19512 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x
""yes; then :
19514 $as_echo "#define HAVE_XTEST 1" >>confdefs.h
19515 XTEST_LIBS
="$XTEST_LIBS -X11 -lXtst"
19525 if test -z "$PKG_CONFIG"; then
19526 # Extract the first word of "pkg-config", so it can be a program name with args.
19527 set dummy pkg-config
; ac_word
=$2
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19529 $as_echo_n "checking for $ac_word... " >&6; }
19530 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19531 $as_echo_n "(cached) " >&6
19533 case $PKG_CONFIG in
19535 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19539 for as_dir
in $PATH
19542 test -z "$as_dir" && as_dir
=.
19543 for ac_exec_ext
in '' $ac_executable_extensions; do
19544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19545 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19553 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19557 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19558 if test -n "$PKG_CONFIG"; then
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19560 $as_echo "$PKG_CONFIG" >&6; }
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19563 $as_echo "no" >&6; }
19569 if test "$PKG_CONFIG" = "no" ; then
19570 echo "*** The pkg-config script could not be found. Make sure it is"
19571 echo "*** in your path, or set the PKG_CONFIG environment variable"
19572 echo "*** to the full path to pkg-config."
19573 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19575 PKG_CONFIG_MIN_VERSION
=0.9.0
19576 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
19578 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
19580 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19582 $as_echo "yes" >&6; }
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
19586 $as_echo_n "checking GTK_CFLAGS... " >&6; }
19587 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
19589 $as_echo "$GTK_CFLAGS" >&6; }
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
19592 $as_echo_n "checking GTK_LIBS... " >&6; }
19593 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
19595 $as_echo "$GTK_LIBS" >&6; }
19599 ## If we have a custom action on failure, don't print errors, but
19600 ## do set a variable so people can do so.
19601 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19602 echo $GTK_PKG_ERRORS
19608 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19609 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19613 if test $succeeded = yes; then
19616 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
19622 if test -z "$PKG_CONFIG"; then
19623 # Extract the first word of "pkg-config", so it can be a program name with args.
19624 set dummy pkg-config
; ac_word
=$2
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19626 $as_echo_n "checking for $ac_word... " >&6; }
19627 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19628 $as_echo_n "(cached) " >&6
19630 case $PKG_CONFIG in
19632 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19636 for as_dir
in $PATH
19639 test -z "$as_dir" && as_dir
=.
19640 for ac_exec_ext
in '' $ac_executable_extensions; do
19641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19642 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19650 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19654 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19655 if test -n "$PKG_CONFIG"; then
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19657 $as_echo "$PKG_CONFIG" >&6; }
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19660 $as_echo "no" >&6; }
19666 if test "$PKG_CONFIG" = "no" ; then
19667 echo "*** The pkg-config script could not be found. Make sure it is"
19668 echo "*** in your path, or set the PKG_CONFIG environment variable"
19669 echo "*** to the full path to pkg-config."
19670 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19672 PKG_CONFIG_MIN_VERSION
=0.9.0
19673 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
19675 $as_echo_n "checking for freetype2... " >&6; }
19677 if $PKG_CONFIG --exists "freetype2" ; then
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19679 $as_echo "yes" >&6; }
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_CFLAGS" >&5
19683 $as_echo_n "checking FREETYPE2_CFLAGS... " >&6; }
19684 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
19685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_CFLAGS" >&5
19686 $as_echo "$FREETYPE2_CFLAGS" >&6; }
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_LIBS" >&5
19689 $as_echo_n "checking FREETYPE2_LIBS... " >&6; }
19690 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_LIBS" >&5
19692 $as_echo "$FREETYPE2_LIBS" >&6; }
19694 FREETYPE2_CFLAGS
=""
19696 ## If we have a custom action on failure, don't print errors, but
19697 ## do set a variable so people can do so.
19698 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
19699 echo $FREETYPE2_PKG_ERRORS
19705 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19706 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19710 if test $succeeded = yes; then
19713 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
19719 if test -z "$PKG_CONFIG"; then
19720 # Extract the first word of "pkg-config", so it can be a program name with args.
19721 set dummy pkg-config
; ac_word
=$2
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19723 $as_echo_n "checking for $ac_word... " >&6; }
19724 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19725 $as_echo_n "(cached) " >&6
19727 case $PKG_CONFIG in
19729 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19733 for as_dir
in $PATH
19736 test -z "$as_dir" && as_dir
=.
19737 for ac_exec_ext
in '' $ac_executable_extensions; do
19738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19739 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19747 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19751 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19752 if test -n "$PKG_CONFIG"; then
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19754 $as_echo "$PKG_CONFIG" >&6; }
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19757 $as_echo "no" >&6; }
19763 if test "$PKG_CONFIG" = "no" ; then
19764 echo "*** The pkg-config script could not be found. Make sure it is"
19765 echo "*** in your path, or set the PKG_CONFIG environment variable"
19766 echo "*** to the full path to pkg-config."
19767 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19769 PKG_CONFIG_MIN_VERSION
=0.9.0
19770 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pangoft2" >&5
19772 $as_echo_n "checking for pangoft2... " >&6; }
19774 if $PKG_CONFIG --exists "pangoft2" ; then
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19776 $as_echo "yes" >&6; }
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_CFLAGS" >&5
19780 $as_echo_n "checking PANGOFT2_CFLAGS... " >&6; }
19781 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_CFLAGS" >&5
19783 $as_echo "$PANGOFT2_CFLAGS" >&6; }
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_LIBS" >&5
19786 $as_echo_n "checking PANGOFT2_LIBS... " >&6; }
19787 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_LIBS" >&5
19789 $as_echo "$PANGOFT2_LIBS" >&6; }
19793 ## If we have a custom action on failure, don't print errors, but
19794 ## do set a variable so people can do so.
19795 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
19796 echo $PANGOFT2_PKG_ERRORS
19802 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19803 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19807 if test $succeeded = yes; then
19810 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
19816 if test -z "$PKG_CONFIG"; then
19817 # Extract the first word of "pkg-config", so it can be a program name with args.
19818 set dummy pkg-config
; ac_word
=$2
19819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19820 $as_echo_n "checking for $ac_word... " >&6; }
19821 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19822 $as_echo_n "(cached) " >&6
19824 case $PKG_CONFIG in
19826 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19830 for as_dir
in $PATH
19833 test -z "$as_dir" && as_dir
=.
19834 for ac_exec_ext
in '' $ac_executable_extensions; do
19835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19836 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19844 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19848 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19849 if test -n "$PKG_CONFIG"; then
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19851 $as_echo "$PKG_CONFIG" >&6; }
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19854 $as_echo "no" >&6; }
19860 if test "$PKG_CONFIG" = "no" ; then
19861 echo "*** The pkg-config script could not be found. Make sure it is"
19862 echo "*** in your path, or set the PKG_CONFIG environment variable"
19863 echo "*** to the full path to pkg-config."
19864 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19866 PKG_CONFIG_MIN_VERSION
=0.9.0
19867 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.1.8" >&5
19869 $as_echo_n "checking for cairo >= 1.1.8... " >&6; }
19871 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19873 $as_echo "yes" >&6; }
19876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_CFLAGS" >&5
19877 $as_echo_n "checking CAIRO_CFLAGS... " >&6; }
19878 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_CFLAGS" >&5
19880 $as_echo "$CAIRO_CFLAGS" >&6; }
19882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_LIBS" >&5
19883 $as_echo_n "checking CAIRO_LIBS... " >&6; }
19884 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_LIBS" >&5
19886 $as_echo "$CAIRO_LIBS" >&6; }
19890 ## If we have a custom action on failure, don't print errors, but
19891 ## do set a variable so people can do so.
19892 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
19893 echo $CAIRO_PKG_ERRORS
19899 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19900 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19904 if test $succeeded = yes; then
19907 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
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
19911 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
19912 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then :
19913 $as_echo_n "(cached) " >&6
19915 ac_check_lib_save_LIBS
=$LIBS
19916 LIBS
="-lXrender ${X_LIBS} $LIBS"
19917 if test x
$gcc_no_link = xyes
; then
19918 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19921 /* end confdefs.h. */
19923 /* Override any GCC internal prototype to avoid an error.
19924 Use char because int might match the return type of a GCC
19925 builtin and then its argument prototype would still apply. */
19929 char XRenderQueryExtension ();
19933 return XRenderQueryExtension ();
19938 if ac_fn_c_try_link
"$LINENO"; then :
19939 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
19941 ac_cv_lib_Xrender_XRenderQueryExtension
=no
19943 rm -f core conftest.err conftest.
$ac_objext \
19944 conftest
$ac_exeext conftest.
$ac_ext
19945 LIBS
=$ac_check_lib_save_LIBS
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
19948 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
19949 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x
""yes; then :
19951 $as_echo "#define HAVE_XRENDER 1" >>confdefs.h
19952 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRQueryExtension in -lXrandr" >&5
19959 $as_echo_n "checking for XRRQueryExtension in -lXrandr... " >&6; }
19960 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then :
19961 $as_echo_n "(cached) " >&6
19963 ac_check_lib_save_LIBS
=$LIBS
19964 LIBS
="-lXrandr ${X_LIBS} $LIBS"
19965 if test x
$gcc_no_link = xyes
; then
19966 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19969 /* end confdefs.h. */
19971 /* Override any GCC internal prototype to avoid an error.
19972 Use char because int might match the return type of a GCC
19973 builtin and then its argument prototype would still apply. */
19977 char XRRQueryExtension ();
19981 return XRRQueryExtension ();
19986 if ac_fn_c_try_link
"$LINENO"; then :
19987 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
19989 ac_cv_lib_Xrandr_XRRQueryExtension
=no
19991 rm -f core conftest.err conftest.
$ac_objext \
19992 conftest
$ac_exeext conftest.
$ac_ext
19993 LIBS
=$ac_check_lib_save_LIBS
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
19996 $as_echo "$ac_cv_lib_Xrandr_XRRQueryExtension" >&6; }
19997 if test "x$ac_cv_lib_Xrandr_XRRQueryExtension" = x
""yes; then :
19999 $as_echo "#define HAVE_XRANDR 1" >>confdefs.h
20000 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
20015 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
20019 if test -z "$PKG_CONFIG"; then
20020 # Extract the first word of "pkg-config", so it can be a program name with args.
20021 set dummy pkg-config
; ac_word
=$2
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20023 $as_echo_n "checking for $ac_word... " >&6; }
20024 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20025 $as_echo_n "(cached) " >&6
20027 case $PKG_CONFIG in
20029 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20033 for as_dir
in $PATH
20036 test -z "$as_dir" && as_dir
=.
20037 for ac_exec_ext
in '' $ac_executable_extensions; do
20038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20039 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20047 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20051 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20052 if test -n "$PKG_CONFIG"; then
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20054 $as_echo "$PKG_CONFIG" >&6; }
20056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20057 $as_echo "no" >&6; }
20063 if test "$PKG_CONFIG" = "no" ; then
20064 echo "*** The pkg-config script could not be found. Make sure it is"
20065 echo "*** in your path, or set the PKG_CONFIG environment variable"
20066 echo "*** to the full path to pkg-config."
20067 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20069 PKG_CONFIG_MIN_VERSION
=0.9.0
20070 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.6.0" >&5
20072 $as_echo_n "checking for gconf-2.0 >= 2.6.0... " >&6; }
20074 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
20075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20076 $as_echo "yes" >&6; }
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5
20080 $as_echo_n "checking GCONF_CFLAGS... " >&6; }
20081 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5
20083 $as_echo "$GCONF_CFLAGS" >&6; }
20085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5
20086 $as_echo_n "checking GCONF_LIBS... " >&6; }
20087 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5
20089 $as_echo "$GCONF_LIBS" >&6; }
20093 ## If we have a custom action on failure, don't print errors, but
20094 ## do set a variable so people can do so.
20095 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
20096 echo $GCONF_PKG_ERRORS
20102 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20103 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20107 if test $succeeded = yes; then
20110 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
20118 if test -z "$PKG_CONFIG"; then
20119 # Extract the first word of "pkg-config", so it can be a program name with args.
20120 set dummy pkg-config
; ac_word
=$2
20121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20122 $as_echo_n "checking for $ac_word... " >&6; }
20123 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20124 $as_echo_n "(cached) " >&6
20126 case $PKG_CONFIG in
20128 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20132 for as_dir
in $PATH
20135 test -z "$as_dir" && as_dir
=.
20136 for ac_exec_ext
in '' $ac_executable_extensions; do
20137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20138 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20146 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20150 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20151 if test -n "$PKG_CONFIG"; then
20152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20153 $as_echo "$PKG_CONFIG" >&6; }
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20156 $as_echo "no" >&6; }
20162 if test "$PKG_CONFIG" = "no" ; then
20163 echo "*** The pkg-config script could not be found. Make sure it is"
20164 echo "*** in your path, or set the PKG_CONFIG environment variable"
20165 echo "*** to the full path to pkg-config."
20166 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20168 PKG_CONFIG_MIN_VERSION
=0.9.0
20169 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
20171 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
20173 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
20174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20175 $as_echo "yes" >&6; }
20178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
20179 $as_echo_n "checking GDK_CFLAGS... " >&6; }
20180 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
20182 $as_echo "$GDK_CFLAGS" >&6; }
20184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
20185 $as_echo_n "checking GDK_LIBS... " >&6; }
20186 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
20188 $as_echo "$GDK_LIBS" >&6; }
20192 ## If we have a custom action on failure, don't print errors, but
20193 ## do set a variable so people can do so.
20194 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
20195 echo $GDK_PKG_ERRORS
20201 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20202 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20206 if test $succeeded = yes; then
20209 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
20214 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
20215 if test "$USE_GCONF_PREFS_PEER" = ""; then
20216 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
20220 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
20221 GST_MAJORMINOR
=0.10
20222 GST_REQUIRED
=0.10.10
20227 if test -z "$PKG_CONFIG"; then
20228 # Extract the first word of "pkg-config", so it can be a program name with args.
20229 set dummy pkg-config
; ac_word
=$2
20230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20231 $as_echo_n "checking for $ac_word... " >&6; }
20232 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20233 $as_echo_n "(cached) " >&6
20235 case $PKG_CONFIG in
20237 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20241 for as_dir
in $PATH
20244 test -z "$as_dir" && as_dir
=.
20245 for ac_exec_ext
in '' $ac_executable_extensions; do
20246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20247 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20255 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20259 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20260 if test -n "$PKG_CONFIG"; then
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20262 $as_echo "$PKG_CONFIG" >&6; }
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20265 $as_echo "no" >&6; }
20271 if test "$PKG_CONFIG" = "no" ; then
20272 echo "*** The pkg-config script could not be found. Make sure it is"
20273 echo "*** in your path, or set the PKG_CONFIG environment variable"
20274 echo "*** to the full path to pkg-config."
20275 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20277 PKG_CONFIG_MIN_VERSION
=0.9.0
20278 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
20280 $as_echo_n "checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
20282 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20284 $as_echo "yes" >&6; }
20287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_CFLAGS" >&5
20288 $as_echo_n "checking GSTREAMER_CFLAGS... " >&6; }
20289 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_CFLAGS" >&5
20291 $as_echo "$GSTREAMER_CFLAGS" >&6; }
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_LIBS" >&5
20294 $as_echo_n "checking GSTREAMER_LIBS... " >&6; }
20295 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
20296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_LIBS" >&5
20297 $as_echo "$GSTREAMER_LIBS" >&6; }
20299 GSTREAMER_CFLAGS
=""
20301 ## If we have a custom action on failure, don't print errors, but
20302 ## do set a variable so people can do so.
20303 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
20304 echo $GSTREAMER_PKG_ERRORS
20310 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20311 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20315 if test $succeeded = yes; then
20318 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
20327 if test -z "$PKG_CONFIG"; then
20328 # Extract the first word of "pkg-config", so it can be a program name with args.
20329 set dummy pkg-config
; ac_word
=$2
20330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20331 $as_echo_n "checking for $ac_word... " >&6; }
20332 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20333 $as_echo_n "(cached) " >&6
20335 case $PKG_CONFIG in
20337 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20341 for as_dir
in $PATH
20344 test -z "$as_dir" && as_dir
=.
20345 for ac_exec_ext
in '' $ac_executable_extensions; do
20346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20347 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20355 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20359 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20360 if test -n "$PKG_CONFIG"; then
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20362 $as_echo "$PKG_CONFIG" >&6; }
20364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20365 $as_echo "no" >&6; }
20371 if test "$PKG_CONFIG" = "no" ; then
20372 echo "*** The pkg-config script could not be found. Make sure it is"
20373 echo "*** in your path, or set the PKG_CONFIG environment variable"
20374 echo "*** to the full path to pkg-config."
20375 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20377 PKG_CONFIG_MIN_VERSION
=0.9.0
20378 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
20380 $as_echo_n "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
20382 if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
20383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20384 $as_echo "yes" >&6; }
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_CFLAGS" >&5
20388 $as_echo_n "checking GSTREAMER_BASE_CFLAGS... " >&6; }
20389 GSTREAMER_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_CFLAGS" >&5
20391 $as_echo "$GSTREAMER_BASE_CFLAGS" >&6; }
20393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_LIBS" >&5
20394 $as_echo_n "checking GSTREAMER_BASE_LIBS... " >&6; }
20395 GSTREAMER_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_LIBS" >&5
20397 $as_echo "$GSTREAMER_BASE_LIBS" >&6; }
20399 GSTREAMER_BASE_CFLAGS
=""
20400 GSTREAMER_BASE_LIBS
=""
20401 ## If we have a custom action on failure, don't print errors, but
20402 ## do set a variable so people can do so.
20403 GSTREAMER_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20404 echo $GSTREAMER_BASE_PKG_ERRORS
20410 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20411 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20415 if test $succeeded = yes; then
20418 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
20427 if test -z "$PKG_CONFIG"; then
20428 # Extract the first word of "pkg-config", so it can be a program name with args.
20429 set dummy pkg-config
; ac_word
=$2
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20431 $as_echo_n "checking for $ac_word... " >&6; }
20432 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20433 $as_echo_n "(cached) " >&6
20435 case $PKG_CONFIG in
20437 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20441 for as_dir
in $PATH
20444 test -z "$as_dir" && as_dir
=.
20445 for ac_exec_ext
in '' $ac_executable_extensions; do
20446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20447 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20455 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20459 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20460 if test -n "$PKG_CONFIG"; then
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20462 $as_echo "$PKG_CONFIG" >&6; }
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20465 $as_echo "no" >&6; }
20471 if test "$PKG_CONFIG" = "no" ; then
20472 echo "*** The pkg-config script could not be found. Make sure it is"
20473 echo "*** in your path, or set the PKG_CONFIG environment variable"
20474 echo "*** to the full path to pkg-config."
20475 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20477 PKG_CONFIG_MIN_VERSION
=0.9.0
20478 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
20480 $as_echo_n "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
20482 if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
20483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20484 $as_echo "yes" >&6; }
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
20488 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_CFLAGS... " >&6; }
20489 GSTREAMER_PLUGINS_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
20491 $as_echo "$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6; }
20493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
20494 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_LIBS... " >&6; }
20495 GSTREAMER_PLUGINS_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
20497 $as_echo "$GSTREAMER_PLUGINS_BASE_LIBS" >&6; }
20499 GSTREAMER_PLUGINS_BASE_CFLAGS
=""
20500 GSTREAMER_PLUGINS_BASE_LIBS
=""
20501 ## If we have a custom action on failure, don't print errors, but
20502 ## do set a variable so people can do so.
20503 GSTREAMER_PLUGINS_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20504 echo $GSTREAMER_PLUGINS_BASE_PKG_ERRORS
20510 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20511 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20515 if test $succeeded = yes; then
20518 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
20524 GST_PLUGIN_LDFLAGS
='-module -avoid-version -Wno-unused-parameter -no-undefined'
20530 if test -z "$PKG_CONFIG"; then
20531 # Extract the first word of "pkg-config", so it can be a program name with args.
20532 set dummy pkg-config
; ac_word
=$2
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20534 $as_echo_n "checking for $ac_word... " >&6; }
20535 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20536 $as_echo_n "(cached) " >&6
20538 case $PKG_CONFIG in
20540 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20544 for as_dir
in $PATH
20547 test -z "$as_dir" && as_dir
=.
20548 for ac_exec_ext
in '' $ac_executable_extensions; do
20549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20550 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20558 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20562 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20563 if test -n "$PKG_CONFIG"; then
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20565 $as_echo "$PKG_CONFIG" >&6; }
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20568 $as_echo "no" >&6; }
20574 if test "$PKG_CONFIG" = "no" ; then
20575 echo "*** The pkg-config script could not be found. Make sure it is"
20576 echo "*** in your path, or set the PKG_CONFIG environment variable"
20577 echo "*** to the full path to pkg-config."
20578 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20580 PKG_CONFIG_MIN_VERSION
=0.9.0
20581 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
20583 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
20585 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20587 $as_echo "yes" >&6; }
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
20591 $as_echo_n "checking GDK_CFLAGS... " >&6; }
20592 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
20593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
20594 $as_echo "$GDK_CFLAGS" >&6; }
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
20597 $as_echo_n "checking GDK_LIBS... " >&6; }
20598 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
20600 $as_echo "$GDK_LIBS" >&6; }
20604 ## If we have a custom action on failure, don't print errors, but
20605 ## do set a variable so people can do so.
20606 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
20607 echo $GDK_PKG_ERRORS
20613 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20614 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20618 if test $succeeded = yes; then
20621 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
20627 GSTREAMER_FILE_READER
=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader
20628 GSTREAMER_MIXER_PROVIDER
=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider
20633 if test "x${COMPILE_QT_PEER}" = xyes
; then
20637 if test -z "$PKG_CONFIG"; then
20638 # Extract the first word of "pkg-config", so it can be a program name with args.
20639 set dummy pkg-config
; ac_word
=$2
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20641 $as_echo_n "checking for $ac_word... " >&6; }
20642 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20643 $as_echo_n "(cached) " >&6
20645 case $PKG_CONFIG in
20647 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20651 for as_dir
in $PATH
20654 test -z "$as_dir" && as_dir
=.
20655 for ac_exec_ext
in '' $ac_executable_extensions; do
20656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20657 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20665 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20669 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20670 if test -n "$PKG_CONFIG"; then
20671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20672 $as_echo "$PKG_CONFIG" >&6; }
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20675 $as_echo "no" >&6; }
20681 if test "$PKG_CONFIG" = "no" ; then
20682 echo "*** The pkg-config script could not be found. Make sure it is"
20683 echo "*** in your path, or set the PKG_CONFIG environment variable"
20684 echo "*** to the full path to pkg-config."
20685 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20687 PKG_CONFIG_MIN_VERSION
=0.9.0
20688 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QtCore QtGui >= 4.1.0" >&5
20690 $as_echo_n "checking for QtCore QtGui >= 4.1.0... " >&6; }
20692 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20694 $as_echo "yes" >&6; }
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_CFLAGS" >&5
20698 $as_echo_n "checking QT_CFLAGS... " >&6; }
20699 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CFLAGS" >&5
20701 $as_echo "$QT_CFLAGS" >&6; }
20703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_LIBS" >&5
20704 $as_echo_n "checking QT_LIBS... " >&6; }
20705 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_LIBS" >&5
20707 $as_echo "$QT_LIBS" >&6; }
20711 ## If we have a custom action on failure, don't print errors, but
20712 ## do set a variable so people can do so.
20713 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
20720 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20721 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20725 if test $succeeded = yes; then
20731 if test "x$HAVE_QT4" = "xyes"; then
20732 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
20733 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
20734 as_ac_File
=`$as_echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
20735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $QT_INCLUDE_DIR/QWidget" >&5
20736 $as_echo_n "checking for $QT_INCLUDE_DIR/QWidget... " >&6; }
20737 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
20738 $as_echo_n "(cached) " >&6
20740 test "$cross_compiling" = yes &&
20741 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
20742 if test -r "$QT_INCLUDE_DIR/QWidget"; then
20743 eval "$as_ac_File=yes"
20745 eval "$as_ac_File=no"
20748 eval ac_res
=\$
$as_ac_File
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20750 $as_echo "$ac_res" >&6; }
20751 eval as_val
=\$
$as_ac_File
20752 if test "x$as_val" = x
""yes; then :
20753 { $as_echo "$as_me:${as_lineno-$LINENO}: No extra QT_INCLUDE_DIR needed" >&5
20754 $as_echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
20756 as_ac_File
=`$as_echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
20758 $as_echo_n "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... " >&6; }
20759 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
20760 $as_echo_n "(cached) " >&6
20762 test "$cross_compiling" = yes &&
20763 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
20764 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
20765 eval "$as_ac_File=yes"
20767 eval "$as_ac_File=no"
20770 eval ac_res
=\$
$as_ac_File
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20772 $as_echo "$ac_res" >&6; }
20773 eval as_val
=\$
$as_ac_File
20774 if test "x$as_val" = x
""yes; then :
20775 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: QWidget not found" >&5
20778 $as_echo "$as_me: WARNING: QWidget not found" >&2;}
20783 # Extract the first word of "moc", so it can be a program name with args.
20784 set dummy moc
; ac_word
=$2
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20786 $as_echo_n "checking for $ac_word... " >&6; }
20787 if test "${ac_cv_prog_MOC+set}" = set; then :
20788 $as_echo_n "(cached) " >&6
20790 if test -n "$MOC"; then
20791 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
20793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20794 for as_dir
in $PATH
20797 test -z "$as_dir" && as_dir
=.
20798 for ac_exec_ext
in '' $ac_executable_extensions; do
20799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20800 ac_cv_prog_MOC
="moc"
20801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20810 MOC
=$ac_cv_prog_MOC
20811 if test -n "$MOC"; then
20812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
20813 $as_echo "$MOC" >&6; }
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20816 $as_echo "no" >&6; }
20820 # Extract the first word of "moc-qt4", so it can be a program name with args.
20821 set dummy moc-qt4
; ac_word
=$2
20822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20823 $as_echo_n "checking for $ac_word... " >&6; }
20824 if test "${ac_cv_prog_MOC+set}" = set; then :
20825 $as_echo_n "(cached) " >&6
20827 if test -n "$MOC"; then
20828 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
20830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20831 for as_dir
in $PATH
20834 test -z "$as_dir" && as_dir
=.
20835 for ac_exec_ext
in '' $ac_executable_extensions; do
20836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20837 ac_cv_prog_MOC
="moc-qt4"
20838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20847 MOC
=$ac_cv_prog_MOC
20848 if test -n "$MOC"; then
20849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
20850 $as_echo "$MOC" >&6; }
20852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20853 $as_echo "no" >&6; }
20858 if test "x$HAVE_QT4" = "xno"; then
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
20860 $as_echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
20864 # Check whether --with-qt4dir was given.
20865 if test "${with_qt4dir+set}" = set; then :
20866 withval
=$with_qt4dir; QT4DIR
=$withval
20870 if test x
"$QT4DIR" = x
; then
20871 as_fn_error
"*** No path for Qt4 --with-qt4dir option given" "$LINENO" 5
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: QT4DIR... $QT4DIR" >&5
20874 $as_echo "QT4DIR... $QT4DIR" >&6; }
20875 # Extract the first word of "moc", so it can be a program name with args.
20876 set dummy moc
; ac_word
=$2
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20878 $as_echo_n "checking for $ac_word... " >&6; }
20879 if test "${ac_cv_prog_MOC+set}" = set; then :
20880 $as_echo_n "(cached) " >&6
20882 if test -n "$MOC"; then
20883 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
20885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20886 for as_dir
in $QT4DIR/bin
20889 test -z "$as_dir" && as_dir
=.
20890 for ac_exec_ext
in '' $ac_executable_extensions; do
20891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20892 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
20893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20902 MOC
=$ac_cv_prog_MOC
20903 if test -n "$MOC"; then
20904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
20905 $as_echo "$MOC" >&6; }
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20908 $as_echo "no" >&6; }
20912 if test x
"$MOC" = x
; then
20913 as_fn_error
"*** This is not the right Qt installation" "$LINENO" 5
20915 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
20916 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
20917 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
20918 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
20921 as_fn_error
"*** Please check PKG_CONFIG_PATH or the version
20922 of your installed Qt4 installation." "$LINENO" 5
20926 { $as_echo "$as_me:${as_lineno-$LINENO}: Set QT_CFLAGS... $QT_CFLAGS" >&5
20927 $as_echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
20931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
20932 $as_echo_n "checking for MSG_NOSIGNAL... " >&6; }
20933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20934 /* end confdefs.h. */
20935 #include <sys/socket.h>
20939 int f = MSG_NOSIGNAL;
20944 if ac_fn_c_try_compile
"$LINENO"; then :
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20946 $as_echo "yes" >&6; }
20948 $as_echo "#define HAVE_MSG_NOSIGNAL 1" >>confdefs.h
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20952 $as_echo "no" >&6; }
20955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SO_NOSIGPIPE " >&5
20957 $as_echo_n "checking for SO_NOSIGPIPE ... " >&6; }
20958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20959 /* end confdefs.h. */
20960 #include <sys/socket.h>
20964 int f = SO_NOSIGPIPE;
20969 if ac_fn_c_try_compile
"$LINENO"; then :
20970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20971 $as_echo "yes" >&6; }
20973 $as_echo "#define HAVE_SO_NOSIGPIPE 1" >>confdefs.h
20976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20977 $as_echo "no" >&6; }
20980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_WAITALL" >&5
20982 $as_echo_n "checking for MSG_WAITALL... " >&6; }
20983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20984 /* end confdefs.h. */
20985 #include <sys/socket.h>
20989 int f = MSG_WAITALL;
20994 if ac_fn_c_try_compile
"$LINENO"; then :
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20996 $as_echo "yes" >&6; }
20998 $as_echo "#define HAVE_MSG_WAITALL 1" >>confdefs.h
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21002 $as_echo "no" >&6; }
21005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21007 if test "x${COMPILE_PLUGIN}" = xyes
; then
21011 if test -z "$PKG_CONFIG"; then
21012 # Extract the first word of "pkg-config", so it can be a program name with args.
21013 set dummy pkg-config
; ac_word
=$2
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21015 $as_echo_n "checking for $ac_word... " >&6; }
21016 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21017 $as_echo_n "(cached) " >&6
21019 case $PKG_CONFIG in
21021 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21025 for as_dir
in $PATH
21028 test -z "$as_dir" && as_dir
=.
21029 for ac_exec_ext
in '' $ac_executable_extensions; do
21030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21031 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21039 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21043 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21044 if test -n "$PKG_CONFIG"; then
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21046 $as_echo "$PKG_CONFIG" >&6; }
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21049 $as_echo "no" >&6; }
21055 if test "$PKG_CONFIG" = "no" ; then
21056 echo "*** The pkg-config script could not be found. Make sure it is"
21057 echo "*** in your path, or set the PKG_CONFIG environment variable"
21058 echo "*** to the full path to pkg-config."
21059 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21061 PKG_CONFIG_MIN_VERSION
=0.9.0
21062 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin libxul-unstable" >&5
21064 $as_echo_n "checking for mozilla-plugin libxul-unstable... " >&6; }
21066 if $PKG_CONFIG --exists "mozilla-plugin libxul-unstable" ; then
21067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21068 $as_echo "yes" >&6; }
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21072 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21073 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin libxul-unstable"`
21074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21075 $as_echo "$MOZILLA_CFLAGS" >&6; }
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21078 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21079 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin libxul-unstable"`
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21081 $as_echo "$MOZILLA_LIBS" >&6; }
21085 ## If we have a custom action on failure, don't print errors, but
21086 ## do set a variable so people can do so.
21087 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin libxul-unstable"`
21094 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21095 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21099 if test $succeeded = yes; then
21105 if test "x${MOZILLA_FOUND}" = xno
; then
21109 if test -z "$PKG_CONFIG"; then
21110 # Extract the first word of "pkg-config", so it can be a program name with args.
21111 set dummy pkg-config
; ac_word
=$2
21112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21113 $as_echo_n "checking for $ac_word... " >&6; }
21114 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21115 $as_echo_n "(cached) " >&6
21117 case $PKG_CONFIG in
21119 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21123 for as_dir
in $PATH
21126 test -z "$as_dir" && as_dir
=.
21127 for ac_exec_ext
in '' $ac_executable_extensions; do
21128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21129 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21137 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21141 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21142 if test -n "$PKG_CONFIG"; then
21143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21144 $as_echo "$PKG_CONFIG" >&6; }
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21147 $as_echo "no" >&6; }
21153 if test "$PKG_CONFIG" = "no" ; then
21154 echo "*** The pkg-config script could not be found. Make sure it is"
21155 echo "*** in your path, or set the PKG_CONFIG environment variable"
21156 echo "*** to the full path to pkg-config."
21157 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21159 PKG_CONFIG_MIN_VERSION
=0.9.0
21160 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin" >&5
21162 $as_echo_n "checking for mozilla-plugin... " >&6; }
21164 if $PKG_CONFIG --exists "mozilla-plugin" ; then
21165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21166 $as_echo "yes" >&6; }
21169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21170 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21171 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
21172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21173 $as_echo "$MOZILLA_CFLAGS" >&6; }
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21176 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21177 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
21178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21179 $as_echo "$MOZILLA_LIBS" >&6; }
21183 ## If we have a custom action on failure, don't print errors, but
21184 ## do set a variable so people can do so.
21185 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
21192 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21193 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21197 if test $succeeded = yes; then
21204 if test "x${MOZILLA_FOUND}" = xno
; then
21208 if test -z "$PKG_CONFIG"; then
21209 # Extract the first word of "pkg-config", so it can be a program name with args.
21210 set dummy pkg-config
; ac_word
=$2
21211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21212 $as_echo_n "checking for $ac_word... " >&6; }
21213 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21214 $as_echo_n "(cached) " >&6
21216 case $PKG_CONFIG in
21218 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21222 for as_dir
in $PATH
21225 test -z "$as_dir" && as_dir
=.
21226 for ac_exec_ext
in '' $ac_executable_extensions; do
21227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21228 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21236 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21240 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21241 if test -n "$PKG_CONFIG"; then
21242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21243 $as_echo "$PKG_CONFIG" >&6; }
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21246 $as_echo "no" >&6; }
21252 if test "$PKG_CONFIG" = "no" ; then
21253 echo "*** The pkg-config script could not be found. Make sure it is"
21254 echo "*** in your path, or set the PKG_CONFIG environment variable"
21255 echo "*** to the full path to pkg-config."
21256 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21258 PKG_CONFIG_MIN_VERSION
=0.9.0
21259 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for firefox-plugin firefox-xpcom" >&5
21261 $as_echo_n "checking for firefox-plugin firefox-xpcom... " >&6; }
21263 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
21264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21265 $as_echo "yes" >&6; }
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21269 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21270 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21272 $as_echo "$MOZILLA_CFLAGS" >&6; }
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21275 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21276 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21278 $as_echo "$MOZILLA_LIBS" >&6; }
21282 ## If we have a custom action on failure, don't print errors, but
21283 ## do set a variable so people can do so.
21284 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
21291 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21292 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21296 if test $succeeded = yes; then
21303 if test "x${MOZILLA_FOUND}" = xno
; then
21307 if test -z "$PKG_CONFIG"; then
21308 # Extract the first word of "pkg-config", so it can be a program name with args.
21309 set dummy pkg-config
; ac_word
=$2
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21311 $as_echo_n "checking for $ac_word... " >&6; }
21312 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21313 $as_echo_n "(cached) " >&6
21315 case $PKG_CONFIG in
21317 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21321 for as_dir
in $PATH
21324 test -z "$as_dir" && as_dir
=.
21325 for ac_exec_ext
in '' $ac_executable_extensions; do
21326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21327 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21335 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21339 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21340 if test -n "$PKG_CONFIG"; then
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21342 $as_echo "$PKG_CONFIG" >&6; }
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21345 $as_echo "no" >&6; }
21351 if test "$PKG_CONFIG" = "no" ; then
21352 echo "*** The pkg-config script could not be found. Make sure it is"
21353 echo "*** in your path, or set the PKG_CONFIG environment variable"
21354 echo "*** to the full path to pkg-config."
21355 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21357 PKG_CONFIG_MIN_VERSION
=0.9.0
21358 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xulrunner-plugin xulrunner-xpcom" >&5
21360 $as_echo_n "checking for xulrunner-plugin xulrunner-xpcom... " >&6; }
21362 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21364 $as_echo "yes" >&6; }
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21368 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21369 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
21370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21371 $as_echo "$MOZILLA_CFLAGS" >&6; }
21373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21374 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21375 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21377 $as_echo "$MOZILLA_LIBS" >&6; }
21381 ## If we have a custom action on failure, don't print errors, but
21382 ## do set a variable so people can do so.
21383 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
21390 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21391 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21395 if test $succeeded = yes; then
21402 if test "x${MOZILLA_FOUND}" = xno
; then
21406 if test -z "$PKG_CONFIG"; then
21407 # Extract the first word of "pkg-config", so it can be a program name with args.
21408 set dummy pkg-config
; ac_word
=$2
21409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21410 $as_echo_n "checking for $ac_word... " >&6; }
21411 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21412 $as_echo_n "(cached) " >&6
21414 case $PKG_CONFIG in
21416 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21420 for as_dir
in $PATH
21423 test -z "$as_dir" && as_dir
=.
21424 for ac_exec_ext
in '' $ac_executable_extensions; do
21425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21426 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21434 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21438 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21439 if test -n "$PKG_CONFIG"; then
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21441 $as_echo "$PKG_CONFIG" >&6; }
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21444 $as_echo "no" >&6; }
21450 if test "$PKG_CONFIG" = "no" ; then
21451 echo "*** The pkg-config script could not be found. Make sure it is"
21452 echo "*** in your path, or set the PKG_CONFIG environment variable"
21453 echo "*** to the full path to pkg-config."
21454 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21456 PKG_CONFIG_MIN_VERSION
=0.9.0
21457 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
21459 $as_echo_n "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... " >&6; }
21461 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
21462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21463 $as_echo "yes" >&6; }
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21467 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21468 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21470 $as_echo "$MOZILLA_CFLAGS" >&6; }
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21473 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21474 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21476 $as_echo "$MOZILLA_LIBS" >&6; }
21480 ## If we have a custom action on failure, don't print errors, but
21481 ## do set a variable so people can do so.
21482 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
21489 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21490 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21494 if test $succeeded = yes; then
21501 if test "x${MOZILLA_FOUND}" = xno
; then
21505 if test -z "$PKG_CONFIG"; then
21506 # Extract the first word of "pkg-config", so it can be a program name with args.
21507 set dummy pkg-config
; ac_word
=$2
21508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21509 $as_echo_n "checking for $ac_word... " >&6; }
21510 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21511 $as_echo_n "(cached) " >&6
21513 case $PKG_CONFIG in
21515 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21519 for as_dir
in $PATH
21522 test -z "$as_dir" && as_dir
=.
21523 for ac_exec_ext
in '' $ac_executable_extensions; do
21524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21525 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21533 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21537 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21538 if test -n "$PKG_CONFIG"; then
21539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21540 $as_echo "$PKG_CONFIG" >&6; }
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21543 $as_echo "no" >&6; }
21549 if test "$PKG_CONFIG" = "no" ; then
21550 echo "*** The pkg-config script could not be found. Make sure it is"
21551 echo "*** in your path, or set the PKG_CONFIG environment variable"
21552 echo "*** to the full path to pkg-config."
21553 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21555 PKG_CONFIG_MIN_VERSION
=0.9.0
21556 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for seamonkey-plugin seamonkey-xpcom" >&5
21558 $as_echo_n "checking for seamonkey-plugin seamonkey-xpcom... " >&6; }
21560 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21562 $as_echo "yes" >&6; }
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21566 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21567 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21569 $as_echo "$MOZILLA_CFLAGS" >&6; }
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21572 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21573 MOZILLA_LIBS
=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
21574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21575 $as_echo "$MOZILLA_LIBS" >&6; }
21579 ## If we have a custom action on failure, don't print errors, but
21580 ## do set a variable so people can do so.
21581 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
21588 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21589 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21593 if test $succeeded = yes; then
21600 if test "x${MOZILLA_FOUND}" = xno
; then
21604 if test -z "$PKG_CONFIG"; then
21605 # Extract the first word of "pkg-config", so it can be a program name with args.
21606 set dummy pkg-config
; ac_word
=$2
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21608 $as_echo_n "checking for $ac_word... " >&6; }
21609 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21610 $as_echo_n "(cached) " >&6
21612 case $PKG_CONFIG in
21614 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21618 for as_dir
in $PATH
21621 test -z "$as_dir" && as_dir
=.
21622 for ac_exec_ext
in '' $ac_executable_extensions; do
21623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21624 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21632 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21636 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21637 if test -n "$PKG_CONFIG"; then
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21639 $as_echo "$PKG_CONFIG" >&6; }
21641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21642 $as_echo "no" >&6; }
21648 if test "$PKG_CONFIG" = "no" ; then
21649 echo "*** The pkg-config script could not be found. Make sure it is"
21650 echo "*** in your path, or set the PKG_CONFIG environment variable"
21651 echo "*** to the full path to pkg-config."
21652 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21654 PKG_CONFIG_MIN_VERSION
=0.9.0
21655 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iceape-plugin iceape-xpcom" >&5
21657 $as_echo_n "checking for iceape-plugin iceape-xpcom... " >&6; }
21659 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
21660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21661 $as_echo "yes" >&6; }
21664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21665 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21666 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21668 $as_echo "$MOZILLA_CFLAGS" >&6; }
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21671 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21672 MOZILLA_LIBS
=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
21673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21674 $as_echo "$MOZILLA_LIBS" >&6; }
21678 ## If we have a custom action on failure, don't print errors, but
21679 ## do set a variable so people can do so.
21680 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
21687 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21688 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21692 if test $succeeded = yes; then
21699 if test "x${MOZILLA_FOUND}" = xno
; then
21700 as_fn_error
"Couldn't find plugin support headers and libraries, try --disable-plugin" "$LINENO" 5
21706 if test -z "$PKG_CONFIG"; then
21707 # Extract the first word of "pkg-config", so it can be a program name with args.
21708 set dummy pkg-config
; ac_word
=$2
21709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21710 $as_echo_n "checking for $ac_word... " >&6; }
21711 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21712 $as_echo_n "(cached) " >&6
21714 case $PKG_CONFIG in
21716 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21720 for as_dir
in $PATH
21723 test -z "$as_dir" && as_dir
=.
21724 for ac_exec_ext
in '' $ac_executable_extensions; do
21725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21726 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21734 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21738 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21739 if test -n "$PKG_CONFIG"; then
21740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21741 $as_echo "$PKG_CONFIG" >&6; }
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21744 $as_echo "no" >&6; }
21750 if test "$PKG_CONFIG" = "no" ; then
21751 echo "*** The pkg-config script could not be found. Make sure it is"
21752 echo "*** in your path, or set the PKG_CONFIG environment variable"
21753 echo "*** to the full path to pkg-config."
21754 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21756 PKG_CONFIG_MIN_VERSION
=0.9.0
21757 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0" >&5
21759 $as_echo_n "checking for glib-2.0... " >&6; }
21761 if $PKG_CONFIG --exists "glib-2.0" ; then
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21763 $as_echo "yes" >&6; }
21766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
21767 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
21768 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
21769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
21770 $as_echo "$GLIB_CFLAGS" >&6; }
21772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
21773 $as_echo_n "checking GLIB_LIBS... " >&6; }
21774 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
21775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
21776 $as_echo "$GLIB_LIBS" >&6; }
21780 ## If we have a custom action on failure, don't print errors, but
21781 ## do set a variable so people can do so.
21782 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
21783 echo $GLIB_PKG_ERRORS
21789 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21790 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21794 if test $succeeded = yes; then
21797 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
21803 if test -z "$PKG_CONFIG"; then
21804 # Extract the first word of "pkg-config", so it can be a program name with args.
21805 set dummy pkg-config
; ac_word
=$2
21806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21807 $as_echo_n "checking for $ac_word... " >&6; }
21808 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21809 $as_echo_n "(cached) " >&6
21811 case $PKG_CONFIG in
21813 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21817 for as_dir
in $PATH
21820 test -z "$as_dir" && as_dir
=.
21821 for ac_exec_ext
in '' $ac_executable_extensions; do
21822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21823 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21831 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21835 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21836 if test -n "$PKG_CONFIG"; then
21837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21838 $as_echo "$PKG_CONFIG" >&6; }
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21841 $as_echo "no" >&6; }
21847 if test "$PKG_CONFIG" = "no" ; then
21848 echo "*** The pkg-config script could not be found. Make sure it is"
21849 echo "*** in your path, or set the PKG_CONFIG environment variable"
21850 echo "*** to the full path to pkg-config."
21851 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21853 PKG_CONFIG_MIN_VERSION
=0.9.0
21854 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
21856 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
21858 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
21859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21860 $as_echo "yes" >&6; }
21863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
21864 $as_echo_n "checking GTK_CFLAGS... " >&6; }
21865 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
21867 $as_echo "$GTK_CFLAGS" >&6; }
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
21870 $as_echo_n "checking GTK_LIBS... " >&6; }
21871 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
21873 $as_echo "$GTK_LIBS" >&6; }
21877 ## If we have a custom action on failure, don't print errors, but
21878 ## do set a variable so people can do so.
21879 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21880 echo $GTK_PKG_ERRORS
21886 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21887 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21891 if test $succeeded = yes; then
21894 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
21905 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
21909 if test "x${COMPILE_GMP}" = xyes
; then
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_mul_si in -lgmp" >&5
21911 $as_echo_n "checking for __gmpz_mul_si in -lgmp... " >&6; }
21912 if test "${ac_cv_lib_gmp___gmpz_mul_si+set}" = set; then :
21913 $as_echo_n "(cached) " >&6
21915 ac_check_lib_save_LIBS
=$LIBS
21917 if test x
$gcc_no_link = xyes
; then
21918 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21921 /* end confdefs.h. */
21923 /* Override any GCC internal prototype to avoid an error.
21924 Use char because int might match the return type of a GCC
21925 builtin and then its argument prototype would still apply. */
21929 char __gmpz_mul_si ();
21933 return __gmpz_mul_si ();
21938 if ac_fn_c_try_link
"$LINENO"; then :
21939 ac_cv_lib_gmp___gmpz_mul_si
=yes
21941 ac_cv_lib_gmp___gmpz_mul_si
=no
21943 rm -f core conftest.err conftest.
$ac_objext \
21944 conftest
$ac_exeext conftest.
$ac_ext
21945 LIBS
=$ac_check_lib_save_LIBS
21947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_mul_si" >&5
21948 $as_echo "$ac_cv_lib_gmp___gmpz_mul_si" >&6; }
21949 if test "x$ac_cv_lib_gmp___gmpz_mul_si" = x
""yes; then :
21950 GMP_CFLAGS
=-I/usr
/include
21960 for ac_header
in gmp.h
21962 ac_fn_c_check_header_mongrel
"$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
21963 if test "x$ac_cv_header_gmp_h" = x
""yes; then :
21964 cat >>confdefs.h
<<_ACEOF
21965 #define HAVE_GMP_H 1
21978 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
21981 # Check whether --with-javah was given.
21982 if test "${with_javah+set}" = set; then :
21983 withval
=$with_javah;
21984 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
21986 if test "x${withval}" != x
; then
21987 if test -f "${withval}"; then
21988 USER_JAVAH
="${withval}"
21990 # Extract the first word of ""${withval}"", so it can be a program name with args.
21991 set dummy
"${withval}"; ac_word
=$2
21992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21993 $as_echo_n "checking for $ac_word... " >&6; }
21994 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
21995 $as_echo_n "(cached) " >&6
21997 case $USER_JAVAH in
21999 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22003 for as_dir
in $PATH
22006 test -z "$as_dir" && as_dir
=.
22007 for ac_exec_ext
in '' $ac_executable_extensions; do
22008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22009 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22020 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22021 if test -n "$USER_JAVAH"; then
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22023 $as_echo "$USER_JAVAH" >&6; }
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22026 $as_echo "no" >&6; }
22032 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
22034 # Extract the first word of "$ac_prog", so it can be a program name with args.
22035 set dummy
$ac_prog; ac_word
=$2
22036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22037 $as_echo_n "checking for $ac_word... " >&6; }
22038 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22039 $as_echo_n "(cached) " >&6
22041 case $USER_JAVAH in
22043 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22047 for as_dir
in $PATH
22050 test -z "$as_dir" && as_dir
=.
22051 for ac_exec_ext
in '' $ac_executable_extensions; do
22052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22053 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22064 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22065 if test -n "$USER_JAVAH"; then
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22067 $as_echo "$USER_JAVAH" >&6; }
22069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22070 $as_echo "no" >&6; }
22074 test -n "$USER_JAVAH" && break
22079 if test "x${USER_JAVAH}" = x
; then
22080 as_fn_error
"can not find javah" "$LINENO" 5
22085 if test "x" != x
; then
22086 if test -f ""; then
22089 # Extract the first word of """", so it can be a program name with args.
22090 set dummy
""; ac_word
=$2
22091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22092 $as_echo_n "checking for $ac_word... " >&6; }
22093 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22094 $as_echo_n "(cached) " >&6
22096 case $USER_JAVAH in
22098 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22102 for as_dir
in $PATH
22105 test -z "$as_dir" && as_dir
=.
22106 for ac_exec_ext
in '' $ac_executable_extensions; do
22107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22108 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22119 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22120 if test -n "$USER_JAVAH"; then
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22122 $as_echo "$USER_JAVAH" >&6; }
22124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22125 $as_echo "no" >&6; }
22131 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
22133 # Extract the first word of "$ac_prog", so it can be a program name with args.
22134 set dummy
$ac_prog; ac_word
=$2
22135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22136 $as_echo_n "checking for $ac_word... " >&6; }
22137 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22138 $as_echo_n "(cached) " >&6
22140 case $USER_JAVAH in
22142 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22146 for as_dir
in $PATH
22149 test -z "$as_dir" && as_dir
=.
22150 for ac_exec_ext
in '' $ac_executable_extensions; do
22151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22152 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22163 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22164 if test -n "$USER_JAVAH"; then
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22166 $as_echo "$USER_JAVAH" >&6; }
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22169 $as_echo "no" >&6; }
22173 test -n "$USER_JAVAH" && break
22178 if test "x${USER_JAVAH}" = x
; then
22179 as_fn_error
"can not find javah" "$LINENO" 5
22187 if test "x" != x
; then
22188 if test -f ""; then
22191 # Extract the first word of """", so it can be a program name with args.
22192 set dummy
""; ac_word
=$2
22193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22194 $as_echo_n "checking for $ac_word... " >&6; }
22195 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22196 $as_echo_n "(cached) " >&6
22198 case $USER_JAVAH in
22200 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22204 for as_dir
in $PATH
22207 test -z "$as_dir" && as_dir
=.
22208 for ac_exec_ext
in '' $ac_executable_extensions; do
22209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22210 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22221 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22222 if test -n "$USER_JAVAH"; then
22223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22224 $as_echo "$USER_JAVAH" >&6; }
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22227 $as_echo "no" >&6; }
22233 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
22235 # Extract the first word of "$ac_prog", so it can be a program name with args.
22236 set dummy
$ac_prog; ac_word
=$2
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22238 $as_echo_n "checking for $ac_word... " >&6; }
22239 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22240 $as_echo_n "(cached) " >&6
22242 case $USER_JAVAH in
22244 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22248 for as_dir
in $PATH
22251 test -z "$as_dir" && as_dir
=.
22252 for ac_exec_ext
in '' $ac_executable_extensions; do
22253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22254 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22265 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22266 if test -n "$USER_JAVAH"; then
22267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22268 $as_echo "$USER_JAVAH" >&6; }
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22271 $as_echo "no" >&6; }
22275 test -n "$USER_JAVAH" && break
22280 if test "x${USER_JAVAH}" = x
; then
22281 as_fn_error
"can not find javah" "$LINENO" 5
22291 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
22294 if test "x${COMPILE_JNI}" = xyes
; then
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking jni_md.h support" >&5
22296 $as_echo_n "checking jni_md.h support... " >&6; }
22297 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
22298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22299 $as_echo "yes" >&6; }
22302 target_os
=linux-gnu
22303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no" >&5
22304 $as_echo "$as_me: WARNING: no" >&2;}
22306 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
22307 ac_dests
="include/jni_md.h"
22308 while test -n "$ac_sources"; do
22309 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
22310 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
22311 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
22313 ac_config_links
="$ac_config_links $ac_config_links_1"
22319 # Check whether --with-vm-classes was given.
22320 if test "${with_vm_classes+set}" = set; then :
22321 withval
=$with_vm_classes; vm_classes
="$with_vm_classes"
22323 vm_classes
='${top_srcdir}/vm/reference'
22330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
22331 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
22332 # Check whether --enable-maintainer-mode was given.
22333 if test "${enable_maintainer_mode+set}" = set; then :
22334 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
22336 USE_MAINTAINER_MODE
=no
22339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
22340 $as_echo "$USE_MAINTAINER_MODE" >&6; }
22341 if test $USE_MAINTAINER_MODE = yes; then
22342 MAINTAINER_MODE_TRUE
=
22343 MAINTAINER_MODE_FALSE
='#'
22345 MAINTAINER_MODE_TRUE
='#'
22346 MAINTAINER_MODE_FALSE
=
22349 MAINT
=$MAINTAINER_MODE_TRUE
22353 # Check whether --enable-debug was given.
22354 if test "${enable_debug+set}" = set; then :
22355 enableval
=$enable_debug; case "${enableval}" in
22359 $as_echo "#define DEBUG 1" >>confdefs.h
22362 no
) LIBDEBUG
="false" ;;
22363 *) as_fn_error
"bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
22371 # Check whether --enable-load-library was given.
22372 if test "${enable_load_library+set}" = set; then :
22373 enableval
=$enable_load_library; case "${enableval}" in
22374 yes) INIT_LOAD_LIBRARY
="true" ;;
22375 no
) INIT_LOAD_LIBRARY
="false" ;;
22376 *) as_fn_error
"bad value ${enableval} for --enable-load-library" "$LINENO" 5 ;;
22379 INIT_LOAD_LIBRARY
="true"
22386 # Check whether --with-ecj-jar was given.
22387 if test "${with_ecj_jar+set}" = set; then :
22388 withval
=$with_ecj_jar; ECJ_JAR
=$withval
22390 if test -f $multi_basedir/ecj.jar
; then
22391 ECJ_JAR
='$(jardir)/ecj.jar'
22397 # Check whether --enable-java-lang-system-explicit-initialization was given.
22398 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then :
22399 enableval
=$enable_java_lang_system_explicit_initialization; case "${enableval}" in
22400 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
22401 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
22402 *) as_fn_error
"bad value ${enableval} for --enable-java-lang-system-explicit-initialization" "$LINENO" 5 ;;
22405 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
22414 # Extract the first word of "mkdir", so it can be a program name with args.
22415 set dummy mkdir
; ac_word
=$2
22416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22417 $as_echo_n "checking for $ac_word... " >&6; }
22418 if test "${ac_cv_path_MKDIR+set}" = set; then :
22419 $as_echo_n "(cached) " >&6
22423 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
22426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22427 for as_dir
in $PATH
22430 test -z "$as_dir" && as_dir
=.
22431 for ac_exec_ext
in '' $ac_executable_extensions; do
22432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22433 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
22434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22444 MKDIR
=$ac_cv_path_MKDIR
22445 if test -n "$MKDIR"; then
22446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
22447 $as_echo "$MKDIR" >&6; }
22449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22450 $as_echo "no" >&6; }
22454 # Extract the first word of "cp", so it can be a program name with args.
22455 set dummy
cp; ac_word
=$2
22456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22457 $as_echo_n "checking for $ac_word... " >&6; }
22458 if test "${ac_cv_path_CP+set}" = set; then :
22459 $as_echo_n "(cached) " >&6
22463 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
22466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22467 for as_dir
in $PATH
22470 test -z "$as_dir" && as_dir
=.
22471 for ac_exec_ext
in '' $ac_executable_extensions; do
22472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22473 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
22474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22485 if test -n "$CP"; then
22486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
22487 $as_echo "$CP" >&6; }
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22490 $as_echo "no" >&6; }
22494 # Extract the first word of "date", so it can be a program name with args.
22495 set dummy
date; ac_word
=$2
22496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22497 $as_echo_n "checking for $ac_word... " >&6; }
22498 if test "${ac_cv_path_DATE+set}" = set; then :
22499 $as_echo_n "(cached) " >&6
22503 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
22506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22507 for as_dir
in $PATH
22510 test -z "$as_dir" && as_dir
=.
22511 for ac_exec_ext
in '' $ac_executable_extensions; do
22512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22513 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
22514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22524 DATE
=$ac_cv_path_DATE
22525 if test -n "$DATE"; then
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
22527 $as_echo "$DATE" >&6; }
22529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22530 $as_echo "no" >&6; }
22535 # Extract the first word of "find", so it can be a program name with args.
22536 set dummy
find; ac_word
=$2
22537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22538 $as_echo_n "checking for $ac_word... " >&6; }
22539 if test "${ac_cv_path_FIND+set}" = set; then :
22540 $as_echo_n "(cached) " >&6
22544 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
22547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22548 for as_dir
in $PATH
22551 test -z "$as_dir" && as_dir
=.
22552 for ac_exec_ext
in '' $ac_executable_extensions; do
22553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22554 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
22555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22565 FIND
=$ac_cv_path_FIND
22566 if test -n "$FIND"; then
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
22568 $as_echo "$FIND" >&6; }
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22571 $as_echo "no" >&6; }
22577 # Extract the first word of "zip", so it can be a program name with args.
22578 set dummy
zip; ac_word
=$2
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22580 $as_echo_n "checking for $ac_word... " >&6; }
22581 if test "${ac_cv_path_ZIP+set}" = set; then :
22582 $as_echo_n "(cached) " >&6
22586 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
22589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22590 for as_dir
in $PATH
22593 test -z "$as_dir" && as_dir
=.
22594 for ac_exec_ext
in '' $ac_executable_extensions; do
22595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22596 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
22597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22607 ZIP
=$ac_cv_path_ZIP
22608 if test -n "$ZIP"; then
22609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
22610 $as_echo "$ZIP" >&6; }
22612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22613 $as_echo "no" >&6; }
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a jar-like tool" >&5
22619 $as_echo_n "checking for a jar-like tool... " >&6; }
22621 # Check whether --with-jar was given.
22622 if test "${with_jar+set}" = set; then :
22624 case "${withval}" in
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
22631 $as_echo "${JAR}" >&6; }
22634 if test -f "${withval}"; then
22636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
22637 $as_echo "${JAR}" >&6; }
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22640 $as_echo "not found" >&6; }
22641 as_fn_error
"The jar tool ${withval} was not found." "$LINENO" 5
22652 if test x
"${JAR}" = "xyes"; then
22653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: trying fastjar, gjar and jar" >&5
22654 $as_echo "trying fastjar, gjar and jar" >&6; }
22655 for ac_prog
in fastjar gjar jar
22657 # Extract the first word of "$ac_prog", so it can be a program name with args.
22658 set dummy
$ac_prog; ac_word
=$2
22659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22660 $as_echo_n "checking for $ac_word... " >&6; }
22661 if test "${ac_cv_path_JAR+set}" = set; then :
22662 $as_echo_n "(cached) " >&6
22666 ac_cv_path_JAR
="$JAR" # Let the user override the test with a path.
22669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22670 for as_dir
in $PATH
22673 test -z "$as_dir" && as_dir
=.
22674 for ac_exec_ext
in '' $ac_executable_extensions; do
22675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22676 ac_cv_path_JAR
="$as_dir/$ac_word$ac_exec_ext"
22677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22687 JAR
=$ac_cv_path_JAR
22688 if test -n "$JAR"; then
22689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
22690 $as_echo "$JAR" >&6; }
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22693 $as_echo "no" >&6; }
22697 test -n "$JAR" && break
22700 if test x
"${RHINO_JAR}" = "xyes"; then
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22702 $as_echo "not found" >&6; }
22705 if test x
"${JAR}" = "xno" && test x
"${ZIP}" = ""; then
22706 as_fn_error
"No zip or jar tool found." "$LINENO" 5
22708 if test x
"${JAR}" != "xno" && test x
"${JAR}" != "xyes"; then
22719 # Check whether --with-glibj was given.
22720 if test "${with_glibj+set}" = set; then :
22721 withval
=$with_glibj;
22722 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
22723 install_class_files
=no
22724 build_class_files
=yes
22726 elif test "x${withval}" = xboth
; then
22727 install_class_files
=yes
22728 build_class_files
=yes
22730 elif test "x${withval}" = xflat
; then
22731 install_class_files
=yes
22732 build_class_files
=yes
22734 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
22735 install_class_files
=no
22736 build_class_files
=no
22738 elif test "x${withval}" = xbuild
; then
22739 install_class_files
=no
22740 build_class_files
=yes
22743 as_fn_error
"unknown value given to --with-glibj" "$LINENO" 5
22748 install_class_files
=no
22753 if test "x${use_zip}" = xyes
; then
22754 INSTALL_GLIBJ_ZIP_TRUE
=
22755 INSTALL_GLIBJ_ZIP_FALSE
='#'
22757 INSTALL_GLIBJ_ZIP_TRUE
='#'
22758 INSTALL_GLIBJ_ZIP_FALSE
=
22761 if test "x${install_class_files}" = xyes
; then
22762 INSTALL_CLASS_FILES_TRUE
=
22763 INSTALL_CLASS_FILES_FALSE
='#'
22765 INSTALL_CLASS_FILES_TRUE
='#'
22766 INSTALL_CLASS_FILES_FALSE
=
22769 if test "x${build_class_files}" = xyes
; then
22770 BUILD_CLASS_FILES_TRUE
=
22771 BUILD_CLASS_FILES_FALSE
='#'
22773 BUILD_CLASS_FILES_TRUE
='#'
22774 BUILD_CLASS_FILES_FALSE
=
22778 # Check whether --enable-examples was given.
22779 if test "${enable_examples+set}" = set; then :
22780 enableval
=$enable_examples; case "${enableval}" in
22781 yes) EXAMPLESDIR
="examples" ;;
22782 no
) EXAMPLESDIR
="" ;;
22783 *) as_fn_error
"bad value ${enableval} for --enable-examples" "$LINENO" 5 ;;
22786 EXAMPLESDIR
="examples"
22789 if test "x${build_class_files}" = xno
; then
22794 # Check whether --enable-tools was given.
22795 if test "${enable_tools+set}" = set; then :
22796 enableval
=$enable_tools; case "${enableval}" in
22797 yes) TOOLSDIR
="tools" ;;
22799 *) as_fn_error
"bad value ${enableval} for --enable-tools" "$LINENO" 5 ;;
22805 if test "x${build_class_files}" = xno
; then
22813 # Check whether --with-gjdoc was given.
22814 if test "${with_gjdoc+set}" = set; then :
22815 withval
=$with_gjdoc; if test "x${withval}" = xno
; then
22817 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
22819 # Extract the first word of "gjdoc", so it can be a program name with args.
22820 set dummy gjdoc
; ac_word
=$2
22821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22822 $as_echo_n "checking for $ac_word... " >&6; }
22823 if test "${ac_cv_path_GJDOC+set}" = set; then :
22824 $as_echo_n "(cached) " >&6
22828 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
22831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22832 for as_dir
in $PATH
22835 test -z "$as_dir" && as_dir
=.
22836 for ac_exec_ext
in '' $ac_executable_extensions; do
22837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22838 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
22839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22846 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
22850 GJDOC
=$ac_cv_path_GJDOC
22851 if test -n "$GJDOC"; then
22852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GJDOC" >&5
22853 $as_echo "$GJDOC" >&6; }
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22856 $as_echo "no" >&6; }
22860 if test "x${GJDOC}" = xno
; then
22861 as_fn_error
"\"gjdoc executable not found\"" "$LINENO" 5;
22866 as_ac_File
=`$as_echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${GJDOC}" >&5
22868 $as_echo_n "checking for ${GJDOC}... " >&6; }
22869 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
22870 $as_echo_n "(cached) " >&6
22872 test "$cross_compiling" = yes &&
22873 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
22874 if test -r "${GJDOC}"; then
22875 eval "$as_ac_File=yes"
22877 eval "$as_ac_File=no"
22880 eval ac_res
=\$
$as_ac_File
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22882 $as_echo "$ac_res" >&6; }
22883 eval as_val
=\$
$as_ac_File
22884 if test "x$as_val" = x
""yes; then :
22887 as_fn_error
"\"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" "$LINENO" 5
22895 if test "x${WITH_GJDOC}" = xyes
; then
22896 CREATE_API_DOCS_TRUE
=
22897 CREATE_API_DOCS_FALSE
='#'
22899 CREATE_API_DOCS_TRUE
='#'
22900 CREATE_API_DOCS_FALSE
=
22903 if test "x${WITH_GJDOC}" = xyes
; then
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of GJDoc" >&5
22905 $as_echo_n "checking version of GJDoc... " >&6; }
22906 gjdoc_version
=$
(${GJDOC} --version|cut
-d ' ' -f2)
22907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gjdoc_version}" >&5
22908 $as_echo "${gjdoc_version}" >&6; }
22909 case ${gjdoc_version} in
22912 *) as_fn_error
"Building documentation requires GJDoc >= 0.7.9, ${gjdoc_version} found." "$LINENO" 5 ;;
22919 # Check whether --with-jay was given.
22920 if test "${with_jay+set}" = set; then :
22922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
22923 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
22926 if test "x${withval}" = xno
; then
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22928 $as_echo "no" >&6; }
22929 elif test "x${withval}" = xyes
; then
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22931 $as_echo "yes" >&6; }
22932 JAY_DIR_PATH
="/usr/share/jay"
22933 elif test -d "${withval}"; then
22934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22935 $as_echo "yes" >&6; }
22936 JAY_DIR_PATH
="${withval}"
22937 elif test -f "${withval}"; then
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22939 $as_echo "yes" >&6; }
22940 JAY_DIR_PATH
=`dirname "${withval}"`
22943 as_fn_error
"jay not found at ${withval}" "$LINENO" 5
22946 if test "x${JAY_DIR_PATH}" != x
; then
22947 # Extract the first word of "jay", so it can be a program name with args.
22948 set dummy jay
; ac_word
=$2
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22950 $as_echo_n "checking for $ac_word... " >&6; }
22951 if test "${ac_cv_path_JAY+set}" = set; then :
22952 $as_echo_n "(cached) " >&6
22956 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
22959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22960 as_dummy
="${JAY_DIR_PATH}:${PATH}"
22961 for as_dir
in $as_dummy
22964 test -z "$as_dir" && as_dir
=.
22965 for ac_exec_ext
in '' $ac_executable_extensions; do
22966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22967 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
22968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22975 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
22979 JAY
=$ac_cv_path_JAY
22980 if test -n "$JAY"; then
22981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAY" >&5
22982 $as_echo "$JAY" >&6; }
22984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22985 $as_echo "no" >&6; }
22989 if test "x${JAY}" = xno
; then
22990 as_fn_error
"jay executable not found" "$LINENO" 5;
22992 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
22993 as_ac_File
=`$as_echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${JAY_SKELETON}" >&5
22995 $as_echo_n "checking for ${JAY_SKELETON}... " >&6; }
22996 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
22997 $as_echo_n "(cached) " >&6
22999 test "$cross_compiling" = yes &&
23000 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
23001 if test -r "${JAY_SKELETON}"; then
23002 eval "$as_ac_File=yes"
23004 eval "$as_ac_File=no"
23007 eval ac_res
=\$
$as_ac_File
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23009 $as_echo "$ac_res" >&6; }
23010 eval as_val
=\$
$as_ac_File
23011 if test "x$as_val" = x
""yes; then :
23014 as_fn_error
"Expected skeleton file in ${JAY_DIR_PATH}" "$LINENO" 5
23022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
23023 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
23024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23025 $as_echo "no" >&6; }
23030 if test "x${JAY_FOUND}" = xyes
; then
23031 REGEN_PARSERS_TRUE
=
23032 REGEN_PARSERS_FALSE
='#'
23034 REGEN_PARSERS_TRUE
='#'
23035 REGEN_PARSERS_FALSE
=
23040 # Check whether --enable-portable-native-sync was given.
23041 if test "${enable_portable_native_sync+set}" = set; then :
23042 enableval
=$enable_portable_native_sync; case "${enableval}" in
23045 $as_echo "#define PORTABLE_NATIVE_SYNC 1" >>confdefs.h
23050 as_fn_error
"bad value ${enableval} for --enable-portable-native-sync" "$LINENO" 5
23056 # ------ AX CREATE STDINT H -------------------------------------
23057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
23058 $as_echo_n "checking for stdint types... " >&6; }
23059 ac_stdint_h
=`echo include/config-int.h`
23060 # try to shortcircuit - if the default include path of the compiler
23061 # can find a "stdint.h" header then we assume that all compilers can.
23062 if test "${ac_cv_header_stdint_t+set}" = set; then :
23063 $as_echo_n "(cached) " >&6
23066 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
23067 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
23068 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
23069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23070 /* end confdefs.h. */
23071 #include <stdint.h>
23075 int_least32_t v = 0;
23080 if ac_fn_c_try_compile
"$LINENO"; then :
23081 ac_cv_stdint_result
="(assuming C99 compatible system)"
23082 ac_cv_header_stdint_t
="stdint.h";
23084 ac_cv_header_stdint_t
=""
23086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23087 CXXFLAGS
="$old_CXXFLAGS"
23088 CPPFLAGS
="$old_CPPFLAGS"
23089 CFLAGS
="$old_CFLAGS"
23093 v
="... $ac_cv_header_stdint_h"
23094 if test "$ac_stdint_h" = "stdint.h" ; then
23095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
23096 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
23097 elif test "$ac_stdint_h" = "inttypes.h" ; then
23098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
23099 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
23100 elif test "_$ac_cv_header_stdint_t" = "_" ; then
23101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
23102 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
23104 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
23105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
23106 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
23109 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
23112 inttype_headers
=`echo | sed -e 's/,/ /g'`
23114 ac_cv_stdint_result
="(no helpful system typedefs seen)"
23116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
23117 $as_echo_n "checking for stdint uintptr_t... " >&6; }
23118 if test "${ac_cv_header_stdint_x+set}" = set; then :
23119 $as_echo_n "(cached) " >&6
23122 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23124 $as_echo "(..)" >&6; }
23125 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
23126 unset ac_cv_type_uintptr_t
23127 unset ac_cv_type_uint64_t
23128 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
23130 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
23131 ac_cv_header_stdint_x
=$i
23136 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
23138 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
23144 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
23147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
23148 $as_echo_n "checking for stdint uintptr_t... " >&6; }
23151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
23152 $as_echo "$ac_cv_header_stdint_x" >&6; }
23155 if test "_$ac_cv_header_stdint_x" = "_" ; then
23157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
23158 $as_echo_n "checking for stdint uint32_t... " >&6; }
23159 if test "${ac_cv_header_stdint_o+set}" = set; then :
23160 $as_echo_n "(cached) " >&6
23163 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
23164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23165 $as_echo "(..)" >&6; }
23166 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
23167 unset ac_cv_type_uint32_t
23168 unset ac_cv_type_uint64_t
23169 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
23171 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
23172 ac_cv_header_stdint_o
=$i
23177 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
23179 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
23185 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
23189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
23190 $as_echo_n "checking for stdint uint32_t... " >&6; }
23193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
23194 $as_echo "$ac_cv_header_stdint_o" >&6; }
23198 if test "_$ac_cv_header_stdint_x" = "_" ; then
23199 if test "_$ac_cv_header_stdint_o" = "_" ; then
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
23202 $as_echo_n "checking for stdint u_int32_t... " >&6; }
23203 if test "${ac_cv_header_stdint_u+set}" = set; then :
23204 $as_echo_n "(cached) " >&6
23207 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23209 $as_echo "(..)" >&6; }
23210 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
23211 unset ac_cv_type_u_int32_t
23212 unset ac_cv_type_u_int64_t
23213 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
23215 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
23216 ac_cv_header_stdint_u
=$i
23221 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
23223 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
23229 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
23233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
23234 $as_echo_n "checking for stdint u_int32_t... " >&6; }
23237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
23238 $as_echo "$ac_cv_header_stdint_u" >&6; }
23242 if test "_$ac_cv_header_stdint_x" = "_" ; then
23243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
23244 $as_echo_n "checking for stdint datatype model... " >&6; }
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23246 $as_echo "(..)" >&6; }
23248 # The cast to long int works around a bug in the HP C Compiler
23249 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23250 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23251 # This bug is HP SR number 8606223364.
23252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
23253 $as_echo_n "checking size of char... " >&6; }
23254 if test "${ac_cv_sizeof_char+set}" = set; then :
23255 $as_echo_n "(cached) " >&6
23257 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
23260 if test "$ac_cv_type_char" = yes; then
23261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23263 { as_fn_set_status
77
23264 as_fn_error
"cannot compute sizeof (char)
23265 See \`config.log' for more details." "$LINENO" 5; }; }
23267 ac_cv_sizeof_char
=0
23272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
23273 $as_echo "$ac_cv_sizeof_char" >&6; }
23277 cat >>confdefs.h
<<_ACEOF
23278 #define SIZEOF_CHAR $ac_cv_sizeof_char
23282 # The cast to long int works around a bug in the HP C Compiler
23283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23285 # This bug is HP SR number 8606223364.
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
23287 $as_echo_n "checking size of short... " >&6; }
23288 if test "${ac_cv_sizeof_short+set}" = set; then :
23289 $as_echo_n "(cached) " >&6
23291 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
23294 if test "$ac_cv_type_short" = yes; then
23295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23297 { as_fn_set_status
77
23298 as_fn_error
"cannot compute sizeof (short)
23299 See \`config.log' for more details." "$LINENO" 5; }; }
23301 ac_cv_sizeof_short
=0
23306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
23307 $as_echo "$ac_cv_sizeof_short" >&6; }
23311 cat >>confdefs.h
<<_ACEOF
23312 #define SIZEOF_SHORT $ac_cv_sizeof_short
23316 # The cast to long int works around a bug in the HP C Compiler
23317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23319 # This bug is HP SR number 8606223364.
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
23321 $as_echo_n "checking size of int... " >&6; }
23322 if test "${ac_cv_sizeof_int+set}" = set; then :
23323 $as_echo_n "(cached) " >&6
23325 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
23328 if test "$ac_cv_type_int" = yes; then
23329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23331 { as_fn_set_status
77
23332 as_fn_error
"cannot compute sizeof (int)
23333 See \`config.log' for more details." "$LINENO" 5; }; }
23340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
23341 $as_echo "$ac_cv_sizeof_int" >&6; }
23345 cat >>confdefs.h
<<_ACEOF
23346 #define SIZEOF_INT $ac_cv_sizeof_int
23350 # The cast to long int works around a bug in the HP C Compiler
23351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23353 # This bug is HP SR number 8606223364.
23354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
23355 $as_echo_n "checking size of long... " >&6; }
23356 if test "${ac_cv_sizeof_long+set}" = set; then :
23357 $as_echo_n "(cached) " >&6
23359 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
23362 if test "$ac_cv_type_long" = yes; then
23363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23365 { as_fn_set_status
77
23366 as_fn_error
"cannot compute sizeof (long)
23367 See \`config.log' for more details." "$LINENO" 5; }; }
23369 ac_cv_sizeof_long
=0
23374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
23375 $as_echo "$ac_cv_sizeof_long" >&6; }
23379 cat >>confdefs.h
<<_ACEOF
23380 #define SIZEOF_LONG $ac_cv_sizeof_long
23384 # The cast to long int works around a bug in the HP C Compiler
23385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23387 # This bug is HP SR number 8606223364.
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
23389 $as_echo_n "checking size of void*... " >&6; }
23390 if test "${ac_cv_sizeof_voidp+set}" = set; then :
23391 $as_echo_n "(cached) " >&6
23393 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
23396 if test "$ac_cv_type_voidp" = yes; then
23397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23399 { as_fn_set_status
77
23400 as_fn_error
"cannot compute sizeof (void*)
23401 See \`config.log' for more details." "$LINENO" 5; }; }
23403 ac_cv_sizeof_voidp
=0
23408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
23409 $as_echo "$ac_cv_sizeof_voidp" >&6; }
23413 cat >>confdefs.h
<<_ACEOF
23414 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
23418 ac_cv_char_data_model
=""
23419 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
23420 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
23421 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
23422 ac_cv_long_data_model
=""
23423 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
23424 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
23425 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
23426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
23427 $as_echo_n "checking data model... " >&6; }
23428 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
23429 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
23430 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
23431 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
23432 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
23433 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
23434 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
23435 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
23436 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
23437 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
23438 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
23439 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
23440 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
23441 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
23442 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
23443 222/*|
333/*|
444/*|
666/*|
888/*) :
23444 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
23445 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
23447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
23448 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
23452 if test "_$ac_cv_header_stdint_x" != "_" ; then
23453 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
23454 elif test "_$ac_cv_header_stdint_o" != "_" ; then
23455 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
23456 elif test "_$ac_cv_header_stdint_u" != "_" ; then
23457 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
23459 ac_cv_header_stdint
="stddef.h"
23462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
23463 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
23464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
23465 $as_echo "($ac_cv_header_stdint)" >&6; }
23466 unset ac_cv_type_int_least32_t
23467 unset ac_cv_type_int_fast32_t
23468 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
23470 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
23474 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
23476 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
23480 ac_fn_c_check_type
"$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
23482 if test "x$ac_cv_type_intmax_t" = x
""yes; then :
23487 fi # shortcircut to system "stdint.h"
23488 # ------------------ PREPARE VARIABLES ------------------------------
23489 if test "$GCC" = "yes" ; then
23490 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
23492 ac_cv_stdint_message
="using $CC"
23495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
23496 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
23498 # ----------------- DONE inttypes.h checks START header -------------
23499 ac_config_commands
="$ac_config_commands $ac_stdint_h"
23504 # Check whether --with-glibj_zip was given.
23505 if test "${with_glibj_zip+set}" = set; then :
23506 withval
=$with_glibj_zip;
23510 case "$with_glibj_zip" in
23512 use_glibj_zip
=false
23515 use_glibj_zip
=false
23518 as_fn_error
"Please suply an absolute path to a prebuilt glibj.zip" "$LINENO" 5
23522 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
23526 if test x
$use_glibj_zip = xtrue
; then
23527 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
23528 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
23530 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
23531 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
23536 if test "x${TOOLSDIR}" != x
; then
23537 if test "x${COMPILE_WRAPPERS}" = xno
&& test "x${enable_java_maintainer_mode}" = xyes
; then
23540 if test "x$JAVAPREFIX" = x
; then
23541 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
23543 # Extract the first word of "$ac_prog", so it can be a program name with args.
23544 set dummy
$ac_prog; ac_word
=$2
23545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23546 $as_echo_n "checking for $ac_word... " >&6; }
23547 if test "${ac_cv_prog_JAVA+set}" = set; then :
23548 $as_echo_n "(cached) " >&6
23550 if test -n "$JAVA"; then
23551 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
23553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23554 for as_dir
in $PATH
23557 test -z "$as_dir" && as_dir
=.
23558 for ac_exec_ext
in '' $ac_executable_extensions; do
23559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23560 ac_cv_prog_JAVA
="$ac_prog"
23561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23570 JAVA
=$ac_cv_prog_JAVA
23571 if test -n "$JAVA"; then
23572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
23573 $as_echo "$JAVA" >&6; }
23575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23576 $as_echo "no" >&6; }
23580 test -n "$JAVA" && break
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
23625 test -n "$JAVA" || JAVA
="$JAVAPREFIX"
23628 test "x$JAVA" = x
&& as_fn_error
"no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
23630 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
23631 set dummy
uudecode$EXEEXT; ac_word
=$2
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23633 $as_echo_n "checking for $ac_word... " >&6; }
23634 if test "${ac_cv_prog_uudecode+set}" = set; then :
23635 $as_echo_n "(cached) " >&6
23637 if test -n "$uudecode"; then
23638 ac_cv_prog_uudecode
="$uudecode" # Let the user override the test.
23640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23641 for as_dir
in $PATH
23644 test -z "$as_dir" && as_dir
=.
23645 for ac_exec_ext
in '' $ac_executable_extensions; do
23646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23647 ac_cv_prog_uudecode
="yes"
23648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23657 uudecode=$ac_cv_prog_uudecode
23658 if test -n "$uudecode"; then
23659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
23660 $as_echo "$uudecode" >&6; }
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23663 $as_echo "no" >&6; }
23667 if test x
$uudecode = xyes
; then
23668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
23669 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
23670 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :
23671 $as_echo_n "(cached) " >&6
23674 cat << \EOF
> Test.uue
23675 begin-base64
644 Test.class
23676 yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
23677 bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
23678 bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
23679 YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
23680 aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
23681 AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
23682 AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ
=
23685 if uudecode$EXEEXT Test.uue
; then
23686 ac_cv_prog_uudecode_base64
=yes
23688 echo "configure: 23688: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
23689 echo "configure: failed file was:" >&5
23691 ac_cv_prog_uudecode_base64
=no
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
23696 $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
23698 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
23701 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
23702 if test x
$ac_cv_prog_javac_works = xno
; then
23703 as_fn_error
"Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
23705 if test x
$ac_cv_prog_javac_works = x
; then
23707 ECJ_OPTS
="-warn:-deprecation,serial,unusedImport"
23708 JAVAC_OPTS
="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
23710 if test "x$JAVAPREFIX" = x
; then
23711 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"
23713 # Extract the first word of "$ac_prog", so it can be a program name with args.
23714 set dummy
$ac_prog; ac_word
=$2
23715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23716 $as_echo_n "checking for $ac_word... " >&6; }
23717 if test "${ac_cv_prog_JAVAC+set}" = set; then :
23718 $as_echo_n "(cached) " >&6
23720 if test -n "$JAVAC"; then
23721 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
23723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23724 for as_dir
in $PATH
23727 test -z "$as_dir" && as_dir
=.
23728 for ac_exec_ext
in '' $ac_executable_extensions; do
23729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23730 ac_cv_prog_JAVAC
="$ac_prog"
23731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23740 JAVAC
=$ac_cv_prog_JAVAC
23741 if test -n "$JAVAC"; then
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
23743 $as_echo "$JAVAC" >&6; }
23745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23746 $as_echo "no" >&6; }
23750 test -n "$JAVAC" && break
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
23795 test -n "$JAVAC" || JAVAC
="$JAVAPREFIX"
23798 test "x$JAVAC" = x
&& as_fn_error
"no acceptable Java compiler found in \$PATH" "$LINENO" 5
23799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC is a version of gcj" >&5
23800 $as_echo_n "checking if $JAVAC is a version of gcj... " >&6; }
23801 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then :
23802 $as_echo_n "(cached) " >&6
23805 if $JAVAC --version |
grep gcj
> /dev
/null
; then
23806 ac_cv_prog_javac_is_gcj
=yes;
23807 JAVAC
="$JAVAC $GCJ_OPTS";
23810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_is_gcj" >&5
23811 $as_echo "$ac_cv_prog_javac_is_gcj" >&6; }
23812 JAVAC_IS_GCJ
=$ac_cv_prog_javac_is_gcj
23814 if test x
"${JAVAC_IS_GCJ}" = xyes
; then
23816 GCJ_JAVAC_FALSE
='#'
23822 if test "$enable_java_maintainer_mode" = yes; then
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
23825 $as_echo_n "checking if $JAVAC works... " >&6; }
23826 if test "${ac_cv_prog_javac_works+set}" = set; then :
23827 $as_echo_n "(cached) " >&6
23830 JAVA_TEST
=Object.java
23831 CLASS_TEST
=Object.class
23832 cat << \EOF
> $JAVA_TEST
23833 /* #line 23833 "configure" */
23836 public class Object
23838 static
<T
> void doStuff
()
23843 if test x
$JAVAC_IS_GCJ = xyes
; then
23844 CMD
="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
23846 CMD
="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
23849 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
23850 (eval $ac_try) 2>&5
23852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23853 test $ac_status = 0; }; } >/dev
/null
2>&1; then
23854 ac_cv_prog_javac_works
=yes
23856 as_fn_error
"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
23857 echo "configure: failed program was:" >&5
23860 rm -f $JAVA_TEST $CLASS_TEST
23863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
23864 $as_echo "$ac_cv_prog_javac_works" >&6; }
23870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
23871 $as_echo_n "checking if $JAVA works... " >&6; }
23872 if test "${ac_cv_prog_java_works+set}" = set; then :
23873 $as_echo_n "(cached) " >&6
23876 JAVA_TEST
=Test.java
23877 CLASS_TEST
=Test.class
23879 cat << \EOF
> $JAVA_TEST
23880 /* [#]line 23880 "configure" */
23881 public class Test
{
23882 public static void main
(String args
[]) {
23886 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
23887 if { ac_try
='$JAVAC $JAVACFLAGS $JAVA_TEST'
23888 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
23889 (eval $ac_try) 2>&5
23891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23892 test $ac_status = 0; }; } && test -s $CLASS_TEST; then
23895 echo "configure: failed program was:" >&5
23897 as_fn_error
"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
23900 if { ac_try
='CLASSPATH=.:$CLASSPATH $JAVA $JAVAFLAGS $TEST'
23901 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
23902 (eval $ac_try) 2>&5
23904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23905 test $ac_status = 0; }; } >/dev
/null
2>&1; then
23906 ac_cv_prog_java_works
=yes
23908 echo "configure: failed program was:" >&5
23910 as_fn_error
"The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
23912 rm -fr $JAVA_TEST $CLASS_TEST Test.uue
23915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
23916 $as_echo "$ac_cv_prog_java_works" >&6; }
23921 if test "x${COMPILE_GJDOC}" = xyes
; then
23923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the ANTLR parser generator JAR file" >&5
23924 $as_echo_n "checking for the ANTLR parser generator JAR file... " >&6; }
23925 if test -z "$ANTLR_JAR"; then
23926 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
23927 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
23929 if test -f "$antlr_lib_home/antlr.jar"; then
23930 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
23935 test -f $ANTLR_JAR || as_fn_error
"specified ANTLR jar file $ANTLR_JAR not found." "$LINENO" 5 \
23936 && { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
23937 $as_echo "$ANTLR_JAR" >&6; }
23940 if test "x${REGENERATE_GJDOC_PARSER}" = xyes
&& test "x${enable_java_maintainer_mode}" = xyes
; then
23942 if test -n "$ac_tool_prefix"; then
23943 for ac_prog
in cantlr runantlr antlr
23945 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23946 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
23947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23948 $as_echo_n "checking for $ac_word... " >&6; }
23949 if test "${ac_cv_prog_ANTLR+set}" = set; then :
23950 $as_echo_n "(cached) " >&6
23952 if test -n "$ANTLR"; then
23953 ac_cv_prog_ANTLR
="$ANTLR" # Let the user override the test.
23955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23956 for as_dir
in $PATH
23959 test -z "$as_dir" && as_dir
=.
23960 for ac_exec_ext
in '' $ac_executable_extensions; do
23961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23962 ac_cv_prog_ANTLR
="$ac_tool_prefix$ac_prog"
23963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23972 ANTLR
=$ac_cv_prog_ANTLR
23973 if test -n "$ANTLR"; then
23974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR" >&5
23975 $as_echo "$ANTLR" >&6; }
23977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23978 $as_echo "no" >&6; }
23982 test -n "$ANTLR" && break
23985 if test -z "$ANTLR"; then
23987 for ac_prog
in cantlr runantlr antlr
23989 # Extract the first word of "$ac_prog", so it can be a program name with args.
23990 set dummy
$ac_prog; ac_word
=$2
23991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23992 $as_echo_n "checking for $ac_word... " >&6; }
23993 if test "${ac_cv_prog_ac_ct_ANTLR+set}" = set; then :
23994 $as_echo_n "(cached) " >&6
23996 if test -n "$ac_ct_ANTLR"; then
23997 ac_cv_prog_ac_ct_ANTLR
="$ac_ct_ANTLR" # Let the user override the test.
23999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24000 for as_dir
in $PATH
24003 test -z "$as_dir" && as_dir
=.
24004 for ac_exec_ext
in '' $ac_executable_extensions; do
24005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24006 ac_cv_prog_ac_ct_ANTLR
="$ac_prog"
24007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24016 ac_ct_ANTLR
=$ac_cv_prog_ac_ct_ANTLR
24017 if test -n "$ac_ct_ANTLR"; then
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ANTLR" >&5
24019 $as_echo "$ac_ct_ANTLR" >&6; }
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24022 $as_echo "no" >&6; }
24026 test -n "$ac_ct_ANTLR" && break
24029 if test "x$ac_ct_ANTLR" = x
; then
24032 case $cross_compiling:$ac_tool_warned in
24034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24036 ac_tool_warned
=yes ;;
24042 if test "x$ANTLR" = x
; then
24043 if test -z "$JAVA"; then
24044 as_fn_error
"Failed to find either an antlr binary or a suitable Java runtime for ANTLR." "$LINENO" 5
24046 ANTLR
="$JAVA -classpath $ANTLR_JAR antlr.Tool"
24050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr 2.7.1 or better" >&5
24051 $as_echo_n "checking for antlr 2.7.1 or better... " >&6; }
24052 antlr_version_str
=`$ANTLR 2>&1 | head -n 1 | sed '/.*Version */!d; s///;q'`
24053 if test "$antlr_version_str"; then
24054 antlr_version_regex
='s/\([[:digit:]]\+\)\.\([[:digit:]]\+\)\.\([[:digit:]]\+\).*$/'
24055 antlr_version_major
=`echo $antlr_version_str | sed "$antlr_version_regex\\1/"`
24056 antlr_version_minor
=`echo $antlr_version_str | sed "$antlr_version_regex\\2/"`
24057 antlr_version_micro
=`echo $antlr_version_str | sed "$antlr_version_regex\\3/"`
24058 (test $antlr_version_major -gt 2 || \
24059 (test $antlr_version_major -eq 2 && \
24060 test $antlr_version_minor -gt 7) || \
24061 (test $antlr_version_major -eq 2 && \
24062 test $antlr_version_minor -eq 7 && \
24063 test $antlr_version_micro -ge 1))
24065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&5
24066 $as_echo "$antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&6; }
24073 # Check for javac if we need to build either the class library,
24074 # the examples or the tools
24075 if test "x${use_glibj_zip}" = xfalse || \
24076 test "x${EXAMPLESDIR}" != x || \
24077 test "x${TOOLSDIR}" != x
&& \
24078 test "x${build_class_files}" != xno
; then
24080 ECJ_OPTS
="-warn:-deprecation,serial,unusedImport"
24081 JAVAC_OPTS
="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
24083 if test "x$JAVAPREFIX" = x
; then
24084 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"
24086 # Extract the first word of "$ac_prog", so it can be a program name with args.
24087 set dummy
$ac_prog; ac_word
=$2
24088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24089 $as_echo_n "checking for $ac_word... " >&6; }
24090 if test "${ac_cv_prog_JAVAC+set}" = set; then :
24091 $as_echo_n "(cached) " >&6
24093 if test -n "$JAVAC"; then
24094 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
24096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24097 for as_dir
in $PATH
24100 test -z "$as_dir" && as_dir
=.
24101 for ac_exec_ext
in '' $ac_executable_extensions; do
24102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24103 ac_cv_prog_JAVAC
="$ac_prog"
24104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24113 JAVAC
=$ac_cv_prog_JAVAC
24114 if test -n "$JAVAC"; then
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
24116 $as_echo "$JAVAC" >&6; }
24118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24119 $as_echo "no" >&6; }
24123 test -n "$JAVAC" && break
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
24168 test -n "$JAVAC" || JAVAC
="$JAVAPREFIX"
24171 test "x$JAVAC" = x
&& as_fn_error
"no acceptable Java compiler found in \$PATH" "$LINENO" 5
24172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC is a version of gcj" >&5
24173 $as_echo_n "checking if $JAVAC is a version of gcj... " >&6; }
24174 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then :
24175 $as_echo_n "(cached) " >&6
24178 if $JAVAC --version |
grep gcj
> /dev
/null
; then
24179 ac_cv_prog_javac_is_gcj
=yes;
24180 JAVAC
="$JAVAC $GCJ_OPTS";
24183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_is_gcj" >&5
24184 $as_echo "$ac_cv_prog_javac_is_gcj" >&6; }
24185 JAVAC_IS_GCJ
=$ac_cv_prog_javac_is_gcj
24187 if test x
"${JAVAC_IS_GCJ}" = xyes
; then
24189 GCJ_JAVAC_FALSE
='#'
24195 if test "$enable_java_maintainer_mode" = yes; then
24197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
24198 $as_echo_n "checking if $JAVAC works... " >&6; }
24199 if test "${ac_cv_prog_javac_works+set}" = set; then :
24200 $as_echo_n "(cached) " >&6
24203 JAVA_TEST
=Object.java
24204 CLASS_TEST
=Object.class
24205 cat << \EOF
> $JAVA_TEST
24206 /* #line 24206 "configure" */
24209 public class Object
24211 static
<T
> void doStuff
()
24216 if test x
$JAVAC_IS_GCJ = xyes
; then
24217 CMD
="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
24219 CMD
="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
24222 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
24223 (eval $ac_try) 2>&5
24225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24226 test $ac_status = 0; }; } >/dev
/null
2>&1; then
24227 ac_cv_prog_javac_works
=yes
24229 as_fn_error
"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
24230 echo "configure: failed program was:" >&5
24233 rm -f $JAVA_TEST $CLASS_TEST
24236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
24237 $as_echo "$ac_cv_prog_javac_works" >&6; }
24242 JAVA_TEST
=Test.java
24243 CLASS_TEST
=Test.class
24244 cat << \EOF
> $JAVA_TEST
24245 /* #line 24245 "configure" */
24248 public static void main
(String args
)
24250 System.out.println
("Hello World");
24254 if test x
$JAVAC_IS_GCJ != xyes
; then
24255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether javac supports -J" >&5
24256 $as_echo_n "checking whether javac supports -J... " >&6; }
24257 $JAVAC $JAVACFLAGS -J-Xmx768M -sourcepath '' $JAVA_TEST
24259 if test "x$javac_result" = "x0"; then
24260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24261 $as_echo "yes" >&6; }
24262 JAVAC_MEM_OPT
="-J-Xmx768M"
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24265 $as_echo "no" >&6; }
24268 rm -f $JAVA_TEST $CLASS_TEST
24274 # Check whether --with-escher was given.
24275 if test "${with_escher+set}" = set; then :
24276 withval
=$with_escher;
24279 case "$with_escher" in
24287 as_fn_error
"Please supply an absolute path to Escher library" "$LINENO" 5
24291 PATH_TO_ESCHER
=$with_escher
24295 if test x
$use_escher = xtrue
; then
24297 USE_ESCHER_FALSE
='#'
24299 USE_ESCHER_TRUE
='#'
24305 # Check whether --enable-local-sockets was given.
24306 if test "${enable_local_sockets+set}" = set; then :
24307 enableval
=$enable_local_sockets; case "${enableval}" in
24309 ENABLE_LOCAL_SOCKETS
=yes
24312 ENABLE_LOCAL_SOCKETS
=no
24317 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
24319 ac_fn_c_check_header_mongrel
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
24320 if test "x$ac_cv_header_sys_un_h" = x
""yes; then :
24325 for ac_func
in read write bind listen accept shutdown
24327 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24328 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
24329 eval as_val
=\$
$as_ac_var
24330 if test "x$as_val" = x
""yes; then :
24331 cat >>confdefs.h
<<_ACEOF
24332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24336 as_fn_error
"networking support not available" "$LINENO" 5
24341 $as_echo "#define ENABLE_LOCAL_SOCKETS 1" >>confdefs.h
24344 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
24345 ENABLE_LOCAL_SOCKETS_TRUE
=
24346 ENABLE_LOCAL_SOCKETS_FALSE
='#'
24348 ENABLE_LOCAL_SOCKETS_TRUE
='#'
24349 ENABLE_LOCAL_SOCKETS_FALSE
=
24355 WANT_NATIVE_BIG_INTEGER
=false
24356 if test "x${COMPILE_GMP}" = xyes
; then
24357 if test "x${ac_cv_lib_gmp___gmpz_mul_si}" = xyes
; then
24358 if test "x${ac_cv_header_gmp_h}" = xyes
; then
24359 WANT_NATIVE_BIG_INTEGER
=true
24361 $as_echo "#define WITH_GNU_MP 1" >>confdefs.h
24371 if test "x${COMPILE_GMP}" = xyes
; then
24372 CREATE_GMPBI_LIBRARY_TRUE
=
24373 CREATE_GMPBI_LIBRARY_FALSE
='#'
24375 CREATE_GMPBI_LIBRARY_TRUE
='#'
24376 CREATE_GMPBI_LIBRARY_FALSE
=
24380 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"
24383 if test "x${COMPILE_WRAPPERS}" = xyes
; then
24386 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"
24389 ac_config_commands
="$ac_config_commands gappletviewer"
24391 ac_config_commands
="$ac_config_commands gjarsigner"
24393 ac_config_commands
="$ac_config_commands gkeytool"
24395 ac_config_commands
="$ac_config_commands gjar"
24397 ac_config_commands
="$ac_config_commands gnative2ascii"
24399 ac_config_commands
="$ac_config_commands gserialver"
24401 ac_config_commands
="$ac_config_commands grmiregistry"
24403 ac_config_commands
="$ac_config_commands gtnameserv"
24405 ac_config_commands
="$ac_config_commands gorbd"
24407 ac_config_commands
="$ac_config_commands grmid"
24409 ac_config_commands
="$ac_config_commands grmic"
24411 ac_config_commands
="$ac_config_commands gjavah"
24416 if test "x${COMPILE_GJDOC}" = xyes
24418 ac_config_files
="$ac_config_files tools/gjdoc"
24420 ac_config_commands
="$ac_config_commands gjdoc"
24424 ac_config_commands
="$ac_config_commands gen-classlist"
24426 ac_config_commands
="$ac_config_commands copy-vmresources"
24428 cat >confcache
<<\_ACEOF
24429 # This file is a shell script that caches the results of configure
24430 # tests run on this system so they can be shared between configure
24431 # scripts and configure runs, see configure's option --config-cache.
24432 # It is not useful on other systems. If it contains results you don't
24433 # want to keep, you may remove or edit it.
24435 # config.status only pays attention to the cache file if you give it
24436 # the --recheck option to rerun configure.
24438 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24439 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24440 # following values.
24444 # The following way of writing the cache mishandles newlines in values,
24445 # but we know of no workaround that is simple, portable, and efficient.
24446 # So, we kill variables containing newlines.
24447 # Ultrix sh set writes to stderr and can't be redirected directly,
24448 # and sets the high bit in the cache file unless we assign to the vars.
24450 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24451 eval ac_val
=\$
$ac_var
24455 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24456 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24459 _ | IFS | as_nl
) ;; #(
24460 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24461 *) { eval $ac_var=; unset $ac_var;} ;;
24467 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24468 *${as_nl}ac_space
=\
*)
24469 # `set' does not quote correctly, so add quotes: double-quote
24470 # substitution turns \\\\ into \\, and sed turns \\ into \.
24473 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24476 # `set' quotes correctly as required by POSIX, so do not add quotes.
24477 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24486 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24488 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24490 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24491 if test -w "$cache_file"; then
24492 test "x$cache_file" != "x/dev/null" &&
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24494 $as_echo "$as_me: updating cache $cache_file" >&6;}
24495 cat confcache
>$cache_file
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24498 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24503 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24504 # Let make expand exec_prefix.
24505 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24507 DEFS
=-DHAVE_CONFIG_H
24511 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24512 # 1. Remove the extension, and $U if already installed.
24513 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24514 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24515 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24516 # will be set to the directory where LIBOBJS objects are built.
24517 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24518 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
24520 LIBOBJS
=$ac_libobjs
24522 LTLIBOBJS
=$ac_ltlibobjs
24525 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
24526 as_fn_error
"conditional \"JAVA_MAINTAINER_MODE\" was never defined.
24527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24529 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
24530 as_fn_error
"conditional \"GENINSRC\" was never defined.
24531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24533 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
24534 as_fn_error
"conditional \"INSTALL_BINARIES\" was never defined.
24535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24537 if test -n "$EXEEXT"; then
24539 am__EXEEXT_FALSE
='#'
24541 am__EXEEXT_TRUE
='#'
24545 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
24546 as_fn_error
"conditional \"CREATE_COLLECTIONS\" was never defined.
24547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24549 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
24550 as_fn_error
"conditional \"CREATE_JNI_LIBRARIES\" was never defined.
24551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24553 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
24554 as_fn_error
"conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
24555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24557 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
24558 as_fn_error
"conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
24559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24561 if test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_FALSE}"; then
24562 as_fn_error
"conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
24563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24565 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
24566 as_fn_error
"conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
24567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24569 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24570 as_fn_error
"conditional \"AMDEP\" was never defined.
24571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24573 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24574 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
24575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24577 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
24578 as_fn_error
"conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
24579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24581 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
24582 as_fn_error
"conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
24583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24585 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
24586 as_fn_error
"conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
24587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24589 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
24590 as_fn_error
"conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
24591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24593 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
24594 as_fn_error
"conditional \"CREATE_PLUGIN\" was never defined.
24595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24597 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
24598 as_fn_error
"conditional \"CREATE_GJDOC\" was never defined.
24599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24601 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
24602 as_fn_error
"conditional \"CREATE_JNI_HEADERS\" was never defined.
24603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24605 if test -z "${CREATE_GJDOC_PARSER_TRUE}" && test -z "${CREATE_GJDOC_PARSER_FALSE}"; then
24606 as_fn_error
"conditional \"CREATE_GJDOC_PARSER\" was never defined.
24607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24609 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
24610 as_fn_error
"conditional \"CREATE_WRAPPERS\" was never defined.
24611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24613 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24614 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
24615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24617 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24618 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
24619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24621 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24622 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
24623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24625 if test -z "${WITH_JAR_TRUE}" && test -z "${WITH_JAR_FALSE}"; then
24626 as_fn_error
"conditional \"WITH_JAR\" was never defined.
24627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24629 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
24630 as_fn_error
"conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
24631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24633 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
24634 as_fn_error
"conditional \"INSTALL_CLASS_FILES\" was never defined.
24635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24637 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
24638 as_fn_error
"conditional \"BUILD_CLASS_FILES\" was never defined.
24639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24641 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
24642 as_fn_error
"conditional \"CREATE_API_DOCS\" was never defined.
24643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24645 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
24646 as_fn_error
"conditional \"REGEN_PARSERS\" was never defined.
24647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24649 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
24650 as_fn_error
"conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
24651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24653 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
24654 as_fn_error
"conditional \"GCJ_JAVAC\" was never defined.
24655 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24657 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
24658 as_fn_error
"conditional \"GCJ_JAVAC\" was never defined.
24659 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24661 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
24662 as_fn_error
"conditional \"USE_ESCHER\" was never defined.
24663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24665 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
24666 as_fn_error
"conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
24667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24669 if test -z "${CREATE_GMPBI_LIBRARY_TRUE}" && test -z "${CREATE_GMPBI_LIBRARY_FALSE}"; then
24670 as_fn_error
"conditional \"CREATE_GMPBI_LIBRARY\" was never defined.
24671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24674 : ${CONFIG_STATUS=./config.status}
24676 ac_clean_files_save
=$ac_clean_files
24677 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24678 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24679 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24681 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24683 # Generated by $as_me.
24684 # Run this file to recreate the current configuration.
24685 # Compiler output produced by configure, useful for debugging
24686 # configure, is in config.log if it exists.
24689 ac_cs_recheck=false
24692 SHELL=\${CONFIG_SHELL-$SHELL}
24695 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
24696 ## -------------------- ##
24697 ## M4sh Initialization. ##
24698 ## -------------------- ##
24700 # Be more Bourne compatible
24701 DUALCASE
=1; export DUALCASE
# for MKS sh
24702 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24705 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24706 # is contrary to our usage. Disable this feature.
24707 alias -g '${1+"$@"}'='"$@"'
24708 setopt NO_GLOB_SUBST
24710 case `(set -o) 2>/dev/null` in #(
24722 # Printing a long string crashes Solaris 7 /usr/bin/printf.
24723 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24724 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24725 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24726 # Prefer a ksh shell builtin over an external printf program on Solaris,
24727 # but without wasting forks for bash or zsh.
24728 if test -z "$BASH_VERSION$ZSH_VERSION" \
24729 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
24730 as_echo='print
-r --'
24731 as_echo_n='print
-rn --'
24732 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24733 as_echo='printf %s
\n'
24734 as_echo_n='printf %s
'
24736 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24737 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
24738 as_echo_n='/usr
/ucb
/echo -n'
24740 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24741 as_echo_n_body='eval
24745 expr "X$arg" : "X\\(.*\\)$as_nl";
24746 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24748 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
24750 export as_echo_n_body
24751 as_echo_n='sh
-c $as_echo_n_body as_echo
'
24753 export as_echo_body
24754 as_echo='sh
-c $as_echo_body as_echo
'
24757 # The user is always right.
24758 if test "${PATH_SEPARATOR+set}" != set; then
24760 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24761 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24768 # We need space, tab and new line, in precisely that order. Quoting is
24769 # there to prevent editors from complaining about space-tab.
24770 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24771 # splitting by setting IFS to empty value.)
24774 # Find who we are. Look in the path if we contain no directory separator.
24776 *[\\/]* ) as_myself=$0 ;;
24777 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24778 for as_dir in $PATH
24781 test -z "$as_dir" && as_dir=.
24782 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24788 # We did not find ourselves, most probably we were run as `sh COMMAND'
24789 # in which case we are not to be found in the path.
24790 if test "x$as_myself" = x
; then
24793 if test ! -f "$as_myself"; then
24794 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24798 # Unset variables that we do not need and which cause bugs (e.g. in
24799 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
24800 # suppresses any "Segmentation fault" message there. '((' could
24801 # trigger a bug in pdksh 5.2.14.
24802 for as_var
in BASH_ENV ENV MAIL MAILPATH
24803 do eval test x\
${$as_var+set} = xset \
24804 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
24817 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
24820 # as_fn_error ERROR [LINENO LOG_FD]
24821 # ---------------------------------
24822 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24823 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24824 # script with status $?, using 1 if that was 0.
24827 as_status
=$?
; test $as_status -eq 0 && as_status
=1
24829 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
24830 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
24832 $as_echo "$as_me: error: $1" >&2
24833 as_fn_exit
$as_status
24837 # as_fn_set_status STATUS
24838 # -----------------------
24839 # Set $? to STATUS, without forking.
24840 as_fn_set_status
()
24843 } # as_fn_set_status
24845 # as_fn_exit STATUS
24846 # -----------------
24847 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24851 as_fn_set_status
$1
24857 # Portably unset VAR.
24860 { eval $1=; unset $1;}
24862 as_unset
=as_fn_unset
24863 # as_fn_append VAR VALUE
24864 # ----------------------
24865 # Append the text in VALUE to the end of the definition contained in VAR. Take
24866 # advantage of any shell optimizations that allow amortized linear growth over
24867 # repeated appends, instead of the typical quadratic growth present in naive
24869 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
24870 eval 'as_fn_append ()
24881 # as_fn_arith ARG...
24882 # ------------------
24883 # Perform arithmetic evaluation on the ARGs, and store the result in the
24884 # global $as_val. Take advantage of shells that can avoid forks. The arguments
24885 # must be portable across $(()) and expr.
24886 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
24887 eval 'as_fn_arith ()
24894 as_val
=`expr "$@" || test $? -eq 1`
24899 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24900 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24906 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24907 as_basename
=basename
24912 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24918 as_me
=`$as_basename -- "$0" ||
24919 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24920 X"$0" : 'X\(//\)$' \| \
24921 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24923 sed '/^.*\/\([^/][^/]*\)\/*$/{
24937 # Avoid depending upon Character Ranges.
24938 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24939 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24940 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24941 as_cr_digits
='0123456789'
24942 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24944 ECHO_C
= ECHO_N
= ECHO_T
=
24945 case `echo -n x` in #(((((
24947 case `echo 'xy\c'` in
24948 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24950 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
24957 rm -f conf$$ conf$$.exe conf$$.
file
24958 if test -d conf$$.dir
; then
24959 rm -f conf$$.dir
/conf$$.
file
24962 mkdir conf$$.dir
2>/dev
/null
24964 if (echo >conf$$.
file) 2>/dev
/null
; then
24965 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24967 # ... but there are two gotchas:
24968 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24969 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24970 # In both cases, we have to default to `cp -p'.
24971 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24973 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24981 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24982 rmdir conf$$.dir
2>/dev
/null
24987 # Create "$as_dir" as a directory, including parents if necessary.
24992 -*) as_dir
=.
/$as_dir;;
24994 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
24998 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24999 *) as_qdir
=$as_dir;;
25001 as_dirs
="'$as_qdir' $as_dirs"
25002 as_dir
=`$as_dirname -- "$as_dir" ||
25003 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25004 X"$as_dir" : 'X\(//\)[^/]' \| \
25005 X"$as_dir" : 'X\(//\)$' \| \
25006 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25007 $as_echo X"$as_dir" |
25008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25012 /^X\(\/\/\)[^/].*/{
25025 test -d "$as_dir" && break
25027 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25028 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
25032 if mkdir
-p .
2>/dev
/null
; then
25033 as_mkdir_p
='mkdir -p "$as_dir"'
25035 test -d .
/-p && rmdir .
/-p
25039 if test -x / >/dev
/null
2>&1; then
25040 as_test_x
='test -x'
25042 if ls -dL / >/dev
/null
2>&1; then
25049 if test -d "$1"; then
25055 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25056 ???[sx]*):;;*)false;;esac;fi
25060 as_executable_p
=$as_test_x
25062 # Sed expression to map a string onto a valid CPP name.
25063 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25065 # Sed expression to map a string onto a valid variable name.
25066 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25070 ## ----------------------------------- ##
25071 ## Main body of $CONFIG_STATUS script. ##
25072 ## ----------------------------------- ##
25074 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25077 # Save the log message, to keep $0 and so on meaningful, and to
25078 # report actual input values of CONFIG_FILES etc. instead of their
25079 # values after options handling.
25081 This file was extended by GNU Classpath $as_me 0.98, which was
25082 generated by GNU Autoconf 2.64. Invocation command line was
25084 CONFIG_FILES = $CONFIG_FILES
25085 CONFIG_HEADERS = $CONFIG_HEADERS
25086 CONFIG_LINKS = $CONFIG_LINKS
25087 CONFIG_COMMANDS = $CONFIG_COMMANDS
25090 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25095 case $ac_config_files in *"
25096 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25099 case $ac_config_headers in *"
25100 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25105 # Files that config.status was made for.
25106 config_files="$ac_config_files"
25107 config_headers="$ac_config_headers"
25108 config_links="$ac_config_links"
25109 config_commands="$ac_config_commands"
25113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25115 \`$as_me' instantiates files and other configuration actions
25116 from templates according to the current configuration. Unless the files
25117 and actions are specified as TAGs, all are instantiated by default.
25119 Usage: $0 [OPTION]... [TAG]...
25121 -h, --help print this help, then exit
25122 -V, --version print version number and configuration settings, then exit
25123 -q, --quiet, --silent
25124 do not print progress messages
25125 -d, --debug don't remove temporary files
25126 --recheck update $as_me by reconfiguring in the same conditions
25127 --file=FILE[:TEMPLATE]
25128 instantiate the configuration file FILE
25129 --header=FILE[:TEMPLATE]
25130 instantiate the configuration header FILE
25132 Configuration files:
25135 Configuration headers:
25138 Configuration links:
25141 Configuration commands:
25144 Report bugs to <classpath@gnu.org>.
25145 GNU Classpath home page: <http://www.gnu.org/software/classpath/>.
25146 General help using GNU software: <http://www.gnu.org/gethelp/>."
25149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25151 GNU Classpath config.status 0.98
25152 configured by $0, generated by GNU Autoconf 2.64,
25153 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25155 Copyright (C) 2009 Free Software Foundation, Inc.
25156 This config.status script is free software; the Free Software Foundation
25157 gives unlimited permission to copy, distribute and modify it."
25164 test -n "\$AWK" || AWK=awk
25167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25168 # The default lists apply if the user does not specify any file.
25174 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25175 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25186 # Handling of the options.
25187 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25189 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25190 $as_echo "$ac_cs_version"; exit ;;
25191 --debug |
--debu |
--deb |
--de |
--d |
-d )
25193 --file |
--fil |
--fi |
--f )
25196 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25198 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25199 ac_need_defaults
=false
;;
25200 --header |
--heade |
--head |
--hea )
25203 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25205 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25206 ac_need_defaults
=false
;;
25208 # Conflict between --help and --header
25209 as_fn_error
"ambiguous option: \`$1'
25210 Try \`$0 --help' for more information.";;
25211 --help |
--hel |
-h )
25212 $as_echo "$ac_cs_usage"; exit ;;
25213 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25214 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25217 # This is an error.
25218 -*) as_fn_error
"unrecognized option: \`$1'
25219 Try \`$0 --help' for more information." ;;
25221 *) as_fn_append ac_config_targets
" $1"
25222 ac_need_defaults
=false
;;
25228 ac_configure_extra_args
=
25230 if $ac_cs_silent; then
25232 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25237 if \$ac_cs_recheck; then
25238 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25240 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25241 CONFIG_SHELL='$SHELL'
25242 export CONFIG_SHELL
25247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25251 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25252 ## Running $as_me. ##
25258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25266 with_multisubdir="$with_multisubdir"
25267 with_multisrctop="$with_multisrctop"
25268 with_target_subdir="$with_target_subdir"
25269 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25270 multi_basedir="$multi_basedir"
25271 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25274 GFORTRAN="$GFORTRAN"
25276 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25279 # The HP-UX ksh and POSIX shell print the target directory to stdout
25280 # if CDPATH is set.
25281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25283 sed_quote_subst='$sed_quote_subst'
25284 double_quote_subst='$double_quote_subst'
25285 delay_variable_subst='$delay_variable_subst'
25286 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25287 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25288 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25289 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25290 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25291 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25292 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25293 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25294 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25295 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25296 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25297 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25298 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25299 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25300 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25301 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25302 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25303 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25304 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25305 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25306 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25307 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25308 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25309 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25310 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25311 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25312 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25313 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25314 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25315 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25316 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25317 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25318 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25319 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25320 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25321 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25322 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25323 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25324 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25325 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25326 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25327 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25328 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25329 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25330 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25331 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25332 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25333 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25334 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"`'
25335 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25336 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25337 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25338 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25339 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25340 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25341 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25342 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25343 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25344 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25345 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25346 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25347 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25348 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25349 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25350 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25351 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25352 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25353 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25354 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25355 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25356 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25357 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25358 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25359 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25360 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25361 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25362 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25363 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25364 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25365 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25366 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25367 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25368 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25369 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25370 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25371 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25372 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25373 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25374 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25375 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25376 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25377 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25378 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25379 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25380 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25381 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25382 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25383 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25384 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25385 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25386 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25387 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25388 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25389 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25390 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25391 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25392 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25393 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25394 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25395 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25396 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25397 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25398 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25399 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25400 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25401 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25402 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25403 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25404 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25405 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25406 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25407 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25408 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25409 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25410 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25411 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25412 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25413 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25414 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25415 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25416 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25417 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25418 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25419 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25420 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25421 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25422 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25423 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25424 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25425 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25426 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25427 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25428 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25429 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25430 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25431 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25432 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25433 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25434 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25435 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25436 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25437 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25438 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
25439 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25440 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25441 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25442 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25443 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25444 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25445 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25446 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
25447 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
25448 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
25449 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25450 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25451 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25452 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25453 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
25454 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
25455 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
25456 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25457 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25458 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
25459 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
25460 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
25463 LTCFLAGS='$LTCFLAGS'
25464 compiler='$compiler_DEFAULT'
25466 # A function that is used when there is no print builtin or printf.
25467 func_fallback_echo ()
25469 eval 'cat <<_LTECHO_EOF
25474 # Quote evaled strings.
25488 deplibs_check_method \
25497 lt_cv_sys_global_symbol_pipe \
25498 lt_cv_sys_global_symbol_to_cdecl \
25499 lt_cv_sys_global_symbol_to_c_name_address \
25500 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25501 lt_prog_compiler_no_builtin_flag \
25502 lt_prog_compiler_wl \
25503 lt_prog_compiler_pic \
25504 lt_prog_compiler_static \
25505 lt_cv_prog_compiler_c_o \
25513 export_dynamic_flag_spec \
25514 whole_archive_flag_spec \
25515 compiler_needs_object \
25517 allow_undefined_flag \
25518 no_undefined_flag \
25519 hardcode_libdir_flag_spec \
25520 hardcode_libdir_flag_spec_ld \
25521 hardcode_libdir_separator \
25526 variables_saved_for_relink \
25528 library_names_spec \
25530 install_override_mode \
25534 compiler_lib_search_dirs \
25539 compiler_lib_search_path \
25543 lt_prog_compiler_no_builtin_flag_CXX \
25544 lt_prog_compiler_wl_CXX \
25545 lt_prog_compiler_pic_CXX \
25546 lt_prog_compiler_static_CXX \
25547 lt_cv_prog_compiler_c_o_CXX \
25548 export_dynamic_flag_spec_CXX \
25549 whole_archive_flag_spec_CXX \
25550 compiler_needs_object_CXX \
25552 allow_undefined_flag_CXX \
25553 no_undefined_flag_CXX \
25554 hardcode_libdir_flag_spec_CXX \
25555 hardcode_libdir_flag_spec_ld_CXX \
25556 hardcode_libdir_separator_CXX \
25557 fix_srcfile_path_CXX \
25558 exclude_expsyms_CXX \
25559 include_expsyms_CXX \
25560 file_list_spec_CXX \
25561 compiler_lib_search_dirs_CXX \
25562 predep_objects_CXX \
25563 postdep_objects_CXX \
25566 compiler_lib_search_path_CXX; do
25567 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25568 *[\\\\\\\`\\"\\\$]*)
25569 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
25572 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25577 # Double-quote double-evaled strings.
25578 for var in reload_cmds \
25579 old_postinstall_cmds \
25580 old_postuninstall_cmds \
25582 extract_expsyms_cmds \
25583 old_archive_from_new_cmds \
25584 old_archive_from_expsyms_cmds \
25586 archive_expsym_cmds \
25588 module_expsym_cmds \
25589 export_symbols_cmds \
25592 postuninstall_cmds \
25594 sys_lib_search_path_spec \
25595 sys_lib_dlsearch_path_spec \
25597 old_archive_cmds_CXX \
25598 old_archive_from_new_cmds_CXX \
25599 old_archive_from_expsyms_cmds_CXX \
25601 archive_expsym_cmds_CXX \
25603 module_expsym_cmds_CXX \
25604 export_symbols_cmds_CXX \
25605 prelink_cmds_CXX; do
25606 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25607 *[\\\\\\\`\\"\\\$]*)
25608 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
25611 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25616 ac_aux_dir='$ac_aux_dir'
25617 xsi_shell='$xsi_shell'
25618 lt_shell_append='$lt_shell_append'
25620 # See if we are running on zsh, and set the options which allow our
25621 # commands through without removal of \ escapes INIT.
25622 if test -n "\${ZSH_VERSION+set}" ; then
25623 setopt NO_GLOB_SUBST
25629 TIMESTAMP='$TIMESTAMP'
25637 # variables for create stdint.h replacement
25640 ac_stdint_h="$ac_stdint_h"
25641 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
25642 ac_cv_stdint_message="$ac_cv_stdint_message"
25643 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
25644 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
25645 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
25646 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
25647 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
25648 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
25649 ac_cv_char_data_model="$ac_cv_char_data_model"
25650 ac_cv_long_data_model="$ac_cv_long_data_model"
25651 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
25652 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
25653 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
25658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25660 # Handling of arguments.
25661 for ac_config_target
in $ac_config_targets
25663 case $ac_config_target in
25664 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
25665 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
25666 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25667 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
25668 "lib/mkcollections.pl") CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
25669 "mkcollections.pl") CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
25670 "$ac_config_links_1") CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
25671 "$ac_stdint_h") CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
25672 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25673 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
25674 "doc/api/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
25675 "external/Makefile") CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
25676 "external/sax/Makefile") CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
25677 "external/w3c_dom/Makefile") CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
25678 "external/relaxngDatatype/Makefile") CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
25679 "external/jsr166/Makefile") CONFIG_FILES
="$CONFIG_FILES external/jsr166/Makefile" ;;
25680 "gnu/classpath/Configuration.java") CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
25681 "gnu/java/security/Configuration.java") CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
25682 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
25683 "native/Makefile") CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
25684 "native/fdlibm/Makefile") CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
25685 "native/jawt/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
25686 "native/jni/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
25687 "native/jni/classpath/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
25688 "native/jni/java-io/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
25689 "native/jni/java-lang/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
25690 "native/jni/java-math/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-math/Makefile" ;;
25691 "native/jni/java-net/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
25692 "native/jni/java-nio/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
25693 "native/jni/java-util/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
25694 "native/jni/gtk-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
25695 "native/jni/gconf-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
25696 "native/jni/gstreamer-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gstreamer-peer/Makefile" ;;
25697 "native/jni/qt-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
25698 "native/jni/xmlj/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
25699 "native/jni/midi-alsa/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
25700 "native/jni/midi-dssi/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
25701 "native/jni/native-lib/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
25702 "native/plugin/Makefile") CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
25703 "resource/Makefile") CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
25704 "resource/META-INF/services/java.util.prefs.PreferencesFactory") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
25705 "resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ;;
25706 "resource/META-INF/services/javax.sound.sampled.spi.MixerProvider") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ;;
25707 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
25708 "scripts/classpath.spec") CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
25709 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
25710 "lib/gen-classlist.sh") CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
25711 "lib/copy-vmresources.sh") CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
25712 "scripts/check_jni_methods.sh") CONFIG_FILES
="$CONFIG_FILES scripts/check_jni_methods.sh" ;;
25713 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
25714 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
25715 "examples/Makefile.jawt") CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
25716 "examples/Makefile.java2d") CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
25717 "tools/gappletviewer") CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
25718 "tools/gjarsigner") CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
25719 "tools/gkeytool") CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
25720 "tools/gjar") CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
25721 "tools/gnative2ascii") CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
25722 "tools/gserialver") CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
25723 "tools/grmiregistry") CONFIG_FILES
="$CONFIG_FILES tools/grmiregistry" ;;
25724 "tools/gtnameserv") CONFIG_FILES
="$CONFIG_FILES tools/gtnameserv" ;;
25725 "tools/gorbd") CONFIG_FILES
="$CONFIG_FILES tools/gorbd" ;;
25726 "tools/grmid") CONFIG_FILES
="$CONFIG_FILES tools/grmid" ;;
25727 "tools/grmic") CONFIG_FILES
="$CONFIG_FILES tools/grmic" ;;
25728 "tools/gjavah") CONFIG_FILES
="$CONFIG_FILES tools/gjavah" ;;
25729 "gappletviewer") CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
25730 "gjarsigner") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
25731 "gkeytool") CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
25732 "gjar") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
25733 "gnative2ascii") CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
25734 "gserialver") CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
25735 "grmiregistry") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmiregistry" ;;
25736 "gtnameserv") CONFIG_COMMANDS
="$CONFIG_COMMANDS gtnameserv" ;;
25737 "gorbd") CONFIG_COMMANDS
="$CONFIG_COMMANDS gorbd" ;;
25738 "grmid") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmid" ;;
25739 "grmic") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmic" ;;
25740 "gjavah") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjavah" ;;
25741 "tools/gjdoc") CONFIG_FILES
="$CONFIG_FILES tools/gjdoc" ;;
25742 "gjdoc") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjdoc" ;;
25743 "gen-classlist") CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
25744 "copy-vmresources") CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
25746 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25751 # If the user did not use the arguments to specify the items to instantiate,
25752 # then the envvar interface is used. Set only those that are not.
25753 # We use the long form for the default assignment because of an extremely
25754 # bizarre bug on SunOS 4.1.3.
25755 if $ac_need_defaults; then
25756 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25757 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25758 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
25759 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25762 # Have a temporary directory for convenience. Make it in the build tree
25763 # simply because there is no reason against having it here, and in addition,
25764 # creating and moving files from /tmp can sometimes cause problems.
25765 # Hook for its removal unless debugging.
25766 # Note that there is a small window in which the directory will not be cleaned:
25767 # after its creation but before its name has been assigned to `$tmp'.
25771 trap 'exit_status=$?
25772 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25774 trap 'as_fn_exit 1' 1 2 13 15
25776 # Create a (secure) tmp directory for tmp files.
25779 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25780 test -n "$tmp" && test -d "$tmp"
25783 tmp
=.
/conf$$
-$RANDOM
25784 (umask 077 && mkdir
"$tmp")
25785 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
25787 # Set up the scripts for CONFIG_FILES section.
25788 # No need to generate them if there are no CONFIG_FILES.
25789 # This happens for instance with `./config.status config.h'.
25790 if test -n "$CONFIG_FILES"; then
25793 ac_cr
=`echo X | tr X '\015'`
25794 # On cygwin, bash can eat \r inside `` if the user requested igncr.
25795 # But we know of no other shell where ac_cr would be empty at this
25796 # point, so we can use a bashism as a fallback.
25797 if test "x$ac_cr" = x
; then
25798 eval ac_cr
=\$
\'\\r
\'
25800 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25801 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25804 ac_cs_awk_cr
=$ac_cr
25807 echo 'BEGIN {' >"$tmp/subs1.awk" &&
25812 echo "cat >conf$$subs.awk <<_ACEOF" &&
25813 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25815 } >conf$$subs.sh ||
25816 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25817 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
25819 for ac_last_try in false false false false false :; do
25820 . ./conf$$subs.sh ||
25821 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25823 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
25824 if test $ac_delim_n = $ac_delim_num; then
25826 elif $ac_last_try; then
25827 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25829 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25832 rm -f conf$$subs.sh
25834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25835 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
25839 s/^/S["/; s
/!.
*/"]=/
25849 s/\(.\{148\}\).*/\1/
25851 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
25856 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25863 s/\(.\{148\}\).*/\1/
25865 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
25869 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25874 ' <conf$$subs.awk | sed '
25879 ' >>$CONFIG_STATUS || ac_write_fail=1
25880 rm -f conf$$subs.awk
25881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25883 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
25884 for (key in S) S_is_set[key] = 1
25890 nfields = split(line, field, "@
")
25892 len = length(field[1])
25893 for (i = 2; i < nfields; i++) {
25895 keylen = length(key)
25896 if (S_is_set[key]) {
25898 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25899 len += length(value) + length(field[++i])
25910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25911 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25912 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
25915 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
25916 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
25919 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25920 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
25921 # trailing colons and then remove the whole line if VPATH becomes empty
25922 # (actually we leave an empty line to preserve line numbers).
25923 if test "x
$srcdir" = x.; then
25924 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25925 s/:*\$(srcdir):*/:/
25926 s/:*\${srcdir}:*/:/
25928 s/^\([^=]*=[ ]*\):*/\1/
25934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25935 fi # test -n "$CONFIG_FILES"
25937 # Set up the scripts for CONFIG_HEADERS section.
25938 # No need to generate them if there are no CONFIG_HEADERS.
25939 # This happens for instance with `./config.status Makefile'.
25940 if test -n "$CONFIG_HEADERS"; then
25941 cat >"$tmp/defines.
awk" <<\_ACAWK ||
25945 # Transform confdefs.h into an awk script `defines.awk', embedded as
25946 # here-document in config.status, that substitutes the proper values into
25947 # config.h.in to produce config.h.
25949 # Create a delimiter string that does not exist in confdefs.h, to ease
25950 # handling of long lines.
25952 for ac_last_try in false false :; do
25953 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
25954 if test -z "$ac_t"; then
25956 elif $ac_last_try; then
25957 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
25959 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25963 # For the awk script, D is an array of macro values keyed by name,
25964 # likewise P contains macro parameters if any. Preserve backslash
25965 # newline sequences.
25967 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25969 s/.\{148\}/&'"$ac_delim"'/g
25972 s/^[ ]*#[ ]*define[ ][ ]*/ /
25979 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
25981 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
25985 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
25986 D["\
1"]=" \
3\\\\\\n
"\\/p
25988 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
25993 s/.\{148\}/&'"$ac_delim"'/g
25998 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26001 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26003 ' <confdefs.h | sed '
26004 s/'"$ac_delim"'/"\\\
26005 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26008 for (key in D) D_is_set[key] = 1
26011 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26013 split(line, arg, " ")
26014 if (arg[1] == "#") {
26018 defundef
= substr
(arg
[1], 2)
26021 split(mac1
, mac2
, "(") #)
26023 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26024 if (D_is_set
[macro
]) {
26025 # Preserve the white space surrounding the "#".
26026 print prefix
"define", macro P
[macro
] D
[macro
]
26029 # Replace #undef with comments. This is necessary, for example,
26030 # in the case of _POSIX_SOURCE, which is predefined and required
26031 # on some systems where configure will not decide to define it.
26032 if (defundef
== "undef") {
26033 print
"/*", prefix defundef
, macro
, "*/"
26041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26042 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
26043 fi # test -n "$CONFIG_HEADERS"
26046 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
26051 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26053 case $ac_mode$ac_tag in
26055 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26056 :[FH
]-) ac_tag
=-:-;;
26057 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26074 -) ac_f
="$tmp/stdin";;
26075 *) # Look for the file first in the build tree, then in the source tree
26076 # (if the path is not absolute). The absolute path cannot be DOS-style,
26077 # because $ac_f cannot contain `:'.
26081 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26083 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
26085 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26086 as_fn_append ac_file_inputs
" '$ac_f'"
26089 # Let's still pretend it is `configure' which instantiates (i.e., don't
26090 # use $as_me), people would be surprised to read:
26091 # /* config.h. Generated by config.status. */
26092 configure_input
='Generated from '`
26093 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26095 if test x
"$ac_file" != x-
; then
26096 configure_input
="$ac_file. $configure_input"
26097 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26098 $as_echo "$as_me: creating $ac_file" >&6;}
26100 # Neutralize special characters interpreted by sed in replacement strings.
26101 case $configure_input in #(
26102 *\
&* |
*\|
* |
*\\* )
26103 ac_sed_conf_input
=`$as_echo "$configure_input" |
26104 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26105 *) ac_sed_conf_input
=$configure_input;;
26109 *:-:* |
*:-) cat >"$tmp/stdin" \
26110 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
26115 ac_dir
=`$as_dirname -- "$ac_file" ||
26116 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26117 X"$ac_file" : 'X\(//\)[^/]' \| \
26118 X"$ac_file" : 'X\(//\)$' \| \
26119 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26120 $as_echo X"$ac_file" |
26121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26125 /^X\(\/\/\)[^/].*/{
26138 as_dir
="$ac_dir"; as_fn_mkdir_p
26142 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26144 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26145 # A ".." for each directory in $ac_dir_suffix.
26146 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26147 case $ac_top_builddir_sub in
26148 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26149 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26152 ac_abs_top_builddir
=$ac_pwd
26153 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26154 # for backward compatibility:
26155 ac_top_builddir
=$ac_top_build_prefix
26158 .
) # We are building in place.
26160 ac_top_srcdir
=$ac_top_builddir_sub
26161 ac_abs_top_srcdir
=$ac_pwd ;;
26162 [\\/]* | ?
:[\\/]* ) # Absolute name.
26163 ac_srcdir
=$srcdir$ac_dir_suffix;
26164 ac_top_srcdir
=$srcdir
26165 ac_abs_top_srcdir
=$srcdir ;;
26166 *) # Relative name.
26167 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26168 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26169 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26171 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26181 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26182 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26184 ac_MKDIR_P
=$MKDIR_P
26186 [\\/$
]* | ?
:[\\/]* ) ;;
26187 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26192 # If the template does not know about datarootdir, expand it.
26193 # FIXME: This hack should be removed a few years after 2.60.
26194 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26205 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26206 *datarootdir
*) ac_datarootdir_seen
=yes;;
26207 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26209 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26212 ac_datarootdir_hack='
26213 s&@datadir@&$datadir&g
26214 s&@docdir@&$docdir&g
26215 s&@infodir@&$infodir&g
26216 s&@localedir@&$localedir&g
26217 s&@mandir@&$mandir&g
26218 s&\\\${datarootdir}&$datarootdir&g' ;;
26222 # Neutralize VPATH when `$srcdir' = `.'.
26223 # Shell code in configure.ac might set extrasub.
26224 # FIXME: do we really want to maintain this feature?
26225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26226 ac_sed_extra="$ac_vpsub
26229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26231 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26232 s|@configure_input@|
$ac_sed_conf_input|
;t t
26233 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26234 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26235 s
&@srcdir@
&$ac_srcdir&;t t
26236 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26237 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26238 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26239 s
&@builddir@
&$ac_builddir&;t t
26240 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26241 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26242 s
&@INSTALL@
&$ac_INSTALL&;t t
26243 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26244 $ac_datarootdir_hack
26246 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26247 || as_fn_error "could not create
$ac_file" "$LINENO" 5
26249 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26250 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26251 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26253 which seems to be undefined. Please make sure it is defined." >&5
26254 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26255 which seems to be undefined. Please make sure it is defined." >&2;}
26259 -) cat "$tmp/out" && rm -f "$tmp/out";;
26260 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26262 || as_fn_error "could not create $ac_file" "$LINENO" 5
26268 if test x"$ac_file" != x-; then
26270 $as_echo "/* $configure_input */" \
26271 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26272 } >"$tmp/config.h" \
26273 || as_fn_error "could not create $ac_file" "$LINENO" 5
26274 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26275 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26276 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26279 mv "$tmp/config.h" "$ac_file" \
26280 || as_fn_error "could not create $ac_file" "$LINENO" 5
26283 $as_echo "/* $configure_input */" \
26284 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26285 || as_fn_error "could not create -" "$LINENO" 5
26287 # Compute "$ac_file"'s index
in $config_headers.
26290 for _am_header
in $config_headers :; do
26291 case $_am_header in
26292 $_am_arg |
$_am_arg:* )
26295 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26298 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26299 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26300 X"$_am_arg" : 'X\(//\)[^/]' \| \
26301 X"$_am_arg" : 'X\(//\)$' \| \
26302 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26303 $as_echo X"$_am_arg" |
26304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26308 /^X\(\/\/\)[^/].*/{
26320 s/.*/./; q'`/stamp-h
$_am_stamp_count
26327 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
26330 # Prefer the file from the source tree if names are identical.
26331 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
26332 ac_source
=$srcdir/$ac_source
26335 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
26336 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
26338 if test ! -r "$ac_source"; then
26339 as_fn_error
"$ac_source: file not found" "$LINENO" 5
26343 # Try a relative symlink, then a hard link, then a copy.
26345 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
26346 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
26348 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
26349 ln "$ac_source" "$ac_file" 2>/dev
/null ||
26350 cp -p "$ac_source" "$ac_file" ||
26351 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
26354 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26355 $as_echo "$as_me: executing $ac_file commands" >&6;}
26360 case $ac_file$ac_mode in
26362 # Only add multilib support code if we just rebuilt the top-level
26364 case " $CONFIG_FILES " in
26366 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
26369 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26370 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26371 # are listed without --file. Let's play safe and only enable the eval
26372 # if we detect the quoting.
26373 case $CONFIG_FILES in
26374 *\'*) eval set x
"$CONFIG_FILES" ;;
26375 *) set x
$CONFIG_FILES ;;
26380 # Strip MF so we end up with the name of the file.
26381 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26382 # Check whether this is an Automake generated Makefile or not.
26383 # We used to match only the files named `Makefile.in', but
26384 # some people rename them; so instead we look at the file content.
26385 # Grep'ing the first line is not enough: some people post-process
26386 # each Makefile.in and add a new line on top of each file to say so.
26387 # Grep'ing the whole file is not good either: AIX grep has a line
26388 # limit of 2048, but all sed's we know have understand at least 4000.
26389 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26390 dirpart
=`$as_dirname -- "$mf" ||
26391 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26392 X"$mf" : 'X\(//\)[^/]' \| \
26393 X"$mf" : 'X\(//\)$' \| \
26394 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26400 /^X\(\/\/\)[^/].*/{
26416 # Extract the definition of DEPDIR, am__include, and am__quote
26417 # from the Makefile without running `make'.
26418 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26419 test -z "$DEPDIR" && continue
26420 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26421 test -z "am__include" && continue
26422 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26423 # When using ansi2knr, U may be empty or an underscore; expand it
26424 U
=`sed -n 's/^U = //p' < "$mf"`
26425 # Find all dependency output files, they are included files with
26426 # $(DEPDIR) in their names. We invoke sed twice because it is the
26427 # simplest approach to changing $(DEPDIR) to its actual value in the
26429 for file in `sed -n "
26430 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26431 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26432 # Make sure the directory exists.
26433 test -f "$dirpart/$file" && continue
26434 fdir
=`$as_dirname -- "$file" ||
26435 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26436 X"$file" : 'X\(//\)[^/]' \| \
26437 X"$file" : 'X\(//\)$' \| \
26438 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26439 $as_echo X"$file" |
26440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26444 /^X\(\/\/\)[^/].*/{
26457 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26458 # echo "creating $dirpart/$file"
26459 echo '# dummy' > "$dirpart/$file"
26466 # See if we are running on zsh, and set the options which allow our
26467 # commands through without removal of \ escapes.
26468 if test -n "${ZSH_VERSION+set}" ; then
26469 setopt NO_GLOB_SUBST
26472 cfgfile
="${ofile}T"
26473 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26476 cat <<_LT_EOF >> "$cfgfile"
26479 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26480 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26481 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26482 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26484 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26485 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26486 # Written by Gordon Matzigkeit, 1996
26488 # This file is part of GNU Libtool.
26490 # GNU Libtool is free software; you can redistribute it and/or
26491 # modify it under the terms of the GNU General Public License as
26492 # published by the Free Software Foundation; either version 2 of
26493 # the License, or (at your option) any later version.
26495 # As a special exception to the GNU General Public License,
26496 # if you distribute this file as part of a program or library that
26497 # is built using GNU Libtool, you may include this file under the
26498 # same distribution terms that you use for the rest of that program.
26500 # GNU Libtool is distributed in the hope that it will be useful,
26501 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26502 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26503 # GNU General Public License for more details.
26505 # You should have received a copy of the GNU General Public License
26506 # along with GNU Libtool; see the file COPYING. If not, a copy
26507 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26508 # obtained by writing to the Free Software Foundation, Inc.,
26509 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26512 # The names of the tagged configurations supported by this script.
26513 available_tags="CXX "
26515 # ### BEGIN LIBTOOL CONFIG
26517 # Whether or not to build static libraries.
26518 build_old_libs=$enable_static
26520 # Which release of libtool.m4 was used?
26521 macro_version=$macro_version
26522 macro_revision=$macro_revision
26524 # Whether or not to build shared libraries.
26525 build_libtool_libs=$enable_shared
26527 # What type of objects to build.
26530 # Whether or not to optimize for fast installation.
26531 fast_install=$enable_fast_install
26533 # Shell to use when invoking shell scripts.
26536 # An echo program that protects backslashes.
26540 host_alias=$host_alias
26544 # The build system.
26545 build_alias=$build_alias
26549 # A sed program that does not truncate output.
26552 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26553 Xsed="\$SED -e 1s/^X//"
26555 # A grep program that handles long lines.
26561 # A literal string matcher.
26564 # A BSD- or MS-compatible name lister.
26567 # Whether we need soft or hard links.
26570 # What is the maximum length of a command?
26571 max_cmd_len=$max_cmd_len
26573 # Object file suffix (normally "o").
26576 # Executable file suffix (normally "").
26579 # whether the shell understands "unset".
26582 # turn spaces into newlines.
26585 # turn newlines into spaces.
26588 # An object symbol dumper.
26589 OBJDUMP=$lt_OBJDUMP
26591 # Method to check whether dependent libraries are shared objects.
26592 deplibs_check_method=$lt_deplibs_check_method
26594 # Command to use when deplibs_check_method == "file_magic".
26595 file_magic_cmd=$lt_file_magic_cmd
26599 AR_FLAGS=$lt_AR_FLAGS
26601 # A symbol stripping program.
26604 # Commands used to install an old-style archive.
26606 old_postinstall_cmds=$lt_old_postinstall_cmds
26607 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26609 # Whether to use a lock for old archive extraction.
26610 lock_old_archive_extraction=$lock_old_archive_extraction
26615 # LTCC compiler flags.
26616 LTCFLAGS=$lt_CFLAGS
26618 # Take the output of nm and produce a listing of raw symbols and C names.
26619 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26621 # Transform the output of nm in a proper C declaration.
26622 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26624 # Transform the output of nm in a C name address pair.
26625 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26627 # Transform the output of nm in a C name address pair when lib prefix is needed.
26628 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26630 # The name of the directory that contains temporary libtool files.
26633 # Used to examine libraries when file_magic_cmd begins with "file".
26634 MAGIC_CMD=$MAGIC_CMD
26636 # Must we lock files when doing compilation?
26637 need_locks=$lt_need_locks
26639 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26640 DSYMUTIL=$lt_DSYMUTIL
26642 # Tool to change global to local symbols on Mac OS X.
26645 # Tool to manipulate fat objects and archives on Mac OS X.
26648 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26651 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26652 OTOOL64=$lt_OTOOL64
26654 # Old archive suffix (normally "a").
26657 # Shared library suffix (normally ".so").
26658 shrext_cmds=$lt_shrext_cmds
26660 # The commands to extract the exported symbol list from a shared archive.
26661 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26663 # Variables whose values should be saved in libtool wrapper scripts and
26664 # restored at link time.
26665 variables_saved_for_relink=$lt_variables_saved_for_relink
26667 # Do we need the "lib" prefix for modules?
26668 need_lib_prefix=$need_lib_prefix
26670 # Do we need a version for libraries?
26671 need_version=$need_version
26673 # Library versioning type.
26674 version_type=$version_type
26676 # Shared library runtime path variable.
26677 runpath_var=$runpath_var
26679 # Shared library path variable.
26680 shlibpath_var=$shlibpath_var
26682 # Is shlibpath searched before the hard-coded library search path?
26683 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26685 # Format of library name prefix.
26686 libname_spec=$lt_libname_spec
26688 # List of archive names. First name is the real one, the rest are links.
26689 # The last name is the one that the linker finds with -lNAME
26690 library_names_spec=$lt_library_names_spec
26692 # The coded name of the library, if different from the real name.
26693 soname_spec=$lt_soname_spec
26695 # Permission mode override for installation of shared libraries.
26696 install_override_mode=$lt_install_override_mode
26698 # Command to use after installation of a shared archive.
26699 postinstall_cmds=$lt_postinstall_cmds
26701 # Command to use after uninstallation of a shared archive.
26702 postuninstall_cmds=$lt_postuninstall_cmds
26704 # Commands used to finish a libtool library installation in a directory.
26705 finish_cmds=$lt_finish_cmds
26707 # As "finish_cmds", except a single script fragment to be evaled but
26709 finish_eval=$lt_finish_eval
26711 # Whether we should hardcode library paths into libraries.
26712 hardcode_into_libs=$hardcode_into_libs
26714 # Compile-time system search path for libraries.
26715 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26717 # Run-time system search path for libraries.
26718 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26720 # Whether dlopen is supported.
26721 dlopen_support=$enable_dlopen
26723 # Whether dlopen of programs is supported.
26724 dlopen_self=$enable_dlopen_self
26726 # Whether dlopen of statically linked programs is supported.
26727 dlopen_self_static=$enable_dlopen_self_static
26729 # Commands to strip libraries.
26730 old_striplib=$lt_old_striplib
26731 striplib=$lt_striplib
26734 # The linker used to build libraries.
26737 # How to create reloadable object files.
26738 reload_flag=$lt_reload_flag
26739 reload_cmds=$lt_reload_cmds
26741 # Commands used to build an old-style archive.
26742 old_archive_cmds=$lt_old_archive_cmds
26744 # A language specific compiler.
26747 # Is the compiler the GNU compiler?
26750 # Compiler flag to turn off builtin functions.
26751 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26753 # How to pass a linker flag through the compiler.
26754 wl=$lt_lt_prog_compiler_wl
26756 # Additional compiler flags for building library objects.
26757 pic_flag=$lt_lt_prog_compiler_pic
26759 # Compiler flag to prevent dynamic linking.
26760 link_static_flag=$lt_lt_prog_compiler_static
26762 # Does compiler simultaneously support -c and -o options?
26763 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26765 # Whether or not to add -lc for building shared libraries.
26766 build_libtool_need_lc=$archive_cmds_need_lc
26768 # Whether or not to disallow shared libs when runtime libs are static.
26769 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26771 # Compiler flag to allow reflexive dlopens.
26772 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26774 # Compiler flag to generate shared objects directly from archives.
26775 whole_archive_flag_spec=$lt_whole_archive_flag_spec
26777 # Whether the compiler copes with passing no objects directly.
26778 compiler_needs_object=$lt_compiler_needs_object
26780 # Create an old-style archive from a shared archive.
26781 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26783 # Create a temporary old-style archive to link instead of a shared archive.
26784 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26786 # Commands used to build a shared archive.
26787 archive_cmds=$lt_archive_cmds
26788 archive_expsym_cmds=$lt_archive_expsym_cmds
26790 # Commands used to build a loadable module if different from building
26791 # a shared archive.
26792 module_cmds=$lt_module_cmds
26793 module_expsym_cmds=$lt_module_expsym_cmds
26795 # Whether we are building with GNU ld or not.
26796 with_gnu_ld=$lt_with_gnu_ld
26798 # Flag that allows shared libraries with undefined symbols to be built.
26799 allow_undefined_flag=$lt_allow_undefined_flag
26801 # Flag that enforces no undefined symbols.
26802 no_undefined_flag=$lt_no_undefined_flag
26804 # Flag to hardcode \$libdir into a binary during linking.
26805 # This must work even if \$libdir does not exist
26806 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26808 # If ld is used when linking, flag to hardcode \$libdir into a binary
26809 # during linking. This must work even if \$libdir does not exist.
26810 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
26812 # Whether we need a single "-rpath" flag with a separated argument.
26813 hardcode_libdir_separator=$lt_hardcode_libdir_separator
26815 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26816 # DIR into the resulting binary.
26817 hardcode_direct=$hardcode_direct
26819 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26820 # DIR into the resulting binary and the resulting library dependency is
26821 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
26822 # library is relocated.
26823 hardcode_direct_absolute=$hardcode_direct_absolute
26825 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26826 # into the resulting binary.
26827 hardcode_minus_L=$hardcode_minus_L
26829 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26830 # into the resulting binary.
26831 hardcode_shlibpath_var=$hardcode_shlibpath_var
26833 # Set to "yes" if building a shared library automatically hardcodes DIR
26834 # into the library and all subsequent libraries and executables linked
26836 hardcode_automatic=$hardcode_automatic
26838 # Set to yes if linker adds runtime paths of dependent libraries
26839 # to runtime path list.
26840 inherit_rpath=$inherit_rpath
26842 # Whether libtool must link a program against all its dependency libraries.
26843 link_all_deplibs=$link_all_deplibs
26845 # Fix the shell variable \$srcfile for the compiler.
26846 fix_srcfile_path=$lt_fix_srcfile_path
26848 # Set to "yes" if exported symbols are required.
26849 always_export_symbols=$always_export_symbols
26851 # The commands to list exported symbols.
26852 export_symbols_cmds=$lt_export_symbols_cmds
26854 # Symbols that should not be listed in the preloaded symbols.
26855 exclude_expsyms=$lt_exclude_expsyms
26857 # Symbols that must always be exported.
26858 include_expsyms=$lt_include_expsyms
26860 # Commands necessary for linking programs (against libraries) with templates.
26861 prelink_cmds=$lt_prelink_cmds
26863 # Specify filename containing input files.
26864 file_list_spec=$lt_file_list_spec
26866 # How to hardcode a shared library path into an executable.
26867 hardcode_action=$hardcode_action
26869 # The directories searched by this compiler when creating a shared library.
26870 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
26872 # Dependencies to place before and after the objects being linked to
26873 # create a shared library.
26874 predep_objects=$lt_predep_objects
26875 postdep_objects=$lt_postdep_objects
26876 predeps=$lt_predeps
26877 postdeps=$lt_postdeps
26879 # The library search path used internally by the compiler when linking
26880 # a shared library.
26881 compiler_lib_search_path=$lt_compiler_lib_search_path
26883 # ### END LIBTOOL CONFIG
26889 cat <<\_LT_EOF
>> "$cfgfile"
26890 # AIX sometimes has problems with the GCC collect2 program. For some
26891 # reason, if we set the COLLECT_NAMES environment variable, the problems
26892 # vanish in a puff of smoke.
26893 if test "X${COLLECT_NAMES+set}" != Xset
; then
26895 export COLLECT_NAMES
26902 ltmain
="$ac_aux_dir/ltmain.sh"
26905 # We use sed instead of cat because bash on DJGPP gets confused if
26906 # if finds mixed CR/LF and LF-only lines. Since sed operates in
26907 # text mode, it properly converts lines to CR/LF. This bash problem
26908 # is reportedly fixed, but why not run on old versions too?
26909 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
26910 ||
(rm -f "$cfgfile"; exit 1)
26914 cat << \_LT_EOF
>> "$cfgfile"
26916 # func_dirname file append nondir_replacement
26917 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
26918 # otherwise set result to NONDIR_REPLACEMENT.
26922 */*) func_dirname_result
="${1%/*}${2}" ;;
26923 * ) func_dirname_result
="${3}" ;;
26927 # func_basename file
26930 func_basename_result
="${1##*/}"
26933 # func_dirname_and_basename file append nondir_replacement
26934 # perform func_basename and func_dirname in a single function
26936 # dirname: Compute the dirname of FILE. If nonempty,
26937 # add APPEND to the result, otherwise set result
26938 # to NONDIR_REPLACEMENT.
26939 # value returned in "$func_dirname_result"
26940 # basename: Compute filename of FILE.
26941 # value retuned in "$func_basename_result"
26942 # Implementation must be kept synchronized with func_dirname
26943 # and func_basename. For efficiency, we do not delegate to
26944 # those functions but instead duplicate the functionality here.
26945 func_dirname_and_basename
()
26948 */*) func_dirname_result
="${1%/*}${2}" ;;
26949 * ) func_dirname_result
="${3}" ;;
26951 func_basename_result
="${1##*/}"
26954 # func_stripname prefix suffix name
26955 # strip PREFIX and SUFFIX off of NAME.
26956 # PREFIX and SUFFIX must not contain globbing or regex special
26957 # characters, hashes, percent signs, but SUFFIX may contain a leading
26958 # dot (in which case that matches only a dot).
26961 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
26962 # positional parameters, so assign one to ordinary parameter first.
26963 func_stripname_result
=${3}
26964 func_stripname_result
=${func_stripname_result#"${1}"}
26965 func_stripname_result
=${func_stripname_result%"${2}"}
26971 func_opt_split_opt
=${1%%=*}
26972 func_opt_split_arg
=${1#*=}
26979 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
26980 *) func_lo2o_result
=${1} ;;
26984 # func_xform libobj-or-source
26987 func_xform_result
=${1%.*}.lo
26990 # func_arith arithmetic-term...
26993 func_arith_result
=$
(( $
* ))
26997 # STRING may not start with a hyphen.
27000 func_len_result
=${#1}
27005 *) # Bourne compatible functions.
27006 cat << \_LT_EOF
>> "$cfgfile"
27008 # func_dirname file append nondir_replacement
27009 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27010 # otherwise set result to NONDIR_REPLACEMENT.
27013 # Extract subdirectory from the argument.
27014 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
27015 if test "X$func_dirname_result" = "X${1}"; then
27016 func_dirname_result
="${3}"
27018 func_dirname_result
="$func_dirname_result${2}"
27022 # func_basename file
27025 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
27029 # func_stripname prefix suffix name
27030 # strip PREFIX and SUFFIX off of NAME.
27031 # PREFIX and SUFFIX must not contain globbing or regex special
27032 # characters, hashes, percent signs, but SUFFIX may contain a leading
27033 # dot (in which case that matches only a dot).
27034 # func_strip_suffix prefix name
27038 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27039 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27044 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
27045 my_sed_long_arg
='1s/^-[^=]*=//'
27050 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27051 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27057 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
27060 # func_xform libobj-or-source
27063 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27066 # func_arith arithmetic-term...
27069 func_arith_result
=`expr "$@"`
27073 # STRING may not start with a hyphen.
27076 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27082 case $lt_shell_append in
27084 cat << \_LT_EOF
>> "$cfgfile"
27086 # func_append var value
27087 # Append VALUE to the end of shell variable VAR.
27095 cat << \_LT_EOF
>> "$cfgfile"
27097 # func_append var value
27098 # Append VALUE to the end of shell variable VAR.
27109 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27110 ||
(rm -f "$cfgfile"; exit 1)
27112 mv -f "$cfgfile" "$ofile" ||
27113 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27117 cat <<_LT_EOF >> "$ofile"
27119 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27121 # The linker used to build libraries.
27124 # How to create reloadable object files.
27125 reload_flag=$lt_reload_flag_CXX
27126 reload_cmds=$lt_reload_cmds_CXX
27128 # Commands used to build an old-style archive.
27129 old_archive_cmds=$lt_old_archive_cmds_CXX
27131 # A language specific compiler.
27132 CC=$lt_compiler_CXX
27134 # Is the compiler the GNU compiler?
27137 # Compiler flag to turn off builtin functions.
27138 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27140 # How to pass a linker flag through the compiler.
27141 wl=$lt_lt_prog_compiler_wl_CXX
27143 # Additional compiler flags for building library objects.
27144 pic_flag=$lt_lt_prog_compiler_pic_CXX
27146 # Compiler flag to prevent dynamic linking.
27147 link_static_flag=$lt_lt_prog_compiler_static_CXX
27149 # Does compiler simultaneously support -c and -o options?
27150 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27152 # Whether or not to add -lc for building shared libraries.
27153 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27155 # Whether or not to disallow shared libs when runtime libs are static.
27156 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27158 # Compiler flag to allow reflexive dlopens.
27159 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27161 # Compiler flag to generate shared objects directly from archives.
27162 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27164 # Whether the compiler copes with passing no objects directly.
27165 compiler_needs_object=$lt_compiler_needs_object_CXX
27167 # Create an old-style archive from a shared archive.
27168 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27170 # Create a temporary old-style archive to link instead of a shared archive.
27171 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27173 # Commands used to build a shared archive.
27174 archive_cmds=$lt_archive_cmds_CXX
27175 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27177 # Commands used to build a loadable module if different from building
27178 # a shared archive.
27179 module_cmds=$lt_module_cmds_CXX
27180 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27182 # Whether we are building with GNU ld or not.
27183 with_gnu_ld=$lt_with_gnu_ld_CXX
27185 # Flag that allows shared libraries with undefined symbols to be built.
27186 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27188 # Flag that enforces no undefined symbols.
27189 no_undefined_flag=$lt_no_undefined_flag_CXX
27191 # Flag to hardcode \$libdir into a binary during linking.
27192 # This must work even if \$libdir does not exist
27193 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27195 # If ld is used when linking, flag to hardcode \$libdir into a binary
27196 # during linking. This must work even if \$libdir does not exist.
27197 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27199 # Whether we need a single "-rpath" flag with a separated argument.
27200 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27202 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27203 # DIR into the resulting binary.
27204 hardcode_direct=$hardcode_direct_CXX
27206 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27207 # DIR into the resulting binary and the resulting library dependency is
27208 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27209 # library is relocated.
27210 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27212 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27213 # into the resulting binary.
27214 hardcode_minus_L=$hardcode_minus_L_CXX
27216 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27217 # into the resulting binary.
27218 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27220 # Set to "yes" if building a shared library automatically hardcodes DIR
27221 # into the library and all subsequent libraries and executables linked
27223 hardcode_automatic=$hardcode_automatic_CXX
27225 # Set to yes if linker adds runtime paths of dependent libraries
27226 # to runtime path list.
27227 inherit_rpath=$inherit_rpath_CXX
27229 # Whether libtool must link a program against all its dependency libraries.
27230 link_all_deplibs=$link_all_deplibs_CXX
27232 # Fix the shell variable \$srcfile for the compiler.
27233 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27235 # Set to "yes" if exported symbols are required.
27236 always_export_symbols=$always_export_symbols_CXX
27238 # The commands to list exported symbols.
27239 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27241 # Symbols that should not be listed in the preloaded symbols.
27242 exclude_expsyms=$lt_exclude_expsyms_CXX
27244 # Symbols that must always be exported.
27245 include_expsyms=$lt_include_expsyms_CXX
27247 # Commands necessary for linking programs (against libraries) with templates.
27248 prelink_cmds=$lt_prelink_cmds_CXX
27250 # Specify filename containing input files.
27251 file_list_spec=$lt_file_list_spec_CXX
27253 # How to hardcode a shared library path into an executable.
27254 hardcode_action=$hardcode_action_CXX
27256 # The directories searched by this compiler when creating a shared library.
27257 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27259 # Dependencies to place before and after the objects being linked to
27260 # create a shared library.
27261 predep_objects=$lt_predep_objects_CXX
27262 postdep_objects=$lt_postdep_objects_CXX
27263 predeps=$lt_predeps_CXX
27264 postdeps=$lt_postdeps_CXX
27266 # The library search path used internally by the compiler when linking
27267 # a shared library.
27268 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27270 # ### END LIBTOOL TAG CONFIG: CXX
27274 "mkcollections.pl":C
) chmod 755 lib
/mkcollections.pl
;;
27276 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
27277 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
27278 ac_stdint
=$tmp/_stdint.h
27280 echo "#ifndef" $_ac_stdint_h >$ac_stdint
27281 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
27282 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
27283 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
27284 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
27285 if test "_$ac_cv_header_stdint_t" != "_" ; then
27286 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
27287 echo "#include <stdint.h>" >>$ac_stdint
27288 echo "#endif" >>$ac_stdint
27289 echo "#endif" >>$ac_stdint
27292 cat >>$ac_stdint <<STDINT_EOF
27294 /* ................... shortcircuit part ........................... */
27296 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
27297 #include <stdint.h>
27299 #include <stddef.h>
27301 /* .................... configured part ............................ */
27305 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
27306 if test "_$ac_cv_header_stdint_x" != "_" ; then
27307 ac_header
="$ac_cv_header_stdint_x"
27308 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
27310 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
27313 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
27314 if test "_$ac_cv_header_stdint_o" != "_" ; then
27315 ac_header
="$ac_cv_header_stdint_o"
27316 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
27318 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
27321 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
27322 if test "_$ac_cv_header_stdint_u" != "_" ; then
27323 ac_header
="$ac_cv_header_stdint_u"
27324 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
27326 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
27329 echo "" >>$ac_stdint
27331 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
27332 echo "#include <$ac_header>" >>$ac_stdint
27333 echo "" >>$ac_stdint
27336 echo "/* which 64bit typedef has been found */" >>$ac_stdint
27337 if test "$ac_cv_type_uint64_t" = "yes" ; then
27338 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
27340 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
27342 if test "$ac_cv_type_u_int64_t" = "yes" ; then
27343 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
27345 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
27347 echo "" >>$ac_stdint
27349 echo "/* which type model has been detected */" >>$ac_stdint
27350 if test "_$ac_cv_char_data_model" != "_" ; then
27351 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
27352 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
27354 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
27355 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
27357 echo "" >>$ac_stdint
27359 echo "/* whether int_least types were detected */" >>$ac_stdint
27360 if test "$ac_cv_type_int_least32_t" = "yes"; then
27361 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
27363 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
27365 echo "/* whether int_fast types were detected */" >>$ac_stdint
27366 if test "$ac_cv_type_int_fast32_t" = "yes"; then
27367 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
27369 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
27371 echo "/* whether intmax_t type was detected */" >>$ac_stdint
27372 if test "$ac_cv_type_intmax_t" = "yes"; then
27373 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
27375 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
27377 echo "" >>$ac_stdint
27379 cat >>$ac_stdint <<STDINT_EOF
27380 /* .................... detections part ............................ */
27382 /* whether we need to define bitspecific types from compiler base types */
27383 #ifndef _STDINT_HEADER_INTPTR
27384 #ifndef _STDINT_HEADER_UINT32
27385 #ifndef _STDINT_HEADER_U_INT32
27386 #define _STDINT_NEED_INT_MODEL_T
27388 #define _STDINT_HAVE_U_INT_TYPES
27393 #ifdef _STDINT_HAVE_U_INT_TYPES
27394 #undef _STDINT_NEED_INT_MODEL_T
27397 #ifdef _STDINT_CHAR_MODEL
27398 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
27399 #ifndef _STDINT_BYTE_MODEL
27400 #define _STDINT_BYTE_MODEL 12
27405 #ifndef _STDINT_HAVE_INT_LEAST32_T
27406 #define _STDINT_NEED_INT_LEAST_T
27409 #ifndef _STDINT_HAVE_INT_FAST32_T
27410 #define _STDINT_NEED_INT_FAST_T
27413 #ifndef _STDINT_HEADER_INTPTR
27414 #define _STDINT_NEED_INTPTR_T
27415 #ifndef _STDINT_HAVE_INTMAX_T
27416 #define _STDINT_NEED_INTMAX_T
27421 /* .................... definition part ............................ */
27423 /* some system headers have good uint64_t */
27424 #ifndef _HAVE_UINT64_T
27425 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
27426 #define _HAVE_UINT64_T
27427 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
27428 #define _HAVE_UINT64_T
27429 typedef u_int64_t uint64_t;
27433 #ifndef _HAVE_UINT64_T
27434 /* .. here are some common heuristics using compiler runtime specifics */
27435 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
27436 #define _HAVE_UINT64_T
27437 #define _HAVE_LONGLONG_UINT64_T
27438 typedef long long int64_t;
27439 typedef unsigned long long uint64_t;
27441 #elif !defined __STRICT_ANSI__
27442 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27443 #define _HAVE_UINT64_T
27444 typedef __int64 int64_t;
27445 typedef unsigned __int64 uint64_t;
27447 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
27448 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
27449 #if !defined _NO_LONGLONG
27450 #define _HAVE_UINT64_T
27451 #define _HAVE_LONGLONG_UINT64_T
27452 typedef long long int64_t;
27453 typedef unsigned long long uint64_t;
27456 #elif defined __alpha || (defined __mips && defined _ABIN32)
27457 #if !defined _NO_LONGLONG
27458 typedef long int64_t;
27459 typedef unsigned long uint64_t;
27461 /* compiler/cpu type to define int64_t */
27466 #if defined _STDINT_HAVE_U_INT_TYPES
27467 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
27468 typedef u_int8_t uint8_t;
27469 typedef u_int16_t uint16_t;
27470 typedef u_int32_t uint32_t;
27472 /* glibc compatibility */
27473 #ifndef __int8_t_defined
27474 #define __int8_t_defined
27478 #ifdef _STDINT_NEED_INT_MODEL_T
27479 /* we must guess all the basic types. Apart from byte-adressable system, */
27480 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
27481 /* (btw, those nibble-addressable systems are way off, or so we assume) */
27484 #if defined _STDINT_BYTE_MODEL
27485 #if _STDINT_LONG_MODEL+0 == 242
27486 /* 2:4:2 = IP16 = a normal 16-bit system */
27487 typedef unsigned char uint8_t;
27488 typedef unsigned short uint16_t;
27489 typedef unsigned long uint32_t;
27490 #ifndef __int8_t_defined
27491 #define __int8_t_defined
27492 typedef char int8_t;
27493 typedef short int16_t;
27494 typedef long int32_t;
27496 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
27497 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
27498 /* 4:4:4 = ILP32 = a normal 32-bit system */
27499 typedef unsigned char uint8_t;
27500 typedef unsigned short uint16_t;
27501 typedef unsigned int uint32_t;
27502 #ifndef __int8_t_defined
27503 #define __int8_t_defined
27504 typedef char int8_t;
27505 typedef short int16_t;
27506 typedef int int32_t;
27508 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
27509 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
27510 /* 4:8:8 = LP64 = a normal 64-bit system */
27511 typedef unsigned char uint8_t;
27512 typedef unsigned short uint16_t;
27513 typedef unsigned int uint32_t;
27514 #ifndef __int8_t_defined
27515 #define __int8_t_defined
27516 typedef char int8_t;
27517 typedef short int16_t;
27518 typedef int int32_t;
27520 /* this system has a "long" of 64bit */
27521 #ifndef _HAVE_UINT64_T
27522 #define _HAVE_UINT64_T
27523 typedef unsigned long uint64_t;
27524 typedef long int64_t;
27526 #elif _STDINT_LONG_MODEL+0 == 448
27527 /* LLP64 a 64-bit system derived from a 32-bit system */
27528 typedef unsigned char uint8_t;
27529 typedef unsigned short uint16_t;
27530 typedef unsigned int uint32_t;
27531 #ifndef __int8_t_defined
27532 #define __int8_t_defined
27533 typedef char int8_t;
27534 typedef short int16_t;
27535 typedef int int32_t;
27537 /* assuming the system has a "long long" */
27538 #ifndef _HAVE_UINT64_T
27539 #define _HAVE_UINT64_T
27540 #define _HAVE_LONGLONG_UINT64_T
27541 typedef unsigned long long uint64_t;
27542 typedef long long int64_t;
27545 #define _STDINT_NO_INT32_T
27548 #define _STDINT_NO_INT8_T
27549 #define _STDINT_NO_INT32_T
27554 * quote from SunOS-5.8 sys/inttypes.h:
27555 * Use at your own risk. As of February 1996, the committee is squarely
27556 * behind the fixed sized types; the "least" and "fast" types are still being
27557 * discussed. The probability that the "fast" types may be removed before
27558 * the standard is finalized is high enough that they are not currently
27562 #if defined _STDINT_NEED_INT_LEAST_T
27563 typedef int8_t int_least8_t;
27564 typedef int16_t int_least16_t;
27565 typedef int32_t int_least32_t;
27566 #ifdef _HAVE_UINT64_T
27567 typedef int64_t int_least64_t;
27570 typedef uint8_t uint_least8_t;
27571 typedef uint16_t uint_least16_t;
27572 typedef uint32_t uint_least32_t;
27573 #ifdef _HAVE_UINT64_T
27574 typedef uint64_t uint_least64_t;
27579 #if defined _STDINT_NEED_INT_FAST_T
27580 typedef int8_t int_fast8_t;
27581 typedef int int_fast16_t;
27582 typedef int32_t int_fast32_t;
27583 #ifdef _HAVE_UINT64_T
27584 typedef int64_t int_fast64_t;
27587 typedef uint8_t uint_fast8_t;
27588 typedef unsigned uint_fast16_t;
27589 typedef uint32_t uint_fast32_t;
27590 #ifdef _HAVE_UINT64_T
27591 typedef uint64_t uint_fast64_t;
27596 #ifdef _STDINT_NEED_INTMAX_T
27597 #ifdef _HAVE_UINT64_T
27598 typedef int64_t intmax_t;
27599 typedef uint64_t uintmax_t;
27601 typedef long intmax_t;
27602 typedef unsigned long uintmax_t;
27606 #ifdef _STDINT_NEED_INTPTR_T
27607 #ifndef __intptr_t_defined
27608 #define __intptr_t_defined
27609 /* we encourage using "long" to store pointer values, never use "int" ! */
27610 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
27611 typedef unsigned int uintptr_t;
27612 typedef int intptr_t;
27613 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
27614 typedef unsigned long uintptr_t;
27615 typedef long intptr_t;
27616 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
27617 typedef uint64_t uintptr_t;
27618 typedef int64_t intptr_t;
27619 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
27620 typedef unsigned long uintptr_t;
27621 typedef long intptr_t;
27626 /* The ISO C99 standard specifies that in C++ implementations these
27627 should only be defined if explicitly requested. */
27628 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
27632 # define INT8_C(c) c
27633 # define INT16_C(c) c
27634 # define INT32_C(c) c
27635 # ifdef _HAVE_LONGLONG_UINT64_T
27636 # define INT64_C(c) c ## L
27638 # define INT64_C(c) c ## LL
27642 # define UINT8_C(c) c ## U
27643 # define UINT16_C(c) c ## U
27644 # define UINT32_C(c) c ## U
27645 # ifdef _HAVE_LONGLONG_UINT64_T
27646 # define UINT64_C(c) c ## UL
27648 # define UINT64_C(c) c ## ULL
27651 /* Maximal type. */
27652 # ifdef _HAVE_LONGLONG_UINT64_T
27653 # define INTMAX_C(c) c ## L
27654 # define UINTMAX_C(c) c ## UL
27656 # define INTMAX_C(c) c ## LL
27657 # define UINTMAX_C(c) c ## ULL
27660 /* literalnumbers */
27664 /* These limits are merily those of a two complement byte-oriented system */
27666 /* Minimum of signed integral types. */
27668 # define INT8_MIN (-128)
27671 # define INT16_MIN (-32767-1)
27674 # define INT32_MIN (-2147483647-1)
27677 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
27680 /* Maximum of signed integral types. */
27682 # define INT8_MAX (127)
27685 # define INT16_MAX (32767)
27688 # define INT32_MAX (2147483647)
27691 # define INT64_MAX (__INT64_C(9223372036854775807))
27694 /* Maximum of unsigned integral types. */
27696 # define UINT8_MAX (255)
27699 # define UINT16_MAX (65535)
27702 # define UINT32_MAX (4294967295U)
27705 # define UINT64_MAX (__UINT64_C(18446744073709551615))
27708 /* Minimum of signed integral types having a minimum size. */
27709 # define INT_LEAST8_MIN INT8_MIN
27710 # define INT_LEAST16_MIN INT16_MIN
27711 # define INT_LEAST32_MIN INT32_MIN
27712 # define INT_LEAST64_MIN INT64_MIN
27713 /* Maximum of signed integral types having a minimum size. */
27714 # define INT_LEAST8_MAX INT8_MAX
27715 # define INT_LEAST16_MAX INT16_MAX
27716 # define INT_LEAST32_MAX INT32_MAX
27717 # define INT_LEAST64_MAX INT64_MAX
27719 /* Maximum of unsigned integral types having a minimum size. */
27720 # define UINT_LEAST8_MAX UINT8_MAX
27721 # define UINT_LEAST16_MAX UINT16_MAX
27722 # define UINT_LEAST32_MAX UINT32_MAX
27723 # define UINT_LEAST64_MAX UINT64_MAX
27732 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
27733 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
27734 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
27736 ac_dir
=`$as_dirname -- "$ac_stdint_h" ||
27737 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27738 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
27739 X"$ac_stdint_h" : 'X\(//\)$' \| \
27740 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
27741 $as_echo X"$ac_stdint_h" |
27742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27746 /^X\(\/\/\)[^/].*/{
27759 as_dir
="$ac_dir"; as_fn_mkdir_p
27761 mv $ac_stdint $ac_stdint_h
27764 "gappletviewer":C
) chmod 755 tools
/gappletviewer
;;
27765 "gjarsigner":C
) chmod 755 tools
/gjarsigner
;;
27766 "gkeytool":C
) chmod 755 tools
/gkeytool
;;
27767 "gjar":C
) chmod 755 tools
/gjar
;;
27768 "gnative2ascii":C
) chmod 755 tools
/gnative2ascii
;;
27769 "gserialver":C
) chmod 755 tools
/gserialver
;;
27770 "grmiregistry":C
) chmod 755 tools
/grmiregistry
;;
27771 "gtnameserv":C
) chmod 755 tools
/gtnameserv
;;
27772 "gorbd":C
) chmod 755 tools
/gorbd
;;
27773 "grmid":C
) chmod 755 tools
/grmid
;;
27774 "grmic":C
) chmod 755 tools
/grmic
;;
27775 "gjavah":C
) chmod 755 tools
/gjavah
;;
27776 "gjdoc":C
) chmod 755 tools
/gjdoc
;;
27777 "gen-classlist":C
) chmod 755 lib
/gen-classlist.sh
;;
27778 "copy-vmresources":C
) chmod 755 lib
/copy-vmresources.sh
;;
27786 ac_clean_files
=$ac_clean_files_save
27788 test $ac_write_fail = 0 ||
27789 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27792 # configure is writing to config.log, and then calls config.status.
27793 # config.status does its own redirection, appending to config.log.
27794 # Unfortunately, on DOS this fails, as config.log is still kept open
27795 # by configure, so config.status won't be able to write to it; its
27796 # output is simply discarded. So we exec the FD to /dev/null,
27797 # effectively closing config.log, so it can be properly (re)opened and
27798 # appended to by config.status. When coming back to configure, we
27799 # need to make the FD available again.
27800 if test "$no_create" != yes; then
27802 ac_config_status_args
=
27803 test "$silent" = yes &&
27804 ac_config_status_args
="$ac_config_status_args --quiet"
27806 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27808 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27809 # would make configure fail if this is the last instruction.
27810 $ac_cs_success || as_fn_exit $?
27812 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
27813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27814 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27818 # Create standard.omit based on decisions we just made.
27819 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
27820 if test x
$use_escher != xtrue
; then
27821 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit