2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Classpath 0.99.1-pre.
5 # Report bugs to <classpath@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
183 if (eval "$as_required") 2>/dev
/null
; then :
188 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
193 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
196 test -z "$as_dir" && as_dir
=.
200 for as_base
in sh bash ksh sh5
; do
201 # Try only shells that exist, to save several forks.
202 as_shell
=$as_dir/$as_base
203 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$as_shell as_have_required
=yes
206 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
214 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
215 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
216 CONFIG_SHELL
=$SHELL as_have_required
=yes
221 if test "x$CONFIG_SHELL" != x
; then :
222 # We cannot yet assume a decent shell, so we have to provide a
223 # neutralization value for shells without unset; and this also
224 # works around shells that cannot unset nonexistent variables.
227 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
229 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org and classpath@gnu.org
240 $0: about your system, including any error possibly output
241 $0: before this message. Then install a modern shell, or
242 $0: manually run the script under such a shell if you do
249 SHELL
=${CONFIG_SHELL-/bin/sh}
251 # Unset more variables known to interfere with behavior of common tools.
252 CLICOLOR_FORCE
= GREP_OPTIONS
=
253 unset CLICOLOR_FORCE GREP_OPTIONS
255 ## --------------------- ##
256 ## M4sh Shell Functions. ##
257 ## --------------------- ##
260 # Portably unset VAR.
263 { eval $1=; unset $1;}
267 # as_fn_set_status STATUS
268 # -----------------------
269 # Set $? to STATUS, without forking.
277 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
287 # Create "$as_dir" as a directory, including parents if necessary.
292 -*) as_dir
=.
/$as_dir;;
294 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
298 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301 as_dirs
="'$as_qdir' $as_dirs"
302 as_dir
=`$as_dirname -- "$as_dir" ||
303 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
304 X"$as_dir" : 'X\(//\)[^/]' \| \
305 X"$as_dir" : 'X\(//\)$' \| \
306 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
307 $as_echo X"$as_dir" |
308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
325 test -d "$as_dir" && break
327 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
328 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
332 # as_fn_append VAR VALUE
333 # ----------------------
334 # Append the text in VALUE to the end of the definition contained in VAR. Take
335 # advantage of any shell optimizations that allow amortized linear growth over
336 # repeated appends, instead of the typical quadratic growth present in naive
338 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
339 eval 'as_fn_append ()
352 # Perform arithmetic evaluation on the ARGs, and store the result in the
353 # global $as_val. Take advantage of shells that can avoid forks. The arguments
354 # must be portable across $(()) and expr.
355 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
363 as_val
=`expr "$@" || test $? -eq 1`
368 # as_fn_error ERROR [LINENO LOG_FD]
369 # ---------------------------------
370 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
371 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
372 # script with status $?, using 1 if that was 0.
375 as_status
=$?
; test $as_status -eq 0 && as_status
=1
377 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
378 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
380 $as_echo "$as_me: error: $1" >&2
381 as_fn_exit
$as_status
384 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
385 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
391 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
397 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
403 as_me
=`$as_basename -- "$0" ||
404 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
405 X"$0" : 'X\(//\)$' \| \
406 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
408 sed '/^.*\/\([^/][^/]*\)\/*$/{
422 # Avoid depending upon Character Ranges.
423 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
424 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
425 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
426 as_cr_digits
='0123456789'
427 as_cr_alnum
=$as_cr_Letters$as_cr_digits
430 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
431 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
432 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
433 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
434 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 chmod +x
"$as_me.lineno" ||
451 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
461 ECHO_C
= ECHO_N
= ECHO_T
=
462 case `echo -n x` in #(((((
464 case `echo 'xy\c'` in
465 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
467 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
474 rm -f conf$$ conf$$.exe conf$$.
file
475 if test -d conf$$.dir
; then
476 rm -f conf$$.dir
/conf$$.
file
479 mkdir conf$$.dir
2>/dev
/null
481 if (echo >conf$$.
file) 2>/dev
/null
; then
482 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
484 # ... but there are two gotchas:
485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
487 # In both cases, we have to default to `cp -p'.
488 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
490 elif ln conf$$.
file conf$$
2>/dev
/null
; then
498 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
499 rmdir conf$$.dir
2>/dev
/null
501 if mkdir
-p .
2>/dev
/null
; then
502 as_mkdir_p
='mkdir -p "$as_dir"'
504 test -d .
/-p && rmdir .
/-p
508 if test -x / >/dev
/null
2>&1; then
511 if ls -dL / >/dev
/null
2>&1; then
518 if test -d "$1"; then
524 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
525 ???[sx]*):;;*)false;;esac;fi
529 as_executable_p
=$as_test_x
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 SHELL
=${CONFIG_SHELL-/bin/sh}
540 exec 7<&0 </dev
/null
6>&1
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix
=/usr
/local
552 ac_config_libobj_dir
=.
559 # Identity of this package.
560 PACKAGE_NAME
='GNU Classpath'
561 PACKAGE_TARNAME
='classpath'
562 PACKAGE_VERSION
='0.99.1-pre'
563 PACKAGE_STRING
='GNU Classpath 0.99.1-pre'
564 PACKAGE_BUGREPORT
='classpath@gnu.org'
565 PACKAGE_URL
='http://www.gnu.org/software/classpath/'
567 ac_unique_file
="java/lang/System.java"
568 ac_default_prefix
=/usr
/local
/classpath
569 # Factoring default headers for most tests.
570 ac_includes_default
="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 ac_subst_vars
='am__EXEEXT_FALSE
609 CREATE_GMPBI_LIBRARY_FALSE
610 CREATE_GMPBI_LIBRARY_TRUE
611 WANT_NATIVE_BIG_INTEGER
613 ENABLE_LOCAL_SOCKETS_FALSE
614 ENABLE_LOCAL_SOCKETS_TRUE
629 USE_PREBUILT_GLIBJ_ZIP_FALSE
630 USE_PREBUILT_GLIBJ_ZIP_TRUE
635 CREATE_API_DOCS_FALSE
640 BUILD_CLASS_FILES_FALSE
641 BUILD_CLASS_FILES_TRUE
642 INSTALL_CLASS_FILES_FALSE
643 INSTALL_CLASS_FILES_TRUE
644 INSTALL_GLIBJ_ZIP_FALSE
645 INSTALL_GLIBJ_ZIP_TRUE
655 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
660 MAINTAINER_MODE_FALSE
676 GSTREAMER_MIXER_PROVIDER
677 GSTREAMER_FILE_READER
679 GSTREAMER_PLUGINS_BASE_LIBS
680 GSTREAMER_PLUGINS_BASE_CFLAGS
682 GSTREAMER_BASE_CFLAGS
709 STRICT_WARNING_CFLAGS
740 CREATE_WRAPPERS_FALSE
742 CREATE_GJDOC_PARSER_FALSE
743 CREATE_GJDOC_PARSER_TRUE
744 CREATE_JNI_HEADERS_FALSE
745 CREATE_JNI_HEADERS_TRUE
753 CREATE_QT_PEER_LIBRARIES_FALSE
754 CREATE_QT_PEER_LIBRARIES_TRUE
755 CREATE_GTK_PEER_LIBRARIES_FALSE
756 CREATE_GTK_PEER_LIBRARIES_TRUE
757 CREATE_DSSI_LIBRARIES_FALSE
758 CREATE_DSSI_LIBRARIES_TRUE
759 CREATE_ALSA_LIBRARIES_FALSE
760 CREATE_ALSA_LIBRARIES_TRUE
780 CREATE_XMLJ_LIBRARY_FALSE
781 CREATE_XMLJ_LIBRARY_TRUE
783 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
784 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
785 CREATE_GCONF_PEER_LIBRARIES_FALSE
786 CREATE_GCONF_PEER_LIBRARIES_TRUE
787 CREATE_CORE_JNI_LIBRARIES_FALSE
788 CREATE_CORE_JNI_LIBRARIES_TRUE
789 CREATE_JNI_LIBRARIES_FALSE
790 CREATE_JNI_LIBRARIES_TRUE
791 CREATE_COLLECTIONS_FALSE
792 CREATE_COLLECTIONS_TRUE
801 INSTALL_STRIP_PROGRAM
816 CLASSPATH_CONVENIENCE
819 INSTALL_BINARIES_FALSE
820 INSTALL_BINARIES_TRUE
824 JAVA_MAINTAINER_MODE_FALSE
825 JAVA_MAINTAINER_MODE_TRUE
865 program_transform_name
878 enable_option_checking
879 enable_java_maintainer_mode
880 enable_generated_files_in_srcdir
885 enable_default_preferences_peer
888 enable_gstreamer_peer
889 enable_gstreamer_peers
891 enable_default_toolkit
894 enable_dependency_tracking
906 enable_regen_gjdoc_parser
923 enable_maintainer_mode
927 enable_java_lang_system_explicit_initialization
934 enable_portable_native_sync
939 ac_precious_vars
='build_alias
955 # Initialize some variables set by options.
957 ac_init_version
=false
958 ac_unrecognized_opts
=
960 # The variables have the same names as the options, with
961 # dashes changed to underlines.
969 program_transform_name
=s
,x
,x
,
977 # Installation directory options.
978 # These are left unexpanded so users can "make install exec_prefix=/foo"
979 # and all the variables that are supposed to be based on exec_prefix
980 # by default will actually change.
981 # Use braces instead of parens because sh, perl, etc. also accept them.
982 # (The list follows the same order as the GNU Coding Standards.)
983 bindir
='${exec_prefix}/bin'
984 sbindir
='${exec_prefix}/sbin'
985 libexecdir
='${exec_prefix}/libexec'
986 datarootdir
='${prefix}/share'
987 datadir
='${datarootdir}'
988 sysconfdir
='${prefix}/etc'
989 sharedstatedir
='${prefix}/com'
990 localstatedir
='${prefix}/var'
991 includedir
='${prefix}/include'
992 oldincludedir
='/usr/include'
993 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
994 infodir
='${datarootdir}/info'
999 libdir
='${exec_prefix}/lib'
1000 localedir
='${datarootdir}/locale'
1001 mandir
='${datarootdir}/man'
1007 # If the previous option needs an argument, assign it.
1008 if test -n "$ac_prev"; then
1009 eval $ac_prev=\
$ac_option
1015 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1019 # Accept the important Cygnus configure options, so we can diagnose typos.
1021 case $ac_dashdash$ac_option in
1025 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1027 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1028 bindir
=$ac_optarg ;;
1030 -build |
--build |
--buil |
--bui |
--bu)
1031 ac_prev
=build_alias
;;
1032 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1033 build_alias
=$ac_optarg ;;
1035 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1036 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1037 ac_prev
=cache_file
;;
1038 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1039 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1040 cache_file
=$ac_optarg ;;
1042 --config-cache |
-C)
1043 cache_file
=config.cache
;;
1045 -datadir |
--datadir |
--datadi |
--datad)
1047 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1048 datadir
=$ac_optarg ;;
1050 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1051 |
--dataroo |
--dataro |
--datar)
1052 ac_prev
=datarootdir
;;
1053 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1054 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1055 datarootdir
=$ac_optarg ;;
1057 -disable-* |
--disable-*)
1058 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1061 as_fn_error
"invalid feature name: $ac_useropt"
1062 ac_useropt_orig
=$ac_useropt
1063 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1066 "enable_
$ac_useropt"
1068 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1069 ac_unrecognized_sep
=', ';;
1071 eval enable_
$ac_useropt=no
;;
1073 -docdir |
--docdir |
--docdi |
--doc |
--do)
1075 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1076 docdir
=$ac_optarg ;;
1078 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1080 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1081 dvidir
=$ac_optarg ;;
1083 -enable-* |
--enable-*)
1084 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1087 as_fn_error
"invalid feature name: $ac_useropt"
1088 ac_useropt_orig
=$ac_useropt
1089 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1092 "enable_
$ac_useropt"
1094 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1095 ac_unrecognized_sep
=', ';;
1097 eval enable_
$ac_useropt=\
$ac_optarg ;;
1099 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1100 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1101 |
--exec |
--exe |
--ex)
1102 ac_prev
=exec_prefix
;;
1103 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1104 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1105 |
--exec=* |
--exe=* |
--ex=*)
1106 exec_prefix
=$ac_optarg ;;
1108 -gas |
--gas |
--ga |
--g)
1109 # Obsolete; use --with-gas.
1112 -help |
--help |
--hel |
--he |
-h)
1113 ac_init_help
=long
;;
1114 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1115 ac_init_help
=recursive
;;
1116 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1117 ac_init_help
=short
;;
1119 -host |
--host |
--hos |
--ho)
1120 ac_prev
=host_alias
;;
1121 -host=* |
--host=* |
--hos=* |
--ho=*)
1122 host_alias
=$ac_optarg ;;
1124 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1126 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1128 htmldir
=$ac_optarg ;;
1130 -includedir |
--includedir |
--includedi |
--included |
--include \
1131 |
--includ |
--inclu |
--incl |
--inc)
1132 ac_prev
=includedir
;;
1133 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1134 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1135 includedir
=$ac_optarg ;;
1137 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1139 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1140 infodir
=$ac_optarg ;;
1142 -libdir |
--libdir |
--libdi |
--libd)
1144 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1145 libdir
=$ac_optarg ;;
1147 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1148 |
--libexe |
--libex |
--libe)
1149 ac_prev
=libexecdir
;;
1150 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1151 |
--libexe=* |
--libex=* |
--libe=*)
1152 libexecdir
=$ac_optarg ;;
1154 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1155 ac_prev
=localedir
;;
1156 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1157 localedir
=$ac_optarg ;;
1159 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1160 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1161 ac_prev
=localstatedir
;;
1162 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1163 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1164 localstatedir
=$ac_optarg ;;
1166 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1168 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1169 mandir
=$ac_optarg ;;
1171 -nfp |
--nfp |
--nf)
1172 # Obsolete; use --without-fp.
1175 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1176 |
--no-cr |
--no-c |
-n)
1179 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1180 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1183 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1184 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1185 |
--oldin |
--oldi |
--old |
--ol |
--o)
1186 ac_prev
=oldincludedir
;;
1187 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1188 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1189 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1190 oldincludedir
=$ac_optarg ;;
1192 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1194 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1195 prefix
=$ac_optarg ;;
1197 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1198 |
--program-pre |
--program-pr |
--program-p)
1199 ac_prev
=program_prefix
;;
1200 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1201 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1202 program_prefix
=$ac_optarg ;;
1204 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1205 |
--program-suf |
--program-su |
--program-s)
1206 ac_prev
=program_suffix
;;
1207 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1208 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1209 program_suffix
=$ac_optarg ;;
1211 -program-transform-name |
--program-transform-name \
1212 |
--program-transform-nam |
--program-transform-na \
1213 |
--program-transform-n |
--program-transform- \
1214 |
--program-transform |
--program-transfor \
1215 |
--program-transfo |
--program-transf \
1216 |
--program-trans |
--program-tran \
1217 |
--progr-tra |
--program-tr |
--program-t)
1218 ac_prev
=program_transform_name
;;
1219 -program-transform-name=* |
--program-transform-name=* \
1220 |
--program-transform-nam=* |
--program-transform-na=* \
1221 |
--program-transform-n=* |
--program-transform-=* \
1222 |
--program-transform=* |
--program-transfor=* \
1223 |
--program-transfo=* |
--program-transf=* \
1224 |
--program-trans=* |
--program-tran=* \
1225 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1226 program_transform_name
=$ac_optarg ;;
1228 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1230 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1231 pdfdir
=$ac_optarg ;;
1233 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1235 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1238 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1239 |
-silent |
--silent |
--silen |
--sile |
--sil)
1242 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1244 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1246 sbindir
=$ac_optarg ;;
1248 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1249 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1250 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1252 ac_prev
=sharedstatedir
;;
1253 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1254 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1255 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1257 sharedstatedir
=$ac_optarg ;;
1259 -site |
--site |
--sit)
1261 -site=* |
--site=* |
--sit=*)
1264 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1266 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1267 srcdir
=$ac_optarg ;;
1269 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1270 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1271 ac_prev
=sysconfdir
;;
1272 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1273 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1274 sysconfdir
=$ac_optarg ;;
1276 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1277 ac_prev
=target_alias
;;
1278 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1279 target_alias
=$ac_optarg ;;
1281 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1284 -version |
--version |
--versio |
--versi |
--vers |
-V)
1285 ac_init_version
=: ;;
1288 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1291 as_fn_error
"invalid package name: $ac_useropt"
1292 ac_useropt_orig
=$ac_useropt
1293 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1294 case $ac_user_opts in
1298 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1299 ac_unrecognized_sep
=', ';;
1301 eval with_
$ac_useropt=\
$ac_optarg ;;
1303 -without-* |
--without-*)
1304 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1305 # Reject names that are not valid shell variable names.
1306 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1307 as_fn_error
"invalid package name: $ac_useropt"
1308 ac_useropt_orig
=$ac_useropt
1309 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1310 case $ac_user_opts in
1314 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1315 ac_unrecognized_sep
=', ';;
1317 eval with_
$ac_useropt=no
;;
1320 # Obsolete; use --with-x.
1323 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1324 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1325 ac_prev
=x_includes
;;
1326 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1327 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1328 x_includes
=$ac_optarg ;;
1330 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1331 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1332 ac_prev
=x_libraries
;;
1333 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1334 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1335 x_libraries
=$ac_optarg ;;
1337 -*) as_fn_error
"unrecognized option: \`$ac_option'
1338 Try \`$0 --help' for more information."
1342 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1343 # Reject names that are not valid shell variable names.
1344 case $ac_envvar in #(
1345 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1346 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1348 eval $ac_envvar=\
$ac_optarg
1349 export $ac_envvar ;;
1352 # FIXME: should be removed in autoconf 3.0.
1353 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1354 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1355 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1356 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1362 if test -n "$ac_prev"; then
1363 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1364 as_fn_error
"missing argument to $ac_option"
1367 if test -n "$ac_unrecognized_opts"; then
1368 case $enable_option_checking in
1370 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1371 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1375 # Check all directory arguments for consistency.
1376 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1377 datadir sysconfdir sharedstatedir localstatedir includedir \
1378 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1379 libdir localedir mandir
1381 eval ac_val
=\$
$ac_var
1382 # Remove trailing slashes.
1385 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1386 eval $ac_var=\
$ac_val;;
1388 # Be sure to have absolute directory names.
1390 [\\/$
]* | ?
:[\\/]* ) continue;;
1391 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1393 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1396 # There might be people who depend on the old broken behavior: `$host'
1397 # used to hold the argument of --host etc.
1398 # FIXME: To remove some day.
1401 target
=$target_alias
1403 # FIXME: To remove some day.
1404 if test "x$host_alias" != x
; then
1405 if test "x$build_alias" = x
; then
1406 cross_compiling
=maybe
1407 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1408 If a cross compiler is detected then cross compile mode will be used." >&2
1409 elif test "x$build_alias" != "x$host_alias"; then
1415 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1417 test "$silent" = yes && exec 6>/dev
/null
1420 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1421 ac_ls_di
=`ls -di .` &&
1422 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1423 as_fn_error
"working directory cannot be determined"
1424 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1425 as_fn_error
"pwd does not report name of working directory"
1428 # Find the source files, if location was not specified.
1429 if test -z "$srcdir"; then
1430 ac_srcdir_defaulted
=yes
1431 # Try the directory containing this script, then the parent directory.
1432 ac_confdir
=`$as_dirname -- "$as_myself" ||
1433 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1434 X"$as_myself" : 'X\(//\)[^/]' \| \
1435 X"$as_myself" : 'X\(//\)$' \| \
1436 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1437 $as_echo X"$as_myself" |
1438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1456 if test ! -r "$srcdir/$ac_unique_file"; then
1460 ac_srcdir_defaulted
=no
1462 if test ! -r "$srcdir/$ac_unique_file"; then
1463 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1464 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1466 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1468 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1470 # When building in place, set srcdir=.
1471 if test "$ac_abs_confdir" = "$ac_pwd"; then
1474 # Remove unnecessary trailing slashes from srcdir.
1475 # Double slashes in file names in object file debugging info
1476 # mess up M-x gdb in Emacs.
1478 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1480 for ac_var
in $ac_precious_vars; do
1481 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1482 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1483 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1484 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1488 # Report the --help message.
1490 if test "$ac_init_help" = "long"; then
1491 # Omit some internal or obsolete options to make the list less imposing.
1492 # This message is too long to be a string in the A/UX 3.1 sh.
1494 \`configure' configures GNU Classpath 0.99.1-pre to adapt to many kinds of systems.
1496 Usage: $0 [OPTION]... [VAR=VALUE]...
1498 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1499 VAR=VALUE. See below for descriptions of some of the useful variables.
1501 Defaults for the options are specified in brackets.
1504 -h, --help display this help and exit
1505 --help=short display options specific to this package
1506 --help=recursive display the short help of all the included packages
1507 -V, --version display version information and exit
1508 -q, --quiet, --silent do not print \`checking...' messages
1509 --cache-file=FILE cache test results in FILE [disabled]
1510 -C, --config-cache alias for \`--cache-file=config.cache'
1511 -n, --no-create do not create output files
1512 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1514 Installation directories:
1515 --prefix=PREFIX install architecture-independent files in PREFIX
1516 [$ac_default_prefix]
1517 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1520 By default, \`make install' will install all the files in
1521 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1522 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1523 for instance \`--prefix=\$HOME'.
1525 For better control, use the options below.
1527 Fine tuning of the installation directories:
1528 --bindir=DIR user executables [EPREFIX/bin]
1529 --sbindir=DIR system admin executables [EPREFIX/sbin]
1530 --libexecdir=DIR program executables [EPREFIX/libexec]
1531 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1532 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1533 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1534 --libdir=DIR object code libraries [EPREFIX/lib]
1535 --includedir=DIR C header files [PREFIX/include]
1536 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1537 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1538 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1539 --infodir=DIR info documentation [DATAROOTDIR/info]
1540 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1541 --mandir=DIR man documentation [DATAROOTDIR/man]
1542 --docdir=DIR documentation root [DATAROOTDIR/doc/classpath]
1543 --htmldir=DIR html documentation [DOCDIR]
1544 --dvidir=DIR dvi documentation [DOCDIR]
1545 --pdfdir=DIR pdf documentation [DOCDIR]
1546 --psdir=DIR ps documentation [DOCDIR]
1552 --program-prefix=PREFIX prepend PREFIX to installed program names
1553 --program-suffix=SUFFIX append SUFFIX to installed program names
1554 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1557 --x-includes=DIR X include files are
in DIR
1558 --x-libraries=DIR X library files are
in DIR
1561 --build=BUILD configure
for building on BUILD
[guessed
]
1562 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1563 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1567 if test -n "$ac_init_help"; then
1568 case $ac_init_help in
1569 short | recursive
) echo "Configuration of GNU Classpath 0.99.1-pre:";;
1574 --disable-option-checking ignore unrecognized
--enable/--with options
1575 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1576 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1577 --enable-java-maintainer-mode
1578 allow rebuilding of .class and .h files
1579 --enable-generated-files-in-srcdir
1580 put copies of generated files
in source dir
1581 intended
for creating
source tarballs
for users
1582 without texinfo
, perl
, bison or flex.
1583 --enable-multilib build many library versions
(default
)
1584 --enable-collections create collections.jar default
=no
1585 --enable-jni compile JNI
source default
=yes
1586 --enable-core-jni compile JNI sources
for core default
=yes
1587 --enable-default-preferences-peer[=peer
type or class name
]
1588 specify one of
: "gconf" [default
] for a GConf based
1589 backend
, "file" for a
file based one
, "memory" for a
1590 transient one
, or a fully qualified class name
1591 implementing java.util.prefs.PreferencesFactory
1592 --disable-gconf-peer compile GConf native peers
(disabled by
1593 --disable-jni) default
=yes
1595 --enable-gstreamer-peer compile GStreamer native peers
(disabled by
1596 --disable-jni) default
=no
1597 --enable-Werror whether to compile C code with
-Werror which turns
1598 any compiler warning into a compilation failure
1600 --enable-default-toolkit
1601 fully qualified class name of default AWT toolkit
1602 --enable-xmlj compile native libxml
/xslt library default
=no
1603 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
1605 --disable-dependency-tracking speeds up one-time build
1606 --enable-dependency-tracking do not reject slow dependency extractors
1607 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
1609 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
1611 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
1613 --disable-plugin compile gcjwebplugin
(disabled by
--disable-plugin)
1615 --enable-gmp compile native java.math.BigInteger library
1616 (disabled by
--disable-gmp) default
=yes
1617 --disable-gjdoc compile GJDoc
(disabled by
--disable-gjdoc)
1619 --enable-regen-headers automatically regenerate JNI headers default
=yes if
1621 --enable-regen-gjdoc-parser
1622 automatically regenerate the GJDoc parser
1623 default=yes if generated source doesn't exist
1624 --enable-tool-wrappers create tool wrapper binaries default
=no
1625 --enable-static[=PKGS
] build static libraries
[default
=no
]
1626 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1627 --enable-fast-install[=PKGS
]
1628 optimize
for fast installation
[default
=yes]
1629 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1630 --disable-rpath do not hardcode runtime library paths
1631 --enable-maintainer-mode enable make rules and dependencies not useful
1632 (and sometimes confusing
) to the casual installer
1633 --enable-debug enable runtime debugging code
1634 --enable-load-library enable to use JNI native methods default
=yes
1635 --enable-java-lang-system-explicit-initialization
1636 will the VM explicitly invoke java.lang.System
's
1637 static initialization methods default=no
1638 --enable-examples enable build of the examples default=yes
1639 --enable-tools enable build of the tools default=yes
1640 --enable-portable-native-sync
1641 synchronize VM threads portably
1642 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1645 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1646 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1647 --with-native-libdir sets the installation directory for native libraries
1648 default='${libdir}/${PACKAGE}'
1649 --with-glibj-dir sets the installation directory for glibj.zip
1650 default='${libdir}/${PACKAGE}'
1651 --with-antlr-jar=file Use ANTLR from the specified jar file
1652 --with-pic try to use only PIC/non-PIC objects [default=use
1654 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1655 --with-gnu-ld assume the C compiler uses GNU ld default=no
1656 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1657 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1658 --with-x use the X Window System
1659 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
1660 systems use pkg-config.
1661 --with-gmp=PATH specify prefix directory
for the installed GMP package.
1662 Equivalent to
--with-gmp-include=PATH
/include
1663 plus
--with-gmp-lib=PATH
/lib
1664 --with-gmp-include=PATH specify directory
for installed GMP include files
1665 --with-gmp-lib=PATH specify directory
for the installed GMP library
1666 --with-javah specify path or name of a javah-like program
1667 --with-vm-classes specify path to VM override
source files
1668 --with-ecj-jar=ABS.PATH specify jar
file containing the Eclipse Java
1670 --with-jar=PATH define to use a jar style tool
1671 --with-glibj define what to
install (zip|flat|both|none|build
)
1673 --with-gjdoc generate documentation using gjdoc
(default is NO
)
1674 --with-jay=DIR|PATH Regenerate the parsers with jay
1675 --with-glibj-zip=ABS.PATH
1676 use prebuilt glibj.
zip class library
1677 --with-escher=ABS.PATH specify path to escher dir or JAR
for X peers
1679 Some influential environment variables
:
1680 CC C compiler
command
1681 CFLAGS C compiler flags
1682 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1683 nonstandard directory
<lib dir
>
1684 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1685 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1686 you have headers
in a nonstandard directory
<include dir
>
1688 CXX C
++ compiler
command
1689 CXXFLAGS C
++ compiler flags
1690 CXXCPP C
++ preprocessor
1691 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1693 Use these variables to override the choices made by
`configure' or to help
1694 it to find libraries and programs with nonstandard names/locations.
1696 Report bugs to <classpath@gnu.org>.
1697 GNU Classpath home page: <http://www.gnu.org/software/classpath/>.
1698 General help using GNU software: <http://www.gnu.org/gethelp/>.
1703 if test "$ac_init_help" = "recursive"; then
1704 # If there are subdirs, report their specific --help.
1705 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1706 test -d "$ac_dir" ||
1707 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1712 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1714 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1715 # A ".." for each directory in $ac_dir_suffix.
1716 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1717 case $ac_top_builddir_sub in
1718 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1719 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1722 ac_abs_top_builddir=$ac_pwd
1723 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1724 # for backward compatibility:
1725 ac_top_builddir=$ac_top_build_prefix
1728 .) # We are building in place.
1730 ac_top_srcdir=$ac_top_builddir_sub
1731 ac_abs_top_srcdir=$ac_pwd ;;
1732 [\\/]* | ?:[\\/]* ) # Absolute name.
1733 ac_srcdir=$srcdir$ac_dir_suffix;
1734 ac_top_srcdir=$srcdir
1735 ac_abs_top_srcdir=$srcdir ;;
1737 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1738 ac_top_srcdir=$ac_top_build_prefix$srcdir
1739 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1741 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1743 cd "$ac_dir" || { ac_status=$?; continue; }
1744 # Check for guested configure.
1745 if test -f "$ac_srcdir/configure.gnu"; then
1747 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1748 elif test -f "$ac_srcdir/configure"; then
1750 $SHELL "$ac_srcdir/configure" --help=recursive
1752 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1754 cd "$ac_pwd" || { ac_status=$?; break; }
1758 test -n "$ac_init_help" && exit $ac_status
1759 if $ac_init_version; then
1761 GNU Classpath configure 0.99.1-pre
1762 generated by GNU Autoconf 2.64
1764 Copyright (C) 2009 Free Software Foundation, Inc.
1765 This configure script is free software; the Free Software Foundation
1766 gives unlimited permission to copy, distribute and modify it.
1771 ## ------------------------ ##
1772 ## Autoconf initialization. ##
1773 ## ------------------------ ##
1775 # ac_fn_c_try_compile LINENO
1776 # --------------------------
1777 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1778 ac_fn_c_try_compile ()
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 rm -f conftest.$ac_objext
1782 if { { ac_try="$ac_compile"
1784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1785 *) ac_try_echo
=$ac_try;;
1787 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_compile") 2>conftest.err
1791 if test -s conftest.err
; then
1792 grep -v '^ *+' conftest.err
>conftest.er1
1793 cat conftest.er1
>&5
1794 mv -f conftest.er1 conftest.err
1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; } && {
1798 test -z "$ac_c_werror_flag" ||
1799 test ! -s conftest.err
1800 } && test -s conftest.
$ac_objext; then :
1803 $as_echo "$as_me: failed program was:" >&5
1804 sed 's/^/| /' conftest.
$ac_ext >&5
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1811 } # ac_fn_c_try_compile
1813 # ac_fn_c_try_cpp LINENO
1814 # ----------------------
1815 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1818 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1819 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1822 *) ac_try_echo=$ac_try;;
1824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825 $as_echo "$ac_try_echo"; } >&5
1826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1828 if test -s conftest.err; then
1829 grep -v '^ *+' conftest.err >conftest.er1
1830 cat conftest.er1 >&5
1831 mv -f conftest.er1 conftest.err
1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834 test $ac_status = 0; } >/dev/null && {
1835 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1836 test ! -s conftest.err
1840 $as_echo "$as_me: failed program was:" >&5
1841 sed 's/^/| /' conftest.$ac_ext >&5
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1850 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1853 # the include files in INCLUDES and setting the cache variable VAR
1855 ac_fn_c_check_header_mongrel ()
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1860 $as_echo_n "checking for $2... " >&6; }
1861 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1862 $as_echo_n "(cached) " >&6
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1868 # Is the header compilable?
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1870 $as_echo_n "checking $2 usability... " >&6; }
1871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1872 /* end confdefs.h. */
1876 if ac_fn_c_try_compile "$LINENO"; then :
1877 ac_header_compiler=yes
1879 ac_header_compiler=no
1881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1883 $as_echo "$ac_header_compiler" >&6; }
1885 # Is the header present?
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1887 $as_echo_n "checking $2 presence... " >&6; }
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1892 if ac_fn_c_try_cpp "$LINENO"; then :
1893 ac_header_preproc=yes
1895 ac_header_preproc=no
1897 rm -f conftest.err conftest.$ac_ext
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1899 $as_echo "$ac_header_preproc" >&6; }
1901 # So? What about this header?
1902 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1905 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1907 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1911 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1913 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1915 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1917 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1919 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1921 ## -------------------------------- ##
1922 ## Report this to classpath@gnu.org ##
1923 ## -------------------------------- ##
1925 ) | sed "s/^/$as_me: WARNING: /" >&2
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1930 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1931 $as_echo_n "(cached) " >&6
1933 eval "$3=\$ac_header_compiler"
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1939 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1941 } # ac_fn_c_check_header_mongrel
1943 # ac_fn_c_try_run LINENO
1944 # ----------------------
1945 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1946 # that executables *can* be run.
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 if { { ac_try="$ac_link"
1952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1953 *) ac_try_echo
=$ac_try;;
1955 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_link") 2>&5
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1961 { { case "(($ac_try" in
1962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1963 *) ac_try_echo=$ac_try;;
1965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_try") 2>&5
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; }; }; then :
1973 $as_echo "$as_me: program exited with status $ac_status" >&5
1974 $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1977 ac_retval=$ac_status
1979 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1980 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1985 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1986 # -------------------------------------------------------
1987 # Tests whether HEADER exists and can be compiled using the include files in
1988 # INCLUDES, setting the cache variable VAR accordingly.
1989 ac_fn_c_check_header_compile ()
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1993 $as_echo_n "checking for $2... " >&6; }
1994 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1995 $as_echo_n "(cached) " >&6
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998 /* end confdefs.h. */
2002 if ac_fn_c_try_compile "$LINENO"; then :
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014 } # ac_fn_c_check_header_compile
2016 # ac_fn_c_try_link LINENO
2017 # -----------------------
2018 # Try to link conftest.$ac_ext, and return whether this succeeded.
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 rm -f conftest.$ac_objext conftest$ac_exeext
2023 if { { ac_try="$ac_link"
2025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2026 *) ac_try_echo
=$ac_try;;
2028 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029 $as_echo "$ac_try_echo"; } >&5
2030 (eval "$ac_link") 2>conftest.err
2032 if test -s conftest.err
; then
2033 grep -v '^ *+' conftest.err
>conftest.er1
2034 cat conftest.er1
>&5
2035 mv -f conftest.er1 conftest.err
2037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2038 test $ac_status = 0; } && {
2039 test -z "$ac_c_werror_flag" ||
2040 test ! -s conftest.err
2041 } && test -s conftest
$ac_exeext && {
2042 test "$cross_compiling" = yes ||
2043 $as_test_x conftest
$ac_exeext
2047 $as_echo "$as_me: failed program was:" >&5
2048 sed 's/^/| /' conftest.
$ac_ext >&5
2052 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2053 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2054 # interfere with the next link command; also delete a directory that is
2055 # left behind by Apple's compiler. We do this before executing the actions.
2056 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2057 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2060 } # ac_fn_c_try_link
2062 # ac_fn_c_check_func LINENO FUNC VAR
2063 # ----------------------------------
2064 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2065 ac_fn_c_check_func
()
2067 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2069 $as_echo_n "checking for $2... " >&6; }
2070 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2071 $as_echo_n "(cached) " >&6
2073 if test x
$gcc_no_link = xyes
; then
2074 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2077 /* end confdefs.h. */
2078 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2080 #define $2 innocuous_$2
2082 /* System header to define __stub macros and hopefully few prototypes,
2083 which can conflict with char $2 (); below.
2084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2085 <limits.h> exists even on freestanding compilers. */
2088 # include <limits.h>
2090 # include <assert.h>
2095 /* Override any GCC internal prototype to avoid an error.
2096 Use char because int might match the return type of a GCC
2097 builtin and then its argument prototype would still apply. */
2102 /* The GNU C library defines this for functions which it implements
2103 to always fail with ENOSYS. Some functions are actually named
2104 something starting with __ and the normal name is an alias. */
2105 #if defined __stub_$2 || defined __stub___$2
2117 if ac_fn_c_try_link
"$LINENO"; then :
2122 rm -f core conftest.err conftest.
$ac_objext \
2123 conftest
$ac_exeext conftest.
$ac_ext
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2128 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2130 } # ac_fn_c_check_func
2132 # ac_fn_cxx_try_compile LINENO
2133 # ----------------------------
2134 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2135 ac_fn_cxx_try_compile
()
2137 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2138 rm -f conftest.
$ac_objext
2139 if { { ac_try
="$ac_compile"
2141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2142 *) ac_try_echo=$ac_try;;
2144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2145 $as_echo "$ac_try_echo"; } >&5
2146 (eval "$ac_compile") 2>conftest.err
2148 if test -s conftest.err; then
2149 grep -v '^ *+' conftest.err >conftest.er1
2150 cat conftest.er1 >&5
2151 mv -f conftest.er1 conftest.err
2153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2154 test $ac_status = 0; } && {
2155 test -z "$ac_cxx_werror_flag" ||
2156 test ! -s conftest.err
2157 } && test -s conftest.$ac_objext; then :
2160 $as_echo "$as_me: failed program was:" >&5
2161 sed 's/^/| /' conftest.$ac_ext >&5
2165 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2168 } # ac_fn_cxx_try_compile
2170 # ac_fn_cxx_try_cpp LINENO
2171 # ------------------------
2172 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2173 ac_fn_cxx_try_cpp ()
2175 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2176 if { { ac_try="$ac_cpp conftest.$ac_ext"
2178 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2179 *) ac_try_echo
=$ac_try;;
2181 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2182 $as_echo "$ac_try_echo"; } >&5
2183 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2185 if test -s conftest.err
; then
2186 grep -v '^ *+' conftest.err
>conftest.er1
2187 cat conftest.er1
>&5
2188 mv -f conftest.er1 conftest.err
2190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2191 test $ac_status = 0; } >/dev
/null
&& {
2192 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2193 test ! -s conftest.err
2197 $as_echo "$as_me: failed program was:" >&5
2198 sed 's/^/| /' conftest.
$ac_ext >&5
2202 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2205 } # ac_fn_cxx_try_cpp
2207 # ac_fn_cxx_try_link LINENO
2208 # -------------------------
2209 # Try to link conftest.$ac_ext, and return whether this succeeded.
2210 ac_fn_cxx_try_link
()
2212 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2213 rm -f conftest.
$ac_objext conftest
$ac_exeext
2214 if { { ac_try
="$ac_link"
2216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2217 *) ac_try_echo=$ac_try;;
2219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2220 $as_echo "$ac_try_echo"; } >&5
2221 (eval "$ac_link") 2>conftest.err
2223 if test -s conftest.err; then
2224 grep -v '^ *+' conftest.err >conftest.er1
2225 cat conftest.er1 >&5
2226 mv -f conftest.er1 conftest.err
2228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2229 test $ac_status = 0; } && {
2230 test -z "$ac_cxx_werror_flag" ||
2231 test ! -s conftest.err
2232 } && test -s conftest$ac_exeext && {
2233 test "$cross_compiling" = yes ||
2234 $as_test_x conftest$ac_exeext
2238 $as_echo "$as_me: failed program was:" >&5
2239 sed 's/^/| /' conftest.$ac_ext >&5
2243 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2244 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2245 # interfere with the next link command; also delete a directory that is
2246 # left behind by Apple's compiler. We do this before executing the actions.
2247 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2248 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2251 } # ac_fn_cxx_try_link
2253 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2254 # ----------------------------------------------------
2255 # Tries to find if the field MEMBER exists in type AGGR, after including
2256 # INCLUDES, setting cache variable VAR accordingly.
2257 ac_fn_c_check_member ()
2259 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2261 $as_echo_n "checking for $2.$3... " >&6; }
2262 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2263 $as_echo_n "(cached) " >&6
2265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2266 /* end confdefs.h. */
2278 if ac_fn_c_try_compile "$LINENO"; then :
2281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2282 /* end confdefs.h. */
2288 if (sizeof ac_aggr.$3)
2294 if ac_fn_c_try_compile "$LINENO"; then :
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2305 $as_echo "$ac_res" >&6; }
2306 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2308 } # ac_fn_c_check_member
2310 # ac_fn_c_check_decl LINENO SYMBOL VAR
2311 # ------------------------------------
2312 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2313 ac_fn_c_check_decl ()
2315 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2316 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2317 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2319 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2320 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2321 $as_echo_n "(cached) " >&6
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2329 #ifndef $as_decl_name
2331 (void) $as_decl_use;
2333 (void) $as_decl_name;
2341 if ac_fn_c_try_compile "$LINENO"; then :
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2350 $as_echo "$ac_res" >&6; }
2351 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2353 } # ac_fn_c_check_decl
2355 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2356 # -------------------------------------------
2357 # Tests whether TYPE exists after having included INCLUDES, setting cache
2358 # variable VAR accordingly.
2359 ac_fn_c_check_type ()
2361 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2363 $as_echo_n "checking for $2... " >&6; }
2364 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2365 $as_echo_n "(cached) " >&6
2368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2369 /* end confdefs.h. */
2380 if ac_fn_c_try_compile "$LINENO"; then :
2381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2382 /* end confdefs.h. */
2393 if ac_fn_c_try_compile "$LINENO"; then :
2398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2404 $as_echo "$ac_res" >&6; }
2405 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2407 } # ac_fn_c_check_type
2409 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2410 # --------------------------------------------
2411 # Tries to find the compile-time value of EXPR in a program that includes
2412 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2414 ac_fn_c_compute_int ()
2416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2417 if test "$cross_compiling" = yes; then
2418 # Depending upon the size, compute the lo and hi bounds.
2419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2420 /* end confdefs.h. */
2425 static int test_array [1 - 2 * !(($2) >= 0)];
2432 if ac_fn_c_try_compile "$LINENO"; then :
2435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2436 /* end confdefs.h. */
2441 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2448 if ac_fn_c_try_compile "$LINENO"; then :
2449 ac_hi=$ac_mid; break
2451 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2452 if test $ac_lo -le $ac_mid; then
2456 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2467 static int test_array [1 - 2 * !(($2) < 0)];
2474 if ac_fn_c_try_compile "$LINENO"; then :
2477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2483 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2490 if ac_fn_c_try_compile "$LINENO"; then :
2491 ac_lo=$ac_mid; break
2493 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2494 if test $ac_mid -le $ac_hi; then
2498 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508 # Binary search between lo and hi bounds.
2509 while test "x$ac_lo" != "x$ac_hi"; do
2510 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2512 /* end confdefs.h. */
2517 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2524 if ac_fn_c_try_compile "$LINENO"; then :
2527 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2532 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2537 /* end confdefs.h. */
2539 static long int longval () { return $2; }
2540 static unsigned long int ulongval () { return $2; }
2547 FILE *f = fopen ("conftest.val", "w");
2552 long int i = longval ();
2555 fprintf (f, "%ld", i);
2559 unsigned long int i = ulongval ();
2562 fprintf (f, "%lu", i);
2564 /* Do not output a trailing newline, as this causes \r\n confusion
2565 on some platforms. */
2566 return ferror (f) || fclose (f) != 0;
2572 if ac_fn_c_try_run "$LINENO"; then :
2573 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2578 conftest.$ac_objext conftest.beam conftest.$ac_ext
2582 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2585 } # ac_fn_c_compute_int
2586 cat >config.log <<_ACEOF
2587 This file contains any messages produced by compilers while
2588 running configure, to aid debugging if configure makes a mistake.
2590 It was created by GNU Classpath $as_me 0.99.1-pre, which was
2591 generated by GNU Autoconf 2.64. Invocation command line was
2603 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2604 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2605 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2606 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2607 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2609 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2610 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2612 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2613 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2614 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2615 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2616 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2617 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2618 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 test -z "$as_dir" && as_dir=.
2627 $as_echo "PATH: $as_dir"
2643 # Keep a trace of the command line.
2644 # Strip out --no-create and --no-recursion so they do not pile up.
2645 # Strip out --silent because we don't want to record it for future runs.
2646 # Also quote any args containing shell meta-characters.
2647 # Make two passes to allow for proper duplicate-argument suppression.
2651 ac_must_keep_next=false
2657 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2658 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2659 | -silent | --silent | --silen | --sile | --sil)
2662 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2665 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2667 as_fn_append ac_configure_args1 " '$ac_arg'"
2668 if test $ac_must_keep_next = true; then
2669 ac_must_keep_next=false # Got value, back to normal.
2672 *=* | --config-cache | -C | -disable-* | --disable-* \
2673 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2674 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2675 | -with-* | --with-* | -without-* | --without-* | --x)
2676 case "$ac_configure_args0 " in
2677 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2680 -* ) ac_must_keep_next=true ;;
2683 as_fn_append ac_configure_args " '$ac_arg'"
2688 { ac_configure_args0=; unset ac_configure_args0;}
2689 { ac_configure_args1=; unset ac_configure_args1;}
2691 # When interrupted or exit'd, cleanup temporary files, and complete
2692 # config.log. We remove comments because anyway the quotes in there
2693 # would cause problems or look ugly.
2694 # WARNING: Use '\'' to represent an apostrophe within the trap.
2695 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2696 trap 'exit_status=$?
2697 # Save into config.log some information that might help in debugging.
2702 ## ---------------- ##
2703 ## Cache variables. ##
2704 ## ---------------- ##
2707 # The following way of writing the cache mishandles newlines in values,
2709 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2710 eval ac_val=\$$ac_var
2714 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2715 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2718 _ | IFS | as_nl) ;; #(
2719 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2720 *) { eval $ac_var=; unset $ac_var;} ;;
2725 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2726 *${as_nl}ac_space=\ *)
2728 "s/'\''/'\''\\\\'\'''\''/g;
2729 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2732 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2740 ## ----------------- ##
2741 ## Output variables. ##
2742 ## ----------------- ##
2745 for ac_var in $ac_subst_vars
2747 eval ac_val=\$$ac_var
2749 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2751 $as_echo "$ac_var='\''$ac_val'\''"
2755 if test -n "$ac_subst_files"; then
2757 ## ------------------- ##
2758 ## File substitutions. ##
2759 ## ------------------- ##
2762 for ac_var in $ac_subst_files
2764 eval ac_val=\$$ac_var
2766 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2768 $as_echo "$ac_var='\''$ac_val'\''"
2773 if test -s confdefs.h; then
2783 test "$ac_signal" != 0 &&
2784 $as_echo "$as_me: caught signal $ac_signal"
2785 $as_echo "$as_me: exit $exit_status"
2787 rm -f core *.core core.conftest.* &&
2788 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2791 for ac_signal in 1 2 13 15; do
2792 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2796 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2797 rm -f -r conftest* confdefs.h
2799 $as_echo "/* confdefs.h */" > confdefs.h
2801 # Predefined preprocessor variables.
2803 cat >>confdefs.h <<_ACEOF
2804 #define PACKAGE_NAME "$PACKAGE_NAME"
2807 cat >>confdefs.h <<_ACEOF
2808 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2811 cat >>confdefs.h <<_ACEOF
2812 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2815 cat >>confdefs.h <<_ACEOF
2816 #define PACKAGE_STRING "$PACKAGE_STRING"
2819 cat >>confdefs.h <<_ACEOF
2820 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2823 cat >>confdefs.h <<_ACEOF
2824 #define PACKAGE_URL "$PACKAGE_URL"
2828 # Let the site file select an alternate cache file if it wants to.
2829 # Prefer an explicitly selected file to automatically selected ones.
2832 if test -n "$CONFIG_SITE"; then
2833 ac_site_file1=$CONFIG_SITE
2834 elif test "x$prefix" != xNONE; then
2835 ac_site_file1=$prefix/share/config.site
2836 ac_site_file2=$prefix/etc/config.site
2838 ac_site_file1=$ac_default_prefix/share/config.site
2839 ac_site_file2=$ac_default_prefix/etc/config.site
2841 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2843 test "x$ac_site_file" = xNONE && continue
2844 if test -r "$ac_site_file"; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2846 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2847 sed 's/^/| /' "$ac_site_file" >&5
2852 if test -r "$cache_file"; then
2853 # Some versions of bash will fail to source /dev/null (special
2854 # files actually), so we avoid doing that.
2855 if test -f "$cache_file"; then
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2857 $as_echo "$as_me: loading cache $cache_file" >&6;}
2859 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2860 *) . "./$cache_file";;
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2865 $as_echo "$as_me: creating cache $cache_file" >&6;}
2869 # Check that the precious variables saved in the cache have kept the same
2871 ac_cache_corrupted=false
2872 for ac_var in $ac_precious_vars; do
2873 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2874 eval ac_new_set=\$ac_env_${ac_var}_set
2875 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2876 eval ac_new_val=\$ac_env_${ac_var}_value
2877 case $ac_old_set,$ac_new_set in
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2880 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2881 ac_cache_corrupted=: ;;
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2884 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2885 ac_cache_corrupted=: ;;
2888 if test "x$ac_old_val" != "x$ac_new_val"; then
2889 # differences in whitespace do not lead to failure.
2890 ac_old_val_w=`echo x
$ac_old_val`
2891 ac_new_val_w=`echo x
$ac_new_val`
2892 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2894 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2895 ac_cache_corrupted=:
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2898 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2899 eval $ac_var=\$ac_old_val
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2902 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2904 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2907 # Pass precious variables to config.status.
2908 if test "$ac_new_set" = set; then
2910 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2911 *) ac_arg=$ac_var=$ac_new_val ;;
2913 case " $ac_configure_args " in
2914 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2915 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2919 if $ac_cache_corrupted; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2923 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2924 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2926 ## -------------------- ##
2927 ## Main body of script. ##
2928 ## -------------------- ##
2931 ac_cpp='$CPP $CPPFLAGS'
2932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2944 for ac_dir in ../.. "$srcdir"/../..; do
2945 for ac_t in install-sh install.sh shtool; do
2946 if test -f "$ac_dir/$ac_t"; then
2948 ac_install_sh="$ac_aux_dir/$ac_t -c"
2953 if test -z "$ac_aux_dir"; then
2954 as_fn_error "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2957 # These three variables are undocumented and unsupported,
2958 # and are intended to be withdrawn in a future Autoconf release.
2959 # They can cause serious problems if a builder's source tree is in a directory
2960 # whose full name contains unusual characters.
2961 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2962 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2963 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2967 # Make sure we can run config.sub.
2968 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2969 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2972 $as_echo_n "checking build system type... " >&6; }
2973 if test "${ac_cv_build+set}" = set; then :
2974 $as_echo_n "(cached) " >&6
2976 ac_build_alias=$build_alias
2977 test "x$ac_build_alias" = x &&
2978 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2979 test "x$ac_build_alias" = x &&
2980 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2981 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2982 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2986 $as_echo "$ac_cv_build" >&6; }
2987 case $ac_cv_build in
2989 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2992 ac_save_IFS=$IFS; IFS='-'
2998 # Remember, the first character of IFS is used to create $*,
2999 # except with old shells:
3002 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3006 $as_echo_n "checking host system type... " >&6; }
3007 if test "${ac_cv_host+set}" = set; then :
3008 $as_echo_n "(cached) " >&6
3010 if test "x$host_alias" = x; then
3011 ac_cv_host=$ac_cv_build
3013 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3014 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3019 $as_echo "$ac_cv_host" >&6; }
3022 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3025 ac_save_IFS=$IFS; IFS='-'
3031 # Remember, the first character of IFS is used to create $*,
3032 # except with old shells:
3035 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3039 $as_echo_n "checking target system type... " >&6; }
3040 if test "${ac_cv_target+set}" = set; then :
3041 $as_echo_n "(cached) " >&6
3043 if test "x$target_alias" = x; then
3044 ac_cv_target=$ac_cv_host
3046 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3047 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3052 $as_echo "$ac_cv_target" >&6; }
3053 case $ac_cv_target in
3055 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3057 target=$ac_cv_target
3058 ac_save_IFS=$IFS; IFS='-'
3064 # Remember, the first character of IFS is used to create $*,
3065 # except with old shells:
3068 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
3071 # The aliases save the names the user supplied, while $host etc.
3072 # will get canonicalized.
3073 test -n "$target_alias" &&
3074 test "$program_prefix$program_suffix$program_transform_name" = \
3076 program_prefix=${target_alias}-
3078 # Check whether --enable-java-maintainer-mode was given.
3079 if test "${enable_java_maintainer_mode+set}" = set; then :
3080 enableval=$enable_java_maintainer_mode;
3083 if test "$enable_java_maintainer_mode" = yes; then
3084 JAVA_MAINTAINER_MODE_TRUE=
3085 JAVA_MAINTAINER_MODE_FALSE='#'
3087 JAVA_MAINTAINER_MODE_TRUE='#'
3088 JAVA_MAINTAINER_MODE_FALSE=
3092 # We would like to our source tree to be readonly. However when releases or
3093 # pre-releases are generated, the man pages need to be included as they are
3094 # converted from the texi files via perl which we don't require end users to
3096 # Therefore we have --enable-generated-files-in-srcdir to do just that.
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to place generated files in the source directory" >&5
3099 $as_echo_n "checking whether to place generated files in the source directory... " >&6; }
3100 # Check whether --enable-generated-files-in-srcdir was given.
3101 if test "${enable_generated_files_in_srcdir+set}" = set; then :
3102 enableval=$enable_generated_files_in_srcdir; generated_files_in_srcdir=$enableval
3104 generated_files_in_srcdir=no
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $generated_files_in_srcdir" >&5
3109 $as_echo "$generated_files_in_srcdir" >&6; }
3110 if test x$generated_files_in_srcdir = xyes; then
3119 # Find the rest of the source tree framework.
3120 # Default to --enable-multilib
3121 # Check whether --enable-multilib was given.
3122 if test "${enable_multilib+set}" = set; then :
3123 enableval=$enable_multilib; case "$enableval" in
3124 yes) multilib=yes ;;
3126 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3133 # We may get other options which we leave undocumented:
3134 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3135 # See config-ml.in if you want the gory details.
3137 if test "$srcdir" = "."; then
3138 if test "$with_target_subdir" != "."; then
3139 multi_basedir="$srcdir/$with_multisrctop../../.."
3141 multi_basedir="$srcdir/$with_multisrctop../.."
3144 multi_basedir="$srcdir/../.."
3148 # Even if the default multilib is not a cross compilation,
3149 # it may be that some of the other multilibs are.
3150 if test $cross_compiling = no && test $multilib = yes \
3151 && test "x${with_multisubdir}" != x ; then
3152 cross_compiling=maybe
3155 ac_config_commands="$ac_config_commands default-1"
3158 if test -z "${with_multisubdir}"; then
3159 INSTALL_BINARIES_TRUE=
3160 INSTALL_BINARIES_FALSE='#'
3162 INSTALL_BINARIES_TRUE='#'
3163 INSTALL_BINARIES_FALSE=
3167 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
3180 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
3183 CLASSPATH_CONVENIENCE="-no-undefined"
3187 am__api_version='1.11'
3189 # Find a good install program. We prefer a C program (faster),
3190 # so one script is as good as another. But avoid the broken or
3191 # incompatible versions:
3192 # SysV /etc/install, /usr/sbin/install
3193 # SunOS /usr/etc/install
3194 # IRIX /sbin/install
3196 # AmigaOS /C/install, which installs bootblocks on floppy discs
3197 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3198 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3199 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3200 # OS/2's system install, which has a completely different semantic
3201 # ./install, which can be erroneously created by make from ./install.sh.
3202 # Reject install programs that cannot install multiple files.
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3204 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3205 if test -z "$INSTALL"; then
3206 if test "${ac_cv_path_install+set}" = set; then :
3207 $as_echo_n "(cached) " >&6
3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir=.
3214 # Account for people who put trailing slashes in PATH elements.
3215 case $as_dir/ in #((
3216 ./ | .// | /[cC]/* | \
3217 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3218 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3221 # OSF1 and SCO ODT 3.0 have their own names for install.
3222 # Don't use installbsd from OSF since it installs stuff as root
3224 for ac_prog in ginstall scoinst install; do
3225 for ac_exec_ext in '' $ac_executable_extensions; do
3226 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3227 if test $ac_prog = install &&
3228 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3229 # AIX install. It has an incompatible calling convention.
3231 elif test $ac_prog = install &&
3232 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3233 # program-specific install script used by HP pwplus--don't use.
3236 rm -rf conftest.one conftest.two conftest.dir
3237 echo one > conftest.one
3238 echo two > conftest.two
3240 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3241 test -s conftest.one && test -s conftest.two &&
3242 test -s conftest.dir/conftest.one &&
3243 test -s conftest.dir/conftest.two
3245 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3258 rm -rf conftest.one conftest.two conftest.dir
3261 if test "${ac_cv_path_install+set}" = set; then
3262 INSTALL=$ac_cv_path_install
3264 # As a last resort, use the slow shell script. Don't cache a
3265 # value for INSTALL within a source directory, because that will
3266 # break other packages using the cache if that directory is
3267 # removed, or if the value is a relative name.
3268 INSTALL=$ac_install_sh
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3272 $as_echo "$INSTALL" >&6; }
3274 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3275 # It thinks the first close brace ends the variable substitution.
3276 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3278 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3280 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3283 $as_echo_n "checking whether build environment is sane... " >&6; }
3286 echo timestamp > conftest.file
3287 # Reject unsafe characters in $srcdir or the absolute working directory
3288 # name. Accept space and tab only in the latter.
3292 *[\\\"\#\$\&\'\`$am_lf]*)
3293 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3296 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3297 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3300 # Do `set' in a subshell so we don't clobber the current shell's
3301 # arguments. Must try -L first in case configure is actually a
3302 # symlink; some systems play weird games with the mod time of symlinks
3303 # (eg FreeBSD returns the mod time of the symlink's containing
3306 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3307 if test "$*" = "X"; then
3309 set X
`ls -t "$srcdir/configure" conftest.file`
3312 if test "$*" != "X $srcdir/configure conftest.file" \
3313 && test "$*" != "X conftest.file $srcdir/configure"; then
3315 # If neither matched, then we have a broken ls. This can happen
3316 # if, for instance, CONFIG_SHELL is bash and it inherits a
3317 # broken ls alias from the environment. This has actually
3318 # happened. Such a system could not be considered "sane".
3319 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3320 alias in your environment" "$LINENO" 5
3323 test "$2" = conftest.
file
3329 as_fn_error
"newly created file is older than distributed files!
3330 Check your system clock" "$LINENO" 5
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3333 $as_echo "yes" >&6; }
3334 test "$program_prefix" != NONE
&&
3335 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3336 # Use a double $ so make ignores it.
3337 test "$program_suffix" != NONE
&&
3338 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3339 # Double any \ or $.
3340 # By default was `s,x,x', remove it if useless.
3341 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3342 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3344 # expand $ac_aux_dir to an absolute path
3345 am_aux_dir
=`cd $ac_aux_dir && pwd`
3347 if test x
"${MISSING+set}" != xset
; then
3350 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3352 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3355 # Use eval to expand $SHELL
3356 if eval "$MISSING --run true"; then
3357 am_missing_run
="$MISSING --run "
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3361 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3364 if test x
"${install_sh}" != xset
; then
3367 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3369 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3373 # Installed binaries are usually stripped using `strip' when the user
3374 # run `make install-strip'. However `strip' might not be the right
3375 # tool to use in cross-compilation environments, therefore Automake
3376 # will honor the `STRIP' environment variable to overrule this program.
3377 if test "$cross_compiling" != no
; then
3378 if test -n "$ac_tool_prefix"; then
3379 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3380 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3382 $as_echo_n "checking for $ac_word... " >&6; }
3383 if test "${ac_cv_prog_STRIP+set}" = set; then :
3384 $as_echo_n "(cached) " >&6
3386 if test -n "$STRIP"; then
3387 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3393 test -z "$as_dir" && as_dir
=.
3394 for ac_exec_ext
in '' $ac_executable_extensions; do
3395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3396 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3406 STRIP
=$ac_cv_prog_STRIP
3407 if test -n "$STRIP"; then
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3409 $as_echo "$STRIP" >&6; }
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3412 $as_echo "no" >&6; }
3417 if test -z "$ac_cv_prog_STRIP"; then
3419 # Extract the first word of "strip", so it can be a program name with args.
3420 set dummy strip
; ac_word
=$2
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3422 $as_echo_n "checking for $ac_word... " >&6; }
3423 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3424 $as_echo_n "(cached) " >&6
3426 if test -n "$ac_ct_STRIP"; then
3427 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3433 test -z "$as_dir" && as_dir
=.
3434 for ac_exec_ext
in '' $ac_executable_extensions; do
3435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3436 ac_cv_prog_ac_ct_STRIP
="strip"
3437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3446 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3447 if test -n "$ac_ct_STRIP"; then
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3449 $as_echo "$ac_ct_STRIP" >&6; }
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3452 $as_echo "no" >&6; }
3455 if test "x$ac_ct_STRIP" = x
; then
3458 case $cross_compiling:$ac_tool_warned in
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3462 ac_tool_warned
=yes ;;
3467 STRIP
="$ac_cv_prog_STRIP"
3471 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3474 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3475 if test -z "$MKDIR_P"; then
3476 if test "${ac_cv_path_mkdir+set}" = set; then :
3477 $as_echo_n "(cached) " >&6
3479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3480 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3483 test -z "$as_dir" && as_dir
=.
3484 for ac_prog
in mkdir gmkdir
; do
3485 for ac_exec_ext
in '' $ac_executable_extensions; do
3486 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3487 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3488 'mkdir (GNU coreutils) '* | \
3489 'mkdir (coreutils) '* | \
3490 'mkdir (fileutils) '4.1*)
3491 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3501 if test "${ac_cv_path_mkdir+set}" = set; then
3502 MKDIR_P
="$ac_cv_path_mkdir -p"
3504 # As a last resort, use the slow shell script. Don't cache a
3505 # value for MKDIR_P within a source directory, because that will
3506 # break other packages using the cache if that directory is
3507 # removed, or if the value is a relative name.
3508 test -d .
/--version && rmdir .
/--version
3509 MKDIR_P
="$ac_install_sh -d"
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3513 $as_echo "$MKDIR_P" >&6; }
3517 [\\/$
]* | ?
:[\\/]*) ;;
3518 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3521 for ac_prog
in gawk mawk nawk
awk
3523 # Extract the first word of "$ac_prog", so it can be a program name with args.
3524 set dummy
$ac_prog; ac_word
=$2
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3526 $as_echo_n "checking for $ac_word... " >&6; }
3527 if test "${ac_cv_prog_AWK+set}" = set; then :
3528 $as_echo_n "(cached) " >&6
3530 if test -n "$AWK"; then
3531 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3537 test -z "$as_dir" && as_dir
=.
3538 for ac_exec_ext
in '' $ac_executable_extensions; do
3539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3540 ac_cv_prog_AWK
="$ac_prog"
3541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3551 if test -n "$AWK"; then
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3553 $as_echo "$AWK" >&6; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3560 test -n "$AWK" && break
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3564 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3566 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3567 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3568 $as_echo_n "(cached) " >&6
3570 cat >conftest.
make <<\_ACEOF
3573 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3575 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3576 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3578 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3580 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3584 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3586 $as_echo "yes" >&6; }
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 SET_MAKE
="MAKE=${MAKE-make}"
3594 rm -rf .tst
2>/dev
/null
3595 mkdir .tst
2>/dev
/null
3596 if test -d .tst
; then
3601 rmdir .tst
2>/dev
/null
3603 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3604 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3605 # is not polluted with repeated "-I."
3606 am__isrc
=' -I$(srcdir)'
3607 # test to see if srcdir already configured
3608 if test -f $srcdir/config.status
; then
3609 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3613 # test whether we have cygpath
3614 if test -z "$CYGPATH_W"; then
3615 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3616 CYGPATH_W
='cygpath -w'
3623 # Define the identity of the package.
3625 VERSION
='0.99.1-pre'
3628 cat >>confdefs.h
<<_ACEOF
3629 #define PACKAGE "$PACKAGE"
3633 cat >>confdefs.h
<<_ACEOF
3634 #define VERSION "$VERSION"
3637 # Some tools Automake needs.
3639 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3642 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3645 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3648 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3651 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3653 # We need awk for the "check" target. The system "awk" is bad on
3655 # Always define AMTAR for backward compatibility.
3657 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3661 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3662 # Loop over all known methods to create a tar archive until one works.
3663 _am_tools
='gnutar plaintar pax cpio none'
3664 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
3665 # Do not fold the above two line into one, because Tru64 sh and
3666 # Solaris sh will not grok spaces in the rhs of `-'.
3667 for _am_tool
in $_am_tools
3671 for _am_tar
in tar gnutar gtar
;
3673 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3674 ($_am_tar --version) >&5 2>&5
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); } && break
3679 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
3680 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
3681 am__untar
="$_am_tar -xf -"
3684 # Must skip GNU tar: if it does not support --format= it doesn't create
3685 # ustar tarball either.
3686 (tar --version) >/dev
/null
2>&1 && continue
3687 am__tar
='tar chf - "$$tardir"'
3688 am__tar_
='tar chf - "$tardir"'
3689 am__untar
='tar xf -'
3692 am__tar
='pax -L -x ustar -w "$$tardir"'
3693 am__tar_
='pax -L -x ustar -w "$tardir"'
3697 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
3698 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
3699 am__untar
='cpio -i -H ustar -d'
3708 # If the value was cached, stop now. We just wanted to have am__tar
3709 # and am__untar set.
3710 test -n "${am_cv_prog_tar_ustar}" && break
3712 # tar/untar a dummy directory, and stop if the command works
3715 echo GrepMe
> conftest.dir
/file
3716 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3717 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720 (exit $ac_status); }
3722 if test -s conftest.
tar; then
3723 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3724 ($am__untar <conftest.
tar) >&5 2>&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); }
3728 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
3733 if test "${am_cv_prog_tar_ustar+set}" = set; then :
3734 $as_echo_n "(cached) " >&6
3736 am_cv_prog_tar_ustar
=$_am_tool
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3740 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3746 ac_config_headers
="$ac_config_headers include/config.h"
3752 # Check whether --enable-collections was given.
3753 if test "${enable_collections+set}" = set; then :
3754 enableval
=$enable_collections; case x
"${enableval}" in
3755 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
3756 xno
) COMPILE_COLLECTIONS
=no
;;
3757 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
3758 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
3761 COMPILE_COLLECTIONS
=no
3764 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
3765 CREATE_COLLECTIONS_TRUE
=
3766 CREATE_COLLECTIONS_FALSE
='#'
3768 CREATE_COLLECTIONS_TRUE
='#'
3769 CREATE_COLLECTIONS_FALSE
=
3773 # Check whether --enable-jni was given.
3774 if test "${enable_jni+set}" = set; then :
3775 enableval
=$enable_jni; case "${enableval}" in
3776 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
3777 no
) COMPILE_JNI
=no
;;
3778 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
3784 if test "x${COMPILE_JNI}" = xyes
; then
3785 CREATE_JNI_LIBRARIES_TRUE
=
3786 CREATE_JNI_LIBRARIES_FALSE
='#'
3788 CREATE_JNI_LIBRARIES_TRUE
='#'
3789 CREATE_JNI_LIBRARIES_FALSE
=
3793 # Check whether --enable-core-jni was given.
3794 if test "${enable_core_jni+set}" = set; then :
3795 enableval
=$enable_core_jni; case "${enableval}" in
3796 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
3797 no
) COMPILE_CORE_JNI
=no
;;
3798 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
3801 COMPILE_CORE_JNI
=yes
3804 if test "x${COMPILE_CORE_JNI}" = xyes
; then
3805 CREATE_CORE_JNI_LIBRARIES_TRUE
=
3806 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
3808 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
3809 CREATE_CORE_JNI_LIBRARIES_FALSE
=
3813 # Check whether --enable-default-preferences-peer was given.
3814 if test "${enable_default_preferences_peer+set}" = set; then :
3815 enableval
=$enable_default_preferences_peer; case "${enableval}" in
3816 file) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.FileBasedFactory
;;
3817 gconf|
yes|true
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
;;
3818 memory
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.MemoryBasedFactory
;;
3819 no|false
) as_fn_error
"bad value '${enableval}' for --enable-default-preferences-peer" "$LINENO" 5 ;;
3820 *) DEFAULT_PREFS_PEER
=${enableval} ;;
3823 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
3827 # Check whether --enable-gconf-peer was given.
3828 if test "${enable_gconf_peer+set}" = set; then :
3829 enableval
=$enable_gconf_peer; case "${enableval}" in
3830 yes) COMPILE_GCONF_PEER
=yes ;;
3831 no
) COMPILE_GCONF_PEER
=no
;;
3832 *) COMPILE_GCONF_PEER
=yes ;;
3835 COMPILE_GCONF_PEER
=yes
3838 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
3839 CREATE_GCONF_PEER_LIBRARIES_TRUE
=
3840 CREATE_GCONF_PEER_LIBRARIES_FALSE
='#'
3842 CREATE_GCONF_PEER_LIBRARIES_TRUE
='#'
3843 CREATE_GCONF_PEER_LIBRARIES_FALSE
=
3847 # Check whether --enable-gconf-peers was given.
3848 if test "${enable_gconf_peers+set}" = set; then :
3849 enableval
=$enable_gconf_peers; as_fn_error
"No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" "$LINENO" 5
3853 # Check whether --enable-gstreamer-peer was given.
3854 if test "${enable_gstreamer_peer+set}" = set; then :
3855 enableval
=$enable_gstreamer_peer; case "${enableval}" in
3856 yes) COMPILE_GSTREAMER_PEER
=yes ;;
3857 no
) COMPILE_GSTREAMER_PEER
=no
;;
3858 *) COMPILE_GSTREAMER_PEER
=default
;;
3861 COMPILE_GSTREAMER_PEER
=default
3864 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
3865 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
=
3866 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
='#'
3868 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
='#'
3869 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
=
3873 # Check whether --enable-gstreamer-peers was given.
3874 if test "${enable_gstreamer_peers+set}" = set; then :
3875 enableval
=$enable_gstreamer_peers; as_fn_error
"No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" "$LINENO" 5
3879 # Check whether --enable-Werror was given.
3880 if test "${enable_Werror+set}" = set; then :
3881 enableval
=$enable_Werror; case "${enableval}" in
3882 yes) ENABLE_WERROR
=yes ;;
3883 no
) ENABLE_WERROR
=no
;;
3884 *) ENABLE_WERROR
=no
;;
3891 # Check whether --enable-default-toolkit was given.
3892 if test "${enable_default_toolkit+set}" = set; then :
3893 enableval
=$enable_default_toolkit;
3896 default_toolkit
=$enable_default_toolkit
3897 if test "$default_toolkit" = ""; then
3898 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
3902 # Check whether --enable-xmlj was given.
3903 if test "${enable_xmlj+set}" = set; then :
3904 enableval
=$enable_xmlj; case "${enableval}" in
3905 yes) COMPILE_XMLJ
=yes ;;
3906 no
) COMPILE_XMLJ
=no
;;
3907 *) COMPILE_XMLJ
=no
;;
3913 if test "x${COMPILE_XMLJ}" = xyes
; then
3914 CREATE_XMLJ_LIBRARY_TRUE
=
3915 CREATE_XMLJ_LIBRARY_FALSE
='#'
3917 CREATE_XMLJ_LIBRARY_TRUE
='#'
3918 CREATE_XMLJ_LIBRARY_FALSE
=
3922 DEPDIR
="${am__leading_dot}deps"
3924 ac_config_commands
="$ac_config_commands depfiles"
3927 am_make
=${MAKE-make}
3928 cat > confinc
<< 'END'
3930 @
echo this is the am__doit target
3933 # If we don't find an include directive, just comment out the code.
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3935 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3939 # First try GNU make style include.
3940 echo "include confinc" > confmf
3941 # Ignore all kinds of additional output from `make'.
3942 case `$am_make -s -f confmf 2> /dev/null` in #(
3943 *the\ am__doit\ target
*)
3949 # Now try BSD make style include.
3950 if test "$am__include" = "#"; then
3951 echo '.include "confinc"' > confmf
3952 case `$am_make -s -f confmf 2> /dev/null` in #(
3953 *the\ am__doit\ target
*)
3954 am__include
=.include
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3963 $as_echo "$_am_result" >&6; }
3964 rm -f confinc confmf
3966 # Check whether --enable-dependency-tracking was given.
3967 if test "${enable_dependency_tracking+set}" = set; then :
3968 enableval
=$enable_dependency_tracking;
3971 if test "x$enable_dependency_tracking" != xno
; then
3972 am_depcomp
="$ac_aux_dir/depcomp"
3975 if test "x$enable_dependency_tracking" != xno; then
3985 ac_cpp
='$CPP $CPPFLAGS'
3986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3989 if test -n "$ac_tool_prefix"; then
3990 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3991 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993 $as_echo_n "checking for $ac_word... " >&6; }
3994 if test "${ac_cv_prog_CC+set}" = set; then :
3995 $as_echo_n "(cached) " >&6
3997 if test -n "$CC"; then
3998 ac_cv_prog_CC
="$CC" # Let the user override the test.
4000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4004 test -z "$as_dir" && as_dir
=.
4005 for ac_exec_ext
in '' $ac_executable_extensions; do
4006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4007 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 if test -n "$CC"; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4020 $as_echo "$CC" >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4028 if test -z "$ac_cv_prog_CC"; then
4030 # Extract the first word of "gcc", so it can be a program name with args.
4031 set dummy gcc
; ac_word
=$2
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4033 $as_echo_n "checking for $ac_word... " >&6; }
4034 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4037 if test -n "$ac_ct_CC"; then
4038 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4044 test -z "$as_dir" && as_dir
=.
4045 for ac_exec_ext
in '' $ac_executable_extensions; do
4046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4047 ac_cv_prog_ac_ct_CC
="gcc"
4048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4057 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4058 if test -n "$ac_ct_CC"; then
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4060 $as_echo "$ac_ct_CC" >&6; }
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4063 $as_echo "no" >&6; }
4066 if test "x$ac_ct_CC" = x
; then
4069 case $cross_compiling:$ac_tool_warned in
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4073 ac_tool_warned
=yes ;;
4081 if test -z "$CC"; then
4082 if test -n "$ac_tool_prefix"; then
4083 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4084 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4086 $as_echo_n "checking for $ac_word... " >&6; }
4087 if test "${ac_cv_prog_CC+set}" = set; then :
4088 $as_echo_n "(cached) " >&6
4090 if test -n "$CC"; then
4091 ac_cv_prog_CC
="$CC" # Let the user override the test.
4093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir
=.
4098 for ac_exec_ext
in '' $ac_executable_extensions; do
4099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4100 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4111 if test -n "$CC"; then
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4113 $as_echo "$CC" >&6; }
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4116 $as_echo "no" >&6; }
4122 if test -z "$CC"; then
4123 # Extract the first word of "cc", so it can be a program name with args.
4124 set dummy cc
; ac_word
=$2
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4126 $as_echo_n "checking for $ac_word... " >&6; }
4127 if test "${ac_cv_prog_CC+set}" = set; then :
4128 $as_echo_n "(cached) " >&6
4130 if test -n "$CC"; then
4131 ac_cv_prog_CC
="$CC" # Let the user override the test.
4134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4138 test -z "$as_dir" && as_dir
=.
4139 for ac_exec_ext
in '' $ac_executable_extensions; do
4140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4141 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4142 ac_prog_rejected
=yes
4146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4153 if test $ac_prog_rejected = yes; then
4154 # We found a bogon in the path, so make sure we never use it.
4155 set dummy
$ac_cv_prog_CC
4157 if test $# != 0; then
4158 # We chose a different compiler from the bogus one.
4159 # However, it has the same basename, so the bogon will be chosen
4160 # first if we set CC to just the basename; use the full file name.
4162 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4168 if test -n "$CC"; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4170 $as_echo "$CC" >&6; }
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4173 $as_echo "no" >&6; }
4178 if test -z "$CC"; then
4179 if test -n "$ac_tool_prefix"; then
4180 for ac_prog
in cl.exe
4182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4183 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4185 $as_echo_n "checking for $ac_word... " >&6; }
4186 if test "${ac_cv_prog_CC+set}" = set; then :
4187 $as_echo_n "(cached) " >&6
4189 if test -n "$CC"; then
4190 ac_cv_prog_CC
="$CC" # Let the user override the test.
4192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4196 test -z "$as_dir" && as_dir
=.
4197 for ac_exec_ext
in '' $ac_executable_extensions; do
4198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4199 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4210 if test -n "$CC"; then
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4212 $as_echo "$CC" >&6; }
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4215 $as_echo "no" >&6; }
4219 test -n "$CC" && break
4222 if test -z "$CC"; then
4224 for ac_prog
in cl.exe
4226 # Extract the first word of "$ac_prog", so it can be a program name with args.
4227 set dummy
$ac_prog; ac_word
=$2
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4229 $as_echo_n "checking for $ac_word... " >&6; }
4230 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4231 $as_echo_n "(cached) " >&6
4233 if test -n "$ac_ct_CC"; then
4234 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4240 test -z "$as_dir" && as_dir
=.
4241 for ac_exec_ext
in '' $ac_executable_extensions; do
4242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4243 ac_cv_prog_ac_ct_CC
="$ac_prog"
4244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4253 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4254 if test -n "$ac_ct_CC"; then
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4256 $as_echo "$ac_ct_CC" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 $as_echo "no" >&6; }
4263 test -n "$ac_ct_CC" && break
4266 if test "x$ac_ct_CC" = x
; then
4269 case $cross_compiling:$ac_tool_warned in
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4273 ac_tool_warned
=yes ;;
4282 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4284 as_fn_error
"no acceptable C compiler found in \$PATH
4285 See \`config.log' for more details." "$LINENO" 5; }
4287 # Provide some information about the compiler.
4288 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4291 for ac_option
in --version -v -V -qversion; do
4292 { { ac_try
="$ac_compiler $ac_option >&5"
4294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4298 $as_echo "$ac_try_echo"; } >&5
4299 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4301 if test -s conftest.err; then
4303 ... rest of stderr output deleted ...
4304 10q' conftest.err >conftest.er1
4305 cat conftest.er1 >&5
4306 rm -f conftest.er1 conftest.err
4308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4309 test $ac_status = 0; }
4312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4313 /* end confdefs.h. */
4324 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4325 (eval $ac_link) 2>&5
4327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4328 test $ac_status = 0; }; then :
4333 if test x$gcc_no_link = xyes; then
4334 # Setting cross_compile will disable run tests; it will
4335 # also disable AC_CHECK_FILE but that's generally
4336 # correct if we can't link.
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4351 ac_clean_files_save=$ac_clean_files
4352 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4353 # Try to create an executable without -o first, disregard a.out.
4354 # It will help us diagnose broken compilers, and finding out an intuition
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4357 $as_echo_n "checking for C compiler default output file name... " >&6; }
4358 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4360 # The possible output files:
4361 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4364 for ac_file in $ac_files
4367 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4368 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4373 if { { ac_try="$ac_link_default"
4375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4376 *) ac_try_echo
=$ac_try;;
4378 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4379 $as_echo "$ac_try_echo"; } >&5
4380 (eval "$ac_link_default") 2>&5
4382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4383 test $ac_status = 0; }; then :
4384 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4385 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4386 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4387 # so that the user can short-circuit this test for compilers unknown to
4389 for ac_file
in $ac_files ''
4391 test -f "$ac_file" ||
continue
4393 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4396 # We found the default executable, but exeext='' is most
4400 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4402 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4404 # We set ac_cv_exeext here because the later test for it is not
4405 # safe: cross compilers may not add the suffix if given an `-o'
4406 # argument, so we may need to know it at that point already.
4407 # Even if this section looks crufty: it has the advantage of
4414 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4420 $as_echo "$ac_file" >&6; }
4421 if test -z "$ac_file"; then :
4422 $as_echo "$as_me: failed program was:" >&5
4423 sed 's/^/| /' conftest.
$ac_ext >&5
4425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4427 { as_fn_set_status
77
4428 as_fn_error
"C compiler cannot create executables
4429 See \`config.log' for more details." "$LINENO" 5; }; }
4431 ac_exeext
=$ac_cv_exeext
4433 # Check that the compiler produces executables we can run. If not, either
4434 # the compiler is broken, or we cross compile.
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4436 $as_echo_n "checking whether the C compiler works... " >&6; }
4437 # If not cross compiling, check that we can run a simple program.
4438 if test "$cross_compiling" != yes; then
4439 if { ac_try
='./$ac_file'
4440 { { case "(($ac_try" in
4441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4445 $as_echo "$ac_try_echo"; } >&5
4446 (eval "$ac_try") 2>&5
4448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4449 test $ac_status = 0; }; }; then
4452 if test "$cross_compiling" = maybe; then
4455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4457 as_fn_error "cannot run C compiled programs.
4458 If you meant to cross compile
, use \
`--host'.
4459 See \`config.log
' for more details." "$LINENO" 5; }
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4464 $as_echo "yes" >&6; }
4466 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4467 ac_clean_files=$ac_clean_files_save
4468 # Check that the compiler produces executables we can run. If not, either
4469 # the compiler is broken, or we cross compile.
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4471 $as_echo_n "checking whether we are cross compiling... " >&6; }
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4473 $as_echo "$cross_compiling" >&6; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4476 $as_echo_n "checking for suffix of executables... " >&6; }
4477 if { { ac_try="$ac_link"
4479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4480 *) ac_try_echo=$ac_try;;
4482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4483 $as_echo "$ac_try_echo"; } >&5
4484 (eval "$ac_link") 2>&5
4486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4487 test $ac_status = 0; }; then :
4488 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4489 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4490 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4492 for ac_file
in conftest.exe conftest conftest.
*; do
4493 test -f "$ac_file" ||
continue
4495 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4496 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4504 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4505 See \`config.log' for more details." "$LINENO" 5; }
4507 rm -f conftest
$ac_cv_exeext
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4509 $as_echo "$ac_cv_exeext" >&6; }
4511 rm -f conftest.
$ac_ext
4512 EXEEXT
=$ac_cv_exeext
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4516 $as_echo_n "checking for suffix of object files... " >&6; }
4517 if test "${ac_cv_objext+set}" = set; then :
4518 $as_echo_n "(cached) " >&6
4520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4531 rm -f conftest.o conftest.obj
4532 if { { ac_try
="$ac_compile"
4534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4535 *) ac_try_echo=$ac_try;;
4537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4538 $as_echo "$ac_try_echo"; } >&5
4539 (eval "$ac_compile") 2>&5
4541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4542 test $ac_status = 0; }; then :
4543 for ac_file in conftest.o conftest.obj conftest.*; do
4544 test -f "$ac_file" || continue;
4546 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4547 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4552 $as_echo "$as_me: failed program was:" >&5
4553 sed 's/^/| /' conftest.$ac_ext >&5
4555 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4557 as_fn_error "cannot compute suffix of object files
: cannot compile
4558 See \
`config.log' for more details." "$LINENO" 5; }
4560 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4563 $as_echo "$ac_cv_objext" >&6; }
4564 OBJEXT=$ac_cv_objext
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4567 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4568 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4569 $as_echo_n "(cached) " >&6
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4585 if ac_fn_c_try_compile "$LINENO"; then :
4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4591 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4595 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4596 if test $ac_compiler_gnu = yes; then
4601 ac_test_CFLAGS=${CFLAGS+set}
4602 ac_save_CFLAGS=$CFLAGS
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4604 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4605 if test "${ac_cv_prog_cc_g+set}" = set; then :
4606 $as_echo_n "(cached) " >&6
4608 ac_save_c_werror_flag=$ac_c_werror_flag
4609 ac_c_werror_flag=yes
4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4623 if ac_fn_c_try_compile "$LINENO"; then :
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4638 if ac_fn_c_try_compile "$LINENO"; then :
4641 ac_c_werror_flag=$ac_save_c_werror_flag
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4654 if ac_fn_c_try_compile "$LINENO"; then :
4657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662 ac_c_werror_flag=$ac_save_c_werror_flag
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4665 $as_echo "$ac_cv_prog_cc_g" >&6; }
4666 if test "$ac_test_CFLAGS" = set; then
4667 CFLAGS=$ac_save_CFLAGS
4668 elif test $ac_cv_prog_cc_g = yes; then
4669 if test "$GCC" = yes; then
4675 if test "$GCC" = yes; then
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4682 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4683 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4684 $as_echo_n "(cached) " >&6
4686 ac_cv_prog_cc_c89=no
4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h. */
4692 #include <sys/types.h>
4693 #include <sys/stat.h>
4694 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4695 struct buf { int x; };
4696 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4697 static char *e (p, i)
4703 static char *f (char * (*g) (char **, int), char **p, ...)
4708 s = g (p, va_arg (v,int));
4713 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4714 function prototypes and stuff, but not '\xHH' hex character constants.
4715 These don't provoke an error unfortunately, instead are silently treated
4716 as 'x'. The following induces an error, until -std is added to get
4717 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4718 array size at least. It's necessary to write '\x00'==0 to get something
4719 that's true only with -std. */
4720 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4722 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4723 inside strings and character constants. */
4725 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4727 int test (int i, double x);
4728 struct s1 {int (*f) (int a);};
4729 struct s2 {int (*f) (double a);};
4730 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4736 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4741 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4742 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4744 CC="$ac_save_CC $ac_arg"
4745 if ac_fn_c_try_compile "$LINENO"; then :
4746 ac_cv_prog_cc_c89=$ac_arg
4748 rm -f core conftest.err conftest.$ac_objext
4749 test "x$ac_cv_prog_cc_c89" != "xno" && break
4751 rm -f conftest.$ac_ext
4756 case "x$ac_cv_prog_cc_c89" in
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4759 $as_echo "none needed" >&6; } ;;
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4762 $as_echo "unsupported" >&6; } ;;
4764 CC="$CC $ac_cv_prog_cc_c89"
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4766 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4768 if test "x$ac_cv_prog_cc_c89" != xno; then :
4773 ac_cpp='$CPP $CPPFLAGS'
4774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4778 depcc="$CC" am_compiler_list=
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4781 $as_echo_n "checking dependency style of $depcc... " >&6; }
4782 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4783 $as_echo_n "(cached) " >&6
4785 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4786 # We make a subdir and do the tests there. Otherwise we can end up
4787 # making bogus files that we don't know about and never remove. For
4788 # instance it was reported that on HP-UX the gcc test will end up
4789 # making a dummy file named `D
' -- because `-MD' means
`put the output
4792 # Copy depcomp to subdir because otherwise we won't find it if we're
4793 # using a relative directory.
4794 cp "$am_depcomp" conftest.dir
4796 # We will build objects and dependencies in a subdirectory because
4797 # it helps to detect inapplicable dependency modes. For instance
4798 # both Tru64's cc and ICC support -MD to output dependencies as a
4799 # side effect of compilation, but ICC will put the dependencies in
4800 # the current directory while Tru64 will put them in the object
4804 am_cv_CC_dependencies_compiler_type=none
4805 if test "$am_compiler_list" = ""; then
4806 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4809 case " $depcc " in #(
4810 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4813 for depmode in $am_compiler_list; do
4814 # Setup a source with many dependencies, because some compilers
4815 # like to wrap large dependency lists on column 80 (with \), and
4816 # we should not choose a depcomp mode which is confused by this.
4818 # We need to recreate these files for each test, as the compiler may
4819 # overwrite some of them when testing with obscure command lines.
4820 # This happens at least with the AIX C compiler.
4822 for i in 1 2 3 4 5 6; do
4823 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4824 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4825 # Solaris 8's
{/usr
,}/bin
/sh.
4826 touch sub
/conftst
$i.h
4828 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4830 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4831 # mode. It turns out that the SunPro C++ compiler does not properly
4832 # handle `-M -o', and we need to detect this. Also, some Intel
4833 # versions had trouble with output in subdirs
4834 am__obj
=sub
/conftest.
${OBJEXT-o}
4835 am__minus_obj
="-o $am__obj"
4838 # This depmode causes a compiler race in universal mode.
4839 test "$am__universal" = false ||
continue
4842 # after this tag, mechanisms are not by side-effect, so they'll
4843 # only be used when explicitly requested
4844 if test "x$enable_dependency_tracking" = xyes
; then
4850 msvisualcpp | msvcmsys
)
4851 # This compiler won't grok `-c -o', but also, the minuso test has
4852 # not run yet. These depmodes are late enough in the game, and
4853 # so weak that their functioning should not be impacted.
4854 am__obj
=conftest.
${OBJEXT-o}
4859 if depmode
=$depmode \
4860 source=sub
/conftest.c object
=$am__obj \
4861 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4862 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4863 >/dev
/null
2>conftest.err
&&
4864 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4865 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4866 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4867 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4868 # icc doesn't choke on unknown options, it will just issue warnings
4869 # or remarks (even with -Werror). So we grep stderr for any message
4870 # that says an option was ignored or not supported.
4871 # When given -MP, icc 7.0 and 7.1 complain thusly:
4872 # icc: Command line warning: ignoring option '-M'; no argument required
4873 # The diagnosis changed in icc 8.0:
4874 # icc: Command line remark: option '-MP' not supported
4875 if (grep 'ignoring option' conftest.err ||
4876 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4877 am_cv_CC_dependencies_compiler_type
=$depmode
4886 am_cv_CC_dependencies_compiler_type
=none
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4891 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4892 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4895 test "x$enable_dependency_tracking" != xno \
4896 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4898 am__fastdepCC_FALSE
='#'
4900 am__fastdepCC_TRUE
='#'
4901 am__fastdepCC_FALSE
=
4907 ac_cpp
='$CPP $CPPFLAGS'
4908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4912 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4913 # On Suns, sometimes $CPP names a directory.
4914 if test -n "$CPP" && test -d "$CPP"; then
4917 if test -z "$CPP"; then
4918 if test "${ac_cv_prog_CPP+set}" = set; then :
4919 $as_echo_n "(cached) " >&6
4921 # Double quotes because CPP needs to be expanded
4922 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4925 for ac_c_preproc_warn_flag
in '' yes
4927 # Use a header file that comes with gcc, so configuring glibc
4928 # with a fresh cross-compiler works.
4929 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4930 # <limits.h> exists even on freestanding compilers.
4931 # On the NeXT, cc -E runs the code through the compiler's parser,
4932 # not just through cpp. "Syntax error" is here to catch this case.
4933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4934 /* end confdefs.h. */
4936 # include <limits.h>
4938 # include <assert.h>
4942 if ac_fn_c_try_cpp
"$LINENO"; then :
4945 # Broken: fails on valid input.
4948 rm -f conftest.err conftest.
$ac_ext
4950 # OK, works on sane cases. Now check whether nonexistent headers
4951 # can be detected and how.
4952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4954 #include <ac_nonexistent.h>
4956 if ac_fn_c_try_cpp
"$LINENO"; then :
4957 # Broken: success on invalid input.
4960 # Passes both tests.
4964 rm -f conftest.err conftest.
$ac_ext
4967 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4968 rm -f conftest.err conftest.
$ac_ext
4969 if $ac_preproc_ok; then :
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4982 $as_echo "$CPP" >&6; }
4984 for ac_c_preproc_warn_flag
in '' yes
4986 # Use a header file that comes with gcc, so configuring glibc
4987 # with a fresh cross-compiler works.
4988 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4989 # <limits.h> exists even on freestanding compilers.
4990 # On the NeXT, cc -E runs the code through the compiler's parser,
4991 # not just through cpp. "Syntax error" is here to catch this case.
4992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
4995 # include <limits.h>
4997 # include <assert.h>
5001 if ac_fn_c_try_cpp
"$LINENO"; then :
5004 # Broken: fails on valid input.
5007 rm -f conftest.err conftest.
$ac_ext
5009 # OK, works on sane cases. Now check whether nonexistent headers
5010 # can be detected and how.
5011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5013 #include <ac_nonexistent.h>
5015 if ac_fn_c_try_cpp
"$LINENO"; then :
5016 # Broken: success on invalid input.
5019 # Passes both tests.
5023 rm -f conftest.err conftest.
$ac_ext
5026 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5027 rm -f conftest.err conftest.
$ac_ext
5028 if $ac_preproc_ok; then :
5031 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5033 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5034 See \`config.log' for more details." "$LINENO" 5; }
5038 ac_cpp
='$CPP $CPPFLAGS'
5039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5045 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5046 if test "${ac_cv_path_GREP+set}" = set; then :
5047 $as_echo_n "(cached) " >&6
5049 if test -z "$GREP"; then
5050 ac_path_GREP_found
=false
5051 # Loop through the user's path and test for each of PROGNAME-LIST
5052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5053 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5056 test -z "$as_dir" && as_dir
=.
5057 for ac_prog
in grep ggrep
; do
5058 for ac_exec_ext
in '' $ac_executable_extensions; do
5059 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5060 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5061 # Check for GNU ac_path_GREP and select it if it is found.
5062 # Check for GNU $ac_path_GREP
5063 case `"$ac_path_GREP" --version 2>&1` in
5065 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5068 $as_echo_n 0123456789 >"conftest.in"
5071 cat "conftest.in" "conftest.in" >"conftest.tmp"
5072 mv "conftest.tmp" "conftest.in"
5073 cp "conftest.in" "conftest.nl"
5074 $as_echo 'GREP' >> "conftest.nl"
5075 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5076 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5077 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5078 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5079 # Best one so far, save it but keep looking for a better one
5080 ac_cv_path_GREP
="$ac_path_GREP"
5081 ac_path_GREP_max
=$ac_count
5083 # 10*(2^10) chars as input seems more than enough
5084 test $ac_count -gt 10 && break
5086 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5089 $ac_path_GREP_found && break 3
5094 if test -z "$ac_cv_path_GREP"; then
5095 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5098 ac_cv_path_GREP
=$GREP
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5103 $as_echo "$ac_cv_path_GREP" >&6; }
5104 GREP
="$ac_cv_path_GREP"
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5108 $as_echo_n "checking for egrep... " >&6; }
5109 if test "${ac_cv_path_EGREP+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5112 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5113 then ac_cv_path_EGREP
="$GREP -E"
5115 if test -z "$EGREP"; then
5116 ac_path_EGREP_found
=false
5117 # Loop through the user's path and test for each of PROGNAME-LIST
5118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5119 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5122 test -z "$as_dir" && as_dir
=.
5123 for ac_prog
in egrep; do
5124 for ac_exec_ext
in '' $ac_executable_extensions; do
5125 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5126 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5127 # Check for GNU ac_path_EGREP and select it if it is found.
5128 # Check for GNU $ac_path_EGREP
5129 case `"$ac_path_EGREP" --version 2>&1` in
5131 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5134 $as_echo_n 0123456789 >"conftest.in"
5137 cat "conftest.in" "conftest.in" >"conftest.tmp"
5138 mv "conftest.tmp" "conftest.in"
5139 cp "conftest.in" "conftest.nl"
5140 $as_echo 'EGREP' >> "conftest.nl"
5141 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5142 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5143 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5144 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5145 # Best one so far, save it but keep looking for a better one
5146 ac_cv_path_EGREP
="$ac_path_EGREP"
5147 ac_path_EGREP_max
=$ac_count
5149 # 10*(2^10) chars as input seems more than enough
5150 test $ac_count -gt 10 && break
5152 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5155 $ac_path_EGREP_found && break 3
5160 if test -z "$ac_cv_path_EGREP"; then
5161 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5164 ac_cv_path_EGREP
=$EGREP
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5170 $as_echo "$ac_cv_path_EGREP" >&6; }
5171 EGREP
="$ac_cv_path_EGREP"
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5175 $as_echo_n "checking for ANSI C header files... " >&6; }
5176 if test "${ac_cv_header_stdc+set}" = set; then :
5177 $as_echo_n "(cached) " >&6
5179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5180 /* end confdefs.h. */
5194 if ac_fn_c_try_compile
"$LINENO"; then :
5195 ac_cv_header_stdc
=yes
5197 ac_cv_header_stdc
=no
5199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5201 if test $ac_cv_header_stdc = yes; then
5202 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5209 $EGREP "memchr" >/dev
/null
2>&1; then :
5212 ac_cv_header_stdc
=no
5218 if test $ac_cv_header_stdc = yes; then
5219 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5221 /* end confdefs.h. */
5225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5226 $EGREP "free" >/dev
/null
2>&1; then :
5229 ac_cv_header_stdc
=no
5235 if test $ac_cv_header_stdc = yes; then
5236 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5237 if test "$cross_compiling" = yes; then :
5240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5241 /* end confdefs.h. */
5244 #if ((' ' & 0x0FF) == 0x020)
5245 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5246 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5248 # define ISLOWER(c) \
5249 (('a' <= (c) && (c) <= 'i') \
5250 || ('j' <= (c) && (c) <= 'r') \
5251 || ('s' <= (c) && (c) <= 'z'))
5252 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5255 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5260 for (i = 0; i < 256; i++)
5261 if (XOR (islower (i), ISLOWER (i))
5262 || toupper (i) != TOUPPER (i))
5267 if ac_fn_c_try_run
"$LINENO"; then :
5270 ac_cv_header_stdc
=no
5272 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5273 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5279 $as_echo "$ac_cv_header_stdc" >&6; }
5280 if test $ac_cv_header_stdc = yes; then
5282 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5286 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5287 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5288 inttypes.h stdint.h unistd.h
5290 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5291 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5293 eval as_val
=\$
$as_ac_Header
5294 if test "x$as_val" = x
""yes; then :
5295 cat >>confdefs.h
<<_ACEOF
5296 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5304 # Check whether --enable-alsa was given.
5305 if test "${enable_alsa+set}" = set; then :
5306 enableval
=$enable_alsa; case "${enableval}" in
5307 yes) COMPILE_ALSA
=yes ;;
5308 no
) COMPILE_ALSA
=no
;;
5309 *) COMPILE_ALSA
=yes ;;
5312 for ac_header
in alsa
/asoundlib.h
5314 ac_fn_c_check_header_mongrel
"$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
5315 if test "x$ac_cv_header_alsa_asoundlib_h" = x
""yes; then :
5316 cat >>confdefs.h
<<_ACEOF
5317 #define HAVE_ALSA_ASOUNDLIB_H 1
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_seq_open in -lasound" >&5
5320 $as_echo_n "checking for snd_seq_open in -lasound... " >&6; }
5321 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then :
5322 $as_echo_n "(cached) " >&6
5324 ac_check_lib_save_LIBS
=$LIBS
5325 LIBS
="-lasound $LIBS"
5326 if test x
$gcc_no_link = xyes
; then
5327 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5332 /* Override any GCC internal prototype to avoid an error.
5333 Use char because int might match the return type of a GCC
5334 builtin and then its argument prototype would still apply. */
5338 char snd_seq_open ();
5342 return snd_seq_open ();
5347 if ac_fn_c_try_link
"$LINENO"; then :
5348 ac_cv_lib_asound_snd_seq_open
=yes
5350 ac_cv_lib_asound_snd_seq_open
=no
5352 rm -f core conftest.err conftest.
$ac_objext \
5353 conftest
$ac_exeext conftest.
$ac_ext
5354 LIBS
=$ac_check_lib_save_LIBS
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_seq_open" >&5
5357 $as_echo "$ac_cv_lib_asound_snd_seq_open" >&6; }
5358 if test "x$ac_cv_lib_asound_snd_seq_open" = x
""yes; then :
5372 if test "x${COMPILE_ALSA}" = xyes
; then
5373 CREATE_ALSA_LIBRARIES_TRUE
=
5374 CREATE_ALSA_LIBRARIES_FALSE
='#'
5376 CREATE_ALSA_LIBRARIES_TRUE
='#'
5377 CREATE_ALSA_LIBRARIES_FALSE
=
5381 # Check whether --enable-dssi was given.
5382 if test "${enable_dssi+set}" = set; then :
5383 enableval
=$enable_dssi; case "${enableval}" in
5384 yes) COMPILE_DSSI
=yes ;;
5385 no
) COMPILE_DSSI
=no
;;
5386 *) COMPILE_DSSI
=yes ;;
5390 for ac_header
in dssi.h
5392 ac_fn_c_check_header_mongrel
"$LINENO" "dssi.h" "ac_cv_header_dssi_h" "$ac_includes_default"
5393 if test "x$ac_cv_header_dssi_h" = x
""yes; then :
5394 cat >>confdefs.h
<<_ACEOF
5395 #define HAVE_DSSI_H 1
5398 for ac_header
in jack
/jack.h
5400 ac_fn_c_check_header_mongrel
"$LINENO" "jack/jack.h" "ac_cv_header_jack_jack_h" "$ac_includes_default"
5401 if test "x$ac_cv_header_jack_jack_h" = x
""yes; then :
5402 cat >>confdefs.h
<<_ACEOF
5403 #define HAVE_JACK_JACK_H 1
5416 if test "x${COMPILE_DSSI}" = xyes
; then
5417 CREATE_DSSI_LIBRARIES_TRUE
=
5418 CREATE_DSSI_LIBRARIES_FALSE
='#'
5420 CREATE_DSSI_LIBRARIES_TRUE
='#'
5421 CREATE_DSSI_LIBRARIES_FALSE
=
5425 # Check whether --enable-gtk-peer was given.
5426 if test "${enable_gtk_peer+set}" = set; then :
5427 enableval
=$enable_gtk_peer; case "${enableval}" in
5428 yes) COMPILE_GTK_PEER
=yes ;;
5429 no
) COMPILE_GTK_PEER
=no
;;
5430 *) COMPILE_GTK_PEER
=yes ;;
5433 COMPILE_GTK_PEER
=yes
5436 if test "x${COMPILE_GTK_PEER}" = xyes
; then
5437 CREATE_GTK_PEER_LIBRARIES_TRUE
=
5438 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
5440 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
5441 CREATE_GTK_PEER_LIBRARIES_FALSE
=
5445 # Check whether --enable-gtk-peers was given.
5446 if test "${enable_gtk_peers+set}" = set; then :
5447 enableval
=$enable_gtk_peers; as_fn_error
"No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" "$LINENO" 5
5451 # Check whether --enable-qt-peer was given.
5452 if test "${enable_qt_peer+set}" = set; then :
5453 enableval
=$enable_qt_peer; case "${enableval}" in
5454 yes) COMPILE_QT_PEER
=yes ;;
5455 no
) COMPILE_QT_PEER
=no
;;
5456 *) COMPILE_QT_PEER
=yes ;;
5462 if test "x${COMPILE_QT_PEER}" = xyes
; then
5463 CREATE_QT_PEER_LIBRARIES_TRUE
=
5464 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
5466 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
5467 CREATE_QT_PEER_LIBRARIES_FALSE
=
5471 # Check whether --enable-plugin was given.
5472 if test "${enable_plugin+set}" = set; then :
5473 enableval
=$enable_plugin; case "${enableval}" in
5474 yes) COMPILE_PLUGIN
=yes ;;
5475 no
) COMPILE_PLUGIN
=no
;;
5476 *) COMPILE_PLUGIN
=yes ;;
5482 if test "x${COMPILE_PLUGIN}" = xyes
; then
5484 CREATE_PLUGIN_FALSE
='#'
5486 CREATE_PLUGIN_TRUE
='#'
5487 CREATE_PLUGIN_FALSE
=
5491 # Check whether --enable-gmp was given.
5492 if test "${enable_gmp+set}" = set; then :
5493 enableval
=$enable_gmp; case "${enableval}" in
5494 yes|true
) COMPILE_GMP
=yes ;;
5495 no|false
) COMPILE_GMP
=no
;;
5496 *) COMPILE_GMP
=yes ;;
5503 # Check whether --enable-gjdoc was given.
5504 if test "${enable_gjdoc+set}" = set; then :
5505 enableval
=$enable_gjdoc; case "${enableval}" in
5506 yes) COMPILE_GJDOC
=yes ;;
5507 no
) COMPILE_GJDOC
=no
;;
5508 *) COMPILE_GJDOC
=yes ;;
5514 if test "x${COMPILE_GJDOC}" = xyes
; then
5516 CREATE_GJDOC_FALSE
='#'
5518 CREATE_GJDOC_TRUE
='#'
5524 multi_os_directory
=`$CC -print-multi-os-directory`
5525 case $multi_os_directory in
5526 .
) toolexeclibdir
=${libdir} ;; # Avoid trailing /.
5527 *) toolexeclibdir
=${libdir}/${multi_os_directory} ;;
5533 # Check whether --with-native-libdir was given.
5534 if test "${with_native_libdir+set}" = set; then :
5535 withval
=$with_native_libdir;
5536 nativeexeclibdir
=${withval}
5540 nativeexeclibdir
='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`-`awk -F: '/^[^#].*:/ { print $1 }' ${srcdir}/..
/libtool-version
`
5548 # Check whether --with-glibj-dir was given.
5549 if test "${with_glibj_dir+set}" = set; then :
5550 withval=$with_glibj_dir;
5555 glibjdir='${datadir}/${PACKAGE}'
5563 # Check whether --with-antlr-jar was given.
5564 if test "${with_antlr_jar+set}" = set; then :
5565 withval=$with_antlr_jar;
5570 ANTLR_JAR="$ANTLR_JAR"
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate the headers" >&5
5576 $as_echo_n "checking whether to regenerate the headers... " >&6; }
5577 # Check whether --enable-regen-headers was given.
5578 if test "${enable_regen_headers+set}" = set; then :
5579 enableval=$enable_regen_headers; case "${enableval}" in
5580 yes) REGENERATE_JNI_HEADERS=yes ;;
5581 no) REGENERATE_JNI_HEADERS=no ;;
5582 *) REGENERATE_JNI_HEADERS=yes ;;
5585 if test -e ${srcdir}/include/java_lang_VMSystem.h; then
5586 REGENERATE_JNI_HEADERS=no ;
5588 REGENERATE_JNI_HEADERS=yes ;
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${REGENERATE_JNI_HEADERS}" >&5
5593 $as_echo "${REGENERATE_JNI_HEADERS}" >&6; }
5594 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
5595 CREATE_JNI_HEADERS_TRUE=
5596 CREATE_JNI_HEADERS_FALSE='#'
5598 CREATE_JNI_HEADERS_TRUE='#'
5599 CREATE_JNI_HEADERS_FALSE=
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate the GJDoc parser" >&5
5604 $as_echo_n "checking whether to regenerate the GJDoc parser... " >&6; }
5605 # Check whether --enable-regen-gjdoc-parser was given.
5606 if test "${enable_regen_gjdoc_parser+set}" = set; then :
5607 enableval=$enable_regen_gjdoc_parser; case "${enableval}" in
5608 yes) REGENERATE_GJDOC_PARSER=yes ;;
5609 no) REGENERATE_GJDOC_PARSER=no ;;
5610 *) REGENERATE_GJDOC_PARSER=yes ;;
5613 if test -e ${srcdir}/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java; then
5614 REGENERATE_GJDOC_PARSER=no ;
5616 REGENERATE_GJDOC_PARSER=yes ;
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${REGENERATE_GJDOC_PARSER}" >&5
5621 $as_echo "${REGENERATE_GJDOC_PARSER}" >&6; }
5622 if test "x${REGENERATE_GJDOC_PARSER}" = xyes; then
5623 CREATE_GJDOC_PARSER_TRUE=
5624 CREATE_GJDOC_PARSER_FALSE='#'
5626 CREATE_GJDOC_PARSER_TRUE='#'
5627 CREATE_GJDOC_PARSER_FALSE=
5631 # Check whether --enable-tool-wrappers was given.
5632 if test "${enable_tool_wrappers+set}" = set; then :
5633 enableval=$enable_tool_wrappers; case x"${enableval}" in
5635 COMPILE_WRAPPERS=yes;
5636 for ac_header in ltdl.h
5638 ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default"
5639 if test "x$ac_cv_header_ltdl_h" = x""yes; then :
5640 cat >>confdefs.h <<_ACEOF
5641 #define HAVE_LTDL_H 1
5645 as_fn_error "cannot find ltdl.h" "$LINENO" 5
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlopen in -lltdl" >&5
5651 $as_echo_n "checking for lt_dlopen in -lltdl... " >&6; }
5652 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then :
5653 $as_echo_n "(cached) " >&6
5655 ac_check_lib_save_LIBS=$LIBS
5657 if test x$gcc_no_link = xyes; then
5658 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5661 /* end confdefs.h. */
5663 /* Override any GCC internal prototype to avoid an error.
5664 Use char because int might match the return type of a GCC
5665 builtin and then its argument prototype would still apply. */
5673 return lt_dlopen ();
5678 if ac_fn_c_try_link "$LINENO"; then :
5679 ac_cv_lib_ltdl_lt_dlopen=yes
5681 ac_cv_lib_ltdl_lt_dlopen=no
5683 rm -f core conftest.err conftest.$ac_objext \
5684 conftest$ac_exeext conftest.$ac_ext
5685 LIBS=$ac_check_lib_save_LIBS
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5688 $as_echo "$ac_cv_lib_ltdl_lt_dlopen" >&6; }
5689 if test "x$ac_cv_lib_ltdl_lt_dlopen" = x""yes; then :
5690 cat >>confdefs.h <<_ACEOF
5691 #define HAVE_LIBLTDL 1
5697 as_fn_error "cannot find libltdl" "$LINENO" 5
5701 xno) COMPILE_WRAPPERS=no ;;
5702 x) COMPILE_WRAPPERS=yes ;;
5703 *) COMPILE_WRAPPERS=yes ;;
5709 if test "x${COMPILE_WRAPPERS}" = xyes; then
5710 CREATE_WRAPPERS_TRUE=
5711 CREATE_WRAPPERS_FALSE='#'
5713 CREATE_WRAPPERS_TRUE='#'
5714 CREATE_WRAPPERS_FALSE=
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5719 $as_echo_n "checking whether ln -s works... " >&6; }
5721 if test "$LN_S" = "ln -s"; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5723 $as_echo "yes" >&6; }
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5726 $as_echo "no, using $LN_S" >&6; }
5732 # Check whether --enable-static was given.
5733 if test "${enable_static+set}" = set; then :
5734 enableval=$enable_static; p=${PACKAGE-default}
5736 yes) enable_static=yes ;;
5737 no) enable_static=no ;;
5740 # Look at the argument we got. We use all the common list separators.
5741 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5742 for pkg in $enableval; do
5744 if test "X$pkg" = "X$p"; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5766 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5771 macro_version='2.2.7a'
5772 macro_revision='1.3134'
5786 ltmain="$ac_aux_dir/ltmain.sh"
5788 # Backslashify metacharacters that are still active within
5789 # double-quoted strings.
5790 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5792 # Same as above, but do not quote variable references.
5793 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5795 # Sed substitution to delay expansion of an escaped shell variable in a
5796 # double_quote_subst'ed string.
5797 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5799 # Sed substitution to delay expansion of an escaped single quote.
5800 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5802 # Sed substitution to avoid accidental globbing in evaled expressions
5803 no_glob_subst='s/\*/\\\*/g'
5805 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5806 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5807 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5810 $as_echo_n "checking how to print
strings...
" >&6; }
5811 # Test print first, because it will be a builtin if present.
5812 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5813 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5815 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5818 # Use this function as a fallback that always works.
5819 func_fallback_echo ()
5821 eval 'cat <<_LTECHO_EOF
5825 ECHO='func_fallback_echo'
5828 # func_echo_all arg...
5829 # Invoke $ECHO with all args, space-separated.
5836 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5837 $as_echo "printf" >&6; } ;;
5838 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5839 $as_echo "print
-r" >&6; } ;;
5840 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5841 $as_echo "cat" >&6; } ;;
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5858 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5859 if test "${ac_cv_path_SED+set}" = set; then :
5860 $as_echo_n "(cached
) " >&6
5862 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5863 for ac_i in 1 2 3 4 5 6 7; do
5864 ac_script="$ac_script$as_nl$ac_script"
5866 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5867 { ac_script=; unset ac_script;}
5868 if test -z "$SED"; then
5869 ac_path_SED_found=false
5870 # Loop through the user's path and test for each of PROGNAME-LIST
5871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 test -z "$as_dir" && as_dir=.
5876 for ac_prog in sed gsed; do
5877 for ac_exec_ext in '' $ac_executable_extensions; do
5878 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5879 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5880 # Check for GNU ac_path_SED and select it if it is found.
5881 # Check for GNU $ac_path_SED
5882 case `"$ac_path_SED" --version 2>&1` in
5884 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5887 $as_echo_n 0123456789 >"conftest.
in"
5890 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5891 mv "conftest.tmp
" "conftest.
in"
5892 cp "conftest.
in" "conftest.
nl"
5893 $as_echo '' >> "conftest.
nl"
5894 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5895 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5896 as_fn_arith $ac_count + 1 && ac_count=$as_val
5897 if test $ac_count -gt ${ac_path_SED_max-0}; then
5898 # Best one so far, save it but keep looking for a better one
5899 ac_cv_path_SED="$ac_path_SED"
5900 ac_path_SED_max=$ac_count
5902 # 10*(2^10) chars as input seems more than enough
5903 test $ac_count -gt 10 && break
5905 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5908 $ac_path_SED_found && break 3
5913 if test -z "$ac_cv_path_SED"; then
5914 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5922 $as_echo "$ac_cv_path_SED" >&6; }
5923 SED="$ac_cv_path_SED"
5926 test -z "$SED" && SED=sed
5927 Xsed="$SED -e 1s
/^X
//"
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5940 $as_echo_n "checking
for fgrep...
" >&6; }
5941 if test "${ac_cv_path_FGREP+set}" = set; then :
5942 $as_echo_n "(cached
) " >&6
5944 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5945 then ac_cv_path_FGREP="$GREP -F"
5947 if test -z "$FGREP"; then
5948 ac_path_FGREP_found=false
5949 # Loop through the user's path and test for each of PROGNAME-LIST
5950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5951 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5954 test -z "$as_dir" && as_dir=.
5955 for ac_prog in fgrep; do
5956 for ac_exec_ext in '' $ac_executable_extensions; do
5957 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5958 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5959 # Check for GNU ac_path_FGREP and select it if it is found.
5960 # Check for GNU $ac_path_FGREP
5961 case `"$ac_path_FGREP" --version 2>&1` in
5963 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5966 $as_echo_n 0123456789 >"conftest.
in"
5969 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5970 mv "conftest.tmp
" "conftest.
in"
5971 cp "conftest.
in" "conftest.
nl"
5972 $as_echo 'FGREP' >> "conftest.
nl"
5973 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5974 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5975 as_fn_arith $ac_count + 1 && ac_count=$as_val
5976 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5977 # Best one so far, save it but keep looking for a better one
5978 ac_cv_path_FGREP="$ac_path_FGREP"
5979 ac_path_FGREP_max=$ac_count
5981 # 10*(2^10) chars as input seems more than enough
5982 test $ac_count -gt 10 && break
5984 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5987 $ac_path_FGREP_found && break 3
5992 if test -z "$ac_cv_path_FGREP"; then
5993 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5996 ac_cv_path_FGREP=$FGREP
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6002 $as_echo "$ac_cv_path_FGREP" >&6; }
6003 FGREP="$ac_cv_path_FGREP"
6006 test -z "$GREP" && GREP=grep
6026 # Check whether --with-gnu-ld was given.
6027 if test "${with_gnu_ld+set}" = set; then :
6028 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6034 if test "$GCC" = yes; then
6035 # Check if gcc -print-prog-name=ld gives a path.
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6037 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6040 # gcc leaves a trailing carriage return which upsets mingw
6041 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6043 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6046 # Accept absolute paths.
6048 re_direlt='/[^/][^/]*/\.\./'
6049 # Canonicalize the pathname of ld
6050 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6051 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6052 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6054 test -z "$LD" && LD="$ac_prog"
6057 # If it fails, then pretend we aren't using GCC.
6061 # If it is relative, then search for the first ld in PATH.
6065 elif test "$with_gnu_ld" = yes; then
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6067 $as_echo_n "checking
for GNU ld...
" >&6; }
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6070 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6072 if test "${lt_cv_path_LD+set}" = set; then :
6073 $as_echo_n "(cached
) " >&6
6075 if test -z "$LD"; then
6076 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6077 for ac_dir in $PATH; do
6079 test -z "$ac_dir" && ac_dir=.
6080 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6081 lt_cv_path_LD="$ac_dir/$ac_prog"
6082 # Check to see if the program is GNU ld. I'd rather use --version,
6083 # but apparently some variants of GNU ld only accept -v.
6084 # Break only if it was the GNU/non-GNU ld that we prefer.
6085 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6086 *GNU* | *'with BFD'*)
6087 test "$with_gnu_ld" != no && break
6090 test "$with_gnu_ld" != yes && break
6097 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6102 if test -n "$LD"; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6104 $as_echo "$LD" >&6; }
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6107 $as_echo "no
" >&6; }
6109 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6111 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6112 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6113 $as_echo_n "(cached
) " >&6
6115 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6116 case `$LD -v 2>&1 </dev/null` in
6117 *GNU* | *'with BFD'*)
6118 lt_cv_prog_gnu_ld=yes
6121 lt_cv_prog_gnu_ld=no
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6126 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6127 with_gnu_ld=$lt_cv_prog_gnu_ld
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6138 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6139 if test "${lt_cv_path_NM+set}" = set; then :
6140 $as_echo_n "(cached
) " >&6
6142 if test -n "$NM"; then
6143 # Let the user override the test.
6146 lt_nm_to_check="${ac_tool_prefix}nm
"
6147 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6148 lt_nm_to_check="$lt_nm_to_check nm
"
6150 for lt_tmp_nm in $lt_nm_to_check; do
6151 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6152 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6154 test -z "$ac_dir" && ac_dir=.
6155 tmp_nm="$ac_dir/$lt_tmp_nm"
6156 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6157 # Check to see if the nm accepts a BSD-compat flag.
6158 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6159 # nm: unknown option "B
" ignored
6160 # Tru64's nm complains that /dev/null is an invalid object file
6161 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6162 */dev/null* | *'Invalid file or object type'*)
6163 lt_cv_path_NM="$tmp_nm -B"
6167 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6169 lt_cv_path_NM="$tmp_nm -p"
6173 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6174 continue # so that we can try to find one that supports BSD flags
6183 : ${lt_cv_path_NM=no}
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6187 $as_echo "$lt_cv_path_NM" >&6; }
6188 if test "$lt_cv_path_NM" != "no
"; then
6191 # Didn't find any BSD compatible name lister, look for dumpbin.
6192 if test -n "$DUMPBIN"; then :
6193 # Let the user override the test.
6195 if test -n "$ac_tool_prefix"; then
6196 for ac_prog in dumpbin "link
-dump"
6198 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6199 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6201 $as_echo_n "checking
for $ac_word...
" >&6; }
6202 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6203 $as_echo_n "(cached
) " >&6
6205 if test -n "$DUMPBIN"; then
6206 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212 test -z "$as_dir" && as_dir=.
6213 for ac_exec_ext in '' $ac_executable_extensions; do
6214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6215 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6225 DUMPBIN=$ac_cv_prog_DUMPBIN
6226 if test -n "$DUMPBIN"; then
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6228 $as_echo "$DUMPBIN" >&6; }
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6231 $as_echo "no
" >&6; }
6235 test -n "$DUMPBIN" && break
6238 if test -z "$DUMPBIN"; then
6239 ac_ct_DUMPBIN=$DUMPBIN
6240 for ac_prog in dumpbin "link
-dump"
6242 # Extract the first word of "$ac_prog", so it can be a program name with args.
6243 set dummy $ac_prog; ac_word=$2
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6245 $as_echo_n "checking
for $ac_word...
" >&6; }
6246 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6247 $as_echo_n "(cached
) " >&6
6249 if test -n "$ac_ct_DUMPBIN"; then
6250 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 test -z "$as_dir" && as_dir=.
6257 for ac_exec_ext in '' $ac_executable_extensions; do
6258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6259 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6269 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6270 if test -n "$ac_ct_DUMPBIN"; then
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6272 $as_echo "$ac_ct_DUMPBIN" >&6; }
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6275 $as_echo "no
" >&6; }
6279 test -n "$ac_ct_DUMPBIN" && break
6282 if test "x
$ac_ct_DUMPBIN" = x; then
6285 case $cross_compiling:$ac_tool_warned in
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6288 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6289 ac_tool_warned=yes ;;
6291 DUMPBIN=$ac_ct_DUMPBIN
6295 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6297 DUMPBIN="$DUMPBIN -symbols"
6305 if test "$DUMPBIN" != ":"; then
6309 test -z "$NM" && NM=nm
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6317 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6318 if test "${lt_cv_nm_interface+set}" = set; then :
6319 $as_echo_n "(cached
) " >&6
6321 lt_cv_nm_interface="BSD nm
"
6322 echo "int some_variable
= 0;" > conftest.$ac_ext
6323 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6324 (eval "$ac_compile" 2>conftest.err)
6325 cat conftest.err >&5
6326 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6327 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6328 cat conftest.err >&5
6329 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6330 cat conftest.out >&5
6331 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6332 lt_cv_nm_interface="MS dumpbin
"
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6337 $as_echo "$lt_cv_nm_interface" >&6; }
6339 # find the maximum length of command line arguments
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6341 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6342 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6343 $as_echo_n "(cached
) " >&6
6350 # On DJGPP, this test can blow up pretty badly due to problems in libc
6351 # (any single argument exceeding 2000 bytes causes a buffer overrun
6352 # during glob expansion). Even if it were fixed, the result of this
6353 # check would be larger than it should be.
6354 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6358 # Under GNU Hurd, this test is not required because there is
6359 # no limit to the length of command line arguments.
6360 # Libtool will interpret -1 as no limit whatsoever
6361 lt_cv_sys_max_cmd_len=-1;
6364 cygwin* | mingw* | cegcc*)
6365 # On Win9x/ME, this test blows up -- it succeeds, but takes
6366 # about 5 minutes as the teststring grows exponentially.
6367 # Worse, since 9x/ME are not pre-emptively multitasking,
6368 # you end up with a "frozen
" computer, even though with patience
6369 # the test eventually succeeds (with a max line length of 256k).
6370 # Instead, let's just punt: use the minimum linelength reported by
6371 # all of the supported platforms: 8192 (on NT/2K/XP).
6372 lt_cv_sys_max_cmd_len=8192;
6376 # On MiNT this can take a long time and run out of memory.
6377 lt_cv_sys_max_cmd_len=8192;
6381 # On AmigaOS with pdksh, this test takes hours, literally.
6382 # So we just punt and use a minimum line length of 8192.
6383 lt_cv_sys_max_cmd_len=8192;
6386 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6387 # This has been around since 386BSD, at least. Likely further.
6388 if test -x /sbin/sysctl; then
6389 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6390 elif test -x /usr/sbin/sysctl; then
6391 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6393 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6395 # And add a safety zone
6396 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6397 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6401 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6402 lt_cv_sys_max_cmd_len=196608
6406 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6407 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6408 # nice to cause kernel panics so lets avoid the loop below.
6409 # First set a reasonable default.
6410 lt_cv_sys_max_cmd_len=16384
6412 if test -x /sbin/sysconfig; then
6413 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6414 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6419 lt_cv_sys_max_cmd_len=102400
6421 sysv5* | sco5v6* | sysv4.2uw2*)
6422 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6423 if test -n "$kargmax"; then
6424 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6426 lt_cv_sys_max_cmd_len=32768
6430 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6431 if test -n "$lt_cv_sys_max_cmd_len"; then
6432 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6433 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6435 # Make teststring a little bigger before we do anything with it.
6436 # a 1K string should be a reasonable start.
6437 for i in 1 2 3 4 5 6 7 8 ; do
6438 teststring=$teststring$teststring
6440 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6441 # If test is not a shell built-in, we'll probably end up computing a
6442 # maximum length that is only half of the actual maximum length, but
6444 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6445 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6446 test $i != 17 # 1/2 MB should be enough
6449 teststring=$teststring$teststring
6451 # Only check the string length outside the loop.
6452 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6454 # Add a significant safety factor because C++ compilers can tack on
6455 # massive amounts of additional arguments before passing them to the
6456 # linker. It appears as though 1/2 is a usable value.
6457 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6464 if test -n $lt_cv_sys_max_cmd_len ; then
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6466 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6469 $as_echo "none
" >&6; }
6471 max_cmd_len=$lt_cv_sys_max_cmd_len
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6483 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6484 # Try some XSI features
6487 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6489 && eval 'test $(( 1 + 1 )) -eq 2 \
6490 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6493 $as_echo "$xsi_shell" >&6; }
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6497 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6499 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6501 && lt_shell_append
=yes
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6503 $as_echo "$lt_shell_append" >&6; }
6506 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6516 # test EBCDIC or ASCII
6517 case `echo X|tr X '\101'` in
6518 A
) # ASCII based system
6519 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6520 lt_SP2NL
='tr \040 \012'
6521 lt_NL2SP
='tr \015\012 \040\040'
6523 *) # EBCDIC based system
6524 lt_SP2NL
='tr \100 \n'
6525 lt_NL2SP
='tr \r\n \100\100'
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6538 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6539 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6540 $as_echo_n "(cached) " >&6
6542 lt_cv_ld_reload_flag
='-r'
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6545 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6546 reload_flag
=$lt_cv_ld_reload_flag
6547 case $reload_flag in
6549 *) reload_flag
=" $reload_flag" ;;
6551 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6554 if test "$GCC" = yes; then
6555 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6557 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6570 if test -n "$ac_tool_prefix"; then
6571 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6572 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574 $as_echo_n "checking for $ac_word... " >&6; }
6575 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6576 $as_echo_n "(cached) " >&6
6578 if test -n "$OBJDUMP"; then
6579 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6585 test -z "$as_dir" && as_dir
=.
6586 for ac_exec_ext
in '' $ac_executable_extensions; do
6587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6588 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6598 OBJDUMP
=$ac_cv_prog_OBJDUMP
6599 if test -n "$OBJDUMP"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6601 $as_echo "$OBJDUMP" >&6; }
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6609 if test -z "$ac_cv_prog_OBJDUMP"; then
6610 ac_ct_OBJDUMP
=$OBJDUMP
6611 # Extract the first word of "objdump", so it can be a program name with args.
6612 set dummy objdump
; ac_word
=$2
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614 $as_echo_n "checking for $ac_word... " >&6; }
6615 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6616 $as_echo_n "(cached) " >&6
6618 if test -n "$ac_ct_OBJDUMP"; then
6619 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6625 test -z "$as_dir" && as_dir
=.
6626 for ac_exec_ext
in '' $ac_executable_extensions; do
6627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6628 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6639 if test -n "$ac_ct_OBJDUMP"; then
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6641 $as_echo "$ac_ct_OBJDUMP" >&6; }
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644 $as_echo "no" >&6; }
6647 if test "x$ac_ct_OBJDUMP" = x
; then
6650 case $cross_compiling:$ac_tool_warned in
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6654 ac_tool_warned
=yes ;;
6656 OBJDUMP
=$ac_ct_OBJDUMP
6659 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6662 test -z "$OBJDUMP" && OBJDUMP
=objdump
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6673 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6674 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6675 $as_echo_n "(cached) " >&6
6677 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6678 lt_cv_file_magic_test_file
=
6679 lt_cv_deplibs_check_method
='unknown'
6680 # Need to set the preceding variable on all platforms that support
6681 # interlibrary dependencies.
6682 # 'none' -- dependencies not supported.
6683 # `unknown' -- same as none, but documents that we really don't know.
6684 # 'pass_all' -- all dependencies passed with no checks.
6685 # 'test_compile' -- check by making test program.
6686 # 'file_magic [[regex]]' -- check by looking for files in library path
6687 # which responds to the $file_magic_cmd with a given extended regex.
6688 # If you have `file' or equivalent on your system and you're not sure
6689 # whether `pass_all' will *always* work, you probably want this one.
6693 lt_cv_deplibs_check_method
=pass_all
6697 lt_cv_deplibs_check_method
=pass_all
6701 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6702 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6703 lt_cv_file_magic_test_file
=/shlib
/libc.so
6707 # func_win32_libid is a shell function defined in ltmain.sh
6708 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6709 lt_cv_file_magic_cmd
='func_win32_libid'
6713 # Base MSYS/MinGW do not provide the 'file' command needed by
6714 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6715 # unless we find 'file', for example because we are cross-compiling.
6716 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6717 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6718 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6719 lt_cv_file_magic_cmd
='func_win32_libid'
6721 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6722 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6727 # use the weaker test based on 'objdump'. See mingw*.
6728 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6729 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6732 darwin
* | rhapsody
*)
6733 lt_cv_deplibs_check_method
=pass_all
6736 freebsd
* | dragonfly
*)
6737 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6740 # Not sure whether the presence of OpenBSD here was a mistake.
6741 # Let's accept both of them until this is cleared up.
6742 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6743 lt_cv_file_magic_cmd
=/usr
/bin
/file
6744 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6748 lt_cv_deplibs_check_method
=pass_all
6753 lt_cv_deplibs_check_method
=pass_all
6757 lt_cv_deplibs_check_method
=pass_all
6760 hpux10.20
* | hpux11
*)
6761 lt_cv_file_magic_cmd
=/usr
/bin
/file
6764 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6765 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6768 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]'
6769 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6772 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6773 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6779 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6780 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6783 irix5
* | irix6
* | nonstopux
*)
6785 *-32|
*"-32 ") libmagic
=32-bit;;
6786 *-n32|
*"-n32 ") libmagic
=N32
;;
6787 *-64|
*"-64 ") libmagic
=64-bit;;
6788 *) libmagic
=never-match
;;
6790 lt_cv_deplibs_check_method
=pass_all
6793 # This must be Linux ELF.
6794 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6795 lt_cv_deplibs_check_method
=pass_all
6799 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6800 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6802 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6807 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6808 lt_cv_file_magic_cmd
=/usr
/bin
/file
6809 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6813 lt_cv_deplibs_check_method
=pass_all
6817 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6818 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6820 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6824 osf3
* | osf4
* | osf5
*)
6825 lt_cv_deplibs_check_method
=pass_all
6829 lt_cv_deplibs_check_method
=pass_all
6833 lt_cv_deplibs_check_method
=pass_all
6836 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6837 lt_cv_deplibs_check_method
=pass_all
6841 case $host_vendor in
6843 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]'
6844 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6847 lt_cv_deplibs_check_method
=pass_all
6850 lt_cv_file_magic_cmd
='/bin/file'
6851 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6854 lt_cv_file_magic_cmd
='/bin/file'
6855 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6856 lt_cv_file_magic_test_file
=/lib
/libc.so
6859 lt_cv_deplibs_check_method
=pass_all
6862 lt_cv_deplibs_check_method
=pass_all
6868 lt_cv_deplibs_check_method
=pass_all
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6874 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6875 file_magic_cmd
=$lt_cv_file_magic_cmd
6876 deplibs_check_method
=$lt_cv_deplibs_check_method
6877 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6890 if test -n "$ac_tool_prefix"; then
6891 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6892 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894 $as_echo_n "checking for $ac_word... " >&6; }
6895 if test "${ac_cv_prog_AR+set}" = set; then :
6896 $as_echo_n "(cached) " >&6
6898 if test -n "$AR"; then
6899 ac_cv_prog_AR
="$AR" # Let the user override the test.
6901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir
=.
6906 for ac_exec_ext
in '' $ac_executable_extensions; do
6907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6908 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6919 if test -n "$AR"; then
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6921 $as_echo "$AR" >&6; }
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924 $as_echo "no" >&6; }
6929 if test -z "$ac_cv_prog_AR"; then
6931 # Extract the first word of "ar", so it can be a program name with args.
6932 set dummy
ar; ac_word
=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6936 $as_echo_n "(cached) " >&6
6938 if test -n "$ac_ct_AR"; then
6939 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6945 test -z "$as_dir" && as_dir
=.
6946 for ac_exec_ext
in '' $ac_executable_extensions; do
6947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6948 ac_cv_prog_ac_ct_AR
="ar"
6949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6958 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6959 if test -n "$ac_ct_AR"; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6961 $as_echo "$ac_ct_AR" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6967 if test "x$ac_ct_AR" = x
; then
6970 case $cross_compiling:$ac_tool_warned in
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6974 ac_tool_warned
=yes ;;
6982 test -z "$AR" && AR
=ar
6983 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6995 if test -n "$ac_tool_prefix"; then
6996 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6997 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6999 $as_echo_n "checking for $ac_word... " >&6; }
7000 if test "${ac_cv_prog_STRIP+set}" = set; then :
7001 $as_echo_n "(cached) " >&6
7003 if test -n "$STRIP"; then
7004 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7010 test -z "$as_dir" && as_dir
=.
7011 for ac_exec_ext
in '' $ac_executable_extensions; do
7012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7013 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7023 STRIP
=$ac_cv_prog_STRIP
7024 if test -n "$STRIP"; then
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7026 $as_echo "$STRIP" >&6; }
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029 $as_echo "no" >&6; }
7034 if test -z "$ac_cv_prog_STRIP"; then
7036 # Extract the first word of "strip", so it can be a program name with args.
7037 set dummy strip
; ac_word
=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7041 $as_echo_n "(cached) " >&6
7043 if test -n "$ac_ct_STRIP"; then
7044 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7050 test -z "$as_dir" && as_dir
=.
7051 for ac_exec_ext
in '' $ac_executable_extensions; do
7052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7053 ac_cv_prog_ac_ct_STRIP
="strip"
7054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7063 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7064 if test -n "$ac_ct_STRIP"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7066 $as_echo "$ac_ct_STRIP" >&6; }
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7072 if test "x$ac_ct_STRIP" = x
; then
7075 case $cross_compiling:$ac_tool_warned in
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7079 ac_tool_warned
=yes ;;
7084 STRIP
="$ac_cv_prog_STRIP"
7087 test -z "$STRIP" && STRIP
=:
7094 if test -n "$ac_tool_prefix"; then
7095 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7096 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7098 $as_echo_n "checking for $ac_word... " >&6; }
7099 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7100 $as_echo_n "(cached) " >&6
7102 if test -n "$RANLIB"; then
7103 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7109 test -z "$as_dir" && as_dir
=.
7110 for ac_exec_ext
in '' $ac_executable_extensions; do
7111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7112 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7122 RANLIB
=$ac_cv_prog_RANLIB
7123 if test -n "$RANLIB"; then
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7125 $as_echo "$RANLIB" >&6; }
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 $as_echo "no" >&6; }
7133 if test -z "$ac_cv_prog_RANLIB"; then
7134 ac_ct_RANLIB
=$RANLIB
7135 # Extract the first word of "ranlib", so it can be a program name with args.
7136 set dummy ranlib
; ac_word
=$2
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 $as_echo_n "checking for $ac_word... " >&6; }
7139 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7140 $as_echo_n "(cached) " >&6
7142 if test -n "$ac_ct_RANLIB"; then
7143 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7149 test -z "$as_dir" && as_dir
=.
7150 for ac_exec_ext
in '' $ac_executable_extensions; do
7151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7152 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7162 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7163 if test -n "$ac_ct_RANLIB"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7165 $as_echo "$ac_ct_RANLIB" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 $as_echo "no" >&6; }
7171 if test "x$ac_ct_RANLIB" = x
; then
7174 case $cross_compiling:$ac_tool_warned in
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7178 ac_tool_warned
=yes ;;
7180 RANLIB
=$ac_ct_RANLIB
7183 RANLIB
="$ac_cv_prog_RANLIB"
7186 test -z "$RANLIB" && RANLIB
=:
7193 # Determine commands to create old-style static archives.
7194 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7195 old_postinstall_cmds
='chmod 644 $oldlib'
7196 old_postuninstall_cmds
=
7198 if test -n "$RANLIB"; then
7201 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7204 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7207 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7212 lock_old_archive_extraction
=yes ;;
7214 lock_old_archive_extraction
=no
;;
7255 # If no C compiler was specified, use CC.
7258 # If no C compiler flags were specified, use CFLAGS.
7259 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7261 # Allow CC to be a program name with arguments.
7265 # Check for command to grab the raw symbol name followed by C symbol from nm.
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7267 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7268 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7269 $as_echo_n "(cached) " >&6
7272 # These are sane defaults that work on at least a few old systems.
7273 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7275 # Character class describing NM global symbol codes.
7276 symcode
='[BCDEGRST]'
7278 # Regexp to match symbols that can be accessed directly from C.
7279 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7281 # Define system-specific variables.
7286 cygwin
* | mingw
* | pw32
* | cegcc
*)
7287 symcode
='[ABCDGISTW]'
7290 if test "$host_cpu" = ia64
; then
7291 symcode
='[ABCDEGRST]'
7295 symcode
='[BCDEGRST]'
7298 symcode
='[BCDEGQRST]'
7309 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7317 # If we're using GNU nm, then use its standard symbol codes.
7318 case `$NM -V 2>&1` in
7319 *GNU
* |
*'with BFD'*)
7320 symcode
='[ABCDGIRSTW]' ;;
7323 # Transform an extracted symbol line into a proper C declaration.
7324 # Some systems (esp. on ia64) link data and code symbols differently,
7325 # so use this general approach.
7326 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7328 # Transform an extracted symbol line into symbol name and symbol address
7329 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7330 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'"
7332 # Handle CRLF in mingw tool chain
7336 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7340 # Try without a prefix underscore, then with it.
7341 for ac_symprfx
in "" "_"; do
7343 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7344 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7346 # Write the raw and C identifiers.
7347 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7348 # Fake it for dumpbin and say T for any non-static function
7349 # and D for any global variable.
7350 # Also find C++ and __fastcall symbols from MSVC++,
7351 # which start with @ or ?.
7352 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7353 " {last_section=section; section=\$ 3};"\
7354 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7355 " \$ 0!~/External *\|/{next};"\
7356 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7357 " {if(hide[section]) next};"\
7358 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7359 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7360 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7361 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7362 " ' prfx=^$ac_symprfx"
7364 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7367 # Check to see that the pipe works correctly.
7371 cat > conftest.
$ac_ext <<_LT_EOF
7376 void nm_test_func(void);
7377 void nm_test_func(void){}
7381 int main(){nm_test_var='a';nm_test_func();return(0);}
7384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7385 (eval $ac_compile) 2>&5
7387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7388 test $ac_status = 0; }; then
7389 # Now try to grab the symbols.
7391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7392 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7395 test $ac_status = 0; } && test -s "$nlist"; then
7396 # Try sorting and uniquifying the output.
7397 if sort "$nlist" |
uniq > "$nlist"T
; then
7398 mv -f "$nlist"T
"$nlist"
7403 # Make sure that we snagged all the symbols we need.
7404 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7405 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7406 cat <<_LT_EOF > conftest.$ac_ext
7412 # Now generate the symbol file.
7413 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7415 cat <<_LT_EOF >> conftest.$ac_ext
7417 /* The mapping between symbol names and symbols. */
7422 lt__PROGRAM__LTX_preloaded_symbols[] =
7424 { "@PROGRAM@", (void *) 0 },
7426 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7427 cat <<\_LT_EOF
>> conftest.
$ac_ext
7431 /* This works around a problem
in FreeBSD linker
*/
7432 #ifdef FREEBSD_WORKAROUND
7433 static const void
*lt_preloaded_setup
() {
7434 return lt__PROGRAM__LTX_preloaded_symbols
;
7442 # Now try linking the two files.
7443 mv conftest.
$ac_objext conftstm.
$ac_objext
7444 lt_save_LIBS
="$LIBS"
7445 lt_save_CFLAGS
="$CFLAGS"
7446 LIBS
="conftstm.$ac_objext"
7447 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7449 (eval $ac_link) 2>&5
7451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7452 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7455 LIBS
="$lt_save_LIBS"
7456 CFLAGS
="$lt_save_CFLAGS"
7458 echo "cannot find nm_test_func in $nlist" >&5
7461 echo "cannot find nm_test_var in $nlist" >&5
7464 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7467 echo "$progname: failed program was:" >&5
7468 cat conftest.
$ac_ext >&5
7470 rm -rf conftest
* conftst
*
7472 # Do not use the global_symbol_pipe unless it works.
7473 if test "$pipe_works" = yes; then
7476 lt_cv_sys_global_symbol_pipe
=
7482 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7483 lt_cv_sys_global_symbol_to_cdecl
=
7485 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7487 $as_echo "failed" >&6; }
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7490 $as_echo "ok" >&6; }
7514 # Check whether --enable-libtool-lock was given.
7515 if test "${enable_libtool_lock+set}" = set; then :
7516 enableval
=$enable_libtool_lock;
7519 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7521 # Some flags need to be propagated to the compiler or linker for good
7525 # Find out which ABI we are using.
7526 echo 'int i;' > conftest.
$ac_ext
7527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7528 (eval $ac_compile) 2>&5
7530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7531 test $ac_status = 0; }; then
7532 case `/usr/bin/file conftest.$ac_objext` in
7544 # Find out which ABI we are using.
7545 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7546 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7547 (eval $ac_compile) 2>&5
7549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7550 test $ac_status = 0; }; then
7551 if test "$lt_cv_prog_gnu_ld" = yes; then
7552 case `/usr/bin/file conftest.$ac_objext` in
7554 LD
="${LD-ld} -melf32bsmip"
7557 LD
="${LD-ld} -melf32bmipn32"
7560 LD
="${LD-ld} -melf64bmip"
7564 case `/usr/bin/file conftest.$ac_objext` in
7580 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7581 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7582 # Find out which ABI we are using.
7583 echo 'int i;' > conftest.
$ac_ext
7584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7585 (eval $ac_compile) 2>&5
7587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7588 test $ac_status = 0; }; then
7589 case `/usr/bin/file conftest.o` in
7592 x86_64-
*kfreebsd
*-gnu)
7593 LD
="${LD-ld} -m elf_i386_fbsd"
7596 case `/usr/bin/file conftest.o` in
7598 LD
="${LD-ld} -m elf32_x86_64"
7601 LD
="${LD-ld} -m elf_i386"
7605 powerpc64le-
*linux
*)
7606 LD
="${LD-ld} -m elf32lppclinux"
7609 LD
="${LD-ld} -m elf32ppclinux"
7612 LD
="${LD-ld} -m elf_s390"
7615 LD
="${LD-ld} -m elf32_sparc"
7621 x86_64-
*kfreebsd
*-gnu)
7622 LD
="${LD-ld} -m elf_x86_64_fbsd"
7625 LD
="${LD-ld} -m elf_x86_64"
7628 LD
="${LD-ld} -m elf64lppc"
7631 LD
="${LD-ld} -m elf64ppc"
7633 s390
*-*linux
*|s390
*-*tpf
*)
7634 LD
="${LD-ld} -m elf64_s390"
7637 LD
="${LD-ld} -m elf64_sparc"
7647 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7648 SAVE_CFLAGS
="$CFLAGS"
7649 CFLAGS
="$CFLAGS -belf"
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7651 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7652 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7653 $as_echo_n "(cached) " >&6
7656 ac_cpp
='$CPP $CPPFLAGS'
7657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7661 if test x
$gcc_no_link = xyes
; then
7662 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7665 /* end confdefs.h. */
7675 if ac_fn_c_try_link
"$LINENO"; then :
7676 lt_cv_cc_needs_belf
=yes
7678 lt_cv_cc_needs_belf
=no
7680 rm -f core conftest.err conftest.
$ac_objext \
7681 conftest
$ac_exeext conftest.
$ac_ext
7683 ac_cpp
='$CPP $CPPFLAGS'
7684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7690 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7691 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7692 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7693 CFLAGS
="$SAVE_CFLAGS"
7697 # Find out which ABI we are using.
7698 echo 'int i;' > conftest.
$ac_ext
7699 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7700 (eval $ac_compile) 2>&5
7702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7703 test $ac_status = 0; }; then
7704 case `/usr/bin/file conftest.o` in
7706 case $lt_cv_prog_gnu_ld in
7707 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7709 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7721 need_locks
="$enable_libtool_lock"
7725 rhapsody
* | darwin
*)
7726 if test -n "$ac_tool_prefix"; then
7727 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7728 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7730 $as_echo_n "checking for $ac_word... " >&6; }
7731 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7732 $as_echo_n "(cached) " >&6
7734 if test -n "$DSYMUTIL"; then
7735 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7741 test -z "$as_dir" && as_dir
=.
7742 for ac_exec_ext
in '' $ac_executable_extensions; do
7743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7744 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7754 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7755 if test -n "$DSYMUTIL"; then
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7757 $as_echo "$DSYMUTIL" >&6; }
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7760 $as_echo "no" >&6; }
7765 if test -z "$ac_cv_prog_DSYMUTIL"; then
7766 ac_ct_DSYMUTIL
=$DSYMUTIL
7767 # Extract the first word of "dsymutil", so it can be a program name with args.
7768 set dummy dsymutil
; ac_word
=$2
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7770 $as_echo_n "checking for $ac_word... " >&6; }
7771 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7772 $as_echo_n "(cached) " >&6
7774 if test -n "$ac_ct_DSYMUTIL"; then
7775 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7781 test -z "$as_dir" && as_dir
=.
7782 for ac_exec_ext
in '' $ac_executable_extensions; do
7783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7784 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7794 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7795 if test -n "$ac_ct_DSYMUTIL"; then
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7797 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7800 $as_echo "no" >&6; }
7803 if test "x$ac_ct_DSYMUTIL" = x
; then
7806 case $cross_compiling:$ac_tool_warned in
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7810 ac_tool_warned
=yes ;;
7812 DSYMUTIL
=$ac_ct_DSYMUTIL
7815 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7818 if test -n "$ac_tool_prefix"; then
7819 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7820 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7822 $as_echo_n "checking for $ac_word... " >&6; }
7823 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7824 $as_echo_n "(cached) " >&6
7826 if test -n "$NMEDIT"; then
7827 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7833 test -z "$as_dir" && as_dir
=.
7834 for ac_exec_ext
in '' $ac_executable_extensions; do
7835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7836 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7846 NMEDIT
=$ac_cv_prog_NMEDIT
7847 if test -n "$NMEDIT"; then
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7849 $as_echo "$NMEDIT" >&6; }
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7852 $as_echo "no" >&6; }
7857 if test -z "$ac_cv_prog_NMEDIT"; then
7858 ac_ct_NMEDIT
=$NMEDIT
7859 # Extract the first word of "nmedit", so it can be a program name with args.
7860 set dummy nmedit
; ac_word
=$2
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7862 $as_echo_n "checking for $ac_word... " >&6; }
7863 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7864 $as_echo_n "(cached) " >&6
7866 if test -n "$ac_ct_NMEDIT"; then
7867 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7873 test -z "$as_dir" && as_dir
=.
7874 for ac_exec_ext
in '' $ac_executable_extensions; do
7875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7876 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7886 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7887 if test -n "$ac_ct_NMEDIT"; then
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7889 $as_echo "$ac_ct_NMEDIT" >&6; }
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7892 $as_echo "no" >&6; }
7895 if test "x$ac_ct_NMEDIT" = x
; then
7898 case $cross_compiling:$ac_tool_warned in
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7902 ac_tool_warned
=yes ;;
7904 NMEDIT
=$ac_ct_NMEDIT
7907 NMEDIT
="$ac_cv_prog_NMEDIT"
7910 if test -n "$ac_tool_prefix"; then
7911 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7912 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7914 $as_echo_n "checking for $ac_word... " >&6; }
7915 if test "${ac_cv_prog_LIPO+set}" = set; then :
7916 $as_echo_n "(cached) " >&6
7918 if test -n "$LIPO"; then
7919 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7925 test -z "$as_dir" && as_dir
=.
7926 for ac_exec_ext
in '' $ac_executable_extensions; do
7927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7928 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7938 LIPO
=$ac_cv_prog_LIPO
7939 if test -n "$LIPO"; then
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7941 $as_echo "$LIPO" >&6; }
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7944 $as_echo "no" >&6; }
7949 if test -z "$ac_cv_prog_LIPO"; then
7951 # Extract the first word of "lipo", so it can be a program name with args.
7952 set dummy lipo
; ac_word
=$2
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7954 $as_echo_n "checking for $ac_word... " >&6; }
7955 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7956 $as_echo_n "(cached) " >&6
7958 if test -n "$ac_ct_LIPO"; then
7959 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7965 test -z "$as_dir" && as_dir
=.
7966 for ac_exec_ext
in '' $ac_executable_extensions; do
7967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7968 ac_cv_prog_ac_ct_LIPO
="lipo"
7969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7978 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7979 if test -n "$ac_ct_LIPO"; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7981 $as_echo "$ac_ct_LIPO" >&6; }
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7984 $as_echo "no" >&6; }
7987 if test "x$ac_ct_LIPO" = x
; then
7990 case $cross_compiling:$ac_tool_warned in
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7994 ac_tool_warned
=yes ;;
7999 LIPO
="$ac_cv_prog_LIPO"
8002 if test -n "$ac_tool_prefix"; then
8003 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8004 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8006 $as_echo_n "checking for $ac_word... " >&6; }
8007 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8008 $as_echo_n "(cached) " >&6
8010 if test -n "$OTOOL"; then
8011 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8017 test -z "$as_dir" && as_dir
=.
8018 for ac_exec_ext
in '' $ac_executable_extensions; do
8019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8020 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8030 OTOOL
=$ac_cv_prog_OTOOL
8031 if test -n "$OTOOL"; then
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8033 $as_echo "$OTOOL" >&6; }
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8036 $as_echo "no" >&6; }
8041 if test -z "$ac_cv_prog_OTOOL"; then
8043 # Extract the first word of "otool", so it can be a program name with args.
8044 set dummy otool
; ac_word
=$2
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8046 $as_echo_n "checking for $ac_word... " >&6; }
8047 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8048 $as_echo_n "(cached) " >&6
8050 if test -n "$ac_ct_OTOOL"; then
8051 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8057 test -z "$as_dir" && as_dir
=.
8058 for ac_exec_ext
in '' $ac_executable_extensions; do
8059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8060 ac_cv_prog_ac_ct_OTOOL
="otool"
8061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8070 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8071 if test -n "$ac_ct_OTOOL"; then
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8073 $as_echo "$ac_ct_OTOOL" >&6; }
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8076 $as_echo "no" >&6; }
8079 if test "x$ac_ct_OTOOL" = x
; then
8082 case $cross_compiling:$ac_tool_warned in
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8086 ac_tool_warned
=yes ;;
8091 OTOOL
="$ac_cv_prog_OTOOL"
8094 if test -n "$ac_tool_prefix"; then
8095 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8096 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8098 $as_echo_n "checking for $ac_word... " >&6; }
8099 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8100 $as_echo_n "(cached) " >&6
8102 if test -n "$OTOOL64"; then
8103 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8109 test -z "$as_dir" && as_dir
=.
8110 for ac_exec_ext
in '' $ac_executable_extensions; do
8111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8112 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8122 OTOOL64
=$ac_cv_prog_OTOOL64
8123 if test -n "$OTOOL64"; then
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8125 $as_echo "$OTOOL64" >&6; }
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8128 $as_echo "no" >&6; }
8133 if test -z "$ac_cv_prog_OTOOL64"; then
8134 ac_ct_OTOOL64
=$OTOOL64
8135 # Extract the first word of "otool64", so it can be a program name with args.
8136 set dummy otool64
; ac_word
=$2
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8138 $as_echo_n "checking for $ac_word... " >&6; }
8139 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8140 $as_echo_n "(cached) " >&6
8142 if test -n "$ac_ct_OTOOL64"; then
8143 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8149 test -z "$as_dir" && as_dir
=.
8150 for ac_exec_ext
in '' $ac_executable_extensions; do
8151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8152 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8162 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8163 if test -n "$ac_ct_OTOOL64"; then
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8165 $as_echo "$ac_ct_OTOOL64" >&6; }
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8168 $as_echo "no" >&6; }
8171 if test "x$ac_ct_OTOOL64" = x
; then
8174 case $cross_compiling:$ac_tool_warned in
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8178 ac_tool_warned
=yes ;;
8180 OTOOL64
=$ac_ct_OTOOL64
8183 OTOOL64
="$ac_cv_prog_OTOOL64"
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8213 $as_echo_n "checking for -single_module linker flag... " >&6; }
8214 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8215 $as_echo_n "(cached) " >&6
8217 lt_cv_apple_cc_single_mod
=no
8218 if test -z "${LT_MULTI_MODULE}"; then
8219 # By default we will add the -single_module flag. You can override
8220 # by either setting the environment variable LT_MULTI_MODULE
8221 # non-empty at configure time, or by adding -multi_module to the
8223 rm -rf libconftest.dylib
*
8224 echo "int foo(void){return 1;}" > conftest.c
8225 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8226 -dynamiclib -Wl,-single_module conftest.c" >&5
8227 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8228 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8230 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8231 lt_cv_apple_cc_single_mod
=yes
8233 cat conftest.err
>&5
8235 rm -rf libconftest.dylib
*
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8240 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8242 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8243 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8244 $as_echo_n "(cached) " >&6
8246 lt_cv_ld_exported_symbols_list
=no
8247 save_LDFLAGS
=$LDFLAGS
8248 echo "_main" > conftest.sym
8249 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8250 if test x
$gcc_no_link = xyes
; then
8251 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8254 /* end confdefs.h. */
8264 if ac_fn_c_try_link
"$LINENO"; then :
8265 lt_cv_ld_exported_symbols_list
=yes
8267 lt_cv_ld_exported_symbols_list
=no
8269 rm -f core conftest.err conftest.
$ac_objext \
8270 conftest
$ac_exeext conftest.
$ac_ext
8271 LDFLAGS
="$save_LDFLAGS"
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8275 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8277 $as_echo_n "checking for -force_load linker flag... " >&6; }
8278 if test "${lt_cv_ld_force_load+set}" = set; then :
8279 $as_echo_n "(cached) " >&6
8281 lt_cv_ld_force_load
=no
8282 cat > conftest.c
<< _LT_EOF
8283 int forced_loaded() { return 2;}
8285 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8286 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8287 echo "$AR cru libconftest.a conftest.o" >&5
8288 $AR cru libconftest.a conftest.o
2>&5
8289 cat > conftest.c
<< _LT_EOF
8290 int main() { return 0;}
8292 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8293 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8295 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8296 lt_cv_ld_force_load
=yes
8298 cat conftest.err
>&5
8300 rm -f conftest.err libconftest.a conftest conftest.c
8301 rm -rf conftest.dSYM
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8305 $as_echo "$lt_cv_ld_force_load" >&6; }
8307 rhapsody
* | darwin1.
[012])
8308 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8310 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8311 darwin
*) # darwin 5.x on
8312 # if running on 10.5 or later, the deployment target defaults
8313 # to the OS version, if on x86, and 10.4, the deployment
8314 # target defaults to 10.4. Don't you love it?
8315 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8316 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8317 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8319 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8321 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8325 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8326 _lt_dar_single_mod
='$single_module'
8328 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8329 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8331 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8333 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8334 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8341 for ac_header
in dlfcn.h
8343 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8345 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8346 cat >>confdefs.h
<<_ACEOF
8347 #define HAVE_DLFCN_H 1
8368 # Check whether --enable-shared was given.
8369 if test "${enable_shared+set}" = set; then :
8370 enableval
=$enable_shared; p
=${PACKAGE-default}
8372 yes) enable_shared
=yes ;;
8373 no
) enable_shared
=no
;;
8376 # Look at the argument we got. We use all the common list separators.
8377 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8378 for pkg
in $enableval; do
8380 if test "X$pkg" = "X$p"; then
8401 # Check whether --with-pic was given.
8402 if test "${with_pic+set}" = set; then :
8403 withval
=$with_pic; pic_mode
="$withval"
8409 test -z "$pic_mode" && pic_mode
=default
8417 # Check whether --enable-fast-install was given.
8418 if test "${enable_fast_install+set}" = set; then :
8419 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8421 yes) enable_fast_install
=yes ;;
8422 no
) enable_fast_install
=no
;;
8424 enable_fast_install
=no
8425 # Look at the argument we got. We use all the common list separators.
8426 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8427 for pkg
in $enableval; do
8429 if test "X$pkg" = "X$p"; then
8430 enable_fast_install
=yes
8437 enable_fast_install
=yes
8450 # This can be used to rebuild libtool when needed
8451 LIBTOOL_DEPS
="$ltmain"
8453 # Always use our own libtool.
8454 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8481 test -z "$LN_S" && LN_S
="ln -s"
8496 if test -n "${ZSH_VERSION+set}" ; then
8497 setopt NO_GLOB_SUBST
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8501 $as_echo_n "checking for objdir... " >&6; }
8502 if test "${lt_cv_objdir+set}" = set; then :
8503 $as_echo_n "(cached) " >&6
8505 rm -f .libs
2>/dev
/null
8506 mkdir .libs
2>/dev
/null
8507 if test -d .libs
; then
8510 # MS-DOS does not allow filenames that begin with a dot.
8513 rmdir .libs
2>/dev
/null
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8516 $as_echo "$lt_cv_objdir" >&6; }
8517 objdir
=$lt_cv_objdir
8523 cat >>confdefs.h
<<_ACEOF
8524 #define LT_OBJDIR "$lt_cv_objdir/"
8532 # AIX sometimes has problems with the GCC collect2 program. For some
8533 # reason, if we set the COLLECT_NAMES environment variable, the problems
8534 # vanish in a puff of smoke.
8535 if test "X${COLLECT_NAMES+set}" != Xset
; then
8537 export COLLECT_NAMES
8544 can_build_shared
=yes
8546 # All known linkers require a `.a' archive for static linking (except MSVC,
8547 # which needs '.lib').
8550 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8553 old_CFLAGS
="$CFLAGS"
8555 # Set sane defaults for various variables
8556 test -z "$CC" && CC
=cc
8557 test -z "$LTCC" && LTCC
=$CC
8558 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8559 test -z "$LD" && LD
=ld
8560 test -z "$ac_objext" && ac_objext
=o
8562 for cc_temp
in $compiler""; do
8564 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8565 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8570 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8573 # Only perform the check for file, if the check method requires it
8574 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8575 case $deplibs_check_method in
8577 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8579 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8580 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8581 $as_echo_n "(cached) " >&6
8585 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8588 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8589 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8590 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8591 for ac_dir
in $ac_dummy; do
8593 test -z "$ac_dir" && ac_dir
=.
8594 if test -f $ac_dir/${ac_tool_prefix}file; then
8595 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8596 if test -n "$file_magic_test_file"; then
8597 case $deplibs_check_method in
8599 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8600 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8601 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8602 $EGREP "$file_magic_regex" > /dev
/null
; then
8607 *** Warning: the command libtool uses to detect shared libraries,
8608 *** $file_magic_cmd, produces output that libtool cannot recognize.
8609 *** The result is that libtool may fail to recognize shared libraries
8610 *** as such. This will affect the creation of libtool libraries that
8611 *** depend on shared libraries, but programs linked with such libtool
8612 *** libraries will work regardless of this problem. Nevertheless, you
8613 *** may want to report the problem to your system manager and/or to
8614 *** bug-libtool@gnu.org
8624 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8629 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8630 if test -n "$MAGIC_CMD"; then
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8632 $as_echo "$MAGIC_CMD" >&6; }
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8635 $as_echo "no" >&6; }
8642 if test -z "$lt_cv_path_MAGIC_CMD"; then
8643 if test -n "$ac_tool_prefix"; then
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8645 $as_echo_n "checking for file... " >&6; }
8646 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8647 $as_echo_n "(cached) " >&6
8651 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8654 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8655 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8656 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8657 for ac_dir
in $ac_dummy; do
8659 test -z "$ac_dir" && ac_dir
=.
8660 if test -f $ac_dir/file; then
8661 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8662 if test -n "$file_magic_test_file"; then
8663 case $deplibs_check_method in
8665 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8666 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8667 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8668 $EGREP "$file_magic_regex" > /dev
/null
; then
8673 *** Warning: the command libtool uses to detect shared libraries,
8674 *** $file_magic_cmd, produces output that libtool cannot recognize.
8675 *** The result is that libtool may fail to recognize shared libraries
8676 *** as such. This will affect the creation of libtool libraries that
8677 *** depend on shared libraries, but programs linked with such libtool
8678 *** libraries will work regardless of this problem. Nevertheless, you
8679 *** may want to report the problem to your system manager and/or to
8680 *** bug-libtool@gnu.org
8690 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8695 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8696 if test -n "$MAGIC_CMD"; then
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8698 $as_echo "$MAGIC_CMD" >&6; }
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8701 $as_echo "no" >&6; }
8714 # Use C for the default configuration in the libtool script
8718 ac_cpp
='$CPP $CPPFLAGS'
8719 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8720 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8721 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8724 # Source file extension for C test sources.
8727 # Object file extension for compiled C test sources.
8731 # Code to be used in simple compile tests
8732 lt_simple_compile_test_code
="int some_variable = 0;"
8734 # Code to be used in simple link tests
8735 lt_simple_link_test_code
='int main(){return(0);}'
8743 # If no C compiler was specified, use CC.
8746 # If no C compiler flags were specified, use CFLAGS.
8747 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8749 # Allow CC to be a program name with arguments.
8752 # Save the default compiler, since it gets overwritten when the other
8753 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8754 compiler_DEFAULT
=$CC
8756 # save warnings/boilerplate of simple test code
8757 ac_outfile
=conftest.
$ac_objext
8758 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8759 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8760 _lt_compiler_boilerplate
=`cat conftest.err`
8763 ac_outfile
=conftest.
$ac_objext
8764 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8765 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8766 _lt_linker_boilerplate
=`cat conftest.err`
8771 ## There is no encapsulation within the following macros, do not change
8772 ## the running order or otherwise move them around unless you know exactly
8773 ## what you are doing...
8774 if test -n "$compiler"; then
8776 lt_prog_compiler_no_builtin_flag
=
8778 if test "$GCC" = yes; then
8779 case $cc_basename in
8781 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8783 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8787 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8788 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8789 $as_echo_n "(cached) " >&6
8791 lt_cv_prog_compiler_rtti_exceptions
=no
8792 ac_outfile
=conftest.
$ac_objext
8793 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8794 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8795 # Insert the option either (1) after the last *FLAGS variable, or
8796 # (2) before a word containing "conftest.", or (3) at the end.
8797 # Note that $ac_compile itself does not contain backslashes and begins
8798 # with a dollar sign (not a hyphen), so the echo should work correctly.
8799 # The option is referenced via a variable to avoid confusing sed.
8800 lt_compile
=`echo "$ac_compile" | $SED \
8801 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8802 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8803 -e 's:$: $lt_compiler_flag:'`
8804 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8805 (eval "$lt_compile" 2>conftest.err
)
8807 cat conftest.err
>&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 if (exit $ac_status) && test -s "$ac_outfile"; then
8810 # The compiler can only warn and ignore the option if not recognized
8811 # So say no if there are warnings other than the usual output.
8812 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8813 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8814 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8815 lt_cv_prog_compiler_rtti_exceptions
=yes
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8822 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8824 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8825 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8837 lt_prog_compiler_wl
=
8838 lt_prog_compiler_pic
=
8839 lt_prog_compiler_static
=
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8842 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8844 if test "$GCC" = yes; then
8845 lt_prog_compiler_wl
='-Wl,'
8846 lt_prog_compiler_static
='-static'
8850 # All AIX code is PIC.
8851 if test "$host_cpu" = ia64
; then
8852 # AIX 5 now supports IA64 processor
8853 lt_prog_compiler_static
='-Bstatic'
8855 lt_prog_compiler_pic
='-fPIC'
8861 # see comment about AmigaOS4 .so support
8862 lt_prog_compiler_pic
='-fPIC'
8865 # FIXME: we need at least 68020 code to build shared libraries, but
8866 # adding the `-m68020' flag to GCC prevents building anything better,
8868 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8873 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8874 # PIC is the default for these OSes.
8877 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8878 # This hack is so that the source file can tell whether it is being
8879 # built for inclusion in a dll (and should export symbols for example).
8880 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8881 # (--disable-auto-import) libraries
8882 lt_prog_compiler_pic
='-DDLL_EXPORT'
8885 darwin
* | rhapsody
*)
8886 # PIC is the default on this platform
8887 # Common symbols not allowed in MH_DYLIB files
8888 lt_prog_compiler_pic
='-fno-common'
8892 # PIC is the default for Haiku.
8893 # The "-static" flag exists, but is broken.
8894 lt_prog_compiler_static
=
8898 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8899 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8900 # sets the default TLS model and affects inlining.
8906 lt_prog_compiler_pic
='-fPIC'
8912 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8913 # Instead, we relocate shared libraries at runtime.
8917 # Just because we use GCC doesn't mean we suddenly get shared libraries
8918 # on systems that don't support them.
8919 lt_prog_compiler_can_build_shared
=no
8924 # QNX uses GNU C++, but need to define -shared option too, otherwise
8926 lt_prog_compiler_pic
='-fPIC -shared'
8930 if test -d /usr
/nec
; then
8931 lt_prog_compiler_pic
=-Kconform_pic
8936 lt_prog_compiler_pic
='-fPIC'
8940 case $cc_basename in
8941 nvcc
*) # Cuda Compiler Driver 2.2
8942 lt_prog_compiler_wl
='-Xlinker '
8943 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8947 # PORTME Check for flag to pass linker flags through the system compiler.
8950 lt_prog_compiler_wl
='-Wl,'
8951 if test "$host_cpu" = ia64
; then
8952 # AIX 5 now supports IA64 processor
8953 lt_prog_compiler_static
='-Bstatic'
8955 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8959 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8960 # This hack is so that the source file can tell whether it is being
8961 # built for inclusion in a dll (and should export symbols for example).
8962 lt_prog_compiler_pic
='-DDLL_EXPORT'
8965 hpux9
* | hpux10
* | hpux11
*)
8966 lt_prog_compiler_wl
='-Wl,'
8967 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8974 lt_prog_compiler_pic
='+Z'
8977 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8978 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8981 irix5
* | irix6
* | nonstopux
*)
8982 lt_prog_compiler_wl
='-Wl,'
8983 # PIC (with -KPIC) is the default.
8984 lt_prog_compiler_static
='-non_shared'
8987 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8988 case $cc_basename in
8989 # old Intel for x86_64 which still supported -KPIC.
8991 lt_prog_compiler_wl
='-Wl,'
8992 lt_prog_compiler_pic
='-KPIC'
8993 lt_prog_compiler_static
='-static'
8995 # icc used to be incompatible with GCC.
8996 # ICC 10 doesn't accept -KPIC any more.
8998 lt_prog_compiler_wl
='-Wl,'
8999 lt_prog_compiler_pic
='-fPIC'
9000 lt_prog_compiler_static
='-static'
9002 # Lahey Fortran 8.1.
9004 lt_prog_compiler_wl
='-Wl,'
9005 lt_prog_compiler_pic
='--shared'
9006 lt_prog_compiler_static
='--static'
9008 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9009 # Portland Group compilers (*not* the Pentium gcc compiler,
9010 # which looks to be a dead project)
9011 lt_prog_compiler_wl
='-Wl,'
9012 lt_prog_compiler_pic
='-fpic'
9013 lt_prog_compiler_static
='-Bstatic'
9016 lt_prog_compiler_wl
='-Wl,'
9017 # All Alpha code is PIC.
9018 lt_prog_compiler_static
='-non_shared'
9020 xl
* | bgxl
* | bgf
* | mpixl
*)
9021 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9022 lt_prog_compiler_wl
='-Wl,'
9023 lt_prog_compiler_pic
='-qpic'
9024 lt_prog_compiler_static
='-qstaticlink'
9027 case `$CC -V 2>&1 | sed 5q` in
9028 *Sun\ F
* |
*Sun
*Fortran
*)
9029 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9030 lt_prog_compiler_pic
='-KPIC'
9031 lt_prog_compiler_static
='-Bstatic'
9032 lt_prog_compiler_wl
=''
9036 lt_prog_compiler_pic
='-KPIC'
9037 lt_prog_compiler_static
='-Bstatic'
9038 lt_prog_compiler_wl
='-Wl,'
9046 lt_prog_compiler_pic
='-KPIC'
9047 lt_prog_compiler_static
='-Bstatic'
9051 # QNX uses GNU C++, but need to define -shared option too, otherwise
9053 lt_prog_compiler_pic
='-fPIC -shared'
9056 osf3
* | osf4
* | osf5
*)
9057 lt_prog_compiler_wl
='-Wl,'
9058 # All OSF/1 code is PIC.
9059 lt_prog_compiler_static
='-non_shared'
9063 lt_prog_compiler_static
='-non_shared'
9067 lt_prog_compiler_pic
='-KPIC'
9068 lt_prog_compiler_static
='-Bstatic'
9069 case $cc_basename in
9071 lt_prog_compiler_wl
='-Qoption ld ';;
9073 lt_prog_compiler_wl
='-Wl,';;
9078 lt_prog_compiler_wl
='-Qoption ld '
9079 lt_prog_compiler_pic
='-PIC'
9080 lt_prog_compiler_static
='-Bstatic'
9083 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9084 lt_prog_compiler_wl
='-Wl,'
9085 lt_prog_compiler_pic
='-KPIC'
9086 lt_prog_compiler_static
='-Bstatic'
9090 if test -d /usr
/nec
;then
9091 lt_prog_compiler_pic
='-Kconform_pic'
9092 lt_prog_compiler_static
='-Bstatic'
9096 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9097 lt_prog_compiler_wl
='-Wl,'
9098 lt_prog_compiler_pic
='-KPIC'
9099 lt_prog_compiler_static
='-Bstatic'
9103 lt_prog_compiler_wl
='-Wl,'
9104 lt_prog_compiler_can_build_shared
=no
9108 lt_prog_compiler_pic
='-pic'
9109 lt_prog_compiler_static
='-Bstatic'
9113 lt_prog_compiler_can_build_shared
=no
9119 # For platforms which do not support PIC, -DPIC is meaningless:
9121 lt_prog_compiler_pic
=
9124 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9128 $as_echo "$lt_prog_compiler_pic" >&6; }
9136 # Check to make sure the PIC flag actually works.
9138 if test -n "$lt_prog_compiler_pic"; then
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9140 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9141 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9142 $as_echo_n "(cached) " >&6
9144 lt_cv_prog_compiler_pic_works
=no
9145 ac_outfile
=conftest.
$ac_objext
9146 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9147 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9148 # Insert the option either (1) after the last *FLAGS variable, or
9149 # (2) before a word containing "conftest.", or (3) at the end.
9150 # Note that $ac_compile itself does not contain backslashes and begins
9151 # with a dollar sign (not a hyphen), so the echo should work correctly.
9152 # The option is referenced via a variable to avoid confusing sed.
9153 lt_compile
=`echo "$ac_compile" | $SED \
9154 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9155 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9156 -e 's:$: $lt_compiler_flag:'`
9157 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9158 (eval "$lt_compile" 2>conftest.err
)
9160 cat conftest.err
>&5
9161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 if (exit $ac_status) && test -s "$ac_outfile"; then
9163 # The compiler can only warn and ignore the option if not recognized
9164 # So say no if there are warnings other than the usual output.
9165 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9166 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9167 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9168 lt_cv_prog_compiler_pic_works
=yes
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9175 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9177 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9178 case $lt_prog_compiler_pic in
9180 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9183 lt_prog_compiler_pic
=
9184 lt_prog_compiler_can_build_shared
=no
9195 # Check to make sure the static flag actually works.
9197 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9199 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9200 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9201 $as_echo_n "(cached) " >&6
9203 lt_cv_prog_compiler_static_works
=no
9204 save_LDFLAGS
="$LDFLAGS"
9205 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9206 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9207 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9208 # The linker can only warn and ignore the option if not recognized
9209 # So say no if there are warnings
9210 if test -s conftest.err
; then
9211 # Append any errors to the config.log.
9212 cat conftest.err
1>&5
9213 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9214 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9215 if diff conftest.exp conftest.er2
>/dev
/null
; then
9216 lt_cv_prog_compiler_static_works
=yes
9219 lt_cv_prog_compiler_static_works
=yes
9223 LDFLAGS
="$save_LDFLAGS"
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9227 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9229 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9232 lt_prog_compiler_static
=
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9242 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9243 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9244 $as_echo_n "(cached) " >&6
9246 lt_cv_prog_compiler_c_o
=no
9247 $RM -r conftest
2>/dev
/null
9251 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9253 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9254 # Insert the option either (1) after the last *FLAGS variable, or
9255 # (2) before a word containing "conftest.", or (3) at the end.
9256 # Note that $ac_compile itself does not contain backslashes and begins
9257 # with a dollar sign (not a hyphen), so the echo should work correctly.
9258 lt_compile
=`echo "$ac_compile" | $SED \
9259 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9260 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9261 -e 's:$: $lt_compiler_flag:'`
9262 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9263 (eval "$lt_compile" 2>out
/conftest.err
)
9265 cat out
/conftest.err
>&5
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9269 # The compiler can only warn and ignore the option if not recognized
9270 # So say no if there are warnings
9271 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9272 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9273 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9274 lt_cv_prog_compiler_c_o
=yes
9279 # SGI C++ compiler will create directory out/ii_files/ for
9280 # template instantiation
9281 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9282 $RM out
/* && rmdir out
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9289 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9297 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9298 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9299 $as_echo_n "(cached) " >&6
9301 lt_cv_prog_compiler_c_o
=no
9302 $RM -r conftest
2>/dev
/null
9306 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9308 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9309 # Insert the option either (1) after the last *FLAGS variable, or
9310 # (2) before a word containing "conftest.", or (3) at the end.
9311 # Note that $ac_compile itself does not contain backslashes and begins
9312 # with a dollar sign (not a hyphen), so the echo should work correctly.
9313 lt_compile
=`echo "$ac_compile" | $SED \
9314 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9315 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9316 -e 's:$: $lt_compiler_flag:'`
9317 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9318 (eval "$lt_compile" 2>out
/conftest.err
)
9320 cat out
/conftest.err
>&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9324 # The compiler can only warn and ignore the option if not recognized
9325 # So say no if there are warnings
9326 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9327 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9328 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9329 lt_cv_prog_compiler_c_o
=yes
9334 # SGI C++ compiler will create directory out/ii_files/ for
9335 # template instantiation
9336 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9337 $RM out
/* && rmdir out
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9344 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9349 hard_links
="nottested"
9350 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9351 # do not overwrite the value of need_locks provided by the user
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9353 $as_echo_n "checking if we can lock with hard links... " >&6; }
9356 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9358 ln conftest.a conftest.b
2>&5 || hard_links
=no
9359 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9361 $as_echo "$hard_links" >&6; }
9362 if test "$hard_links" = no
; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9364 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9377 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9380 allow_undefined_flag
=
9381 always_export_symbols
=no
9383 archive_expsym_cmds
=
9384 compiler_needs_object
=no
9385 enable_shared_with_static_runtimes
=no
9386 export_dynamic_flag_spec
=
9387 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9388 hardcode_automatic
=no
9390 hardcode_direct_absolute
=no
9391 hardcode_libdir_flag_spec
=
9392 hardcode_libdir_flag_spec_ld
=
9393 hardcode_libdir_separator
=
9395 hardcode_shlibpath_var
=unsupported
9397 link_all_deplibs
=unknown
9400 old_archive_from_new_cmds
=
9401 old_archive_from_expsyms_cmds
=
9402 thread_safe_flag_spec
=
9403 whole_archive_flag_spec
=
9404 # include_expsyms should be a list of space-separated symbols to be *always*
9405 # included in the symbol list
9407 # exclude_expsyms can be an extended regexp of symbols to exclude
9408 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9409 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9410 # as well as any symbol that contains `d'.
9411 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9412 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9413 # platforms (ab)use it in PIC code, but their linkers get confused if
9414 # the symbol is explicitly referenced. Since portable code cannot
9415 # rely on this symbol name, it's probably fine to never include it in
9416 # preloaded symbol tables.
9417 # Exclude shared library initialization/finalization symbols.
9418 extract_expsyms_cmds
=
9421 cygwin
* | mingw
* | pw32
* | cegcc
*)
9422 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9423 # When not using gcc, we currently assume that we are using
9424 # Microsoft Visual C++.
9425 if test "$GCC" != yes; then
9430 # we just hope/assume this is gcc and not c89 (= MSVC++)
9440 # On some targets, GNU ld is compatible enough with the native linker
9441 # that we're better off using the native interface for both.
9442 lt_use_gnu_ld_interface
=no
9443 if test "$with_gnu_ld" = yes; then
9446 # The AIX port of GNU ld has always aspired to compatibility
9447 # with the native linker. However, as the warning in the GNU ld
9448 # block says, versions before 2.19.5* couldn't really create working
9449 # shared libraries, regardless of the interface used.
9450 case `$LD -v 2>&1` in
9451 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9452 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9453 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9455 lt_use_gnu_ld_interface
=yes
9460 lt_use_gnu_ld_interface
=yes
9465 if test "$lt_use_gnu_ld_interface" = yes; then
9466 # If archive_cmds runs LD, not CC, wlarc should be empty
9469 # Set some defaults for GNU ld with shared library support. These
9470 # are reset later if shared libraries are not supported. Putting them
9471 # here allows them to be overridden if necessary.
9472 runpath_var
=LD_RUN_PATH
9473 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9474 export_dynamic_flag_spec
='${wl}--export-dynamic'
9475 # ancient GNU ld didn't support --whole-archive et. al.
9476 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9477 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9479 whole_archive_flag_spec
=
9481 supports_anon_versioning
=no
9482 case `$LD -v 2>&1` in
9483 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9484 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9485 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9486 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9487 *\
2.11.
*) ;; # other 2.11 versions
9488 *) supports_anon_versioning
=yes ;;
9491 # See if GNU ld supports shared libraries.
9494 # On AIX/PPC, the GNU linker is very broken
9495 if test "$host_cpu" != ia64
; then
9499 *** Warning: the GNU linker, at least up to release 2.19, is reported
9500 *** to be unable to reliably create shared libraries on AIX.
9501 *** Therefore, libtool is disabling shared libraries support. If you
9502 *** really care for shared libraries, you may want to install binutils
9503 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9504 *** You will then need to restart the configuration process.
9513 # see comment about AmigaOS4 .so support
9514 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9515 archive_expsym_cmds
=''
9518 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)'
9519 hardcode_libdir_flag_spec
='-L$libdir'
9520 hardcode_minus_L
=yes
9526 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9527 allow_undefined_flag
=unsupported
9528 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9529 # support --undefined. This deserves some investigation. FIXME
9530 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9536 cygwin
* | mingw
* | pw32
* | cegcc
*)
9537 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9538 # as there is no search path for DLLs.
9539 hardcode_libdir_flag_spec
='-L$libdir'
9540 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9541 allow_undefined_flag
=unsupported
9542 always_export_symbols
=no
9543 enable_shared_with_static_runtimes
=yes
9544 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9546 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9547 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9548 # If the export-symbols file already is a .def file (1st line
9549 # is EXPORTS), use it as is; otherwise, prepend...
9550 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9551 cp $export_symbols $output_objdir/$soname.def;
9553 echo EXPORTS > $output_objdir/$soname.def;
9554 cat $export_symbols >> $output_objdir/$soname.def;
9556 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9563 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9564 link_all_deplibs
=yes
9569 hardcode_shlibpath_var
=no
9570 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9571 export_dynamic_flag_spec
='${wl}-E'
9572 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9573 # Instead, shared libraries are loaded at an image base (0x10000000 by
9574 # default) and relocated if they conflict, which is a slow very memory
9575 # consuming and fragmenting process. To avoid this, we pick a random,
9576 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9577 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9578 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9579 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'
9582 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9584 if test "$host_os" = linux-dietlibc
; then
9585 case $cc_basename in
9586 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9589 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9590 && test "$tmp_diet" = no
9593 tmp_sharedflag
='-shared'
9594 case $cc_basename,$host_cpu in
9595 pgcc
*) # Portland Group C compiler
9596 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'
9597 tmp_addflag
=' $pic_flag'
9599 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9600 # Portland Group f77 and f90 compilers
9601 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9602 tmp_addflag
=' $pic_flag -Mnomain' ;;
9603 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9604 tmp_addflag
=' -i_dynamic' ;;
9605 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9606 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9607 ifc
* | ifort
*) # Intel Fortran compiler
9608 tmp_addflag
=' -nofor_main' ;;
9609 lf95
*) # Lahey Fortran 8.1
9610 whole_archive_flag_spec
=
9611 tmp_sharedflag
='--shared' ;;
9612 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9613 tmp_sharedflag
='-qmkshrobj'
9615 nvcc
*) # Cuda Compiler Driver 2.2
9616 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'
9617 compiler_needs_object
=yes
9620 case `$CC -V 2>&1 | sed 5q` in
9621 *Sun\ C
*) # Sun C 5.9
9622 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'
9623 compiler_needs_object
=yes
9624 tmp_sharedflag
='-G' ;;
9625 *Sun\ F
*) # Sun Fortran 8.3
9626 tmp_sharedflag
='-G' ;;
9628 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9630 if test "x$supports_anon_versioning" = xyes
; then
9631 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9632 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9633 echo "local: *; };" >> $output_objdir/$libname.ver~
9634 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9637 case $cc_basename in
9638 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9639 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9640 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9641 hardcode_libdir_flag_spec
=
9642 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9643 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9644 if test "x$supports_anon_versioning" = xyes
; then
9645 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9646 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9647 echo "local: *; };" >> $output_objdir/$libname.ver~
9648 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9658 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9659 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9662 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9663 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9668 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9672 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9673 *** create shared libraries on Solaris systems. Therefore, libtool
9674 *** is disabling shared libraries support. We urge you to upgrade GNU
9675 *** binutils to release 2.9.1 or newer. Another option is to modify
9676 *** your PATH or compiler configuration so that the native linker is
9677 *** used, and then restart.
9680 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9681 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9682 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9688 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9689 case `$LD -v 2>&1` in
9690 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9694 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9695 *** reliably create shared libraries on SCO systems. Therefore, libtool
9696 *** is disabling shared libraries support. We urge you to upgrade GNU
9697 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9698 *** your PATH or compiler configuration so that the native linker is
9699 *** used, and then restart.
9704 # For security reasons, it is highly recommended that you always
9705 # use absolute paths for naming shared libraries, and exclude the
9706 # DT_RUNPATH tag from executables and libraries. But doing so
9707 # requires that you compile everything twice, which is a pain.
9708 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9709 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9710 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9711 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9720 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9723 hardcode_shlibpath_var
=no
9727 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9728 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9729 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9736 if test "$ld_shlibs" = no
; then
9738 hardcode_libdir_flag_spec
=
9739 export_dynamic_flag_spec
=
9740 whole_archive_flag_spec
=
9743 # PORTME fill in a description of your system's linker (not GNU ld)
9746 allow_undefined_flag
=unsupported
9747 always_export_symbols
=yes
9748 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'
9749 # Note: this linker hardcodes the directories in LIBPATH if there
9750 # are no directories specified by -L.
9751 hardcode_minus_L
=yes
9752 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9753 # Neither direct hardcoding nor static linking is supported with a
9755 hardcode_direct
=unsupported
9760 if test "$host_cpu" = ia64
; then
9761 # On IA64, the linker does run time linking by default, so we don't
9762 # have to do anything special.
9763 aix_use_runtimelinking
=no
9764 exp_sym_flag
='-Bexport'
9767 # If we're using GNU nm, then we don't want the "-C" option.
9768 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9769 # Also, AIX nm treats weak defined symbols like other global
9770 # defined symbols, whereas GNU nm marks them as "W".
9771 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9772 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'
9774 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'
9776 aix_use_runtimelinking
=no
9778 # Test if we are trying to use run time linking or normal
9779 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9780 # need to do runtime linking.
9781 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9782 for ld_flag
in $LDFLAGS; do
9783 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9784 aix_use_runtimelinking
=yes
9791 exp_sym_flag
='-bexport'
9792 no_entry_flag
='-bnoentry'
9795 # When large executables or shared objects are built, AIX ld can
9796 # have problems creating the table of contents. If linking a library
9797 # or program results in "error TOC overflow" add -mminimal-toc to
9798 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9799 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9803 hardcode_direct_absolute
=yes
9804 hardcode_libdir_separator
=':'
9805 link_all_deplibs
=yes
9806 file_list_spec
='${wl}-f,'
9808 if test "$GCC" = yes; then
9809 case $host_os in aix4.
[012]|aix4.
[012].
*)
9810 # We only want to do this on AIX 4.2 and lower, the check
9811 # below for broken collect2 doesn't work under 4.3+
9812 collect2name
=`${CC} -print-prog-name=collect2`
9813 if test -f "$collect2name" &&
9814 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9816 # We have reworked collect2
9819 # We have old collect2
9820 hardcode_direct
=unsupported
9821 # It fails to find uninstalled libraries when the uninstalled
9822 # path is not listed in the libpath. Setting hardcode_minus_L
9823 # to unsupported forces relinking
9824 hardcode_minus_L
=yes
9825 hardcode_libdir_flag_spec
='-L$libdir'
9826 hardcode_libdir_separator
=
9830 shared_flag
='-shared'
9831 if test "$aix_use_runtimelinking" = yes; then
9832 shared_flag
="$shared_flag "'${wl}-G'
9836 if test "$host_cpu" = ia64
; then
9837 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9838 # chokes on -Wl,-G. The following line is correct:
9841 if test "$aix_use_runtimelinking" = yes; then
9842 shared_flag
='${wl}-G'
9844 shared_flag
='${wl}-bM:SRE'
9849 export_dynamic_flag_spec
='${wl}-bexpall'
9850 # It seems that -bexpall does not export symbols beginning with
9851 # underscore (_), so it is better to generate a list of symbols to export.
9852 always_export_symbols
=yes
9853 if test "$aix_use_runtimelinking" = yes; then
9854 # Warning - without using the other runtime loading flags (-brtl),
9855 # -berok will link without error, but may produce a broken library.
9856 allow_undefined_flag
='-berok'
9857 # Determine the default libpath from the value encoded in an
9859 if test x
$gcc_no_link = xyes
; then
9860 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9873 if ac_fn_c_try_link
"$LINENO"; then :
9875 lt_aix_libpath_sed
='
9876 /Import File Strings/,/^$/ {
9882 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9883 # Check for a 64-bit object if we didn't find anything.
9884 if test -z "$aix_libpath"; then
9885 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9888 rm -f core conftest.err conftest.
$ac_objext \
9889 conftest
$ac_exeext conftest.
$ac_ext
9890 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9892 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9893 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"
9895 if test "$host_cpu" = ia64
; then
9896 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9897 allow_undefined_flag
="-z nodefs"
9898 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"
9900 # Determine the default libpath from the value encoded in an
9902 if test x
$gcc_no_link = xyes
; then
9903 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9916 if ac_fn_c_try_link
"$LINENO"; then :
9918 lt_aix_libpath_sed
='
9919 /Import File Strings/,/^$/ {
9925 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9926 # Check for a 64-bit object if we didn't find anything.
9927 if test -z "$aix_libpath"; then
9928 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9931 rm -f core conftest.err conftest.
$ac_objext \
9932 conftest
$ac_exeext conftest.
$ac_ext
9933 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9935 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9936 # Warning - without using the other run time loading flags,
9937 # -berok will link without error, but may produce a broken library.
9938 no_undefined_flag
=' ${wl}-bernotok'
9939 allow_undefined_flag
=' ${wl}-berok'
9940 if test "$with_gnu_ld" = yes; then
9941 # We only use this code for GNU lds that support --whole-archive.
9942 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9944 # Exported symbols can be pulled into shared objects from archives
9945 whole_archive_flag_spec
='$convenience'
9947 archive_cmds_need_lc
=yes
9948 # This is similar to how AIX traditionally builds its shared libraries.
9949 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'
9957 # see comment about AmigaOS4 .so support
9958 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9959 archive_expsym_cmds
=''
9962 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)'
9963 hardcode_libdir_flag_spec
='-L$libdir'
9964 hardcode_minus_L
=yes
9970 export_dynamic_flag_spec
=-rdynamic
9973 cygwin
* | mingw
* | pw32
* | cegcc
*)
9974 # When not using gcc, we currently assume that we are using
9975 # Microsoft Visual C++.
9976 # hardcode_libdir_flag_spec is actually meaningless, as there is
9977 # no search path for DLLs.
9978 hardcode_libdir_flag_spec
=' '
9979 allow_undefined_flag
=unsupported
9980 # Tell ltmain to make .lib files, not .a files.
9982 # Tell ltmain to make .dll files, not .so files.
9984 # FIXME: Setting linknames here is a bad hack.
9985 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9986 # The linker will automatically build a .lib file if we build a DLL.
9987 old_archive_from_new_cmds
='true'
9988 # FIXME: Should let the user specify the lib program.
9989 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9990 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9991 enable_shared_with_static_runtimes
=yes
9994 darwin
* | rhapsody
*)
9997 archive_cmds_need_lc
=no
9999 hardcode_automatic
=yes
10000 hardcode_shlibpath_var
=unsupported
10001 if test "$lt_cv_ld_force_load" = "yes"; then
10002 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\"`'
10004 whole_archive_flag_spec
=''
10006 link_all_deplibs
=yes
10007 allow_undefined_flag
="$_lt_dar_allow_undefined"
10008 case $cc_basename in
10009 ifort
*) _lt_dar_can_shared
=yes ;;
10010 *) _lt_dar_can_shared
=$GCC ;;
10012 if test "$_lt_dar_can_shared" = "yes"; then
10013 output_verbose_link_cmd
=func_echo_all
10014 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10015 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10016 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}"
10017 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}"
10026 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10027 hardcode_libdir_flag_spec
='-L$libdir'
10028 hardcode_shlibpath_var
=no
10031 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10032 # support. Future versions do this automatically, but an explicit c++rt0.o
10033 # does not break anything, and helps significantly (at the cost of a little
10036 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10037 hardcode_libdir_flag_spec
='-R$libdir'
10038 hardcode_direct
=yes
10039 hardcode_shlibpath_var
=no
10042 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10044 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10045 hardcode_direct
=yes
10046 hardcode_minus_L
=yes
10047 hardcode_shlibpath_var
=no
10050 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10051 freebsd
* | dragonfly
*)
10052 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10053 hardcode_libdir_flag_spec
='-R$libdir'
10054 hardcode_direct
=yes
10055 hardcode_shlibpath_var
=no
10059 if test "$GCC" = yes; then
10060 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'
10062 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'
10064 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10065 hardcode_libdir_separator
=:
10066 hardcode_direct
=yes
10068 # hardcode_minus_L: Not really in the search PATH,
10069 # but as the default location of the library.
10070 hardcode_minus_L
=yes
10071 export_dynamic_flag_spec
='${wl}-E'
10075 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10076 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10078 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10080 if test "$with_gnu_ld" = no
; then
10081 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10082 hardcode_libdir_flag_spec_ld
='+b $libdir'
10083 hardcode_libdir_separator
=:
10084 hardcode_direct
=yes
10085 hardcode_direct_absolute
=yes
10086 export_dynamic_flag_spec
='${wl}-E'
10087 # hardcode_minus_L: Not really in the search PATH,
10088 # but as the default location of the library.
10089 hardcode_minus_L
=yes
10094 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10097 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10100 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10109 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10112 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10116 # Older versions of the 11.00 compiler do not understand -b yet
10117 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10119 $as_echo_n "checking if $CC understands -b... " >&6; }
10120 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10121 $as_echo_n "(cached) " >&6
10123 lt_cv_prog_compiler__b
=no
10124 save_LDFLAGS
="$LDFLAGS"
10125 LDFLAGS
="$LDFLAGS -b"
10126 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10127 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10128 # The linker can only warn and ignore the option if not recognized
10129 # So say no if there are warnings
10130 if test -s conftest.err
; then
10131 # Append any errors to the config.log.
10132 cat conftest.err
1>&5
10133 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10134 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10135 if diff conftest.exp conftest.er2
>/dev
/null
; then
10136 lt_cv_prog_compiler__b
=yes
10139 lt_cv_prog_compiler__b
=yes
10143 LDFLAGS
="$save_LDFLAGS"
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10147 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10149 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10150 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10152 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10158 if test "$with_gnu_ld" = no
; then
10159 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10160 hardcode_libdir_separator
=:
10165 hardcode_shlibpath_var
=no
10168 hardcode_direct
=yes
10169 hardcode_direct_absolute
=yes
10170 export_dynamic_flag_spec
='${wl}-E'
10172 # hardcode_minus_L: Not really in the search PATH,
10173 # but as the default location of the library.
10174 hardcode_minus_L
=yes
10180 irix5
* | irix6
* | nonstopux
*)
10181 if test "$GCC" = yes; then
10182 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'
10183 # Try to use the -exported_symbol ld option, if it does not
10184 # work, assume that -exports_file does not work either and
10185 # implicitly export all symbols.
10186 save_LDFLAGS
="$LDFLAGS"
10187 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10188 if test x
$gcc_no_link = xyes
; then
10189 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10195 if ac_fn_c_try_link
"$LINENO"; then :
10196 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'
10199 rm -f core conftest.err conftest.
$ac_objext \
10200 conftest
$ac_exeext conftest.
$ac_ext
10201 LDFLAGS
="$save_LDFLAGS"
10203 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'
10204 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'
10206 archive_cmds_need_lc
='no'
10207 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10208 hardcode_libdir_separator
=:
10210 link_all_deplibs
=yes
10214 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10215 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10217 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10219 hardcode_libdir_flag_spec
='-R$libdir'
10220 hardcode_direct
=yes
10221 hardcode_shlibpath_var
=no
10225 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10226 hardcode_direct
=yes
10227 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10228 hardcode_libdir_separator
=:
10229 hardcode_shlibpath_var
=no
10236 if test -f /usr
/libexec
/ld.so
; then
10237 hardcode_direct
=yes
10238 hardcode_shlibpath_var
=no
10239 hardcode_direct_absolute
=yes
10240 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10241 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10242 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10243 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10244 export_dynamic_flag_spec
='${wl}-E'
10247 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10248 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10249 hardcode_libdir_flag_spec
='-R$libdir'
10252 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10253 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10263 hardcode_libdir_flag_spec
='-L$libdir'
10264 hardcode_minus_L
=yes
10265 allow_undefined_flag
=unsupported
10266 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'
10267 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10271 if test "$GCC" = yes; then
10272 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10273 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'
10275 allow_undefined_flag
=' -expect_unresolved \*'
10276 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'
10278 archive_cmds_need_lc
='no'
10279 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10280 hardcode_libdir_separator
=:
10283 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10284 if test "$GCC" = yes; then
10285 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10286 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'
10287 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10289 allow_undefined_flag
=' -expect_unresolved \*'
10290 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'
10291 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~
10292 $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'
10294 # Both c and cxx compiler support -rpath directly
10295 hardcode_libdir_flag_spec
='-rpath $libdir'
10297 archive_cmds_need_lc
='no'
10298 hardcode_libdir_separator
=:
10302 no_undefined_flag
=' -z defs'
10303 if test "$GCC" = yes; then
10305 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10306 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10307 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10309 case `$CC -V 2>&1` in
10312 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10313 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10314 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10318 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10319 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10320 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10324 hardcode_libdir_flag_spec
='-R$libdir'
10325 hardcode_shlibpath_var
=no
10327 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10329 # The compiler driver will combine and reorder linker options,
10330 # but understands `-z linker_flag'. GCC discards it without `$wl',
10331 # but is careful enough not to reorder.
10332 # Supported since Solaris 2.6 (maybe 2.5.1?)
10333 if test "$GCC" = yes; then
10334 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10336 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10340 link_all_deplibs
=yes
10344 if test "x$host_vendor" = xsequent
; then
10345 # Use $CC to link under sequent, because it throws in some extra .o
10346 # files that make .init and .fini sections work.
10347 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10349 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10351 hardcode_libdir_flag_spec
='-L$libdir'
10352 hardcode_direct
=yes
10353 hardcode_minus_L
=yes
10354 hardcode_shlibpath_var
=no
10358 case $host_vendor in
10360 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10361 hardcode_direct
=yes # is this really true???
10364 ## LD is ld it makes a PLAMLIB
10365 ## CC just makes a GrossModule.
10366 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10367 reload_cmds
='$CC -r -o $output$reload_objs'
10371 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10372 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10375 runpath_var
='LD_RUN_PATH'
10376 hardcode_shlibpath_var
=no
10380 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10381 hardcode_shlibpath_var
=no
10382 export_dynamic_flag_spec
='-Bexport'
10386 if test -d /usr
/nec
; then
10387 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10388 hardcode_shlibpath_var
=no
10389 runpath_var
=LD_RUN_PATH
10390 hardcode_runpath_var
=yes
10395 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10396 no_undefined_flag
='${wl}-z,text'
10397 archive_cmds_need_lc
=no
10398 hardcode_shlibpath_var
=no
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'
10410 sysv5
* | sco3.2v5
* | sco5v6
*)
10411 # Note: We can NOT use -z defs as we might desire, because we do not
10412 # link with -lc, and that would cause any symbols used from libc to
10413 # always be unresolved, which means just about no library would
10414 # ever link correctly. If we're not using GNU ld we use -z text
10415 # though, which does catch some bad symbols but isn't as heavy-handed
10417 no_undefined_flag
='${wl}-z,text'
10418 allow_undefined_flag
='${wl}-z,nodefs'
10419 archive_cmds_need_lc
=no
10420 hardcode_shlibpath_var
=no
10421 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10422 hardcode_libdir_separator
=':'
10423 link_all_deplibs
=yes
10424 export_dynamic_flag_spec
='${wl}-Bexport'
10425 runpath_var
='LD_RUN_PATH'
10427 if test "$GCC" = yes; then
10428 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10429 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10431 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10432 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10437 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10438 hardcode_libdir_flag_spec
='-L$libdir'
10439 hardcode_shlibpath_var
=no
10447 if test x
$host_vendor = xsni
; then
10449 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10450 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10457 $as_echo "$ld_shlibs" >&6; }
10458 test "$ld_shlibs" = no
&& can_build_shared
=no
10460 with_gnu_ld
=$with_gnu_ld
10477 # Do we need to explicitly link libc?
10479 case "x$archive_cmds_need_lc" in
10481 # Assume -lc should be added
10482 archive_cmds_need_lc
=yes
10484 if test "$enable_shared" = yes && test "$GCC" = yes; then
10485 case $archive_cmds in
10487 # FIXME: we may have to deal with multi-command sequences.
10490 # Test whether the compiler implicitly links with -lc since on some
10491 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10492 # to ld, don't add -lc before -lgcc.
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10494 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10495 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10496 $as_echo_n "(cached) " >&6
10499 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10502 (eval $ac_compile) 2>&5
10504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10505 test $ac_status = 0; } 2>conftest.err
; then
10508 libobjs
=conftest.
$ac_objext
10510 wl
=$lt_prog_compiler_wl
10511 pic_flag
=$lt_prog_compiler_pic
10517 lt_save_allow_undefined_flag
=$allow_undefined_flag
10518 allow_undefined_flag
=
10519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10520 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10523 test $ac_status = 0; }
10525 lt_cv_archive_cmds_need_lc
=no
10527 lt_cv_archive_cmds_need_lc
=yes
10529 allow_undefined_flag
=$lt_save_allow_undefined_flag
10531 cat conftest.err
1>&5
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10537 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10538 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10702 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10704 if test "$GCC" = yes; then
10706 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10707 *) lt_awk_arg
="/^libraries:/" ;;
10710 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10711 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10713 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10714 case $lt_search_path_spec in
10716 # if the path contains ";" then we assume it to be the separator
10717 # otherwise default to the standard path separator (i.e. ":") - it is
10718 # assumed that no part of a normal pathname contains ";" but that should
10719 # okay in the real world where ";" in dirpaths is itself problematic.
10720 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10723 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10726 # Ok, now we have the path, separated by spaces, we can step through it
10727 # and add multilib dir if necessary.
10728 lt_tmp_lt_search_path_spec
=
10729 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10730 for lt_sys_path
in $lt_search_path_spec; do
10731 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10732 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10734 test -d "$lt_sys_path" && \
10735 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10738 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10739 BEGIN {RS=" "; FS="/|\n";} {
10742 for (lt_i = NF; lt_i > 0; lt_i--) {
10743 if ($lt_i != "" && $lt_i != ".") {
10744 if ($lt_i == "..") {
10747 if (lt_count == 0) {
10748 lt_foo="/" $lt_i lt_foo;
10755 if (lt_foo != "") { lt_freq[lt_foo]++; }
10756 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10758 # AWK program above erroneously prepends '/' to C:/dos/paths
10761 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10762 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10764 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10766 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10768 library_names_spec
=
10769 libname_spec
='lib$name'
10773 postuninstall_cmds
=
10777 shlibpath_overrides_runpath
=unknown
10779 dynamic_linker
="$host_os ld.so"
10780 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10781 need_lib_prefix
=unknown
10782 hardcode_into_libs
=no
10784 # when you set need_version to no, make sure it does not cause -set_version
10785 # flags to be left without arguments
10786 need_version
=unknown
10791 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10792 shlibpath_var
=LIBPATH
10794 # AIX 3 has no versioning support, so we append a major version to the name.
10795 soname_spec
='${libname}${release}${shared_ext}$major'
10802 hardcode_into_libs
=yes
10803 if test "$host_cpu" = ia64
; then
10804 # AIX 5 supports IA64
10805 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10806 shlibpath_var
=LD_LIBRARY_PATH
10808 # With GCC up to 2.95.x, collect2 would create an import file
10809 # for dependence libraries. The import file would start with
10810 # the line `#! .'. This would cause the generated library to
10811 # depend on `.', always an invalid library. This was fixed in
10812 # development snapshots of GCC prior to 3.0.
10814 aix4 | aix4.
[01] | aix4.
[01].
*)
10815 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10817 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10820 can_build_shared
=no
10824 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10825 # soname into executable. Probably we can add versioning support to
10826 # collect2, so additional links can be useful in future.
10827 if test "$aix_use_runtimelinking" = yes; then
10828 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10829 # instead of lib<name>.a to let people know that these are not
10830 # typical AIX shared libraries.
10831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10833 # We preserve .a as extension for shared libraries through AIX4.2
10834 # and later when we are not doing run time linking.
10835 library_names_spec
='${libname}${release}.a $libname.a'
10836 soname_spec
='${libname}${release}${shared_ext}$major'
10838 shlibpath_var
=LIBPATH
10845 # Since July 2007 AmigaOS4 officially supports .so libraries.
10846 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10850 library_names_spec
='$libname.ixlibrary $libname.a'
10851 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10852 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'
10858 library_names_spec
='${libname}${shared_ext}'
10859 dynamic_linker
="$host_os ld.so"
10860 shlibpath_var
=LIBRARY_PATH
10866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867 soname_spec
='${libname}${release}${shared_ext}$major'
10868 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10869 shlibpath_var
=LD_LIBRARY_PATH
10870 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10871 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10872 # the default ld.so.conf also contains /usr/contrib/lib and
10873 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10874 # libtool to hard-code these into programs
10877 cygwin
* | mingw
* | pw32
* | cegcc
*)
10878 version_type
=windows
10883 case $GCC,$host_os in
10884 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10885 library_names_spec
='$libname.dll.a'
10886 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10887 postinstall_cmds
='base_file=`basename \${file}`~
10888 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10889 dldir=$destdir/`dirname \$dlpath`~
10890 test -d \$dldir || mkdir -p \$dldir~
10891 $install_prog $dir/$dlname \$dldir/$dlname~
10892 chmod a+x \$dldir/$dlname~
10893 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10894 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10896 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10897 dlpath=$dir/\$dldll~
10899 shlibpath_overrides_runpath
=yes
10903 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10904 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10906 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10909 # MinGW DLLs use traditional 'lib' prefix
10910 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10913 # pw32 DLLs use 'pw' prefix rather than 'lib'
10914 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10920 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10923 dynamic_linker
='Win32 ld.exe'
10924 # FIXME: first we should search . and the directory the executable is in
10928 darwin
* | rhapsody
*)
10929 dynamic_linker
="$host_os dyld"
10930 version_type
=darwin
10933 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10934 soname_spec
='${libname}${release}${major}$shared_ext'
10935 shlibpath_overrides_runpath
=yes
10936 shlibpath_var
=DYLD_LIBRARY_PATH
10937 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10939 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10940 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10948 soname_spec
='${libname}${release}${shared_ext}$major'
10949 shlibpath_var
=LD_LIBRARY_PATH
10952 freebsd
* | dragonfly
*)
10953 # DragonFly does not have aout. When/if they implement a new
10954 # versioning mechanism, adjust this.
10955 if test -x /usr
/bin
/objformat
; then
10956 objformat
=`/usr/bin/objformat`
10959 freebsd
[23].
*) objformat
=aout
;;
10960 *) objformat
=elf
;;
10963 version_type
=freebsd-
$objformat
10964 case $version_type in
10966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10971 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10975 shlibpath_var
=LD_LIBRARY_PATH
10978 shlibpath_overrides_runpath
=yes
10980 freebsd3.
[01]* | freebsdelf3.
[01]*)
10981 shlibpath_overrides_runpath
=yes
10982 hardcode_into_libs
=yes
10984 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10985 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10986 shlibpath_overrides_runpath
=no
10987 hardcode_into_libs
=yes
10989 *) # from 4.6 on, and DragonFly
10990 shlibpath_overrides_runpath
=yes
10991 hardcode_into_libs
=yes
11000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11001 soname_spec
='${libname}${release}${shared_ext}$major'
11002 shlibpath_var
=LD_LIBRARY_PATH
11003 hardcode_into_libs
=yes
11010 dynamic_linker
="$host_os runtime_loader"
11011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11012 soname_spec
='${libname}${release}${shared_ext}$major'
11013 shlibpath_var
=LIBRARY_PATH
11014 shlibpath_overrides_runpath
=yes
11015 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11016 hardcode_into_libs
=yes
11019 hpux9
* | hpux10
* | hpux11
*)
11020 # Give a soname corresponding to the major version so that dld.sl refuses to
11021 # link against other versions.
11028 hardcode_into_libs
=yes
11029 dynamic_linker
="$host_os dld.so"
11030 shlibpath_var
=LD_LIBRARY_PATH
11031 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11033 soname_spec
='${libname}${release}${shared_ext}$major'
11034 if test "X$HPUX_IA64_MODE" = X32
; then
11035 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11037 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11039 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11043 hardcode_into_libs
=yes
11044 dynamic_linker
="$host_os dld.sl"
11045 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11046 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 soname_spec
='${libname}${release}${shared_ext}$major'
11049 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11050 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11054 dynamic_linker
="$host_os dld.sl"
11055 shlibpath_var
=SHLIB_PATH
11056 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11058 soname_spec
='${libname}${release}${shared_ext}$major'
11061 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11062 postinstall_cmds
='chmod 555 $lib'
11063 # or fails outright, so override atomically:
11064 install_override_mode
=555
11071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11072 soname_spec
='${libname}${release}${shared_ext}$major'
11073 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11074 shlibpath_var
=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath
=no
11076 hardcode_into_libs
=yes
11079 irix5
* | irix6
* | nonstopux
*)
11081 nonstopux
*) version_type
=nonstopux
;;
11083 if test "$lt_cv_prog_gnu_ld" = yes; then
11091 soname_spec
='${libname}${release}${shared_ext}$major'
11092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11094 irix5
* | nonstopux
*)
11095 libsuff
= shlibsuff
=
11098 case $LD in # libtool.m4 will add one of these switches to LD
11099 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11100 libsuff
= shlibsuff
= libmagic
=32-bit;;
11101 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11102 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11103 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11104 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11105 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11109 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11110 shlibpath_overrides_runpath
=no
11111 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11112 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11113 hardcode_into_libs
=yes
11116 # No shared lib support for Linux oldld, aout, or coff.
11117 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11121 # This must be Linux ELF.
11122 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11127 soname_spec
='${libname}${release}${shared_ext}$major'
11128 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11129 shlibpath_var
=LD_LIBRARY_PATH
11130 shlibpath_overrides_runpath
=no
11132 # Some binutils ld are patched to set DT_RUNPATH
11133 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11134 $as_echo_n "(cached) " >&6
11136 lt_cv_shlibpath_overrides_runpath
=no
11137 save_LDFLAGS
=$LDFLAGS
11138 save_libdir
=$libdir
11139 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11140 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11141 if test x
$gcc_no_link = xyes
; then
11142 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11155 if ac_fn_c_try_link
"$LINENO"; then :
11156 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11157 lt_cv_shlibpath_overrides_runpath
=yes
11160 rm -f core conftest.err conftest.
$ac_objext \
11161 conftest
$ac_exeext conftest.
$ac_ext
11162 LDFLAGS
=$save_LDFLAGS
11163 libdir
=$save_libdir
11167 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11169 # This implies no fast_install, which is unacceptable.
11170 # Some rework will be needed to allow for fast_install
11171 # before this can be enabled.
11172 hardcode_into_libs
=yes
11174 # Append ld.so.conf contents to the search path
11175 if test -f /etc
/ld.so.conf
; then
11176 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' ' '`
11177 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11180 # We used to test for /lib/ld.so.1 and disable shared libraries on
11181 # powerpc, because MkLinux only supported shared libraries with the
11182 # GNU dynamic linker. Since this was broken with cross compilers,
11183 # most powerpc-linux boxes support dynamic linking these days and
11184 # people can always --disable-shared, the test was removed, and we
11185 # assume the GNU/Linux dynamic linker is in use.
11186 dynamic_linker
='GNU/Linux ld.so'
11193 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11195 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11196 dynamic_linker
='NetBSD (a.out) ld.so'
11198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11199 soname_spec
='${libname}${release}${shared_ext}$major'
11200 dynamic_linker
='NetBSD ld.elf_so'
11202 shlibpath_var
=LD_LIBRARY_PATH
11203 shlibpath_overrides_runpath
=yes
11204 hardcode_into_libs
=yes
11209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11210 shlibpath_var
=LD_LIBRARY_PATH
11211 shlibpath_overrides_runpath
=yes
11218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11219 soname_spec
='${libname}${release}${shared_ext}$major'
11220 shlibpath_var
=LD_LIBRARY_PATH
11221 shlibpath_overrides_runpath
=no
11222 hardcode_into_libs
=yes
11223 dynamic_linker
='ldqnx.so'
11228 sys_lib_dlsearch_path_spec
="/usr/lib"
11230 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11232 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11233 *) need_version
=no
;;
11235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11236 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11237 shlibpath_var
=LD_LIBRARY_PATH
11238 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11240 openbsd2.
[89] | openbsd2.
[89].
*)
11241 shlibpath_overrides_runpath
=no
11244 shlibpath_overrides_runpath
=yes
11248 shlibpath_overrides_runpath
=yes
11253 libname_spec
='$name'
11256 library_names_spec
='$libname${shared_ext} $libname.a'
11257 dynamic_linker
='OS/2 ld.exe'
11258 shlibpath_var
=LIBPATH
11261 osf3
* | osf4
* | osf5
*)
11265 soname_spec
='${libname}${release}${shared_ext}$major'
11266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11267 shlibpath_var
=LD_LIBRARY_PATH
11268 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11269 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11281 soname_spec
='${libname}${release}${shared_ext}$major'
11282 shlibpath_var
=LD_LIBRARY_PATH
11283 shlibpath_overrides_runpath
=yes
11284 hardcode_into_libs
=yes
11285 # ldd complains unless libraries are executable
11286 postinstall_cmds
='chmod +x $lib'
11291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11292 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11293 shlibpath_var
=LD_LIBRARY_PATH
11294 shlibpath_overrides_runpath
=yes
11295 if test "$with_gnu_ld" = yes; then
11303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11304 soname_spec
='${libname}${release}${shared_ext}$major'
11305 shlibpath_var
=LD_LIBRARY_PATH
11306 case $host_vendor in
11308 shlibpath_overrides_runpath
=no
11310 runpath_var
=LD_RUN_PATH
11318 shlibpath_overrides_runpath
=no
11319 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11325 if test -d /usr
/nec
;then
11327 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11328 soname_spec
='$libname${shared_ext}.$major'
11329 shlibpath_var
=LD_LIBRARY_PATH
11333 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11334 version_type
=freebsd-elf
11337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11338 soname_spec
='${libname}${release}${shared_ext}$major'
11339 shlibpath_var
=LD_LIBRARY_PATH
11340 shlibpath_overrides_runpath
=yes
11341 hardcode_into_libs
=yes
11342 if test "$with_gnu_ld" = yes; then
11343 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11345 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11348 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11352 sys_lib_dlsearch_path_spec
='/usr/lib'
11356 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11361 shlibpath_var
=LD_LIBRARY_PATH
11362 shlibpath_overrides_runpath
=no
11363 hardcode_into_libs
=yes
11368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11369 soname_spec
='${libname}${release}${shared_ext}$major'
11370 shlibpath_var
=LD_LIBRARY_PATH
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11378 $as_echo "$dynamic_linker" >&6; }
11379 test "$dynamic_linker" = no
&& can_build_shared
=no
11381 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11382 if test "$GCC" = yes; then
11383 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11386 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11387 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11389 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11390 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11485 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11487 if test -n "$hardcode_libdir_flag_spec" ||
11488 test -n "$runpath_var" ||
11489 test "X$hardcode_automatic" = "Xyes" ; then
11491 # We can hardcode non-existent directories.
11492 if test "$hardcode_direct" != no
&&
11493 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11494 # have to relink, otherwise we might link with an installed library
11495 # when we should be linking with a yet-to-be-installed one
11496 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11497 test "$hardcode_minus_L" != no
; then
11498 # Linking always hardcodes the temporary library directory.
11499 hardcode_action
=relink
11501 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11502 hardcode_action
=immediate
11505 # We cannot hardcode anything, or else we can only hardcode existing
11507 hardcode_action
=unsupported
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11510 $as_echo "$hardcode_action" >&6; }
11512 if test "$hardcode_action" = relink ||
11513 test "$inherit_rpath" = yes; then
11514 # Fast installation is not supported
11515 enable_fast_install
=no
11516 elif test "$shlibpath_overrides_runpath" = yes ||
11517 test "$enable_shared" = no
; then
11518 # Fast installation is not necessary
11519 enable_fast_install
=needless
11527 if test "x$enable_dlopen" != xyes
; then
11528 enable_dlopen
=unknown
11529 enable_dlopen_self
=unknown
11530 enable_dlopen_self_static
=unknown
11537 lt_cv_dlopen
="load_add_on"
11539 lt_cv_dlopen_self
=yes
11542 mingw
* | pw32
* | cegcc
*)
11543 lt_cv_dlopen
="LoadLibrary"
11548 lt_cv_dlopen
="dlopen"
11553 # if libdl is installed we need to link against it
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11555 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11556 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11557 $as_echo_n "(cached) " >&6
11559 ac_check_lib_save_LIBS
=$LIBS
11561 if test x
$gcc_no_link = xyes
; then
11562 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11567 /* Override any GCC internal prototype to avoid an error.
11568 Use char because int might match the return type of a GCC
11569 builtin and then its argument prototype would still apply. */
11582 if ac_fn_c_try_link
"$LINENO"; then :
11583 ac_cv_lib_dl_dlopen
=yes
11585 ac_cv_lib_dl_dlopen
=no
11587 rm -f core conftest.err conftest.
$ac_objext \
11588 conftest
$ac_exeext conftest.
$ac_ext
11589 LIBS
=$ac_check_lib_save_LIBS
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11592 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11593 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11594 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11597 lt_cv_dlopen
="dyld"
11599 lt_cv_dlopen_self
=yes
11606 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11607 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11608 lt_cv_dlopen
="shl_load"
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11611 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11612 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11613 $as_echo_n "(cached) " >&6
11615 ac_check_lib_save_LIBS
=$LIBS
11617 if test x
$gcc_no_link = xyes
; then
11618 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11633 return shl_load ();
11638 if ac_fn_c_try_link
"$LINENO"; then :
11639 ac_cv_lib_dld_shl_load
=yes
11641 ac_cv_lib_dld_shl_load
=no
11643 rm -f core conftest.err conftest.
$ac_objext \
11644 conftest
$ac_exeext conftest.
$ac_ext
11645 LIBS
=$ac_check_lib_save_LIBS
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11648 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11649 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11650 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11652 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11653 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11654 lt_cv_dlopen
="dlopen"
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11657 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11658 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11659 $as_echo_n "(cached) " >&6
11661 ac_check_lib_save_LIBS
=$LIBS
11663 if test x
$gcc_no_link = xyes
; then
11664 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11669 /* Override any GCC internal prototype to avoid an error.
11670 Use char because int might match the return type of a GCC
11671 builtin and then its argument prototype would still apply. */
11684 if ac_fn_c_try_link
"$LINENO"; then :
11685 ac_cv_lib_dl_dlopen
=yes
11687 ac_cv_lib_dl_dlopen
=no
11689 rm -f core conftest.err conftest.
$ac_objext \
11690 conftest
$ac_exeext conftest.
$ac_ext
11691 LIBS
=$ac_check_lib_save_LIBS
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11694 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11695 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11696 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11699 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11700 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11701 $as_echo_n "(cached) " >&6
11703 ac_check_lib_save_LIBS
=$LIBS
11704 LIBS
="-lsvld $LIBS"
11705 if test x
$gcc_no_link = xyes
; then
11706 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h. */
11711 /* Override any GCC internal prototype to avoid an error.
11712 Use char because int might match the return type of a GCC
11713 builtin and then its argument prototype would still apply. */
11726 if ac_fn_c_try_link
"$LINENO"; then :
11727 ac_cv_lib_svld_dlopen
=yes
11729 ac_cv_lib_svld_dlopen
=no
11731 rm -f core conftest.err conftest.
$ac_objext \
11732 conftest
$ac_exeext conftest.
$ac_ext
11733 LIBS
=$ac_check_lib_save_LIBS
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11736 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11737 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11738 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11741 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11742 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11743 $as_echo_n "(cached) " >&6
11745 ac_check_lib_save_LIBS
=$LIBS
11747 if test x
$gcc_no_link = xyes
; then
11748 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11753 /* Override any GCC internal prototype to avoid an error.
11754 Use char because int might match the return type of a GCC
11755 builtin and then its argument prototype would still apply. */
11763 return dld_link ();
11768 if ac_fn_c_try_link
"$LINENO"; then :
11769 ac_cv_lib_dld_dld_link
=yes
11771 ac_cv_lib_dld_dld_link
=no
11773 rm -f core conftest.err conftest.
$ac_objext \
11774 conftest
$ac_exeext conftest.
$ac_ext
11775 LIBS
=$ac_check_lib_save_LIBS
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11778 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11779 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11780 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11801 if test "x$lt_cv_dlopen" != xno
; then
11807 case $lt_cv_dlopen in
11809 save_CPPFLAGS
="$CPPFLAGS"
11810 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11812 save_LDFLAGS
="$LDFLAGS"
11813 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11816 LIBS
="$lt_cv_dlopen_libs $LIBS"
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11819 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11820 if test "${lt_cv_dlopen_self+set}" = set; then :
11821 $as_echo_n "(cached) " >&6
11823 if test "$cross_compiling" = yes; then :
11824 lt_cv_dlopen_self
=cross
11826 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11827 lt_status
=$lt_dlunknown
11828 cat > conftest.
$ac_ext <<_LT_EOF
11829 #line 11829 "configure"
11830 #include "confdefs.h"
11839 # define LT_DLGLOBAL RTLD_GLOBAL
11842 # define LT_DLGLOBAL DL_GLOBAL
11844 # define LT_DLGLOBAL 0
11848 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11849 find out it does not work in some platform. */
11850 #ifndef LT_DLLAZY_OR_NOW
11852 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11855 # define LT_DLLAZY_OR_NOW DL_LAZY
11858 # define LT_DLLAZY_OR_NOW RTLD_NOW
11861 # define LT_DLLAZY_OR_NOW DL_NOW
11863 # define LT_DLLAZY_OR_NOW 0
11870 /* When -fvisbility=hidden is used, assume the code has been annotated
11871 correspondingly for the symbols needed. */
11872 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11873 void fnord () __attribute__((visibility("default")));
11876 void fnord () { int i=42; }
11879 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11880 int status = $lt_dlunknown;
11884 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11887 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11888 else puts (dlerror ());
11890 /* dlclose (self); */
11898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11899 (eval $ac_link) 2>&5
11901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11902 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11903 (.
/conftest
; exit; ) >&5 2>/dev
/null
11905 case x
$lt_status in
11906 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11907 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11908 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11911 # compilation failed
11912 lt_cv_dlopen_self
=no
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11920 $as_echo "$lt_cv_dlopen_self" >&6; }
11922 if test "x$lt_cv_dlopen_self" = xyes
; then
11923 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11925 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11926 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11927 $as_echo_n "(cached) " >&6
11929 if test "$cross_compiling" = yes; then :
11930 lt_cv_dlopen_self_static
=cross
11932 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11933 lt_status
=$lt_dlunknown
11934 cat > conftest.
$ac_ext <<_LT_EOF
11935 #line 11935 "configure"
11936 #include "confdefs.h"
11945 # define LT_DLGLOBAL RTLD_GLOBAL
11948 # define LT_DLGLOBAL DL_GLOBAL
11950 # define LT_DLGLOBAL 0
11954 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11955 find out it does not work in some platform. */
11956 #ifndef LT_DLLAZY_OR_NOW
11958 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11961 # define LT_DLLAZY_OR_NOW DL_LAZY
11964 # define LT_DLLAZY_OR_NOW RTLD_NOW
11967 # define LT_DLLAZY_OR_NOW DL_NOW
11969 # define LT_DLLAZY_OR_NOW 0
11976 /* When -fvisbility=hidden is used, assume the code has been annotated
11977 correspondingly for the symbols needed. */
11978 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11979 void fnord () __attribute__((visibility("default")));
11982 void fnord () { int i=42; }
11985 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11986 int status = $lt_dlunknown;
11990 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11993 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11994 else puts (dlerror ());
11996 /* dlclose (self); */
12004 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12005 (eval $ac_link) 2>&5
12007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12008 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12009 (.
/conftest
; exit; ) >&5 2>/dev
/null
12011 case x
$lt_status in
12012 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12013 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12014 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12017 # compilation failed
12018 lt_cv_dlopen_self_static
=no
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12026 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12029 CPPFLAGS
="$save_CPPFLAGS"
12030 LDFLAGS
="$save_LDFLAGS"
12035 case $lt_cv_dlopen_self in
12036 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12037 *) enable_dlopen_self
=unknown
;;
12040 case $lt_cv_dlopen_self_static in
12041 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12042 *) enable_dlopen_self_static
=unknown
;;
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12065 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12066 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12067 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12068 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12070 $as_echo "yes" >&6; }
12072 # FIXME - insert some real tests, host_os isn't really good enough
12075 if test -n "$STRIP" ; then
12076 striplib
="$STRIP -x"
12077 old_striplib
="$STRIP -S"
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12079 $as_echo "yes" >&6; }
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12082 $as_echo "no" >&6; }
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12087 $as_echo "no" >&6; }
12103 # Report which library types will actually be built
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12105 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12107 $as_echo "$can_build_shared" >&6; }
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12110 $as_echo_n "checking whether to build shared libraries... " >&6; }
12111 test "$can_build_shared" = "no" && enable_shared
=no
12113 # On AIX, shared libraries and static libraries use the same namespace, and
12114 # are all built from PIC.
12117 test "$enable_shared" = yes && enable_static
=no
12118 if test -n "$RANLIB"; then
12119 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12120 postinstall_cmds
='$RANLIB $lib'
12125 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12126 test "$enable_shared" = yes && enable_static
=no
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12131 $as_echo "$enable_shared" >&6; }
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12134 $as_echo_n "checking whether to build static libraries... " >&6; }
12135 # Make sure either enable_shared or enable_static is yes.
12136 test "$enable_shared" = yes || enable_static
=yes
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12138 $as_echo "$enable_static" >&6; }
12145 ac_cpp
='$CPP $CPPFLAGS'
12146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12164 ac_config_commands
="$ac_config_commands libtool"
12169 # Only expand once:
12172 for ac_prog
in gawk mawk nawk
awk
12174 # Extract the first word of "$ac_prog", so it can be a program name with args.
12175 set dummy
$ac_prog; ac_word
=$2
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12177 $as_echo_n "checking for $ac_word... " >&6; }
12178 if test "${ac_cv_prog_AWK+set}" = set; then :
12179 $as_echo_n "(cached) " >&6
12181 if test -n "$AWK"; then
12182 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
12184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12185 for as_dir
in $PATH
12188 test -z "$as_dir" && as_dir
=.
12189 for ac_exec_ext
in '' $ac_executable_extensions; do
12190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12191 ac_cv_prog_AWK
="$ac_prog"
12192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12201 AWK
=$ac_cv_prog_AWK
12202 if test -n "$AWK"; then
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
12204 $as_echo "$AWK" >&6; }
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12207 $as_echo "no" >&6; }
12211 test -n "$AWK" && break
12215 ac_cpp
='$CPP $CPPFLAGS'
12216 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12217 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12218 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12219 if test -n "$ac_tool_prefix"; then
12220 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12221 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12223 $as_echo_n "checking for $ac_word... " >&6; }
12224 if test "${ac_cv_prog_CC+set}" = set; then :
12225 $as_echo_n "(cached) " >&6
12227 if test -n "$CC"; then
12228 ac_cv_prog_CC
="$CC" # Let the user override the test.
12230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12231 for as_dir
in $PATH
12234 test -z "$as_dir" && as_dir
=.
12235 for ac_exec_ext
in '' $ac_executable_extensions; do
12236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12237 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12248 if test -n "$CC"; then
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12250 $as_echo "$CC" >&6; }
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12253 $as_echo "no" >&6; }
12258 if test -z "$ac_cv_prog_CC"; then
12260 # Extract the first word of "gcc", so it can be a program name with args.
12261 set dummy gcc
; ac_word
=$2
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12263 $as_echo_n "checking for $ac_word... " >&6; }
12264 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12265 $as_echo_n "(cached) " >&6
12267 if test -n "$ac_ct_CC"; then
12268 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12271 for as_dir
in $PATH
12274 test -z "$as_dir" && as_dir
=.
12275 for ac_exec_ext
in '' $ac_executable_extensions; do
12276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12277 ac_cv_prog_ac_ct_CC
="gcc"
12278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12287 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12288 if test -n "$ac_ct_CC"; then
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12290 $as_echo "$ac_ct_CC" >&6; }
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12293 $as_echo "no" >&6; }
12296 if test "x$ac_ct_CC" = x
; then
12299 case $cross_compiling:$ac_tool_warned in
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12303 ac_tool_warned
=yes ;;
12308 CC
="$ac_cv_prog_CC"
12311 if test -z "$CC"; then
12312 if test -n "$ac_tool_prefix"; then
12313 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12314 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12316 $as_echo_n "checking for $ac_word... " >&6; }
12317 if test "${ac_cv_prog_CC+set}" = set; then :
12318 $as_echo_n "(cached) " >&6
12320 if test -n "$CC"; then
12321 ac_cv_prog_CC
="$CC" # Let the user override the test.
12323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12324 for as_dir
in $PATH
12327 test -z "$as_dir" && as_dir
=.
12328 for ac_exec_ext
in '' $ac_executable_extensions; do
12329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12330 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12341 if test -n "$CC"; then
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12343 $as_echo "$CC" >&6; }
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12352 if test -z "$CC"; then
12353 # Extract the first word of "cc", so it can be a program name with args.
12354 set dummy cc
; ac_word
=$2
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12356 $as_echo_n "checking for $ac_word... " >&6; }
12357 if test "${ac_cv_prog_CC+set}" = set; then :
12358 $as_echo_n "(cached) " >&6
12360 if test -n "$CC"; then
12361 ac_cv_prog_CC
="$CC" # Let the user override the test.
12363 ac_prog_rejected
=no
12364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12365 for as_dir
in $PATH
12368 test -z "$as_dir" && as_dir
=.
12369 for ac_exec_ext
in '' $ac_executable_extensions; do
12370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12371 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12372 ac_prog_rejected
=yes
12376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12383 if test $ac_prog_rejected = yes; then
12384 # We found a bogon in the path, so make sure we never use it.
12385 set dummy
$ac_cv_prog_CC
12387 if test $# != 0; then
12388 # We chose a different compiler from the bogus one.
12389 # However, it has the same basename, so the bogon will be chosen
12390 # first if we set CC to just the basename; use the full file name.
12392 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12398 if test -n "$CC"; then
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12400 $as_echo "$CC" >&6; }
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12403 $as_echo "no" >&6; }
12408 if test -z "$CC"; then
12409 if test -n "$ac_tool_prefix"; then
12410 for ac_prog
in cl.exe
12412 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12413 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12415 $as_echo_n "checking for $ac_word... " >&6; }
12416 if test "${ac_cv_prog_CC+set}" = set; then :
12417 $as_echo_n "(cached) " >&6
12419 if test -n "$CC"; then
12420 ac_cv_prog_CC
="$CC" # Let the user override the test.
12422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12423 for as_dir
in $PATH
12426 test -z "$as_dir" && as_dir
=.
12427 for ac_exec_ext
in '' $ac_executable_extensions; do
12428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12429 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12440 if test -n "$CC"; then
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12442 $as_echo "$CC" >&6; }
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12445 $as_echo "no" >&6; }
12449 test -n "$CC" && break
12452 if test -z "$CC"; then
12454 for ac_prog
in cl.exe
12456 # Extract the first word of "$ac_prog", so it can be a program name with args.
12457 set dummy
$ac_prog; ac_word
=$2
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12459 $as_echo_n "checking for $ac_word... " >&6; }
12460 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12461 $as_echo_n "(cached) " >&6
12463 if test -n "$ac_ct_CC"; then
12464 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12467 for as_dir
in $PATH
12470 test -z "$as_dir" && as_dir
=.
12471 for ac_exec_ext
in '' $ac_executable_extensions; do
12472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12473 ac_cv_prog_ac_ct_CC
="$ac_prog"
12474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12483 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12484 if test -n "$ac_ct_CC"; then
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12486 $as_echo "$ac_ct_CC" >&6; }
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12489 $as_echo "no" >&6; }
12493 test -n "$ac_ct_CC" && break
12496 if test "x$ac_ct_CC" = x
; then
12499 case $cross_compiling:$ac_tool_warned in
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12503 ac_tool_warned
=yes ;;
12512 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12514 as_fn_error
"no acceptable C compiler found in \$PATH
12515 See \`config.log' for more details." "$LINENO" 5; }
12517 # Provide some information about the compiler.
12518 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12521 for ac_option
in --version -v -V -qversion; do
12522 { { ac_try
="$ac_compiler $ac_option >&5"
12523 case "(($ac_try" in
12524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12525 *) ac_try_echo=$ac_try;;
12527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12528 $as_echo "$ac_try_echo"; } >&5
12529 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12531 if test -s conftest.err; then
12533 ... rest of stderr output deleted ...
12534 10q' conftest.err >conftest.er1
12535 cat conftest.er1 >&5
12536 rm -f conftest.er1 conftest.err
12538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12539 test $ac_status = 0; }
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12543 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12544 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12545 $as_echo_n "(cached) " >&6
12547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12548 /* end confdefs.h. */
12561 if ac_fn_c_try_compile "$LINENO"; then :
12562 ac_compiler_gnu=yes
12566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12567 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12571 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12572 if test $ac_compiler_gnu = yes; then
12577 ac_test_CFLAGS=${CFLAGS+set}
12578 ac_save_CFLAGS=$CFLAGS
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12580 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12581 if test "${ac_cv_prog_cc_g+set}" = set; then :
12582 $as_echo_n "(cached) " >&6
12584 ac_save_c_werror_flag=$ac_c_werror_flag
12585 ac_c_werror_flag=yes
12588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12599 if ac_fn_c_try_compile "$LINENO"; then :
12600 ac_cv_prog_cc_g=yes
12603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12614 if ac_fn_c_try_compile "$LINENO"; then :
12617 ac_c_werror_flag=$ac_save_c_werror_flag
12619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12620 /* end confdefs.h. */
12630 if ac_fn_c_try_compile "$LINENO"; then :
12631 ac_cv_prog_cc_g=yes
12633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12638 ac_c_werror_flag=$ac_save_c_werror_flag
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12641 $as_echo "$ac_cv_prog_cc_g" >&6; }
12642 if test "$ac_test_CFLAGS" = set; then
12643 CFLAGS=$ac_save_CFLAGS
12644 elif test $ac_cv_prog_cc_g = yes; then
12645 if test "$GCC" = yes; then
12651 if test "$GCC" = yes; then
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12658 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12659 if test "${ac_cv_prog_cc_c89+set}" = set; then :
12660 $as_echo_n "(cached) " >&6
12662 ac_cv_prog_cc_c89=no
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12666 #include <stdarg.h>
12668 #include <sys/types.h>
12669 #include <sys/stat.h>
12670 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12671 struct buf { int x; };
12672 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12673 static char *e (p, i)
12679 static char *f (char * (*g) (char **, int), char **p, ...)
12684 s = g (p, va_arg (v,int));
12689 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12690 function prototypes and stuff, but not '\xHH' hex character constants.
12691 These don't provoke an error unfortunately, instead are silently treated
12692 as 'x'. The following induces an error, until -std is added to get
12693 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12694 array size at least. It's necessary to write '\x00'==0 to get something
12695 that's true only with -std. */
12696 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12698 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12699 inside strings and character constants. */
12701 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12703 int test (int i, double x);
12704 struct s1 {int (*f) (int a);};
12705 struct s2 {int (*f) (double a);};
12706 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12712 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12717 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12718 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12720 CC="$ac_save_CC $ac_arg"
12721 if ac_fn_c_try_compile "$LINENO"; then :
12722 ac_cv_prog_cc_c89=$ac_arg
12724 rm -f core conftest.err conftest.$ac_objext
12725 test "x$ac_cv_prog_cc_c89" != "xno" && break
12727 rm -f conftest.$ac_ext
12732 case "x$ac_cv_prog_cc_c89" in
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12735 $as_echo "none needed" >&6; } ;;
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12738 $as_echo "unsupported" >&6; } ;;
12740 CC="$CC $ac_cv_prog_cc_c89"
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12742 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12744 if test "x$ac_cv_prog_cc_c89" != xno; then :
12749 ac_cpp='$CPP $CPPFLAGS'
12750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12754 depcc="$CC" am_compiler_list=
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12757 $as_echo_n "checking dependency style of $depcc... " >&6; }
12758 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12759 $as_echo_n "(cached) " >&6
12761 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12762 # We make a subdir and do the tests there. Otherwise we can end up
12763 # making bogus files that we don't know about and never remove. For
12764 # instance it was reported that on HP-UX the gcc test will end up
12765 # making a dummy file named `D
' -- because `-MD' means
`put the output
12768 # Copy depcomp to subdir because otherwise we won't find it if we're
12769 # using a relative directory.
12770 cp "$am_depcomp" conftest.dir
12772 # We will build objects and dependencies in a subdirectory because
12773 # it helps to detect inapplicable dependency modes. For instance
12774 # both Tru64's cc and ICC support -MD to output dependencies as a
12775 # side effect of compilation, but ICC will put the dependencies in
12776 # the current directory while Tru64 will put them in the object
12780 am_cv_CC_dependencies_compiler_type=none
12781 if test "$am_compiler_list" = ""; then
12782 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
12784 am__universal=false
12785 case " $depcc " in #(
12786 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12789 for depmode in $am_compiler_list; do
12790 # Setup a source with many dependencies, because some compilers
12791 # like to wrap large dependency lists on column 80 (with \), and
12792 # we should not choose a depcomp mode which is confused by this.
12794 # We need to recreate these files for each test, as the compiler may
12795 # overwrite some of them when testing with obscure command lines.
12796 # This happens at least with the AIX C compiler.
12798 for i in 1 2 3 4 5 6; do
12799 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12800 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
12801 # Solaris 8's
{/usr
,}/bin
/sh.
12802 touch sub
/conftst
$i.h
12804 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12806 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12807 # mode. It turns out that the SunPro C++ compiler does not properly
12808 # handle `-M -o', and we need to detect this. Also, some Intel
12809 # versions had trouble with output in subdirs
12810 am__obj
=sub
/conftest.
${OBJEXT-o}
12811 am__minus_obj
="-o $am__obj"
12814 # This depmode causes a compiler race in universal mode.
12815 test "$am__universal" = false ||
continue
12818 # after this tag, mechanisms are not by side-effect, so they'll
12819 # only be used when explicitly requested
12820 if test "x$enable_dependency_tracking" = xyes
; then
12826 msvisualcpp | msvcmsys
)
12827 # This compiler won't grok `-c -o', but also, the minuso test has
12828 # not run yet. These depmodes are late enough in the game, and
12829 # so weak that their functioning should not be impacted.
12830 am__obj
=conftest.
${OBJEXT-o}
12835 if depmode
=$depmode \
12836 source=sub
/conftest.c object
=$am__obj \
12837 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12838 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12839 >/dev
/null
2>conftest.err
&&
12840 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12841 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12842 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12843 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12844 # icc doesn't choke on unknown options, it will just issue warnings
12845 # or remarks (even with -Werror). So we grep stderr for any message
12846 # that says an option was ignored or not supported.
12847 # When given -MP, icc 7.0 and 7.1 complain thusly:
12848 # icc: Command line warning: ignoring option '-M'; no argument required
12849 # The diagnosis changed in icc 8.0:
12850 # icc: Command line remark: option '-MP' not supported
12851 if (grep 'ignoring option' conftest.err ||
12852 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12853 am_cv_CC_dependencies_compiler_type
=$depmode
12860 rm -rf conftest.dir
12862 am_cv_CC_dependencies_compiler_type
=none
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12867 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12868 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
12871 test "x$enable_dependency_tracking" != xno \
12872 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
12873 am__fastdepCC_TRUE
=
12874 am__fastdepCC_FALSE
='#'
12876 am__fastdepCC_TRUE
='#'
12877 am__fastdepCC_FALSE
=
12881 if test "x$CC" != xcc
; then
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12883 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12886 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12888 set dummy
$CC; ac_cc
=`$as_echo "$2" |
12889 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12890 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
12891 $as_echo_n "(cached) " >&6
12893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12904 # Make sure it works both with $CC and with simple cc.
12905 # We do the test twice because some compilers refuse to overwrite an
12906 # existing .o file with -o, though they will create one.
12907 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12909 if { { case "(($ac_try" in
12910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12911 *) ac_try_echo=$ac_try;;
12913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12914 $as_echo "$ac_try_echo"; } >&5
12915 (eval "$ac_try") 2>&5
12917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12918 test $ac_status = 0; } &&
12919 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12921 *) ac_try_echo
=$ac_try;;
12923 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12924 $as_echo "$ac_try_echo"; } >&5
12925 (eval "$ac_try") 2>&5
12927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12928 test $ac_status = 0; };
12930 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
12931 if test "x$CC" != xcc
; then
12932 # Test first that cc exists at all.
12933 if { ac_try
='cc -c conftest.$ac_ext >&5'
12934 { { 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; }; }; then
12944 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12946 if { { case "(($ac_try" in
12947 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12948 *) ac_try_echo
=$ac_try;;
12950 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12951 $as_echo "$ac_try_echo"; } >&5
12952 (eval "$ac_try") 2>&5
12954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12955 test $ac_status = 0; } &&
12956 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
12957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12958 *) ac_try_echo=$ac_try;;
12960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12961 $as_echo "$ac_try_echo"; } >&5
12962 (eval "$ac_try") 2>&5
12964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12965 test $ac_status = 0; };
12970 # cc exists but doesn't like -o.
12971 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12976 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12978 rm -f core conftest*
12981 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12983 $as_echo "yes" >&6; }
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12986 $as_echo "no" >&6; }
12988 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12992 # FIXME: we rely on the cache variable name because
12993 # there is no other way.
12995 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12996 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12997 if test "$am_t" != yes; then
12998 # Losing compiler, so override with the script.
12999 # FIXME: It is wrong to rewrite CC.
13000 # But if we don't then we get into trouble of one sort or another.
13001 # A longer-term fix would be to have automake use am__CC in this case,
13002 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13003 CC="$am_aux_dir/compile $CC"
13008 ac_cpp='$CPP $CPPFLAGS'
13009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13013 $as_echo_n "checking how to run the C preprocessor... " >&6; }
13014 # On Suns, sometimes $CPP names a directory.
13015 if test -n "$CPP" && test -d "$CPP"; then
13018 if test -z "$CPP"; then
13019 if test "${ac_cv_prog_CPP+set}" = set; then :
13020 $as_echo_n "(cached) " >&6
13022 # Double quotes because CPP needs to be expanded
13023 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13025 ac_preproc_ok=false
13026 for ac_c_preproc_warn_flag in '' yes
13028 # Use a header file that comes with gcc, so configuring glibc
13029 # with a fresh cross-compiler works.
13030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13031 # <limits.h> exists even on freestanding compilers.
13032 # On the NeXT, cc -E runs the code through the compiler's parser,
13033 # not just through cpp. "Syntax error" is here to catch this case.
13034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13037 # include <limits.h>
13039 # include <assert.h>
13043 if ac_fn_c_try_cpp "$LINENO"; then :
13046 # Broken: fails on valid input.
13049 rm -f conftest.err conftest.$ac_ext
13051 # OK, works on sane cases. Now check whether nonexistent headers
13052 # can be detected and how.
13053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13054 /* end confdefs.h. */
13055 #include <ac_nonexistent.h>
13057 if ac_fn_c_try_cpp "$LINENO"; then :
13058 # Broken: success on invalid input.
13061 # Passes both tests.
13065 rm -f conftest.err conftest.$ac_ext
13068 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13069 rm -f conftest.err conftest.
$ac_ext
13070 if $ac_preproc_ok; then :
13075 ac_cv_prog_CPP
=$CPP
13078 CPP
=$ac_cv_prog_CPP
13080 ac_cv_prog_CPP
=$CPP
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13083 $as_echo "$CPP" >&6; }
13084 ac_preproc_ok
=false
13085 for ac_c_preproc_warn_flag
in '' yes
13087 # Use a header file that comes with gcc, so configuring glibc
13088 # with a fresh cross-compiler works.
13089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13090 # <limits.h> exists even on freestanding compilers.
13091 # On the NeXT, cc -E runs the code through the compiler's parser,
13092 # not just through cpp. "Syntax error" is here to catch this case.
13093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13096 # include <limits.h>
13098 # include <assert.h>
13102 if ac_fn_c_try_cpp
"$LINENO"; then :
13105 # Broken: fails on valid input.
13108 rm -f conftest.err conftest.
$ac_ext
13110 # OK, works on sane cases. Now check whether nonexistent headers
13111 # can be detected and how.
13112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13113 /* end confdefs.h. */
13114 #include <ac_nonexistent.h>
13116 if ac_fn_c_try_cpp
"$LINENO"; then :
13117 # Broken: success on invalid input.
13120 # Passes both tests.
13124 rm -f conftest.err conftest.
$ac_ext
13127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13128 rm -f conftest.err conftest.
$ac_ext
13129 if $ac_preproc_ok; then :
13132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13134 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
13135 See \`config.log' for more details." "$LINENO" 5; }
13139 ac_cpp
='$CPP $CPPFLAGS'
13140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13145 ac_cpp
='$CXXCPP $CPPFLAGS'
13146 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13147 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13148 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13149 if test -z "$CXX"; then
13150 if test -n "$CCC"; then
13153 if test -n "$ac_tool_prefix"; then
13154 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
13156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13157 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13159 $as_echo_n "checking for $ac_word... " >&6; }
13160 if test "${ac_cv_prog_CXX+set}" = set; then :
13161 $as_echo_n "(cached) " >&6
13163 if test -n "$CXX"; then
13164 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13167 for as_dir
in $PATH
13170 test -z "$as_dir" && as_dir
=.
13171 for ac_exec_ext
in '' $ac_executable_extensions; do
13172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13173 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13183 CXX
=$ac_cv_prog_CXX
13184 if test -n "$CXX"; then
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13186 $as_echo "$CXX" >&6; }
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13189 $as_echo "no" >&6; }
13193 test -n "$CXX" && break
13196 if test -z "$CXX"; then
13198 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
13200 # Extract the first word of "$ac_prog", so it can be a program name with args.
13201 set dummy
$ac_prog; ac_word
=$2
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13203 $as_echo_n "checking for $ac_word... " >&6; }
13204 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13205 $as_echo_n "(cached) " >&6
13207 if test -n "$ac_ct_CXX"; then
13208 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13211 for as_dir
in $PATH
13214 test -z "$as_dir" && as_dir
=.
13215 for ac_exec_ext
in '' $ac_executable_extensions; do
13216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13217 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13227 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13228 if test -n "$ac_ct_CXX"; then
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13230 $as_echo "$ac_ct_CXX" >&6; }
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13233 $as_echo "no" >&6; }
13237 test -n "$ac_ct_CXX" && break
13240 if test "x$ac_ct_CXX" = x
; then
13243 case $cross_compiling:$ac_tool_warned in
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13247 ac_tool_warned
=yes ;;
13255 # Provide some information about the compiler.
13256 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13259 for ac_option
in --version -v -V -qversion; do
13260 { { ac_try
="$ac_compiler $ac_option >&5"
13261 case "(($ac_try" in
13262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13263 *) ac_try_echo=$ac_try;;
13265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13266 $as_echo "$ac_try_echo"; } >&5
13267 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13269 if test -s conftest.err; then
13271 ... rest of stderr output deleted ...
13272 10q' conftest.err >conftest.er1
13273 cat conftest.er1 >&5
13274 rm -f conftest.er1 conftest.err
13276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13277 test $ac_status = 0; }
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13281 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13282 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13283 $as_echo_n "(cached) " >&6
13285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13299 if ac_fn_cxx_try_compile "$LINENO"; then :
13300 ac_compiler_gnu=yes
13304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13305 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13309 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13310 if test $ac_compiler_gnu = yes; then
13315 ac_test_CXXFLAGS=${CXXFLAGS+set}
13316 ac_save_CXXFLAGS=$CXXFLAGS
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13318 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13319 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13320 $as_echo_n "(cached) " >&6
13322 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13323 ac_cxx_werror_flag=yes
13324 ac_cv_prog_cxx_g=no
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13337 if ac_fn_cxx_try_compile "$LINENO"; then :
13338 ac_cv_prog_cxx_g=yes
13341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13342 /* end confdefs.h. */
13352 if ac_fn_cxx_try_compile "$LINENO"; then :
13355 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13368 if ac_fn_cxx_try_compile "$LINENO"; then :
13369 ac_cv_prog_cxx_g=yes
13371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13376 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13379 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13380 if test "$ac_test_CXXFLAGS" = set; then
13381 CXXFLAGS=$ac_save_CXXFLAGS
13382 elif test $ac_cv_prog_cxx_g = yes; then
13383 if test "$GXX" = yes; then
13389 if test "$GXX" = yes; then
13396 ac_cpp='$CPP $CPPFLAGS'
13397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13401 depcc="$CXX" am_compiler_list=
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13404 $as_echo_n "checking dependency style of $depcc... " >&6; }
13405 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13406 $as_echo_n "(cached) " >&6
13408 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13409 # We make a subdir and do the tests there. Otherwise we can end up
13410 # making bogus files that we don't know about and never remove. For
13411 # instance it was reported that on HP-UX the gcc test will end up
13412 # making a dummy file named `D
' -- because `-MD' means
`put the output
13415 # Copy depcomp to subdir because otherwise we won't find it if we're
13416 # using a relative directory.
13417 cp "$am_depcomp" conftest.dir
13419 # We will build objects and dependencies in a subdirectory because
13420 # it helps to detect inapplicable dependency modes. For instance
13421 # both Tru64's cc and ICC support -MD to output dependencies as a
13422 # side effect of compilation, but ICC will put the dependencies in
13423 # the current directory while Tru64 will put them in the object
13427 am_cv_CXX_dependencies_compiler_type=none
13428 if test "$am_compiler_list" = ""; then
13429 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
13431 am__universal=false
13432 case " $depcc " in #(
13433 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13436 for depmode in $am_compiler_list; do
13437 # Setup a source with many dependencies, because some compilers
13438 # like to wrap large dependency lists on column 80 (with \), and
13439 # we should not choose a depcomp mode which is confused by this.
13441 # We need to recreate these files for each test, as the compiler may
13442 # overwrite some of them when testing with obscure command lines.
13443 # This happens at least with the AIX C compiler.
13445 for i in 1 2 3 4 5 6; do
13446 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13447 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
13448 # Solaris 8's
{/usr
,}/bin
/sh.
13449 touch sub
/conftst
$i.h
13451 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13453 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13454 # mode. It turns out that the SunPro C++ compiler does not properly
13455 # handle `-M -o', and we need to detect this. Also, some Intel
13456 # versions had trouble with output in subdirs
13457 am__obj
=sub
/conftest.
${OBJEXT-o}
13458 am__minus_obj
="-o $am__obj"
13461 # This depmode causes a compiler race in universal mode.
13462 test "$am__universal" = false ||
continue
13465 # after this tag, mechanisms are not by side-effect, so they'll
13466 # only be used when explicitly requested
13467 if test "x$enable_dependency_tracking" = xyes
; then
13473 msvisualcpp | msvcmsys
)
13474 # This compiler won't grok `-c -o', but also, the minuso test has
13475 # not run yet. These depmodes are late enough in the game, and
13476 # so weak that their functioning should not be impacted.
13477 am__obj
=conftest.
${OBJEXT-o}
13482 if depmode
=$depmode \
13483 source=sub
/conftest.c object
=$am__obj \
13484 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13485 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
13486 >/dev
/null
2>conftest.err
&&
13487 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13488 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13489 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
13490 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13491 # icc doesn't choke on unknown options, it will just issue warnings
13492 # or remarks (even with -Werror). So we grep stderr for any message
13493 # that says an option was ignored or not supported.
13494 # When given -MP, icc 7.0 and 7.1 complain thusly:
13495 # icc: Command line warning: ignoring option '-M'; no argument required
13496 # The diagnosis changed in icc 8.0:
13497 # icc: Command line remark: option '-MP' not supported
13498 if (grep 'ignoring option' conftest.err ||
13499 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13500 am_cv_CXX_dependencies_compiler_type
=$depmode
13507 rm -rf conftest.dir
13509 am_cv_CXX_dependencies_compiler_type
=none
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13514 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13515 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
13518 test "x$enable_dependency_tracking" != xno \
13519 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
13520 am__fastdepCXX_TRUE
=
13521 am__fastdepCXX_FALSE
='#'
13523 am__fastdepCXX_TRUE
='#'
13524 am__fastdepCXX_FALSE
=
13528 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13529 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13530 (test "X$CXX" != "Xg++"))) ; then
13532 ac_cpp
='$CXXCPP $CPPFLAGS'
13533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13537 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13538 if test -z "$CXXCPP"; then
13539 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13540 $as_echo_n "(cached) " >&6
13542 # Double quotes because CXXCPP needs to be expanded
13543 for CXXCPP
in "$CXX -E" "/lib/cpp"
13545 ac_preproc_ok
=false
13546 for ac_cxx_preproc_warn_flag
in '' yes
13548 # Use a header file that comes with gcc, so configuring glibc
13549 # with a fresh cross-compiler works.
13550 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13551 # <limits.h> exists even on freestanding compilers.
13552 # On the NeXT, cc -E runs the code through the compiler's parser,
13553 # not just through cpp. "Syntax error" is here to catch this case.
13554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13557 # include <limits.h>
13559 # include <assert.h>
13563 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13566 # Broken: fails on valid input.
13569 rm -f conftest.err conftest.
$ac_ext
13571 # OK, works on sane cases. Now check whether nonexistent headers
13572 # can be detected and how.
13573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13575 #include <ac_nonexistent.h>
13577 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13578 # Broken: success on invalid input.
13581 # Passes both tests.
13585 rm -f conftest.err conftest.
$ac_ext
13588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13589 rm -f conftest.err conftest.
$ac_ext
13590 if $ac_preproc_ok; then :
13595 ac_cv_prog_CXXCPP
=$CXXCPP
13598 CXXCPP
=$ac_cv_prog_CXXCPP
13600 ac_cv_prog_CXXCPP
=$CXXCPP
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13603 $as_echo "$CXXCPP" >&6; }
13604 ac_preproc_ok
=false
13605 for ac_cxx_preproc_warn_flag
in '' yes
13607 # Use a header file that comes with gcc, so configuring glibc
13608 # with a fresh cross-compiler works.
13609 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13610 # <limits.h> exists even on freestanding compilers.
13611 # On the NeXT, cc -E runs the code through the compiler's parser,
13612 # not just through cpp. "Syntax error" is here to catch this case.
13613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13614 /* end confdefs.h. */
13616 # include <limits.h>
13618 # include <assert.h>
13622 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13625 # Broken: fails on valid input.
13628 rm -f conftest.err conftest.
$ac_ext
13630 # OK, works on sane cases. Now check whether nonexistent headers
13631 # can be detected and how.
13632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13634 #include <ac_nonexistent.h>
13636 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13637 # Broken: success on invalid input.
13640 # Passes both tests.
13644 rm -f conftest.err conftest.
$ac_ext
13647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13648 rm -f conftest.err conftest.
$ac_ext
13649 if $ac_preproc_ok; then :
13652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13654 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
13655 See \`config.log' for more details." "$LINENO" 5; }
13659 ac_cpp
='$CPP $CPPFLAGS'
13660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13665 _lt_caught_CXX_error
=yes
13669 ac_cpp
='$CXXCPP $CPPFLAGS'
13670 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13671 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13672 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13674 archive_cmds_need_lc_CXX
=no
13675 allow_undefined_flag_CXX
=
13676 always_export_symbols_CXX
=no
13677 archive_expsym_cmds_CXX
=
13678 compiler_needs_object_CXX
=no
13679 export_dynamic_flag_spec_CXX
=
13680 hardcode_direct_CXX
=no
13681 hardcode_direct_absolute_CXX
=no
13682 hardcode_libdir_flag_spec_CXX
=
13683 hardcode_libdir_flag_spec_ld_CXX
=
13684 hardcode_libdir_separator_CXX
=
13685 hardcode_minus_L_CXX
=no
13686 hardcode_shlibpath_var_CXX
=unsupported
13687 hardcode_automatic_CXX
=no
13688 inherit_rpath_CXX
=no
13690 module_expsym_cmds_CXX
=
13691 link_all_deplibs_CXX
=unknown
13692 old_archive_cmds_CXX
=$old_archive_cmds
13693 reload_flag_CXX
=$reload_flag
13694 reload_cmds_CXX
=$reload_cmds
13695 no_undefined_flag_CXX
=
13696 whole_archive_flag_spec_CXX
=
13697 enable_shared_with_static_runtimes_CXX
=no
13699 # Source file extension for C++ test sources.
13702 # Object file extension for compiled C++ test sources.
13706 # No sense in running all these tests if we already determined that
13707 # the CXX compiler isn't working. Some variables (like enable_shared)
13708 # are currently assumed to apply to all compilers on this platform,
13709 # and will be corrupted by setting them based on a non-working compiler.
13710 if test "$_lt_caught_CXX_error" != yes; then
13711 # Code to be used in simple compile tests
13712 lt_simple_compile_test_code
="int some_variable = 0;"
13714 # Code to be used in simple link tests
13715 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13717 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13724 # If no C compiler was specified, use CC.
13727 # If no C compiler flags were specified, use CFLAGS.
13728 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13730 # Allow CC to be a program name with arguments.
13734 # save warnings/boilerplate of simple test code
13735 ac_outfile
=conftest.
$ac_objext
13736 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13737 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13738 _lt_compiler_boilerplate
=`cat conftest.err`
13741 ac_outfile
=conftest.
$ac_objext
13742 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13743 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13744 _lt_linker_boilerplate
=`cat conftest.err`
13748 # Allow CC to be a program name with arguments.
13753 lt_save_with_gnu_ld
=$with_gnu_ld
13754 lt_save_path_LD
=$lt_cv_path_LD
13755 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13756 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13758 $as_unset lt_cv_prog_gnu_ld
13760 if test -n "${lt_cv_path_LDCXX+set}"; then
13761 lt_cv_path_LD
=$lt_cv_path_LDCXX
13763 $as_unset lt_cv_path_LD
13765 test -z "${LDCXX+set}" || LD
=$LDCXX
13769 for cc_temp
in $compiler""; do
13771 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13772 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13777 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13780 if test -n "$compiler"; then
13781 # We don't want -fno-exception when compiling C++ code, so set the
13782 # no_builtin_flag separately
13783 if test "$GXX" = yes; then
13784 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13786 lt_prog_compiler_no_builtin_flag_CXX
=
13789 if test "$GXX" = yes; then
13790 # Set up default GNU C++ configuration
13794 # Check whether --with-gnu-ld was given.
13795 if test "${with_gnu_ld+set}" = set; then :
13796 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13802 if test "$GCC" = yes; then
13803 # Check if gcc -print-prog-name=ld gives a path.
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13805 $as_echo_n "checking for ld used by $CC... " >&6; }
13808 # gcc leaves a trailing carriage return which upsets mingw
13809 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13811 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13814 # Accept absolute paths.
13816 re_direlt
='/[^/][^/]*/\.\./'
13817 # Canonicalize the pathname of ld
13818 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13819 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13820 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13822 test -z "$LD" && LD
="$ac_prog"
13825 # If it fails, then pretend we aren't using GCC.
13829 # If it is relative, then search for the first ld in PATH.
13830 with_gnu_ld
=unknown
13833 elif test "$with_gnu_ld" = yes; then
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13835 $as_echo_n "checking for GNU ld... " >&6; }
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13838 $as_echo_n "checking for non-GNU ld... " >&6; }
13840 if test "${lt_cv_path_LD+set}" = set; then :
13841 $as_echo_n "(cached) " >&6
13843 if test -z "$LD"; then
13844 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13845 for ac_dir
in $PATH; do
13847 test -z "$ac_dir" && ac_dir
=.
13848 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13849 lt_cv_path_LD
="$ac_dir/$ac_prog"
13850 # Check to see if the program is GNU ld. I'd rather use --version,
13851 # but apparently some variants of GNU ld only accept -v.
13852 # Break only if it was the GNU/non-GNU ld that we prefer.
13853 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13854 *GNU
* |
*'with BFD'*)
13855 test "$with_gnu_ld" != no
&& break
13858 test "$with_gnu_ld" != yes && break
13865 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13869 LD
="$lt_cv_path_LD"
13870 if test -n "$LD"; then
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13872 $as_echo "$LD" >&6; }
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13875 $as_echo "no" >&6; }
13877 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13879 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13880 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
13881 $as_echo_n "(cached) " >&6
13883 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13884 case `$LD -v 2>&1 </dev/null` in
13885 *GNU
* |
*'with BFD'*)
13886 lt_cv_prog_gnu_ld
=yes
13889 lt_cv_prog_gnu_ld
=no
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13894 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13895 with_gnu_ld
=$lt_cv_prog_gnu_ld
13903 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13904 # archiving commands below assume that GNU ld is being used.
13905 if test "$with_gnu_ld" = yes; then
13906 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13907 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'
13909 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13910 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13912 # If archive_cmds runs LD, not CC, wlarc should be empty
13913 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13914 # investigate it a little bit more. (MM)
13917 # ancient GNU ld didn't support --whole-archive et. al.
13918 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13919 $GREP 'no-whole-archive' > /dev
/null
; then
13920 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13922 whole_archive_flag_spec_CXX
=
13928 # A generic and very simple default shared library creation
13929 # command for GNU C++ for the case where it uses the native
13930 # linker, instead of GNU ld. If possible, this setting should
13931 # overridden to take advantage of the native linker features on
13932 # the platform it is being used on.
13933 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13936 # Commands to make compiler produce verbose output that lists
13937 # what "hidden" libraries, object files and flags are used when
13938 # linking a shared library.
13939 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13947 # PORTME: fill in a description of your system's C++ link characteristics
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13949 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13953 # FIXME: insert proper C++ library support
13957 if test "$host_cpu" = ia64
; then
13958 # On IA64, the linker does run time linking by default, so we don't
13959 # have to do anything special.
13960 aix_use_runtimelinking
=no
13961 exp_sym_flag
='-Bexport'
13964 aix_use_runtimelinking
=no
13966 # Test if we are trying to use run time linking or normal
13967 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13968 # need to do runtime linking.
13969 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13970 for ld_flag
in $LDFLAGS; do
13973 aix_use_runtimelinking
=yes
13981 exp_sym_flag
='-bexport'
13982 no_entry_flag
='-bnoentry'
13985 # When large executables or shared objects are built, AIX ld can
13986 # have problems creating the table of contents. If linking a library
13987 # or program results in "error TOC overflow" add -mminimal-toc to
13988 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13989 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13991 archive_cmds_CXX
=''
13992 hardcode_direct_CXX
=yes
13993 hardcode_direct_absolute_CXX
=yes
13994 hardcode_libdir_separator_CXX
=':'
13995 link_all_deplibs_CXX
=yes
13996 file_list_spec_CXX
='${wl}-f,'
13998 if test "$GXX" = yes; then
13999 case $host_os in aix4.
[012]|aix4.
[012].
*)
14000 # We only want to do this on AIX 4.2 and lower, the check
14001 # below for broken collect2 doesn't work under 4.3+
14002 collect2name
=`${CC} -print-prog-name=collect2`
14003 if test -f "$collect2name" &&
14004 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14006 # We have reworked collect2
14009 # We have old collect2
14010 hardcode_direct_CXX
=unsupported
14011 # It fails to find uninstalled libraries when the uninstalled
14012 # path is not listed in the libpath. Setting hardcode_minus_L
14013 # to unsupported forces relinking
14014 hardcode_minus_L_CXX
=yes
14015 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14016 hardcode_libdir_separator_CXX
=
14019 shared_flag
='-shared'
14020 if test "$aix_use_runtimelinking" = yes; then
14021 shared_flag
="$shared_flag "'${wl}-G'
14025 if test "$host_cpu" = ia64
; then
14026 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14027 # chokes on -Wl,-G. The following line is correct:
14030 if test "$aix_use_runtimelinking" = yes; then
14031 shared_flag
='${wl}-G'
14033 shared_flag
='${wl}-bM:SRE'
14038 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14039 # It seems that -bexpall does not export symbols beginning with
14040 # underscore (_), so it is better to generate a list of symbols to
14042 always_export_symbols_CXX
=yes
14043 if test "$aix_use_runtimelinking" = yes; then
14044 # Warning - without using the other runtime loading flags (-brtl),
14045 # -berok will link without error, but may produce a broken library.
14046 allow_undefined_flag_CXX
='-berok'
14047 # Determine the default libpath from the value encoded in an empty
14049 if test x
$gcc_no_link = xyes
; then
14050 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14063 if ac_fn_cxx_try_link
"$LINENO"; then :
14065 lt_aix_libpath_sed
='
14066 /Import File Strings/,/^$/ {
14072 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14073 # Check for a 64-bit object if we didn't find anything.
14074 if test -z "$aix_libpath"; then
14075 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14078 rm -f core conftest.err conftest.
$ac_objext \
14079 conftest
$ac_exeext conftest.
$ac_ext
14080 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14082 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14084 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"
14086 if test "$host_cpu" = ia64
; then
14087 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14088 allow_undefined_flag_CXX
="-z nodefs"
14089 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"
14091 # Determine the default libpath from the value encoded in an
14092 # empty executable.
14093 if test x
$gcc_no_link = xyes
; then
14094 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14107 if ac_fn_cxx_try_link
"$LINENO"; then :
14109 lt_aix_libpath_sed
='
14110 /Import File Strings/,/^$/ {
14116 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14117 # Check for a 64-bit object if we didn't find anything.
14118 if test -z "$aix_libpath"; then
14119 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14122 rm -f core conftest.err conftest.
$ac_objext \
14123 conftest
$ac_exeext conftest.
$ac_ext
14124 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14126 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14127 # Warning - without using the other run time loading flags,
14128 # -berok will link without error, but may produce a broken library.
14129 no_undefined_flag_CXX
=' ${wl}-bernotok'
14130 allow_undefined_flag_CXX
=' ${wl}-berok'
14131 if test "$with_gnu_ld" = yes; then
14132 # We only use this code for GNU lds that support --whole-archive.
14133 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14135 # Exported symbols can be pulled into shared objects from archives
14136 whole_archive_flag_spec_CXX
='$convenience'
14138 archive_cmds_need_lc_CXX
=yes
14139 # This is similar to how AIX traditionally builds its shared
14141 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'
14147 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14148 allow_undefined_flag_CXX
=unsupported
14149 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14150 # support --undefined. This deserves some investigation. FIXME
14151 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14158 case $cc_basename in
14160 # FIXME: insert proper C++ library support
14166 cygwin
* | mingw
* | pw32
* | cegcc
*)
14167 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14168 # as there is no search path for DLLs.
14169 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14170 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
14171 allow_undefined_flag_CXX
=unsupported
14172 always_export_symbols_CXX
=no
14173 enable_shared_with_static_runtimes_CXX
=yes
14175 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14176 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'
14177 # If the export-symbols file already is a .def file (1st line
14178 # is EXPORTS), use it as is; otherwise, prepend...
14179 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14180 cp $export_symbols $output_objdir/$soname.def;
14182 echo EXPORTS > $output_objdir/$soname.def;
14183 cat $export_symbols >> $output_objdir/$soname.def;
14185 $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'
14190 darwin
* | rhapsody
*)
14193 archive_cmds_need_lc_CXX
=no
14194 hardcode_direct_CXX
=no
14195 hardcode_automatic_CXX
=yes
14196 hardcode_shlibpath_var_CXX
=unsupported
14197 if test "$lt_cv_ld_force_load" = "yes"; then
14198 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\"`'
14200 whole_archive_flag_spec_CXX
=''
14202 link_all_deplibs_CXX
=yes
14203 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14204 case $cc_basename in
14205 ifort
*) _lt_dar_can_shared
=yes ;;
14206 *) _lt_dar_can_shared
=$GCC ;;
14208 if test "$_lt_dar_can_shared" = "yes"; then
14209 output_verbose_link_cmd
=func_echo_all
14210 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}"
14211 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14212 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}"
14213 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}"
14214 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14215 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}"
14216 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}"
14226 case $cc_basename in
14228 # FIXME: insert proper C++ library support
14232 # Green Hills C++ Compiler
14233 # FIXME: insert proper C++ library support
14237 # FIXME: insert proper C++ library support
14244 # C++ shared libraries reported to be fairly broken before
14250 archive_cmds_need_lc_CXX
=no
14253 freebsd
* | dragonfly
*)
14254 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14263 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14264 link_all_deplibs_CXX
=yes
14268 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14269 hardcode_libdir_separator_CXX
=:
14270 export_dynamic_flag_spec_CXX
='${wl}-E'
14271 hardcode_direct_CXX
=yes
14272 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14273 # but as the default
14274 # location of the library.
14276 case $cc_basename in
14278 # FIXME: insert proper C++ library support
14282 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'
14283 # Commands to make compiler produce verbose output that lists
14284 # what "hidden" libraries, object files and flags are used when
14285 # linking a shared library.
14287 # There doesn't appear to be a way to prevent this compiler from
14288 # explicitly linking system object files so we need to strip them
14289 # from the output so that they don't get included in the library
14291 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"'
14294 if test "$GXX" = yes; then
14295 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'
14297 # FIXME: insert proper C++ library support
14305 if test $with_gnu_ld = no
; then
14306 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14307 hardcode_libdir_separator_CXX
=:
14313 export_dynamic_flag_spec_CXX
='${wl}-E'
14319 hardcode_direct_CXX
=no
14320 hardcode_shlibpath_var_CXX
=no
14323 hardcode_direct_CXX
=yes
14324 hardcode_direct_absolute_CXX
=yes
14325 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14326 # but as the default
14327 # location of the library.
14331 case $cc_basename in
14333 # FIXME: insert proper C++ library support
14339 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14342 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14345 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14348 # Commands to make compiler produce verbose output that lists
14349 # what "hidden" libraries, object files and flags are used when
14350 # linking a shared library.
14352 # There doesn't appear to be a way to prevent this compiler from
14353 # explicitly linking system object files so we need to strip them
14354 # from the output so that they don't get included in the library
14356 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"'
14359 if test "$GXX" = yes; then
14360 if test $with_gnu_ld = no
; then
14363 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14366 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14369 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'
14374 # FIXME: insert proper C++ library support
14382 hardcode_direct_CXX
=no
14383 hardcode_shlibpath_var_CXX
=no
14384 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14385 export_dynamic_flag_spec_CXX
='${wl}-E'
14386 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14387 # Instead, shared libraries are loaded at an image base (0x10000000 by
14388 # default) and relocated if they conflict, which is a slow very memory
14389 # consuming and fragmenting process. To avoid this, we pick a random,
14390 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14391 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14392 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'
14393 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'
14396 case $cc_basename in
14399 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'
14401 # Archives containing C++ object files must be created using
14402 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14403 # necessary to make sure instantiated templates are included
14405 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14408 if test "$GXX" = yes; then
14409 if test "$with_gnu_ld" = no
; then
14410 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'
14412 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'
14415 link_all_deplibs_CXX
=yes
14418 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14419 hardcode_libdir_separator_CXX
=:
14420 inherit_rpath_CXX
=yes
14423 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14424 case $cc_basename in
14426 # Kuck and Associates, Inc. (KAI) C++ Compiler
14428 # KCC will only create a shared library if the output file
14429 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14430 # to its proper name (with version) after linking.
14431 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'
14432 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'
14433 # Commands to make compiler produce verbose output that lists
14434 # what "hidden" libraries, object files and flags are used when
14435 # linking a shared library.
14437 # There doesn't appear to be a way to prevent this compiler from
14438 # explicitly linking system object files so we need to strip them
14439 # from the output so that they don't get included in the library
14441 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"'
14443 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14444 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14446 # Archives containing C++ object files must be created using
14447 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14448 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14453 # version 8.0 and above of icpc choke on multiply defined symbols
14454 # if we add $predep_objects and $postdep_objects, however 7.1 and
14455 # earlier do not add the objects themselves.
14456 case `$CC -V 2>&1` in
14458 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14459 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'
14461 *) # Version 8.0 or newer
14464 ia64
*) tmp_idyn
=' -i_dynamic';;
14466 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14467 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'
14470 archive_cmds_need_lc_CXX
=no
14471 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14472 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14473 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14476 # Portland Group C++ compiler
14478 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
14479 prelink_cmds_CXX
='tpldir=Template.dir~
14481 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14482 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14483 old_archive_cmds_CXX
='tpldir=Template.dir~
14485 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14486 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14488 archive_cmds_CXX
='tpldir=Template.dir~
14490 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14491 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14492 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14494 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14495 $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'
14497 *) # Version 6 and above use weak symbols
14498 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14499 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'
14503 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14504 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14505 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'
14509 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14510 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'
14512 runpath_var
=LD_RUN_PATH
14513 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14514 hardcode_libdir_separator_CXX
=:
14516 # Commands to make compiler produce verbose output that lists
14517 # what "hidden" libraries, object files and flags are used when
14518 # linking a shared library.
14520 # There doesn't appear to be a way to prevent this compiler from
14521 # explicitly linking system object files so we need to strip them
14522 # from the output so that they don't get included in the library
14524 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'
14526 xl
* | mpixl
* | bgxl
*)
14527 # IBM XL 8.0 on PPC, with GNU ld
14528 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14529 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14530 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14531 if test "x$supports_anon_versioning" = xyes
; then
14532 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14533 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14534 echo "local: *; };" >> $output_objdir/$libname.ver~
14535 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14539 case `$CC -V 2>&1 | sed 5q` in
14542 no_undefined_flag_CXX
=' -zdefs'
14543 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14544 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'
14545 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14546 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'
14547 compiler_needs_object_CXX
=yes
14549 # Not sure whether something based on
14550 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14552 output_verbose_link_cmd
='func_echo_all'
14554 # Archives containing C++ object files must be created using
14555 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14556 # necessary to make sure instantiated templates are included
14558 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14566 # FIXME: insert proper C++ library support
14571 # FIXME: insert proper C++ library support
14576 case $cc_basename in
14578 # FIXME: insert proper C++ library support
14582 # FIXME: insert proper C++ library support
14589 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14590 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14592 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14593 hardcode_direct_CXX
=yes
14594 hardcode_shlibpath_var_CXX
=no
14596 # Workaround some broken pre-1.5 toolchains
14597 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14605 # C++ shared libraries are fairly broken
14610 if test -f /usr
/libexec
/ld.so
; then
14611 hardcode_direct_CXX
=yes
14612 hardcode_shlibpath_var_CXX
=no
14613 hardcode_direct_absolute_CXX
=yes
14614 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14615 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14616 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14617 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14618 export_dynamic_flag_spec_CXX
='${wl}-E'
14619 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14621 output_verbose_link_cmd
=func_echo_all
14627 osf3
* | osf4
* | osf5
*)
14628 case $cc_basename in
14630 # Kuck and Associates, Inc. (KAI) C++ Compiler
14632 # KCC will only create a shared library if the output file
14633 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14634 # to its proper name (with version) after linking.
14635 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'
14637 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14638 hardcode_libdir_separator_CXX
=:
14640 # Archives containing C++ object files must be created using
14641 # the KAI C++ compiler.
14643 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14644 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14648 # Rational C++ 2.4.1
14649 # FIXME: insert proper C++ library support
14655 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14656 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'
14657 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14660 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14661 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'
14662 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14663 echo "-hidden">> $lib.exp~
14664 $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~
14666 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14670 hardcode_libdir_separator_CXX
=:
14672 # Commands to make compiler produce verbose output that lists
14673 # what "hidden" libraries, object files and flags are used when
14674 # linking a shared library.
14676 # There doesn't appear to be a way to prevent this compiler from
14677 # explicitly linking system object files so we need to strip them
14678 # from the output so that they don't get included in the library
14680 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"'
14683 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14684 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14687 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'
14690 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'
14694 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14695 hardcode_libdir_separator_CXX
=:
14697 # Commands to make compiler produce verbose output that lists
14698 # what "hidden" libraries, object files and flags are used when
14699 # linking a shared library.
14700 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14703 # FIXME: insert proper C++ library support
14711 # FIXME: insert proper C++ library support
14716 case $cc_basename in
14719 # FIXME: insert proper C++ library support
14724 # FIXME: insert proper C++ library support
14728 # FIXME: insert proper C++ library support
14735 case $cc_basename in
14737 # Sun C++ 4.2, 5.x and Centerline C++
14738 archive_cmds_need_lc_CXX
=yes
14739 no_undefined_flag_CXX
=' -zdefs'
14740 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14741 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14742 $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'
14744 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14745 hardcode_shlibpath_var_CXX
=no
14747 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14749 # The compiler driver will combine and reorder linker options,
14750 # but understands `-z linker_flag'.
14751 # Supported since Solaris 2.6 (maybe 2.5.1?)
14752 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14755 link_all_deplibs_CXX
=yes
14757 output_verbose_link_cmd
='func_echo_all'
14759 # Archives containing C++ object files must be created using
14760 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14761 # necessary to make sure instantiated templates are included
14763 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14766 # Green Hills C++ Compiler
14767 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14769 # The C++ compiler must be used to create the archive.
14770 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14773 # GNU C++ compiler with Solaris linker
14774 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14775 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14776 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14777 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14778 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14779 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14781 # Commands to make compiler produce verbose output that lists
14782 # what "hidden" libraries, object files and flags are used when
14783 # linking a shared library.
14784 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14786 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14788 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14789 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14790 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14792 # Commands to make compiler produce verbose output that lists
14793 # what "hidden" libraries, object files and flags are used when
14794 # linking a shared library.
14795 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14798 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14800 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14802 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14810 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14811 no_undefined_flag_CXX
='${wl}-z,text'
14812 archive_cmds_need_lc_CXX
=no
14813 hardcode_shlibpath_var_CXX
=no
14814 runpath_var
='LD_RUN_PATH'
14816 case $cc_basename in
14818 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14819 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14822 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14823 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14828 sysv5
* | sco3.2v5
* | sco5v6
*)
14829 # Note: We can NOT use -z defs as we might desire, because we do not
14830 # link with -lc, and that would cause any symbols used from libc to
14831 # always be unresolved, which means just about no library would
14832 # ever link correctly. If we're not using GNU ld we use -z text
14833 # though, which does catch some bad symbols but isn't as heavy-handed
14835 no_undefined_flag_CXX
='${wl}-z,text'
14836 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14837 archive_cmds_need_lc_CXX
=no
14838 hardcode_shlibpath_var_CXX
=no
14839 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14840 hardcode_libdir_separator_CXX
=':'
14841 link_all_deplibs_CXX
=yes
14842 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14843 runpath_var
='LD_RUN_PATH'
14845 case $cc_basename in
14847 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14848 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14849 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14850 '"$old_archive_cmds_CXX"
14851 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14852 '"$reload_cmds_CXX"
14855 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14856 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14862 case $cc_basename in
14864 # NonStop-UX NCC 3.20
14865 # FIXME: insert proper C++ library support
14869 # FIXME: insert proper C++ library support
14876 # FIXME: insert proper C++ library support
14881 # FIXME: insert proper C++ library support
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14887 $as_echo "$ld_shlibs_CXX" >&6; }
14888 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14894 ## There is no encapsulation within the following macros, do not change
14895 ## the running order or otherwise move them around unless you know exactly
14896 ## what you are doing...
14897 # Dependencies to place before and after the object being linked:
14898 predep_objects_CXX
=
14899 postdep_objects_CXX
=
14902 compiler_lib_search_path_CXX
=
14904 cat > conftest.
$ac_ext <<_LT_EOF
14908 Foo (void) { a = 0; }
14914 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14915 (eval $ac_compile) 2>&5
14917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14918 test $ac_status = 0; }; then
14919 # Parse the compiler output and extract the necessary
14920 # objects, libraries and library flags.
14922 # Sentinel used to keep track of whether or not we are before
14923 # the conftest object file.
14924 pre_test_object_deps_done
=no
14926 for p
in `eval "$output_verbose_link_cmd"`; do
14930 # Some compilers place space between "-{L,R}" and the path.
14931 # Remove the space.
14932 if test $p = "-L" ||
14933 test $p = "-R"; then
14940 if test "$pre_test_object_deps_done" = no
; then
14943 # Internal compiler library paths should come after those
14944 # provided the user. The postdeps already come after the
14945 # user supplied libs so there is no need to process them.
14946 if test -z "$compiler_lib_search_path_CXX"; then
14947 compiler_lib_search_path_CXX
="${prev}${p}"
14949 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14952 # The "-l" case would never come before the object being
14953 # linked, so don't bother handling this case.
14956 if test -z "$postdeps_CXX"; then
14957 postdeps_CXX
="${prev}${p}"
14959 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14965 # This assumes that the test object file only shows up
14966 # once in the compiler output.
14967 if test "$p" = "conftest.$objext"; then
14968 pre_test_object_deps_done
=yes
14972 if test "$pre_test_object_deps_done" = no
; then
14973 if test -z "$predep_objects_CXX"; then
14974 predep_objects_CXX
="$p"
14976 predep_objects_CXX
="$predep_objects_CXX $p"
14979 if test -z "$postdep_objects_CXX"; then
14980 postdep_objects_CXX
="$p"
14982 postdep_objects_CXX
="$postdep_objects_CXX $p"
14987 *) ;; # Ignore the rest.
14995 echo "libtool.m4: error: problem compiling CXX test program"
14998 $RM -f confest.
$objext
15000 # PORTME: override above test on systems where it is broken
15003 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15004 # hack all around it, let's just trust "g++" to DTRT.
15005 predep_objects_CXX
=
15006 postdep_objects_CXX
=
15011 case `$CC -V 2>&1 | sed 5q` in
15015 # The more standards-conforming stlport4 library is
15016 # incompatible with the Cstd library. Avoid specifying
15017 # it if it's in CXXFLAGS. Ignore libCrun as
15018 # -library=stlport4 depends on it.
15019 case " $CXX $CXXFLAGS " in
15020 *" -library=stlport4 "*)
15021 solaris_use_stlport4
=yes
15025 if test "$solaris_use_stlport4" != yes; then
15026 postdeps_CXX
='-library=Cstd -library=Crun'
15033 case $cc_basename in
15035 # The more standards-conforming stlport4 library is
15036 # incompatible with the Cstd library. Avoid specifying
15037 # it if it's in CXXFLAGS. Ignore libCrun as
15038 # -library=stlport4 depends on it.
15039 case " $CXX $CXXFLAGS " in
15040 *" -library=stlport4 "*)
15041 solaris_use_stlport4
=yes
15045 # Adding this requires a known-good setup of shared libraries for
15046 # Sun compiler versions before 5.6, else PIC objects from an old
15047 # archive will be linked into the output, leading to subtle bugs.
15048 if test "$solaris_use_stlport4" != yes; then
15049 postdeps_CXX
='-library=Cstd -library=Crun'
15057 case " $postdeps_CXX " in
15058 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15060 compiler_lib_search_dirs_CXX
=
15061 if test -n "${compiler_lib_search_path_CXX}"; then
15062 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15095 lt_prog_compiler_wl_CXX
=
15096 lt_prog_compiler_pic_CXX
=
15097 lt_prog_compiler_static_CXX
=
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15100 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15102 # C++ specific cases for pic, static, wl, etc.
15103 if test "$GXX" = yes; then
15104 lt_prog_compiler_wl_CXX
='-Wl,'
15105 lt_prog_compiler_static_CXX
='-static'
15109 # All AIX code is PIC.
15110 if test "$host_cpu" = ia64
; then
15111 # AIX 5 now supports IA64 processor
15112 lt_prog_compiler_static_CXX
='-Bstatic'
15114 lt_prog_compiler_pic_CXX
='-fPIC'
15120 # see comment about AmigaOS4 .so support
15121 lt_prog_compiler_pic_CXX
='-fPIC'
15124 # FIXME: we need at least 68020 code to build shared libraries, but
15125 # adding the `-m68020' flag to GCC prevents building anything better,
15127 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15132 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15133 # PIC is the default for these OSes.
15135 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15136 # This hack is so that the source file can tell whether it is being
15137 # built for inclusion in a dll (and should export symbols for example).
15138 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15139 # (--disable-auto-import) libraries
15140 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15142 darwin
* | rhapsody
*)
15143 # PIC is the default on this platform
15144 # Common symbols not allowed in MH_DYLIB files
15145 lt_prog_compiler_pic_CXX
='-fno-common'
15148 # DJGPP does not support shared libraries at all
15149 lt_prog_compiler_pic_CXX
=
15152 # PIC is the default for Haiku.
15153 # The "-static" flag exists, but is broken.
15154 lt_prog_compiler_static_CXX
=
15157 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15158 # Instead, we relocate shared libraries at runtime.
15161 if test -d /usr
/nec
; then
15162 lt_prog_compiler_pic_CXX
=-Kconform_pic
15166 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15167 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15168 # sets the default TLS model and affects inlining.
15173 lt_prog_compiler_pic_CXX
='-fPIC'
15178 # QNX uses GNU C++, but need to define -shared option too, otherwise
15179 # it will coredump.
15180 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15183 lt_prog_compiler_pic_CXX
='-fPIC'
15189 # All AIX code is PIC.
15190 if test "$host_cpu" = ia64
; then
15191 # AIX 5 now supports IA64 processor
15192 lt_prog_compiler_static_CXX
='-Bstatic'
15194 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15198 case $cc_basename in
15200 # Green Hills C++ Compiler
15201 # _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"
15206 case $cc_basename in
15208 lt_prog_compiler_pic_CXX
='-KPIC'
15211 # Green Hills C++ Compiler
15212 lt_prog_compiler_pic_CXX
='-pic'
15218 freebsd
* | dragonfly
*)
15219 # FreeBSD uses GNU C++
15221 hpux9
* | hpux10
* | hpux11
*)
15222 case $cc_basename in
15224 lt_prog_compiler_wl_CXX
='-Wl,'
15225 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15226 if test "$host_cpu" != ia64
; then
15227 lt_prog_compiler_pic_CXX
='+Z'
15231 lt_prog_compiler_wl_CXX
='-Wl,'
15232 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15238 lt_prog_compiler_pic_CXX
='+Z'
15247 # This is c89, which is MS Visual C++ (no shared libs)
15248 # Anyone wants to do a port?
15250 irix5
* | irix6
* | nonstopux
*)
15251 case $cc_basename in
15253 lt_prog_compiler_wl_CXX
='-Wl,'
15254 lt_prog_compiler_static_CXX
='-non_shared'
15255 # CC pic flag -KPIC is the default.
15261 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15262 case $cc_basename in
15265 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15266 lt_prog_compiler_pic_CXX
='-fPIC'
15269 # old Intel C++ for x86_64 which still supported -KPIC.
15270 lt_prog_compiler_wl_CXX
='-Wl,'
15271 lt_prog_compiler_pic_CXX
='-KPIC'
15272 lt_prog_compiler_static_CXX
='-static'
15275 # Intel C++, used to be incompatible with GCC.
15276 # ICC 10 doesn't accept -KPIC any more.
15277 lt_prog_compiler_wl_CXX
='-Wl,'
15278 lt_prog_compiler_pic_CXX
='-fPIC'
15279 lt_prog_compiler_static_CXX
='-static'
15282 # Portland Group C++ compiler
15283 lt_prog_compiler_wl_CXX
='-Wl,'
15284 lt_prog_compiler_pic_CXX
='-fpic'
15285 lt_prog_compiler_static_CXX
='-Bstatic'
15289 # Make sure the PIC flag is empty. It appears that all Alpha
15290 # Linux and Compaq Tru64 Unix objects are PIC.
15291 lt_prog_compiler_pic_CXX
=
15292 lt_prog_compiler_static_CXX
='-non_shared'
15294 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15295 # IBM XL 8.0, 9.0 on PPC and BlueGene
15296 lt_prog_compiler_wl_CXX
='-Wl,'
15297 lt_prog_compiler_pic_CXX
='-qpic'
15298 lt_prog_compiler_static_CXX
='-qstaticlink'
15301 case `$CC -V 2>&1 | sed 5q` in
15304 lt_prog_compiler_pic_CXX
='-KPIC'
15305 lt_prog_compiler_static_CXX
='-Bstatic'
15306 lt_prog_compiler_wl_CXX
='-Qoption ld '
15317 case $cc_basename in
15319 lt_prog_compiler_pic_CXX
='-W c,exportall'
15328 # QNX uses GNU C++, but need to define -shared option too, otherwise
15329 # it will coredump.
15330 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15332 osf3
* | osf4
* | osf5
*)
15333 case $cc_basename in
15335 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15338 # Rational C++ 2.4.1
15339 lt_prog_compiler_pic_CXX
='-pic'
15342 # Digital/Compaq C++
15343 lt_prog_compiler_wl_CXX
='-Wl,'
15344 # Make sure the PIC flag is empty. It appears that all Alpha
15345 # Linux and Compaq Tru64 Unix objects are PIC.
15346 lt_prog_compiler_pic_CXX
=
15347 lt_prog_compiler_static_CXX
='-non_shared'
15356 case $cc_basename in
15358 # Sun C++ 4.2, 5.x and Centerline C++
15359 lt_prog_compiler_pic_CXX
='-KPIC'
15360 lt_prog_compiler_static_CXX
='-Bstatic'
15361 lt_prog_compiler_wl_CXX
='-Qoption ld '
15364 # Green Hills C++ Compiler
15365 lt_prog_compiler_pic_CXX
='-PIC'
15372 case $cc_basename in
15375 lt_prog_compiler_pic_CXX
='-pic'
15376 lt_prog_compiler_static_CXX
='-Bstatic'
15380 lt_prog_compiler_pic_CXX
='-pic'
15386 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15387 case $cc_basename in
15389 lt_prog_compiler_wl_CXX
='-Wl,'
15390 lt_prog_compiler_pic_CXX
='-KPIC'
15391 lt_prog_compiler_static_CXX
='-Bstatic'
15396 case $cc_basename in
15398 # NonStop-UX NCC 3.20
15399 lt_prog_compiler_pic_CXX
='-KPIC'
15408 lt_prog_compiler_can_build_shared_CXX
=no
15414 # For platforms which do not support PIC, -DPIC is meaningless:
15416 lt_prog_compiler_pic_CXX
=
15419 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15423 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15428 # Check to make sure the PIC flag actually works.
15430 if test -n "$lt_prog_compiler_pic_CXX"; then
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15432 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15433 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15434 $as_echo_n "(cached) " >&6
15436 lt_cv_prog_compiler_pic_works_CXX
=no
15437 ac_outfile
=conftest.
$ac_objext
15438 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15439 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15440 # Insert the option either (1) after the last *FLAGS variable, or
15441 # (2) before a word containing "conftest.", or (3) at the end.
15442 # Note that $ac_compile itself does not contain backslashes and begins
15443 # with a dollar sign (not a hyphen), so the echo should work correctly.
15444 # The option is referenced via a variable to avoid confusing sed.
15445 lt_compile
=`echo "$ac_compile" | $SED \
15446 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15447 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15448 -e 's:$: $lt_compiler_flag:'`
15449 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15450 (eval "$lt_compile" 2>conftest.err
)
15452 cat conftest.err
>&5
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 if (exit $ac_status) && test -s "$ac_outfile"; then
15455 # The compiler can only warn and ignore the option if not recognized
15456 # So say no if there are warnings other than the usual output.
15457 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
15458 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15459 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15460 lt_cv_prog_compiler_pic_works_CXX
=yes
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15467 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15469 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15470 case $lt_prog_compiler_pic_CXX in
15472 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15475 lt_prog_compiler_pic_CXX
=
15476 lt_prog_compiler_can_build_shared_CXX
=no
15484 # Check to make sure the static flag actually works.
15486 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15488 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15489 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15490 $as_echo_n "(cached) " >&6
15492 lt_cv_prog_compiler_static_works_CXX
=no
15493 save_LDFLAGS
="$LDFLAGS"
15494 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15495 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15496 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15497 # The linker can only warn and ignore the option if not recognized
15498 # So say no if there are warnings
15499 if test -s conftest.err
; then
15500 # Append any errors to the config.log.
15501 cat conftest.err
1>&5
15502 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15503 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15504 if diff conftest.exp conftest.er2
>/dev
/null
; then
15505 lt_cv_prog_compiler_static_works_CXX
=yes
15508 lt_cv_prog_compiler_static_works_CXX
=yes
15512 LDFLAGS
="$save_LDFLAGS"
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15516 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15518 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15521 lt_prog_compiler_static_CXX
=
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15528 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15529 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15530 $as_echo_n "(cached) " >&6
15532 lt_cv_prog_compiler_c_o_CXX
=no
15533 $RM -r conftest
2>/dev
/null
15537 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15539 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15540 # Insert the option either (1) after the last *FLAGS variable, or
15541 # (2) before a word containing "conftest.", or (3) at the end.
15542 # Note that $ac_compile itself does not contain backslashes and begins
15543 # with a dollar sign (not a hyphen), so the echo should work correctly.
15544 lt_compile
=`echo "$ac_compile" | $SED \
15545 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15546 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15547 -e 's:$: $lt_compiler_flag:'`
15548 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15549 (eval "$lt_compile" 2>out
/conftest.err
)
15551 cat out
/conftest.err
>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15555 # The compiler can only warn and ignore the option if not recognized
15556 # So say no if there are warnings
15557 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15558 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15559 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15560 lt_cv_prog_compiler_c_o_CXX
=yes
15565 # SGI C++ compiler will create directory out/ii_files/ for
15566 # template instantiation
15567 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15568 $RM out
/* && rmdir out
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15575 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15580 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15581 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15582 $as_echo_n "(cached) " >&6
15584 lt_cv_prog_compiler_c_o_CXX
=no
15585 $RM -r conftest
2>/dev
/null
15589 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15591 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15592 # Insert the option either (1) after the last *FLAGS variable, or
15593 # (2) before a word containing "conftest.", or (3) at the end.
15594 # Note that $ac_compile itself does not contain backslashes and begins
15595 # with a dollar sign (not a hyphen), so the echo should work correctly.
15596 lt_compile
=`echo "$ac_compile" | $SED \
15597 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15598 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15599 -e 's:$: $lt_compiler_flag:'`
15600 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15601 (eval "$lt_compile" 2>out
/conftest.err
)
15603 cat out
/conftest.err
>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15607 # The compiler can only warn and ignore the option if not recognized
15608 # So say no if there are warnings
15609 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15610 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15611 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15612 lt_cv_prog_compiler_c_o_CXX
=yes
15617 # SGI C++ compiler will create directory out/ii_files/ for
15618 # template instantiation
15619 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15620 $RM out
/* && rmdir out
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15627 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15632 hard_links
="nottested"
15633 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15634 # do not overwrite the value of need_locks provided by the user
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15636 $as_echo_n "checking if we can lock with hard links... " >&6; }
15639 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15641 ln conftest.a conftest.b
2>&5 || hard_links
=no
15642 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15644 $as_echo "$hard_links" >&6; }
15645 if test "$hard_links" = no
; then
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15647 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15657 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15659 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15662 # If we're using GNU nm, then we don't want the "-C" option.
15663 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15664 # Also, AIX nm treats weak defined symbols like other global defined
15665 # symbols, whereas GNU nm marks them as "W".
15666 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15667 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'
15669 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'
15673 export_symbols_cmds_CXX
="$ltdll_cmds"
15675 cygwin
* | mingw
* | cegcc
*)
15676 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'
15679 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15682 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15685 $as_echo "$ld_shlibs_CXX" >&6; }
15686 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15688 with_gnu_ld_CXX
=$with_gnu_ld
15696 # Do we need to explicitly link libc?
15698 case "x$archive_cmds_need_lc_CXX" in
15700 # Assume -lc should be added
15701 archive_cmds_need_lc_CXX
=yes
15703 if test "$enable_shared" = yes && test "$GCC" = yes; then
15704 case $archive_cmds_CXX in
15706 # FIXME: we may have to deal with multi-command sequences.
15709 # Test whether the compiler implicitly links with -lc since on some
15710 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15711 # to ld, don't add -lc before -lgcc.
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15713 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15714 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15715 $as_echo_n "(cached) " >&6
15718 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15720 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15721 (eval $ac_compile) 2>&5
15723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15724 test $ac_status = 0; } 2>conftest.err
; then
15727 libobjs
=conftest.
$ac_objext
15729 wl
=$lt_prog_compiler_wl_CXX
15730 pic_flag
=$lt_prog_compiler_pic_CXX
15736 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15737 allow_undefined_flag_CXX
=
15738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15739 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15742 test $ac_status = 0; }
15744 lt_cv_archive_cmds_need_lc_CXX
=no
15746 lt_cv_archive_cmds_need_lc_CXX
=yes
15748 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15750 cat conftest.err
1>&5
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15756 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15757 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15828 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15830 library_names_spec
=
15831 libname_spec
='lib$name'
15835 postuninstall_cmds
=
15839 shlibpath_overrides_runpath
=unknown
15841 dynamic_linker
="$host_os ld.so"
15842 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15843 need_lib_prefix
=unknown
15844 hardcode_into_libs
=no
15846 # when you set need_version to no, make sure it does not cause -set_version
15847 # flags to be left without arguments
15848 need_version
=unknown
15853 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15854 shlibpath_var
=LIBPATH
15856 # AIX 3 has no versioning support, so we append a major version to the name.
15857 soname_spec
='${libname}${release}${shared_ext}$major'
15864 hardcode_into_libs
=yes
15865 if test "$host_cpu" = ia64
; then
15866 # AIX 5 supports IA64
15867 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15868 shlibpath_var
=LD_LIBRARY_PATH
15870 # With GCC up to 2.95.x, collect2 would create an import file
15871 # for dependence libraries. The import file would start with
15872 # the line `#! .'. This would cause the generated library to
15873 # depend on `.', always an invalid library. This was fixed in
15874 # development snapshots of GCC prior to 3.0.
15876 aix4 | aix4.
[01] | aix4.
[01].
*)
15877 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15879 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15882 can_build_shared
=no
15886 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15887 # soname into executable. Probably we can add versioning support to
15888 # collect2, so additional links can be useful in future.
15889 if test "$aix_use_runtimelinking" = yes; then
15890 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15891 # instead of lib<name>.a to let people know that these are not
15892 # typical AIX shared libraries.
15893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15895 # We preserve .a as extension for shared libraries through AIX4.2
15896 # and later when we are not doing run time linking.
15897 library_names_spec
='${libname}${release}.a $libname.a'
15898 soname_spec
='${libname}${release}${shared_ext}$major'
15900 shlibpath_var
=LIBPATH
15907 # Since July 2007 AmigaOS4 officially supports .so libraries.
15908 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15912 library_names_spec
='$libname.ixlibrary $libname.a'
15913 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15914 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'
15920 library_names_spec
='${libname}${shared_ext}'
15921 dynamic_linker
="$host_os ld.so"
15922 shlibpath_var
=LIBRARY_PATH
15928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15929 soname_spec
='${libname}${release}${shared_ext}$major'
15930 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15931 shlibpath_var
=LD_LIBRARY_PATH
15932 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15933 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15934 # the default ld.so.conf also contains /usr/contrib/lib and
15935 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15936 # libtool to hard-code these into programs
15939 cygwin
* | mingw
* | pw32
* | cegcc
*)
15940 version_type
=windows
15945 case $GCC,$host_os in
15946 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15947 library_names_spec
='$libname.dll.a'
15948 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15949 postinstall_cmds
='base_file=`basename \${file}`~
15950 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15951 dldir=$destdir/`dirname \$dlpath`~
15952 test -d \$dldir || mkdir -p \$dldir~
15953 $install_prog $dir/$dlname \$dldir/$dlname~
15954 chmod a+x \$dldir/$dlname~
15955 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15956 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15958 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15959 dlpath=$dir/\$dldll~
15961 shlibpath_overrides_runpath
=yes
15965 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15966 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15970 # MinGW DLLs use traditional 'lib' prefix
15971 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15974 # pw32 DLLs use 'pw' prefix rather than 'lib'
15975 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15981 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15984 dynamic_linker
='Win32 ld.exe'
15985 # FIXME: first we should search . and the directory the executable is in
15989 darwin
* | rhapsody
*)
15990 dynamic_linker
="$host_os dyld"
15991 version_type
=darwin
15994 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15995 soname_spec
='${libname}${release}${major}$shared_ext'
15996 shlibpath_overrides_runpath
=yes
15997 shlibpath_var
=DYLD_LIBRARY_PATH
15998 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16000 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16008 soname_spec
='${libname}${release}${shared_ext}$major'
16009 shlibpath_var
=LD_LIBRARY_PATH
16012 freebsd
* | dragonfly
*)
16013 # DragonFly does not have aout. When/if they implement a new
16014 # versioning mechanism, adjust this.
16015 if test -x /usr
/bin
/objformat
; then
16016 objformat
=`/usr/bin/objformat`
16019 freebsd
[23].
*) objformat
=aout
;;
16020 *) objformat
=elf
;;
16023 version_type
=freebsd-
$objformat
16024 case $version_type in
16026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16031 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16035 shlibpath_var
=LD_LIBRARY_PATH
16038 shlibpath_overrides_runpath
=yes
16040 freebsd3.
[01]* | freebsdelf3.
[01]*)
16041 shlibpath_overrides_runpath
=yes
16042 hardcode_into_libs
=yes
16044 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16045 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16046 shlibpath_overrides_runpath
=no
16047 hardcode_into_libs
=yes
16049 *) # from 4.6 on, and DragonFly
16050 shlibpath_overrides_runpath
=yes
16051 hardcode_into_libs
=yes
16060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16061 soname_spec
='${libname}${release}${shared_ext}$major'
16062 shlibpath_var
=LD_LIBRARY_PATH
16063 hardcode_into_libs
=yes
16070 dynamic_linker
="$host_os runtime_loader"
16071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16072 soname_spec
='${libname}${release}${shared_ext}$major'
16073 shlibpath_var
=LIBRARY_PATH
16074 shlibpath_overrides_runpath
=yes
16075 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
16076 hardcode_into_libs
=yes
16079 hpux9
* | hpux10
* | hpux11
*)
16080 # Give a soname corresponding to the major version so that dld.sl refuses to
16081 # link against other versions.
16088 hardcode_into_libs
=yes
16089 dynamic_linker
="$host_os dld.so"
16090 shlibpath_var
=LD_LIBRARY_PATH
16091 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16093 soname_spec
='${libname}${release}${shared_ext}$major'
16094 if test "X$HPUX_IA64_MODE" = X32
; then
16095 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16097 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16099 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16103 hardcode_into_libs
=yes
16104 dynamic_linker
="$host_os dld.sl"
16105 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16106 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16108 soname_spec
='${libname}${release}${shared_ext}$major'
16109 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16110 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16114 dynamic_linker
="$host_os dld.sl"
16115 shlibpath_var
=SHLIB_PATH
16116 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16118 soname_spec
='${libname}${release}${shared_ext}$major'
16121 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16122 postinstall_cmds
='chmod 555 $lib'
16123 # or fails outright, so override atomically:
16124 install_override_mode
=555
16131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16132 soname_spec
='${libname}${release}${shared_ext}$major'
16133 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16134 shlibpath_var
=LD_LIBRARY_PATH
16135 shlibpath_overrides_runpath
=no
16136 hardcode_into_libs
=yes
16139 irix5
* | irix6
* | nonstopux
*)
16141 nonstopux
*) version_type
=nonstopux
;;
16143 if test "$lt_cv_prog_gnu_ld" = yes; then
16151 soname_spec
='${libname}${release}${shared_ext}$major'
16152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16154 irix5
* | nonstopux
*)
16155 libsuff
= shlibsuff
=
16158 case $LD in # libtool.m4 will add one of these switches to LD
16159 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16160 libsuff
= shlibsuff
= libmagic
=32-bit;;
16161 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16162 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16163 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16164 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16165 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16169 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16170 shlibpath_overrides_runpath
=no
16171 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16172 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16173 hardcode_into_libs
=yes
16176 # No shared lib support for Linux oldld, aout, or coff.
16177 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16181 # This must be Linux ELF.
16182 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16187 soname_spec
='${libname}${release}${shared_ext}$major'
16188 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16189 shlibpath_var
=LD_LIBRARY_PATH
16190 shlibpath_overrides_runpath
=no
16192 # Some binutils ld are patched to set DT_RUNPATH
16193 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16194 $as_echo_n "(cached) " >&6
16196 lt_cv_shlibpath_overrides_runpath
=no
16197 save_LDFLAGS
=$LDFLAGS
16198 save_libdir
=$libdir
16199 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16200 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16201 if test x
$gcc_no_link = xyes
; then
16202 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16205 /* end confdefs.h. */
16215 if ac_fn_cxx_try_link
"$LINENO"; then :
16216 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16217 lt_cv_shlibpath_overrides_runpath
=yes
16220 rm -f core conftest.err conftest.
$ac_objext \
16221 conftest
$ac_exeext conftest.
$ac_ext
16222 LDFLAGS
=$save_LDFLAGS
16223 libdir
=$save_libdir
16227 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16229 # This implies no fast_install, which is unacceptable.
16230 # Some rework will be needed to allow for fast_install
16231 # before this can be enabled.
16232 hardcode_into_libs
=yes
16234 # Append ld.so.conf contents to the search path
16235 if test -f /etc
/ld.so.conf
; then
16236 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' ' '`
16237 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16240 # We used to test for /lib/ld.so.1 and disable shared libraries on
16241 # powerpc, because MkLinux only supported shared libraries with the
16242 # GNU dynamic linker. Since this was broken with cross compilers,
16243 # most powerpc-linux boxes support dynamic linking these days and
16244 # people can always --disable-shared, the test was removed, and we
16245 # assume the GNU/Linux dynamic linker is in use.
16246 dynamic_linker
='GNU/Linux ld.so'
16253 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16255 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16256 dynamic_linker
='NetBSD (a.out) ld.so'
16258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16259 soname_spec
='${libname}${release}${shared_ext}$major'
16260 dynamic_linker
='NetBSD ld.elf_so'
16262 shlibpath_var
=LD_LIBRARY_PATH
16263 shlibpath_overrides_runpath
=yes
16264 hardcode_into_libs
=yes
16269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16270 shlibpath_var
=LD_LIBRARY_PATH
16271 shlibpath_overrides_runpath
=yes
16278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16279 soname_spec
='${libname}${release}${shared_ext}$major'
16280 shlibpath_var
=LD_LIBRARY_PATH
16281 shlibpath_overrides_runpath
=no
16282 hardcode_into_libs
=yes
16283 dynamic_linker
='ldqnx.so'
16288 sys_lib_dlsearch_path_spec
="/usr/lib"
16290 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16292 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16293 *) need_version
=no
;;
16295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16296 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16297 shlibpath_var
=LD_LIBRARY_PATH
16298 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16300 openbsd2.
[89] | openbsd2.
[89].
*)
16301 shlibpath_overrides_runpath
=no
16304 shlibpath_overrides_runpath
=yes
16308 shlibpath_overrides_runpath
=yes
16313 libname_spec
='$name'
16316 library_names_spec
='$libname${shared_ext} $libname.a'
16317 dynamic_linker
='OS/2 ld.exe'
16318 shlibpath_var
=LIBPATH
16321 osf3
* | osf4
* | osf5
*)
16325 soname_spec
='${libname}${release}${shared_ext}$major'
16326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16327 shlibpath_var
=LD_LIBRARY_PATH
16328 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16329 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16341 soname_spec
='${libname}${release}${shared_ext}$major'
16342 shlibpath_var
=LD_LIBRARY_PATH
16343 shlibpath_overrides_runpath
=yes
16344 hardcode_into_libs
=yes
16345 # ldd complains unless libraries are executable
16346 postinstall_cmds
='chmod +x $lib'
16351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16352 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16353 shlibpath_var
=LD_LIBRARY_PATH
16354 shlibpath_overrides_runpath
=yes
16355 if test "$with_gnu_ld" = yes; then
16363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16364 soname_spec
='${libname}${release}${shared_ext}$major'
16365 shlibpath_var
=LD_LIBRARY_PATH
16366 case $host_vendor in
16368 shlibpath_overrides_runpath
=no
16370 runpath_var
=LD_RUN_PATH
16378 shlibpath_overrides_runpath
=no
16379 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16385 if test -d /usr
/nec
;then
16387 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16388 soname_spec
='$libname${shared_ext}.$major'
16389 shlibpath_var
=LD_LIBRARY_PATH
16393 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16394 version_type
=freebsd-elf
16397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16398 soname_spec
='${libname}${release}${shared_ext}$major'
16399 shlibpath_var
=LD_LIBRARY_PATH
16400 shlibpath_overrides_runpath
=yes
16401 hardcode_into_libs
=yes
16402 if test "$with_gnu_ld" = yes; then
16403 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16405 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16408 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16412 sys_lib_dlsearch_path_spec
='/usr/lib'
16416 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16421 shlibpath_var
=LD_LIBRARY_PATH
16422 shlibpath_overrides_runpath
=no
16423 hardcode_into_libs
=yes
16428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16429 soname_spec
='${libname}${release}${shared_ext}$major'
16430 shlibpath_var
=LD_LIBRARY_PATH
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16438 $as_echo "$dynamic_linker" >&6; }
16439 test "$dynamic_linker" = no
&& can_build_shared
=no
16441 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16442 if test "$GCC" = yes; then
16443 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16446 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16447 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16449 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16450 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16491 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16492 hardcode_action_CXX
=
16493 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16494 test -n "$runpath_var_CXX" ||
16495 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16497 # We can hardcode non-existent directories.
16498 if test "$hardcode_direct_CXX" != no
&&
16499 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16500 # have to relink, otherwise we might link with an installed library
16501 # when we should be linking with a yet-to-be-installed one
16502 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16503 test "$hardcode_minus_L_CXX" != no
; then
16504 # Linking always hardcodes the temporary library directory.
16505 hardcode_action_CXX
=relink
16507 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16508 hardcode_action_CXX
=immediate
16511 # We cannot hardcode anything, or else we can only hardcode existing
16513 hardcode_action_CXX
=unsupported
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16516 $as_echo "$hardcode_action_CXX" >&6; }
16518 if test "$hardcode_action_CXX" = relink ||
16519 test "$inherit_rpath_CXX" = yes; then
16520 # Fast installation is not supported
16521 enable_fast_install
=no
16522 elif test "$shlibpath_overrides_runpath" = yes ||
16523 test "$enable_shared" = no
; then
16524 # Fast installation is not necessary
16525 enable_fast_install
=needless
16534 fi # test -n "$compiler"
16540 with_gnu_ld
=$lt_save_with_gnu_ld
16541 lt_cv_path_LDCXX
=$lt_cv_path_LD
16542 lt_cv_path_LD
=$lt_save_path_LD
16543 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16544 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16545 fi # test "$_lt_caught_CXX_error" != yes
16548 ac_cpp
='$CPP $CPPFLAGS'
16549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16555 # Handle -Werror default case.
16556 if test "$ENABLE_WERROR" = default
; then
16559 if test "$GCC" = yes; then
16566 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
16567 # Extract the first word of "perl", so it can be a program name with args.
16568 set dummy perl
; ac_word
=$2
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16570 $as_echo_n "checking for $ac_word... " >&6; }
16571 if test "${ac_cv_path_PERL+set}" = set; then :
16572 $as_echo_n "(cached) " >&6
16576 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
16579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16580 for as_dir
in $PATH
16583 test -z "$as_dir" && as_dir
=.
16584 for ac_exec_ext
in '' $ac_executable_extensions; do
16585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16586 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
16587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16597 PERL
=$ac_cv_path_PERL
16598 if test -n "$PERL"; then
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16600 $as_echo "$PERL" >&6; }
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16603 $as_echo "no" >&6; }
16609 ac_config_files
="$ac_config_files lib/mkcollections.pl"
16611 ac_config_commands
="$ac_config_commands mkcollections.pl"
16615 if test "x${COMPILE_JNI}" = xyes
; then
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((,,))" >&5
16620 $as_echo_n "checking __attribute__((,,))... " >&6; }
16621 if test "${gcc_cv_c_gcc_attribute_supported+set}" = set; then :
16622 $as_echo_n "(cached) " >&6
16625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16626 /* end confdefs.h. */
16631 extern int testfunction(int x) __attribute__((,,))
16636 if ac_fn_c_try_compile
"$LINENO"; then :
16637 gcc_cv_c_gcc_attribute_supported
=yes
16639 gcc_cv_c_gcc_attribute_supported
=no
16641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16645 if test "x$gcc_cv_c_gcc_attribute_supported" = xyes
; then
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16648 $as_echo "yes" >&6; }
16650 $as_echo "#define HAVE_GNUC25_ATTRIB /**/" >>confdefs.h
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16656 $as_echo "no" >&6; }
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((unused))" >&5
16669 $as_echo_n "checking __attribute__((unused))... " >&6; }
16670 if test "${gcc_cv_c_gcc_attribute_unused+set}" = set; then :
16671 $as_echo_n "(cached) " >&6
16674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16680 extern int testfunction(int x) __attribute__((unused))
16685 if ac_fn_c_try_compile
"$LINENO"; then :
16686 gcc_cv_c_gcc_attribute_unused
=yes
16688 gcc_cv_c_gcc_attribute_unused
=no
16690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16694 if test "x$gcc_cv_c_gcc_attribute_unused" = xyes
; then
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16697 $as_echo "yes" >&6; }
16699 $as_echo "#define HAVE_GNUC25_UNUSED /**/" >>confdefs.h
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16705 $as_echo "no" >&6; }
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16714 $as_echo_n "checking for ANSI C header files... " >&6; }
16715 if test "${ac_cv_header_stdc+set}" = set; then :
16716 $as_echo_n "(cached) " >&6
16718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16720 #include <stdlib.h>
16721 #include <stdarg.h>
16722 #include <string.h>
16733 if ac_fn_c_try_compile
"$LINENO"; then :
16734 ac_cv_header_stdc
=yes
16736 ac_cv_header_stdc
=no
16738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16740 if test $ac_cv_header_stdc = yes; then
16741 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16743 /* end confdefs.h. */
16744 #include <string.h>
16747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16748 $EGREP "memchr" >/dev
/null
2>&1; then :
16751 ac_cv_header_stdc
=no
16757 if test $ac_cv_header_stdc = yes; then
16758 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16761 #include <stdlib.h>
16764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16765 $EGREP "free" >/dev
/null
2>&1; then :
16768 ac_cv_header_stdc
=no
16774 if test $ac_cv_header_stdc = yes; then
16775 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16776 if test "$cross_compiling" = yes; then :
16779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16780 /* end confdefs.h. */
16782 #include <stdlib.h>
16783 #if ((' ' & 0x0FF) == 0x020)
16784 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16785 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16787 # define ISLOWER(c) \
16788 (('a' <= (c) && (c) <= 'i') \
16789 || ('j' <= (c) && (c) <= 'r') \
16790 || ('s' <= (c) && (c) <= 'z'))
16791 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16794 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16799 for (i = 0; i < 256; i++)
16800 if (XOR (islower (i), ISLOWER (i))
16801 || toupper (i) != TOUPPER (i))
16806 if ac_fn_c_try_run
"$LINENO"; then :
16809 ac_cv_header_stdc
=no
16811 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16812 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16818 $as_echo "$ac_cv_header_stdc" >&6; }
16819 if test $ac_cv_header_stdc = yes; then
16821 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16827 $as_echo_n "checking size of void *... " >&6; }
16828 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16829 $as_echo_n "(cached) " >&6
16831 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
16832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16834 #include "confdefs.h"
16835 #include <sys/types.h>
16841 switch (0) case 0: case (sizeof (void *) == $ac_size):;
16846 if ac_fn_c_try_compile
"$LINENO"; then :
16847 ac_cv_sizeof_void_p
=$ac_size
16849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16850 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
16855 if test x
$ac_cv_sizeof_void_p = x
; then
16856 as_fn_error
"cannot determine a size for void *" "$LINENO" 5
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16859 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16861 cat >>confdefs.h
<<_ACEOF
16862 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16868 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16869 if test "${ac_cv_c_bigendian+set}" = set; then :
16870 $as_echo_n "(cached) " >&6
16872 ac_cv_c_bigendian
=unknown
16873 # See if sys/param.h defines the BYTE_ORDER macro.
16874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16875 /* end confdefs.h. */
16876 #include <sys/types.h>
16877 #include <sys/param.h>
16882 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16883 bogus endian macros
16889 if ac_fn_c_try_compile
"$LINENO"; then :
16890 # It does; now see whether it defined to BIG_ENDIAN or not.
16891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16892 /* end confdefs.h. */
16893 #include <sys/types.h>
16894 #include <sys/param.h>
16899 #if BYTE_ORDER != BIG_ENDIAN
16906 if ac_fn_c_try_compile
"$LINENO"; then :
16907 ac_cv_c_bigendian
=yes
16909 ac_cv_c_bigendian
=no
16911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16914 if test $ac_cv_c_bigendian = unknown
; then
16915 if test "$cross_compiling" = yes; then :
16916 echo $ac_n "cross-compiling... " 2>&6
16918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h. */
16921 /* Are we little or big endian? From Harbison&Steele. */
16925 char c[sizeof (long)];
16928 exit (u.c[sizeof (long) - 1] == 1);
16931 if ac_fn_c_try_run
"$LINENO"; then :
16932 ac_cv_c_bigendian
=no
16934 ac_cv_c_bigendian
=yes
16936 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16937 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16943 $as_echo "$ac_cv_c_bigendian" >&6; }
16944 if test $ac_cv_c_bigendian = unknown
; then
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to probe for byte ordering" >&5
16946 $as_echo_n "checking to probe for byte ordering... " >&6; }
16948 cat >conftest.c
<<EOF
16949 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16950 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16951 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
16952 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16953 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16954 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
16955 int main() { _ascii (); _ebcdic (); return 0; }
16957 if test -f conftest.c
; then
16958 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
16959 if test `grep -l BIGenDianSyS conftest.o` ; then
16960 echo $ac_n ' big endian probe OK, ' 1>&6
16961 ac_cv_c_bigendian
=yes
16963 if test `grep -l LiTTleEnDian conftest.o` ; then
16964 echo $ac_n ' little endian probe OK, ' 1>&6
16965 if test $ac_cv_c_bigendian = yes ; then
16966 ac_cv_c_bigendian
=unknown
;
16968 ac_cv_c_bigendian
=no
16971 echo $ac_n 'guessing bigendian ... ' >&6
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16975 $as_echo "$ac_cv_c_bigendian" >&6; }
16977 if test $ac_cv_c_bigendian = yes; then
16979 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16982 $as_echo "#define HOST_WORDS_BIG_ENDIAN 1" >>confdefs.h
16989 cat >>confdefs.h
<<_ACEOF
16990 #define BYTEORDER $BYTEORDER
16993 if test $ac_cv_c_bigendian = unknown
; then
16994 as_fn_error
"unknown endianess - sorry, please pre-set ac_cv_c_bigendian" "$LINENO" 5
16998 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
17000 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
17007 sys
/event.h sys
/epoll.h \
17009 netinet
/in_systm.h netinet
/ip.h net
/if.h \
17010 sys
/loadavg.h sys
/sockio.h
17012 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17013 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17014 eval as_val
=\$
$as_ac_Header
17015 if test "x$as_val" = x
""yes; then :
17016 cat >>confdefs.h
<<_ACEOF
17017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #include <stdint.h>
17030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17031 $EGREP "uint32_t" >/dev
/null
2>&1; then :
17033 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17040 #include <inttypes.h>
17043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17044 $EGREP "uint32_t" >/dev
/null
2>&1; then :
17046 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 #include <sys/types.h>
17056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17057 $EGREP "u_int32_t" >/dev
/null
2>&1; then :
17059 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066 #include <sys/config.h>
17069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17070 $EGREP "u_int32_t" >/dev
/null
2>&1; then :
17072 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17079 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17080 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17081 $as_echo_n "(cached) " >&6
17083 ac_func_search_save_LIBS
=$LIBS
17084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17085 /* end confdefs.h. */
17087 /* Override any GCC internal prototype to avoid an error.
17088 Use char because int might match the return type of a GCC
17089 builtin and then its argument prototype would still apply. */
17093 char clock_gettime ();
17097 return clock_gettime ();
17102 for ac_lib
in '' rt
; do
17103 if test -z "$ac_lib"; then
17104 ac_res
="none required"
17107 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17109 if test x
$gcc_no_link = xyes
; then
17110 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17112 if ac_fn_c_try_link
"$LINENO"; then :
17113 ac_cv_search_clock_gettime
=$ac_res
17115 rm -f core conftest.err conftest.
$ac_objext \
17117 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17121 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17124 ac_cv_search_clock_gettime
=no
17126 rm conftest.
$ac_ext
17127 LIBS
=$ac_func_search_save_LIBS
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17130 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17131 ac_res
=$ac_cv_search_clock_gettime
17132 if test "$ac_res" != no
; then :
17133 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
17138 $as_echo_n "checking for library containing inet_pton... " >&6; }
17139 if test "${ac_cv_search_inet_pton+set}" = set; then :
17140 $as_echo_n "(cached) " >&6
17142 ac_func_search_save_LIBS
=$LIBS
17143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17146 /* Override any GCC internal prototype to avoid an error.
17147 Use char because int might match the return type of a GCC
17148 builtin and then its argument prototype would still apply. */
17156 return inet_pton ();
17161 for ac_lib
in '' nsl
; do
17162 if test -z "$ac_lib"; then
17163 ac_res
="none required"
17166 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17168 if test x
$gcc_no_link = xyes
; then
17169 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17171 if ac_fn_c_try_link
"$LINENO"; then :
17172 ac_cv_search_inet_pton
=$ac_res
17174 rm -f core conftest.err conftest.
$ac_objext \
17176 if test "${ac_cv_search_inet_pton+set}" = set; then :
17180 if test "${ac_cv_search_inet_pton+set}" = set; then :
17183 ac_cv_search_inet_pton
=no
17185 rm conftest.
$ac_ext
17186 LIBS
=$ac_func_search_save_LIBS
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
17189 $as_echo "$ac_cv_search_inet_pton" >&6; }
17190 ac_res
=$ac_cv_search_inet_pton
17191 if test "$ac_res" != no
; then :
17192 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lsocket" >&5
17197 $as_echo_n "checking for gethostname in -lsocket... " >&6; }
17198 if test "${ac_cv_lib_socket_gethostname+set}" = set; then :
17199 $as_echo_n "(cached) " >&6
17201 ac_check_lib_save_LIBS
=$LIBS
17202 LIBS
="-lsocket $LIBS"
17203 if test x
$gcc_no_link = xyes
; then
17204 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17209 /* Override any GCC internal prototype to avoid an error.
17210 Use char because int might match the return type of a GCC
17211 builtin and then its argument prototype would still apply. */
17215 char gethostname ();
17219 return gethostname ();
17224 if ac_fn_c_try_link
"$LINENO"; then :
17225 ac_cv_lib_socket_gethostname
=yes
17227 ac_cv_lib_socket_gethostname
=no
17229 rm -f core conftest.err conftest.
$ac_objext \
17230 conftest
$ac_exeext conftest.
$ac_ext
17231 LIBS
=$ac_check_lib_save_LIBS
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostname" >&5
17234 $as_echo "$ac_cv_lib_socket_gethostname" >&6; }
17235 if test "x$ac_cv_lib_socket_gethostname" = x
""yes; then :
17236 cat >>confdefs.h
<<_ACEOF
17237 #define HAVE_LIBSOCKET 1
17240 LIBS
="-lsocket $LIBS"
17245 for ac_func
in ftruncate fsync
select \
17246 gethostname socket strerror fork pipe execve open close \
17247 lseek fstat
read readv
write writev htonl memset htons connect \
17248 getsockname getpeername
bind listen accept \
17249 recvfrom send sendto setsockopt getsockopt
time mktime clock_gettime \
17250 gethostbyname_r localtime_r \
17254 mmap munmap mincore msync madvise getpagesize sysconf \
17256 inet_aton inet_addr inet_pton \
17257 getifaddrs kqueue kevent epoll_create \
17260 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17261 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17262 eval as_val
=\$
$as_ac_var
17263 if test "x$as_val" = x
""yes; then :
17264 cat >>confdefs.h
<<_ACEOF
17265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
17274 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
17275 if test "${ac_cv_lib_magic_magic_open+set}" = set; then :
17276 $as_echo_n "(cached) " >&6
17278 ac_check_lib_save_LIBS
=$LIBS
17279 LIBS
="-lmagic $LIBS"
17280 if test x
$gcc_no_link = xyes
; then
17281 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17286 /* Override any GCC internal prototype to avoid an error.
17287 Use char because int might match the return type of a GCC
17288 builtin and then its argument prototype would still apply. */
17292 char magic_open ();
17296 return magic_open ();
17301 if ac_fn_c_try_link
"$LINENO"; then :
17302 ac_cv_lib_magic_magic_open
=yes
17304 ac_cv_lib_magic_magic_open
=no
17306 rm -f core conftest.err conftest.
$ac_objext \
17307 conftest
$ac_exeext conftest.
$ac_ext
17308 LIBS
=$ac_check_lib_save_LIBS
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
17311 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
17312 if test "x$ac_cv_lib_magic_magic_open" = x
""yes; then :
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
17319 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
17320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17321 /* end confdefs.h. */
17322 #include <netinet/in.h>
17326 struct sockaddr_in6 addr6;
17331 if ac_fn_c_try_compile
"$LINENO"; then :
17333 $as_echo "#define HAVE_INET6 1" >>confdefs.h
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17336 $as_echo "yes" >&6; }
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17339 $as_echo "no" >&6; }
17341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
17344 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
17345 if test "${ac_cv_header_time+set}" = set; then :
17346 $as_echo_n "(cached) " >&6
17348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 #include <sys/types.h>
17351 #include <sys/time.h>
17357 if ((struct tm *) 0)
17363 if ac_fn_c_try_compile
"$LINENO"; then :
17364 ac_cv_header_time
=yes
17366 ac_cv_header_time
=no
17368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
17371 $as_echo "$ac_cv_header_time" >&6; }
17372 if test $ac_cv_header_time = yes; then
17374 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
17379 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
17380 if test "${ac_cv_struct_tm+set}" = set; then :
17381 $as_echo_n "(cached) " >&6
17383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 #include <sys/types.h>
17392 int *p = &tm.tm_sec;
17398 if ac_fn_c_try_compile
"$LINENO"; then :
17399 ac_cv_struct_tm
=time.h
17401 ac_cv_struct_tm
=sys
/time.h
17403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
17406 $as_echo "$ac_cv_struct_tm" >&6; }
17407 if test $ac_cv_struct_tm = sys
/time.h
; then
17409 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
17413 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
17414 #include <$ac_cv_struct_tm>
17417 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
17419 cat >>confdefs.h
<<_ACEOF
17420 #define HAVE_STRUCT_TM_TM_ZONE 1
17426 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
17428 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
17431 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
17433 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
17439 cat >>confdefs.h
<<_ACEOF
17440 #define HAVE_DECL_TZNAME $ac_have_decl
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
17444 $as_echo_n "checking for tzname... " >&6; }
17445 if test "${ac_cv_var_tzname+set}" = set; then :
17446 $as_echo_n "(cached) " >&6
17448 if test x
$gcc_no_link = xyes
; then
17449 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17454 #if !HAVE_DECL_TZNAME
17455 extern char *tzname[];
17461 return tzname[0][0];
17466 if ac_fn_c_try_link
"$LINENO"; then :
17467 ac_cv_var_tzname
=yes
17469 ac_cv_var_tzname
=no
17471 rm -f core conftest.err conftest.
$ac_objext \
17472 conftest
$ac_exeext conftest.
$ac_ext
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
17475 $as_echo "$ac_cv_var_tzname" >&6; }
17476 if test $ac_cv_var_tzname = yes; then
17478 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
17485 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
17486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17492 struct tm tim; tim.tm_gmtoff = 0;
17497 if ac_fn_c_try_compile
"$LINENO"; then :
17499 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17502 $as_echo "yes" >&6; }
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17505 $as_echo "no" >&6; }
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
17507 $as_echo_n "checking for global timezone variable... " >&6; }
17508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17514 void i(){long z2 = 2*timezone;}
17519 if ac_fn_c_try_compile
"$LINENO"; then :
17521 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17524 $as_echo "yes" >&6; }
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17527 $as_echo "no" >&6; }
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
17529 $as_echo_n "checking for global _timezone variable... " >&6; }
17530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17531 /* end confdefs.h. */
17536 long z2 = _timezone;
17541 if ac_fn_c_try_compile
"$LINENO"; then :
17543 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17546 $as_echo "yes" >&6; }
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17549 $as_echo "no" >&6; }
17551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17558 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17559 if test "${ac_cv_c_const+set}" = set; then :
17560 $as_echo_n "(cached) " >&6
17562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17568 /* FIXME: Include the comments suggested by Paul. */
17569 #ifndef __cplusplus
17570 /* Ultrix mips cc rejects this. */
17571 typedef int charset[2];
17573 /* SunOS 4.1.1 cc rejects this. */
17574 char const *const *pcpcc;
17576 /* NEC SVR4.0.2 mips cc rejects this. */
17577 struct point {int x, y;};
17578 static struct point const zero = {0,0};
17579 /* AIX XL C 1.02.0.0 rejects this.
17580 It does not let you subtract one const X* pointer from another in
17581 an arm of an if-expression whose if-part is not a constant
17583 const char *g = "string";
17584 pcpcc = &g + (g ? g-g : 0);
17585 /* HPUX 7.0 cc rejects these. */
17587 ppc = (char**) pcpcc;
17588 pcpcc = (char const *const *) ppc;
17589 { /* SCO 3.2v4 cc rejects this. */
17591 char const *s = 0 ? (char *) 0 : (char const *) 0;
17596 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17597 int x[] = {25, 17};
17598 const int *foo = &x[0];
17601 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17602 typedef const int *iptr;
17606 { /* AIX XL C 1.02.0.0 rejects this saying
17607 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17608 struct s { int j; const int *ap[3]; };
17609 struct s *b; b->j = 5;
17611 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17612 const int foo = 10;
17613 if (!foo) return 0;
17615 return !cs[0] && !zero.x;
17622 if ac_fn_c_try_compile
"$LINENO"; then :
17627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17630 $as_echo "$ac_cv_c_const" >&6; }
17631 if test $ac_cv_c_const = no
; then
17633 $as_echo "#define const /**/" >>confdefs.h
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17638 $as_echo_n "checking for inline... " >&6; }
17639 if test "${ac_cv_c_inline+set}" = set; then :
17640 $as_echo_n "(cached) " >&6
17643 for ac_kw
in inline __inline__ __inline
; do
17644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17645 /* end confdefs.h. */
17646 #ifndef __cplusplus
17648 static $ac_kw foo_t static_foo () {return 0; }
17649 $ac_kw foo_t foo () {return 0; }
17653 if ac_fn_c_try_compile
"$LINENO"; then :
17654 ac_cv_c_inline
=$ac_kw
17656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17657 test "$ac_cv_c_inline" != no
&& break
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17662 $as_echo "$ac_cv_c_inline" >&6; }
17664 case $ac_cv_c_inline in
17667 case $ac_cv_c_inline in
17669 *) ac_val
=$ac_cv_c_inline;;
17671 cat >>confdefs.h
<<_ACEOF
17672 #ifndef __cplusplus
17673 #define inline $ac_val
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
17680 $as_echo_n "checking for __attribute__... " >&6; }
17681 if test "${ac_cv_c_attribute+set}" = set; then :
17682 $as_echo_n "(cached) " >&6
17685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17687 void foo(void) __attribute__ ((__noreturn__));
17690 if ac_fn_c_try_compile
"$LINENO"; then :
17691 ac_cv_c_attribute
=yes
17693 ac_cv_c_attribute
=no
17696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_attribute" >&5
17700 $as_echo "$ac_cv_c_attribute" >&6; }
17702 case $ac_cv_c_attribute in
17705 cat >>confdefs.h
<<_ACEOF
17706 #define __attribute__(x) /* nothing */
17714 ac_cpp
='$CPP $CPPFLAGS'
17715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
17720 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
17722 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
17723 $as_echo_n "(cached) " >&6
17727 ################################################################
17729 ac_cv_func_which_gethostbyname_r
=unknown
17732 # ONE ARGUMENT (sanity check)
17735 # This should fail, as there is no variant of gethostbyname_r() that takes
17736 # a single argument. If it actually compiles, then we can assume that
17737 # netdb.h is not declaring the function, and the compiler is thereby
17738 # assuming an implicit prototype. In which case, we're out of luck.
17740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17741 /* end confdefs.h. */
17748 char *name = "www.gnu.org";
17749 (void)gethostbyname_r(name) /* ; */
17755 if ac_fn_c_try_compile
"$LINENO"; then :
17756 ac_cv_func_which_gethostbyname_r
=no
17758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17765 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17768 /* end confdefs.h. */
17775 char *name = "www.gnu.org";
17776 struct hostent ret, *retp;
17780 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
17786 if ac_fn_c_try_compile
"$LINENO"; then :
17787 ac_cv_func_which_gethostbyname_r
=six
17789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17798 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17808 char *name = "www.gnu.org";
17809 struct hostent ret;
17813 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
17819 if ac_fn_c_try_compile
"$LINENO"; then :
17820 ac_cv_func_which_gethostbyname_r
=five
17822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17828 # (e.g. AIX, HP-UX, Tru64)
17831 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17834 /* end confdefs.h. */
17841 char *name = "www.gnu.org";
17842 struct hostent ret;
17843 struct hostent_data data;
17844 (void)gethostbyname_r(name, &ret, &data) /* ; */
17850 if ac_fn_c_try_compile
"$LINENO"; then :
17851 ac_cv_func_which_gethostbyname_r
=three
17853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17857 ################################################################
17862 case "$ac_cv_func_which_gethostbyname_r" in
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
17865 $as_echo "three" >&6; }
17867 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
17873 $as_echo "five" >&6; }
17875 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
17881 $as_echo "six" >&6; }
17883 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
17889 $as_echo "cannot find function declaration in netdb.h" >&6; }
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
17894 $as_echo "can't tell" >&6; }
17898 as_fn_error
"internal error" "$LINENO" 5
17903 ac_cpp
='$CPP $CPPFLAGS'
17904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17912 if test "X$prefix" = "XNONE"; then
17913 acl_final_prefix
="$ac_default_prefix"
17915 acl_final_prefix
="$prefix"
17917 if test "X$exec_prefix" = "XNONE"; then
17918 acl_final_exec_prefix
='${prefix}'
17920 acl_final_exec_prefix
="$exec_prefix"
17922 acl_save_prefix
="$prefix"
17923 prefix
="$acl_final_prefix"
17924 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
17925 prefix
="$acl_save_prefix"
17928 # Check whether --with-gnu-ld was given.
17929 if test "${with_gnu_ld+set}" = set; then :
17930 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
17935 # Prepare PATH_SEPARATOR.
17936 # The user is always right.
17937 if test "${PATH_SEPARATOR+set}" != set; then
17938 echo "#! /bin/sh" >conf$$.sh
17939 echo "exit 0" >>conf$$.sh
17941 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17949 if test "$GCC" = yes; then
17950 # Check if gcc -print-prog-name=ld gives a path.
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17952 $as_echo_n "checking for ld used by GCC... " >&6; }
17955 # gcc leaves a trailing carriage return which upsets mingw
17956 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17958 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
17961 # Accept absolute paths.
17962 [\\/]* |
[A-Za-z
]:[\\/]*)
17963 re_direlt
='/[^/][^/]*/\.\./'
17964 # Canonicalize the path of ld
17965 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
17966 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
17967 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
17969 test -z "$LD" && LD
="$ac_prog"
17972 # If it fails, then pretend we aren't using GCC.
17976 # If it is relative, then search for the first ld in PATH.
17977 with_gnu_ld
=unknown
17980 elif test "$with_gnu_ld" = yes; then
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17982 $as_echo_n "checking for GNU ld... " >&6; }
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17985 $as_echo_n "checking for non-GNU ld... " >&6; }
17987 if test "${acl_cv_path_LD+set}" = set; then :
17988 $as_echo_n "(cached) " >&6
17990 if test -z "$LD"; then
17991 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17992 for ac_dir
in $PATH; do
17993 test -z "$ac_dir" && ac_dir
=.
17994 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
17995 acl_cv_path_LD
="$ac_dir/$ac_prog"
17996 # Check to see if the program is GNU ld. I'd rather use --version,
17997 # but apparently some GNU ld's only accept -v.
17998 # Break only if it was the GNU/non-GNU ld that we prefer.
17999 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
18000 *GNU
* |
*'with BFD'*)
18001 test "$with_gnu_ld" != no
&& break ;;
18003 test "$with_gnu_ld" != yes && break ;;
18009 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
18013 LD
="$acl_cv_path_LD"
18014 if test -n "$LD"; then
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18016 $as_echo "$LD" >&6; }
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18019 $as_echo "no" >&6; }
18021 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18023 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18024 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
18025 $as_echo_n "(cached) " >&6
18027 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
18028 case `$LD -v 2>&1 </dev/null` in
18029 *GNU
* |
*'with BFD'*)
18030 acl_cv_prog_gnu_ld
=yes ;;
18032 acl_cv_prog_gnu_ld
=no
;;
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
18036 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
18037 with_gnu_ld
=$acl_cv_prog_gnu_ld
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
18043 $as_echo_n "checking for shared library run path origin... " >&6; }
18044 if test "${acl_cv_rpath+set}" = set; then :
18045 $as_echo_n "(cached) " >&6
18048 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
18049 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18051 rm -f .
/conftest.sh
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
18056 $as_echo "$acl_cv_rpath" >&6; }
18058 acl_libext
="$acl_cv_libext"
18059 acl_shlibext
="$acl_cv_shlibext"
18060 acl_libname_spec
="$acl_cv_libname_spec"
18061 acl_library_names_spec
="$acl_cv_library_names_spec"
18062 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
18063 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
18064 acl_hardcode_direct
="$acl_cv_hardcode_direct"
18065 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
18066 # Check whether --enable-rpath was given.
18067 if test "${enable_rpath+set}" = set; then :
18068 enableval
=$enable_rpath; :
18080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
18081 $as_echo_n "checking for 64-bit host... " >&6; }
18082 if test "${gl_cv_solaris_64bit+set}" = set; then :
18083 $as_echo_n "(cached) " >&6
18085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18086 /* end confdefs.h. */
18093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18094 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
18095 gl_cv_solaris_64bit
=yes
18097 gl_cv_solaris_64bit
=no
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
18104 $as_echo "$gl_cv_solaris_64bit" >&6; }
18105 if test $gl_cv_solaris_64bit = yes; then
18106 acl_libdirstem
=lib
/64
18107 case "$host_cpu" in
18108 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
18109 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
18114 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
18115 if test -n "$searchpath"; then
18116 acl_save_IFS
="${IFS= }"; IFS
=":"
18117 for searchdir
in $searchpath; do
18118 if test -d "$searchdir"; then
18119 case "$searchdir" in
18120 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
18122 # Better ignore directories of this form. They are misleading.
18124 *) searchdir
=`cd "$searchdir" && pwd`
18125 case "$searchdir" in
18126 */lib64
) acl_libdirstem
=lib64
;;
18131 IFS
="$acl_save_IFS"
18135 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
18150 acl_save_prefix
="$prefix"
18151 prefix
="$acl_final_prefix"
18152 acl_save_exec_prefix
="$exec_prefix"
18153 exec_prefix
="$acl_final_exec_prefix"
18155 eval additional_includedir
=\"$includedir\"
18156 eval additional_libdir
=\"$libdir\"
18158 exec_prefix
="$acl_save_exec_prefix"
18159 prefix
="$acl_save_prefix"
18162 # Check whether --with-libiconv-prefix was given.
18163 if test "${with_libiconv_prefix+set}" = set; then :
18164 withval
=$with_libiconv_prefix;
18165 if test "X$withval" = "Xno"; then
18168 if test "X$withval" = "X"; then
18170 acl_save_prefix
="$prefix"
18171 prefix
="$acl_final_prefix"
18172 acl_save_exec_prefix
="$exec_prefix"
18173 exec_prefix
="$acl_final_exec_prefix"
18175 eval additional_includedir
=\"$includedir\"
18176 eval additional_libdir
=\"$libdir\"
18178 exec_prefix
="$acl_save_exec_prefix"
18179 prefix
="$acl_save_prefix"
18182 additional_includedir
="$withval/include"
18183 additional_libdir
="$withval/$acl_libdirstem"
18184 if test "$acl_libdirstem2" != "$acl_libdirstem" \
18185 && ! test -d "$withval/$acl_libdirstem"; then
18186 additional_libdir
="$withval/$acl_libdirstem2"
18200 names_already_handled
=
18201 names_next_round
='iconv '
18202 while test -n "$names_next_round"; do
18203 names_this_round
="$names_next_round"
18205 for name
in $names_this_round; do
18207 for n
in $names_already_handled; do
18208 if test "$n" = "$name"; then
18209 already_handled
=yes
18213 if test -z "$already_handled"; then
18214 names_already_handled
="$names_already_handled $name"
18215 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18216 eval value
=\"\
$HAVE_LIB$uppername\"
18217 if test -n "$value"; then
18218 if test "$value" = yes; then
18219 eval value
=\"\
$LIB$uppername\"
18220 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
18221 eval value
=\"\
$LTLIB$uppername\"
18222 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
18231 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
18232 if test -n "$acl_shlibext"; then
18233 shrext
=".$acl_shlibext" # typically: shrext=.so
18237 if test $use_additional = yes; then
18238 dir
="$additional_libdir"
18239 if test -n "$acl_shlibext"; then
18240 if test -f "$dir/$libname$shrext"; then
18242 found_so
="$dir/$libname$shrext"
18244 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18245 ver
=`(cd "$dir" && \
18246 for f in "$libname$shrext".*; do echo "$f"; done \
18247 | sed -e "s,^$libname$shrext\\\\.,," \
18248 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18249 | sed 1q ) 2>/dev/null`
18250 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18252 found_so
="$dir/$libname$shrext.$ver"
18255 eval library_names
=\"$acl_library_names_spec\"
18256 for f
in $library_names; do
18257 if test -f "$dir/$f"; then
18266 if test "X$found_dir" = "X"; then
18267 if test -f "$dir/$libname.$acl_libext"; then
18269 found_a
="$dir/$libname.$acl_libext"
18272 if test "X$found_dir" != "X"; then
18273 if test -f "$dir/$libname.la"; then
18274 found_la
="$dir/$libname.la"
18278 if test "X$found_dir" = "X"; then
18279 for x
in $LDFLAGS $LTLIBICONV; do
18281 acl_save_prefix
="$prefix"
18282 prefix
="$acl_final_prefix"
18283 acl_save_exec_prefix
="$exec_prefix"
18284 exec_prefix
="$acl_final_exec_prefix"
18286 exec_prefix
="$acl_save_exec_prefix"
18287 prefix
="$acl_save_prefix"
18291 dir
=`echo "X$x" | sed -e 's/^X-L//'`
18292 if test -n "$acl_shlibext"; then
18293 if test -f "$dir/$libname$shrext"; then
18295 found_so
="$dir/$libname$shrext"
18297 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18298 ver
=`(cd "$dir" && \
18299 for f in "$libname$shrext".*; do echo "$f"; done \
18300 | sed -e "s,^$libname$shrext\\\\.,," \
18301 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18302 | sed 1q ) 2>/dev/null`
18303 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18305 found_so
="$dir/$libname$shrext.$ver"
18308 eval library_names
=\"$acl_library_names_spec\"
18309 for f
in $library_names; do
18310 if test -f "$dir/$f"; then
18319 if test "X$found_dir" = "X"; then
18320 if test -f "$dir/$libname.$acl_libext"; then
18322 found_a
="$dir/$libname.$acl_libext"
18325 if test "X$found_dir" != "X"; then
18326 if test -f "$dir/$libname.la"; then
18327 found_la
="$dir/$libname.la"
18332 if test "X$found_dir" != "X"; then
18337 if test "X$found_dir" != "X"; then
18338 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18339 if test "X$found_so" != "X"; then
18340 if test "$enable_rpath" = no \
18341 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
18342 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18343 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18346 for x
in $ltrpathdirs; do
18347 if test "X$x" = "X$found_dir"; then
18352 if test -z "$haveit"; then
18353 ltrpathdirs
="$ltrpathdirs $found_dir"
18355 if test "$acl_hardcode_direct" = yes; then
18356 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18358 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
18359 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18361 for x
in $rpathdirs; do
18362 if test "X$x" = "X$found_dir"; then
18367 if test -z "$haveit"; then
18368 rpathdirs
="$rpathdirs $found_dir"
18372 for x
in $LDFLAGS $LIBICONV; do
18374 acl_save_prefix
="$prefix"
18375 prefix
="$acl_final_prefix"
18376 acl_save_exec_prefix
="$exec_prefix"
18377 exec_prefix
="$acl_final_exec_prefix"
18379 exec_prefix
="$acl_save_exec_prefix"
18380 prefix
="$acl_save_prefix"
18382 if test "X$x" = "X-L$found_dir"; then
18387 if test -z "$haveit"; then
18388 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18390 if test "$acl_hardcode_minus_L" != no
; then
18391 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18393 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18399 if test "X$found_a" != "X"; then
18400 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
18402 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18405 additional_includedir
=
18406 case "$found_dir" in
18407 */$acl_libdirstem |
*/$acl_libdirstem/)
18408 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18409 if test "$name" = 'iconv'; then
18410 LIBICONV_PREFIX
="$basedir"
18412 additional_includedir
="$basedir/include"
18414 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
18415 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
18416 if test "$name" = 'iconv'; then
18417 LIBICONV_PREFIX
="$basedir"
18419 additional_includedir
="$basedir/include"
18422 if test "X$additional_includedir" != "X"; then
18423 if test "X$additional_includedir" != "X/usr/include"; then
18425 if test "X$additional_includedir" = "X/usr/local/include"; then
18426 if test -n "$GCC"; then
18428 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
18432 if test -z "$haveit"; then
18433 for x
in $CPPFLAGS $INCICONV; do
18435 acl_save_prefix
="$prefix"
18436 prefix
="$acl_final_prefix"
18437 acl_save_exec_prefix
="$exec_prefix"
18438 exec_prefix
="$acl_final_exec_prefix"
18440 exec_prefix
="$acl_save_exec_prefix"
18441 prefix
="$acl_save_prefix"
18443 if test "X$x" = "X-I$additional_includedir"; then
18448 if test -z "$haveit"; then
18449 if test -d "$additional_includedir"; then
18450 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18456 if test -n "$found_la"; then
18457 save_libdir
="$libdir"
18458 case "$found_la" in
18459 */* |
*\\*) .
"$found_la" ;;
18460 *) .
"./$found_la" ;;
18462 libdir
="$save_libdir"
18463 for dep
in $dependency_libs; do
18466 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
18467 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
18468 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
18470 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
18471 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
18472 if test -n "$GCC"; then
18474 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
18478 if test -z "$haveit"; then
18480 for x
in $LDFLAGS $LIBICONV; do
18482 acl_save_prefix
="$prefix"
18483 prefix
="$acl_final_prefix"
18484 acl_save_exec_prefix
="$exec_prefix"
18485 exec_prefix
="$acl_final_exec_prefix"
18487 exec_prefix
="$acl_save_exec_prefix"
18488 prefix
="$acl_save_prefix"
18490 if test "X$x" = "X-L$additional_libdir"; then
18495 if test -z "$haveit"; then
18496 if test -d "$additional_libdir"; then
18497 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18501 for x
in $LDFLAGS $LTLIBICONV; do
18503 acl_save_prefix
="$prefix"
18504 prefix
="$acl_final_prefix"
18505 acl_save_exec_prefix
="$exec_prefix"
18506 exec_prefix
="$acl_final_exec_prefix"
18508 exec_prefix
="$acl_save_exec_prefix"
18509 prefix
="$acl_save_prefix"
18511 if test "X$x" = "X-L$additional_libdir"; then
18516 if test -z "$haveit"; then
18517 if test -d "$additional_libdir"; then
18518 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18525 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
18526 if test "$enable_rpath" != no
; then
18528 for x
in $rpathdirs; do
18529 if test "X$x" = "X$dir"; then
18534 if test -z "$haveit"; then
18535 rpathdirs
="$rpathdirs $dir"
18538 for x
in $ltrpathdirs; do
18539 if test "X$x" = "X$dir"; then
18544 if test -z "$haveit"; then
18545 ltrpathdirs
="$ltrpathdirs $dir"
18550 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18553 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18556 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
18557 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18563 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18564 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18570 if test "X$rpathdirs" != "X"; then
18571 if test -n "$acl_hardcode_libdir_separator"; then
18573 for found_dir
in $rpathdirs; do
18574 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18576 acl_save_libdir
="$libdir"
18578 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
18579 libdir
="$acl_save_libdir"
18580 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
18582 for found_dir
in $rpathdirs; do
18583 acl_save_libdir
="$libdir"
18584 libdir
="$found_dir"
18585 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
18586 libdir
="$acl_save_libdir"
18587 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
18591 if test "X$ltrpathdirs" != "X"; then
18592 for found_dir
in $ltrpathdirs; do
18593 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18608 am_save_CPPFLAGS
="$CPPFLAGS"
18610 for element
in $INCICONV; do
18612 for x
in $CPPFLAGS; do
18614 acl_save_prefix
="$prefix"
18615 prefix
="$acl_final_prefix"
18616 acl_save_exec_prefix
="$exec_prefix"
18617 exec_prefix
="$acl_final_exec_prefix"
18619 exec_prefix
="$acl_save_exec_prefix"
18620 prefix
="$acl_save_prefix"
18622 if test "X$x" = "X$element"; then
18627 if test -z "$haveit"; then
18628 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18634 $as_echo_n "checking for iconv... " >&6; }
18635 if test "${am_cv_func_iconv+set}" = set; then :
18636 $as_echo_n "(cached) " >&6
18639 am_cv_func_iconv
="no, consider installing GNU libiconv"
18641 if test x
$gcc_no_link = xyes
; then
18642 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646 #include <stdlib.h>
18651 iconv_t cd = iconv_open("","");
18652 iconv(cd,NULL,NULL,NULL,NULL);
18658 if ac_fn_c_try_link
"$LINENO"; then :
18659 am_cv_func_iconv
=yes
18661 rm -f core conftest.err conftest.
$ac_objext \
18662 conftest
$ac_exeext conftest.
$ac_ext
18663 if test "$am_cv_func_iconv" != yes; then
18664 am_save_LIBS
="$LIBS"
18665 LIBS
="$LIBS $LIBICONV"
18666 if test x
$gcc_no_link = xyes
; then
18667 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18670 /* end confdefs.h. */
18671 #include <stdlib.h>
18676 iconv_t cd = iconv_open("","");
18677 iconv(cd,NULL,NULL,NULL,NULL);
18683 if ac_fn_c_try_link
"$LINENO"; then :
18684 am_cv_lib_iconv
=yes
18685 am_cv_func_iconv
=yes
18687 rm -f core conftest.err conftest.
$ac_objext \
18688 conftest
$ac_exeext conftest.
$ac_ext
18689 LIBS
="$am_save_LIBS"
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18694 $as_echo "$am_cv_func_iconv" >&6; }
18695 if test "$am_cv_func_iconv" = yes; then
18697 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18700 if test "$am_cv_lib_iconv" = yes; then
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18702 $as_echo_n "checking how to link with libiconv... " >&6; }
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18704 $as_echo "$LIBICONV" >&6; }
18706 CPPFLAGS
="$am_save_CPPFLAGS"
18713 if test "$am_cv_func_iconv" = yes; then
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
18715 $as_echo_n "checking for iconv declaration... " >&6; }
18716 if test "${am_cv_proto_iconv+set}" = set; then :
18717 $as_echo_n "(cached) " >&6
18720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18721 /* end confdefs.h. */
18723 #include <stdlib.h>
18729 #if defined(__STDC__) || defined(__cplusplus)
18730 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
18743 if ac_fn_c_try_compile
"$LINENO"; then :
18744 am_cv_proto_iconv_arg1
=""
18746 am_cv_proto_iconv_arg1
="const"
18748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18749 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);"
18752 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
18754 }$am_cv_proto_iconv" >&5
18756 }$am_cv_proto_iconv" >&6; }
18758 cat >>confdefs.h
<<_ACEOF
18759 #define ICONV_CONST $am_cv_proto_iconv_arg1
18765 if test "x${GCC}" = xyes
; then
18767 WARNING_CFLAGS
='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
18770 EXTRA_CFLAGS
='-fexceptions -fasynchronous-unwind-tables'
18773 STRICT_WARNING_CFLAGS
='-Wstrict-prototypes -pedantic'
18777 if test "x${ENABLE_WERROR}" = xyes
; then
18778 ERROR_CFLAGS
='-Werror'
18783 if test "x${COMPILE_XMLJ}" = xyes
; then
18787 if test -z "$PKG_CONFIG"; then
18788 if test -n "$ac_tool_prefix"; then
18789 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18790 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18792 $as_echo_n "checking for $ac_word... " >&6; }
18793 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18794 $as_echo_n "(cached) " >&6
18796 case $PKG_CONFIG in
18798 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18802 for as_dir
in $PATH
18805 test -z "$as_dir" && as_dir
=.
18806 for ac_exec_ext
in '' $ac_executable_extensions; do
18807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18808 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18819 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18820 if test -n "$PKG_CONFIG"; then
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18822 $as_echo "$PKG_CONFIG" >&6; }
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18825 $as_echo "no" >&6; }
18830 if test -z "$ac_cv_path_PKG_CONFIG"; then
18831 ac_pt_PKG_CONFIG
=$PKG_CONFIG
18832 # Extract the first word of "pkg-config", so it can be a program name with args.
18833 set dummy pkg-config
; ac_word
=$2
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18835 $as_echo_n "checking for $ac_word... " >&6; }
18836 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
18837 $as_echo_n "(cached) " >&6
18839 case $ac_pt_PKG_CONFIG in
18841 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18845 for as_dir
in $PATH
18848 test -z "$as_dir" && as_dir
=.
18849 for ac_exec_ext
in '' $ac_executable_extensions; do
18850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18851 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18862 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
18863 if test -n "$ac_pt_PKG_CONFIG"; then
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18865 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18868 $as_echo "no" >&6; }
18871 if test "x$ac_pt_PKG_CONFIG" = x
; then
18874 case $cross_compiling:$ac_tool_warned in
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18878 ac_tool_warned
=yes ;;
18880 PKG_CONFIG
=$ac_pt_PKG_CONFIG
18883 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
18888 if test "$PKG_CONFIG" = "no" ; then
18889 echo "*** The pkg-config script could not be found. Make sure it is"
18890 echo "*** in your path, or set the PKG_CONFIG environment variable"
18891 echo "*** to the full path to pkg-config."
18892 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18894 PKG_CONFIG_MIN_VERSION
=0.9.0
18895 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.6.8" >&5
18897 $as_echo_n "checking for libxml-2.0 >= 2.6.8... " >&6; }
18899 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18901 $as_echo "yes" >&6; }
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_CFLAGS" >&5
18905 $as_echo_n "checking XML_CFLAGS... " >&6; }
18906 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CFLAGS" >&5
18908 $as_echo "$XML_CFLAGS" >&6; }
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_LIBS" >&5
18911 $as_echo_n "checking XML_LIBS... " >&6; }
18912 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_LIBS" >&5
18914 $as_echo "$XML_LIBS" >&6; }
18918 ## If we have a custom action on failure, don't print errors, but
18919 ## do set a variable so people can do so.
18920 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
18921 echo $XML_PKG_ERRORS
18927 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18928 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18932 if test $succeeded = yes; then
18935 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
18941 if test -z "$PKG_CONFIG"; then
18942 if test -n "$ac_tool_prefix"; then
18943 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18944 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18946 $as_echo_n "checking for $ac_word... " >&6; }
18947 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18948 $as_echo_n "(cached) " >&6
18950 case $PKG_CONFIG in
18952 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18956 for as_dir
in $PATH
18959 test -z "$as_dir" && as_dir
=.
18960 for ac_exec_ext
in '' $ac_executable_extensions; do
18961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18962 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18973 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18974 if test -n "$PKG_CONFIG"; then
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18976 $as_echo "$PKG_CONFIG" >&6; }
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18979 $as_echo "no" >&6; }
18984 if test -z "$ac_cv_path_PKG_CONFIG"; then
18985 ac_pt_PKG_CONFIG
=$PKG_CONFIG
18986 # Extract the first word of "pkg-config", so it can be a program name with args.
18987 set dummy pkg-config
; ac_word
=$2
18988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18989 $as_echo_n "checking for $ac_word... " >&6; }
18990 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
18991 $as_echo_n "(cached) " >&6
18993 case $ac_pt_PKG_CONFIG in
18995 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18999 for as_dir
in $PATH
19002 test -z "$as_dir" && as_dir
=.
19003 for ac_exec_ext
in '' $ac_executable_extensions; do
19004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19005 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19016 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
19017 if test -n "$ac_pt_PKG_CONFIG"; then
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19019 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19022 $as_echo "no" >&6; }
19025 if test "x$ac_pt_PKG_CONFIG" = x
; then
19028 case $cross_compiling:$ac_tool_warned in
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19032 ac_tool_warned
=yes ;;
19034 PKG_CONFIG
=$ac_pt_PKG_CONFIG
19037 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
19042 if test "$PKG_CONFIG" = "no" ; then
19043 echo "*** The pkg-config script could not be found. Make sure it is"
19044 echo "*** in your path, or set the PKG_CONFIG environment variable"
19045 echo "*** to the full path to pkg-config."
19046 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19048 PKG_CONFIG_MIN_VERSION
=0.9.0
19049 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxslt >= 1.1.11" >&5
19051 $as_echo_n "checking for libxslt >= 1.1.11... " >&6; }
19053 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19055 $as_echo "yes" >&6; }
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_CFLAGS" >&5
19059 $as_echo_n "checking XSLT_CFLAGS... " >&6; }
19060 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_CFLAGS" >&5
19062 $as_echo "$XSLT_CFLAGS" >&6; }
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_LIBS" >&5
19065 $as_echo_n "checking XSLT_LIBS... " >&6; }
19066 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_LIBS" >&5
19068 $as_echo "$XSLT_LIBS" >&6; }
19072 ## If we have a custom action on failure, don't print errors, but
19073 ## do set a variable so people can do so.
19074 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
19075 echo $XSLT_PKG_ERRORS
19081 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19082 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19086 if test $succeeded = yes; then
19089 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
19098 if test "x${COMPILE_GTK_PEER}" = xyes
; then
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19100 $as_echo_n "checking for X... " >&6; }
19103 # Check whether --with-x was given.
19104 if test "${with_x+set}" = set; then :
19108 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19109 if test "x$with_x" = xno
; then
19110 # The user explicitly disabled X.
19113 case $x_includes,$x_libraries in #(
19114 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
19115 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
19116 $as_echo_n "(cached) " >&6
19118 # One or both of the vars are not set, and there is no cached value.
19119 ac_x_includes
=no ac_x_libraries
=no
19120 rm -f -r conftest.dir
19121 if mkdir conftest.dir
; then
19123 cat >Imakefile
<<'_ACEOF'
19125 @echo incroot='${INCROOT}'
19127 @echo usrlibdir='${USRLIBDIR}'
19129 @echo libdir='${LIBDIR}'
19131 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
19132 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19133 for ac_var
in incroot usrlibdir libdir
; do
19134 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
19136 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19137 for ac_extension
in a so sl dylib la dll
; do
19138 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19139 test -f "$ac_im_libdir/libX11.$ac_extension"; then
19140 ac_im_usrlibdir
=$ac_im_libdir; break
19143 # Screen out bogus values from the imake configuration. They are
19144 # bogus both because they are the default anyway, and because
19145 # using them would break gcc on systems where it needs fixed includes.
19146 case $ac_im_incroot in
19147 /usr
/include
) ac_x_includes
= ;;
19148 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
19150 case $ac_im_usrlibdir in
19151 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
19152 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
19156 rm -f -r conftest.dir
19159 # Standard set of common directories for X headers.
19160 # Check X11 before X11Rn because it is often a symlink to the current release.
19174 /usr/local/X11/include
19175 /usr/local/X11R7/include
19176 /usr/local/X11R6/include
19177 /usr/local/X11R5/include
19178 /usr/local/X11R4/include
19180 /usr/local/include/X11
19181 /usr/local/include/X11R7
19182 /usr/local/include/X11R6
19183 /usr/local/include/X11R5
19184 /usr/local/include/X11R4
19188 /usr/XFree86/include/X11
19192 /usr/unsupported/include
19193 /usr/athena/include
19194 /usr/local/x11r5/include
19195 /usr/lpp/Xamples/include
19197 /usr/openwin/include
19198 /usr/openwin/share/include'
19200 if test "$ac_x_includes" = no
; then
19201 # Guess where to find include files, by looking for Xlib.h.
19202 # First, try using that file with no special directory specified.
19203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19205 #include <X11/Xlib.h>
19207 if ac_fn_c_try_cpp
"$LINENO"; then :
19208 # We can compile using X headers with no special include directory.
19211 for ac_dir
in $ac_x_header_dirs; do
19212 if test -r "$ac_dir/X11/Xlib.h"; then
19213 ac_x_includes
=$ac_dir
19218 rm -f conftest.err conftest.
$ac_ext
19219 fi # $ac_x_includes = no
19221 if test "$ac_x_libraries" = no
; then
19222 # Check for the libraries.
19223 # See if we find them without any special options.
19224 # Don't add to $LIBS permanently.
19227 if test x
$gcc_no_link = xyes
; then
19228 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #include <X11/Xlib.h>
19241 if ac_fn_c_try_link
"$LINENO"; then :
19243 # We can link X programs with no special library path.
19247 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19249 # Don't even attempt the hair of trying to link an X program!
19250 for ac_extension
in a so sl dylib la dll
; do
19251 if test -r "$ac_dir/libX11.$ac_extension"; then
19252 ac_x_libraries
=$ac_dir
19258 rm -f core conftest.err conftest.
$ac_objext \
19259 conftest
$ac_exeext conftest.
$ac_ext
19260 fi # $ac_x_libraries = no
19262 case $ac_x_includes,$ac_x_libraries in #(
19263 no
,* |
*,no |
*\'*)
19264 # Didn't find X, or a directory has "'" in its name.
19265 ac_cv_have_x
="have_x=no";; #(
19267 # Record where we found X for the cache.
19268 ac_cv_have_x
="have_x=yes\
19269 ac_x_includes='$ac_x_includes'\
19270 ac_x_libraries='$ac_x_libraries'"
19276 eval "$ac_cv_have_x"
19279 if test "$have_x" != yes; then
19280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19281 $as_echo "$have_x" >&6; }
19284 # If each of the values was on the command line, it overrides each guess.
19285 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19286 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19287 # Update the cache value to reflect the command line values.
19288 ac_cv_have_x
="have_x=yes\
19289 ac_x_includes='$x_includes'\
19290 ac_x_libraries='$x_libraries'"
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
19292 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19295 if test "$no_x" = yes; then
19296 # Not all programs may use this symbol, but it does not hurt to define it.
19298 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
19300 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19302 if test -n "$x_includes"; then
19303 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19306 # It would also be nice to do this for all -L options, not just this one.
19307 if test -n "$x_libraries"; then
19308 X_LIBS
="$X_LIBS -L$x_libraries"
19309 # For Solaris; some versions of Sun CC require a space after -R and
19310 # others require no space. Words are not sufficient . . . .
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
19312 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
19313 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19314 ac_xsave_c_werror_flag
=$ac_c_werror_flag
19315 ac_c_werror_flag
=yes
19316 if test x
$gcc_no_link = xyes
; then
19317 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19330 if ac_fn_c_try_link
"$LINENO"; then :
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19332 $as_echo "no" >&6; }
19333 X_LIBS
="$X_LIBS -R$x_libraries"
19335 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19336 if test x
$gcc_no_link = xyes
; then
19337 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19340 /* end confdefs.h. */
19350 if ac_fn_c_try_link
"$LINENO"; then :
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19352 $as_echo "yes" >&6; }
19353 X_LIBS
="$X_LIBS -R $x_libraries"
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
19356 $as_echo "neither works" >&6; }
19358 rm -f core conftest.err conftest.
$ac_objext \
19359 conftest
$ac_exeext conftest.
$ac_ext
19361 rm -f core conftest.err conftest.
$ac_objext \
19362 conftest
$ac_exeext conftest.
$ac_ext
19363 ac_c_werror_flag
=$ac_xsave_c_werror_flag
19364 LIBS
=$ac_xsave_LIBS
19367 # Check for system-dependent libraries X programs must link with.
19368 # Do this before checking for the system-independent R6 libraries
19369 # (-lICE), since we may need -lsocket or whatever for X linking.
19371 if test "$ISC" = yes; then
19372 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19374 # Martyn Johnson says this is needed for Ultrix, if the X
19375 # libraries were built with DECnet support. And Karl Berry says
19376 # the Alpha needs dnet_stub (dnet does not exist).
19377 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19378 if test x
$gcc_no_link = xyes
; then
19379 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19382 /* end confdefs.h. */
19384 /* Override any GCC internal prototype to avoid an error.
19385 Use char because int might match the return type of a GCC
19386 builtin and then its argument prototype would still apply. */
19390 char XOpenDisplay ();
19394 return XOpenDisplay ();
19399 if ac_fn_c_try_link
"$LINENO"; then :
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
19403 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
19404 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
19405 $as_echo_n "(cached) " >&6
19407 ac_check_lib_save_LIBS
=$LIBS
19408 LIBS
="-ldnet $LIBS"
19409 if test x
$gcc_no_link = xyes
; then
19410 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19413 /* end confdefs.h. */
19415 /* Override any GCC internal prototype to avoid an error.
19416 Use char because int might match the return type of a GCC
19417 builtin and then its argument prototype would still apply. */
19425 return dnet_ntoa ();
19430 if ac_fn_c_try_link
"$LINENO"; then :
19431 ac_cv_lib_dnet_dnet_ntoa
=yes
19433 ac_cv_lib_dnet_dnet_ntoa
=no
19435 rm -f core conftest.err conftest.
$ac_objext \
19436 conftest
$ac_exeext conftest.
$ac_ext
19437 LIBS
=$ac_check_lib_save_LIBS
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19440 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19441 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
19442 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19445 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
19447 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
19448 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
19449 $as_echo_n "(cached) " >&6
19451 ac_check_lib_save_LIBS
=$LIBS
19452 LIBS
="-ldnet_stub $LIBS"
19453 if test x
$gcc_no_link = xyes
; then
19454 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19457 /* end confdefs.h. */
19459 /* Override any GCC internal prototype to avoid an error.
19460 Use char because int might match the return type of a GCC
19461 builtin and then its argument prototype would still apply. */
19469 return dnet_ntoa ();
19474 if ac_fn_c_try_link
"$LINENO"; then :
19475 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19477 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19479 rm -f core conftest.err conftest.
$ac_objext \
19480 conftest
$ac_exeext conftest.
$ac_ext
19481 LIBS
=$ac_check_lib_save_LIBS
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19484 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19485 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
19486 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19491 rm -f core conftest.err conftest.
$ac_objext \
19492 conftest
$ac_exeext conftest.
$ac_ext
19493 LIBS
="$ac_xsave_LIBS"
19495 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19496 # to get the SysV transport functions.
19497 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19499 # The nsl library prevents programs from opening the X display
19500 # on Irix 5.2, according to T.E. Dickey.
19501 # The functions gethostbyname, getservbyname, and inet_addr are
19502 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19503 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
19504 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
19508 if test $ac_cv_func_gethostbyname = no
; then
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
19510 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
19511 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
19512 $as_echo_n "(cached) " >&6
19514 ac_check_lib_save_LIBS
=$LIBS
19516 if test x
$gcc_no_link = xyes
; then
19517 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19520 /* end confdefs.h. */
19522 /* Override any GCC internal prototype to avoid an error.
19523 Use char because int might match the return type of a GCC
19524 builtin and then its argument prototype would still apply. */
19528 char gethostbyname ();
19532 return gethostbyname ();
19537 if ac_fn_c_try_link
"$LINENO"; then :
19538 ac_cv_lib_nsl_gethostbyname
=yes
19540 ac_cv_lib_nsl_gethostbyname
=no
19542 rm -f core conftest.err conftest.
$ac_objext \
19543 conftest
$ac_exeext conftest.
$ac_ext
19544 LIBS
=$ac_check_lib_save_LIBS
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
19547 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
19548 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
19549 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19552 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
19554 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
19555 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
19556 $as_echo_n "(cached) " >&6
19558 ac_check_lib_save_LIBS
=$LIBS
19560 if test x
$gcc_no_link = xyes
; then
19561 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19564 /* end confdefs.h. */
19566 /* Override any GCC internal prototype to avoid an error.
19567 Use char because int might match the return type of a GCC
19568 builtin and then its argument prototype would still apply. */
19572 char gethostbyname ();
19576 return gethostbyname ();
19581 if ac_fn_c_try_link
"$LINENO"; then :
19582 ac_cv_lib_bsd_gethostbyname
=yes
19584 ac_cv_lib_bsd_gethostbyname
=no
19586 rm -f core conftest.err conftest.
$ac_objext \
19587 conftest
$ac_exeext conftest.
$ac_ext
19588 LIBS
=$ac_check_lib_save_LIBS
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
19591 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
19592 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
19593 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19599 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19600 # socket/setsockopt and other routines are undefined under SCO ODT
19601 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19602 # on later versions), says Simon Leinen: it contains gethostby*
19603 # variants that don't use the name server (or something). -lsocket
19604 # must be given before -lnsl if both are needed. We assume that
19605 # if connect needs -lnsl, so does gethostbyname.
19606 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
19607 if test "x$ac_cv_func_connect" = x
""yes; then :
19611 if test $ac_cv_func_connect = no
; then
19612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
19613 $as_echo_n "checking for connect in -lsocket... " >&6; }
19614 if test "${ac_cv_lib_socket_connect+set}" = set; then :
19615 $as_echo_n "(cached) " >&6
19617 ac_check_lib_save_LIBS
=$LIBS
19618 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19619 if test x
$gcc_no_link = xyes
; then
19620 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19623 /* end confdefs.h. */
19625 /* Override any GCC internal prototype to avoid an error.
19626 Use char because int might match the return type of a GCC
19627 builtin and then its argument prototype would still apply. */
19640 if ac_fn_c_try_link
"$LINENO"; then :
19641 ac_cv_lib_socket_connect
=yes
19643 ac_cv_lib_socket_connect
=no
19645 rm -f core conftest.err conftest.
$ac_objext \
19646 conftest
$ac_exeext conftest.
$ac_ext
19647 LIBS
=$ac_check_lib_save_LIBS
19649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
19650 $as_echo "$ac_cv_lib_socket_connect" >&6; }
19651 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
19652 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
19657 # Guillermo Gomez says -lposix is necessary on A/UX.
19658 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
19659 if test "x$ac_cv_func_remove" = x
""yes; then :
19663 if test $ac_cv_func_remove = no
; then
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
19665 $as_echo_n "checking for remove in -lposix... " >&6; }
19666 if test "${ac_cv_lib_posix_remove+set}" = set; then :
19667 $as_echo_n "(cached) " >&6
19669 ac_check_lib_save_LIBS
=$LIBS
19670 LIBS
="-lposix $LIBS"
19671 if test x
$gcc_no_link = xyes
; then
19672 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19677 /* Override any GCC internal prototype to avoid an error.
19678 Use char because int might match the return type of a GCC
19679 builtin and then its argument prototype would still apply. */
19692 if ac_fn_c_try_link
"$LINENO"; then :
19693 ac_cv_lib_posix_remove
=yes
19695 ac_cv_lib_posix_remove
=no
19697 rm -f core conftest.err conftest.
$ac_objext \
19698 conftest
$ac_exeext conftest.
$ac_ext
19699 LIBS
=$ac_check_lib_save_LIBS
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
19702 $as_echo "$ac_cv_lib_posix_remove" >&6; }
19703 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
19704 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
19709 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
19710 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
19711 if test "x$ac_cv_func_shmat" = x
""yes; then :
19715 if test $ac_cv_func_shmat = no
; then
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
19717 $as_echo_n "checking for shmat in -lipc... " >&6; }
19718 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
19719 $as_echo_n "(cached) " >&6
19721 ac_check_lib_save_LIBS
=$LIBS
19723 if test x
$gcc_no_link = xyes
; then
19724 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19727 /* end confdefs.h. */
19729 /* Override any GCC internal prototype to avoid an error.
19730 Use char because int might match the return type of a GCC
19731 builtin and then its argument prototype would still apply. */
19744 if ac_fn_c_try_link
"$LINENO"; then :
19745 ac_cv_lib_ipc_shmat
=yes
19747 ac_cv_lib_ipc_shmat
=no
19749 rm -f core conftest.err conftest.
$ac_objext \
19750 conftest
$ac_exeext conftest.
$ac_ext
19751 LIBS
=$ac_check_lib_save_LIBS
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
19754 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
19755 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
19756 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
19762 # Check for libraries that X11R6 Xt/Xaw programs need.
19763 ac_save_LDFLAGS
=$LDFLAGS
19764 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
19765 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
19766 # check for ICE first), but we must link in the order -lSM -lICE or
19767 # we get undefined symbols. So assume we have SM if we have ICE.
19768 # These have to be linked with before -lX11, unlike the other
19769 # libraries we check for below, so use a different variable.
19770 # John Interrante, Karl Berry
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
19772 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
19773 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
19774 $as_echo_n "(cached) " >&6
19776 ac_check_lib_save_LIBS
=$LIBS
19777 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
19778 if test x
$gcc_no_link = xyes
; then
19779 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h. */
19784 /* Override any GCC internal prototype to avoid an error.
19785 Use char because int might match the return type of a GCC
19786 builtin and then its argument prototype would still apply. */
19790 char IceConnectionNumber ();
19794 return IceConnectionNumber ();
19799 if ac_fn_c_try_link
"$LINENO"; then :
19800 ac_cv_lib_ICE_IceConnectionNumber
=yes
19802 ac_cv_lib_ICE_IceConnectionNumber
=no
19804 rm -f core conftest.err conftest.
$ac_objext \
19805 conftest
$ac_exeext conftest.
$ac_ext
19806 LIBS
=$ac_check_lib_save_LIBS
19808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
19809 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
19810 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
19811 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
19814 LDFLAGS
=$ac_save_LDFLAGS
19818 if test "$no_x" = yes; then
19819 as_fn_error
"GTK+ peers requested but no X library available" "$LINENO" 5
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
19822 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
19823 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
19824 $as_echo_n "(cached) " >&6
19826 ac_check_lib_save_LIBS
=$LIBS
19827 LIBS
="-lXtst ${X_LIBS} $LIBS"
19828 if test x
$gcc_no_link = xyes
; then
19829 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h. */
19834 /* Override any GCC internal prototype to avoid an error.
19835 Use char because int might match the return type of a GCC
19836 builtin and then its argument prototype would still apply. */
19840 char XTestQueryExtension ();
19844 return XTestQueryExtension ();
19849 if ac_fn_c_try_link
"$LINENO"; then :
19850 ac_cv_lib_Xtst_XTestQueryExtension
=yes
19852 ac_cv_lib_Xtst_XTestQueryExtension
=no
19854 rm -f core conftest.err conftest.
$ac_objext \
19855 conftest
$ac_exeext conftest.
$ac_ext
19856 LIBS
=$ac_check_lib_save_LIBS
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
19859 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
19860 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x
""yes; then :
19862 $as_echo "#define HAVE_XTEST 1" >>confdefs.h
19863 XTEST_LIBS
="$XTEST_LIBS -X11 -lXtst"
19873 if test -z "$PKG_CONFIG"; then
19874 if test -n "$ac_tool_prefix"; then
19875 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19876 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19878 $as_echo_n "checking for $ac_word... " >&6; }
19879 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19880 $as_echo_n "(cached) " >&6
19882 case $PKG_CONFIG in
19884 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19888 for as_dir
in $PATH
19891 test -z "$as_dir" && as_dir
=.
19892 for ac_exec_ext
in '' $ac_executable_extensions; do
19893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19894 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19905 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19906 if test -n "$PKG_CONFIG"; then
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19908 $as_echo "$PKG_CONFIG" >&6; }
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19911 $as_echo "no" >&6; }
19916 if test -z "$ac_cv_path_PKG_CONFIG"; then
19917 ac_pt_PKG_CONFIG
=$PKG_CONFIG
19918 # Extract the first word of "pkg-config", so it can be a program name with args.
19919 set dummy pkg-config
; ac_word
=$2
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19921 $as_echo_n "checking for $ac_word... " >&6; }
19922 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
19923 $as_echo_n "(cached) " >&6
19925 case $ac_pt_PKG_CONFIG in
19927 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19931 for as_dir
in $PATH
19934 test -z "$as_dir" && as_dir
=.
19935 for ac_exec_ext
in '' $ac_executable_extensions; do
19936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19937 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19948 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
19949 if test -n "$ac_pt_PKG_CONFIG"; then
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19951 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19954 $as_echo "no" >&6; }
19957 if test "x$ac_pt_PKG_CONFIG" = x
; then
19960 case $cross_compiling:$ac_tool_warned in
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19964 ac_tool_warned
=yes ;;
19966 PKG_CONFIG
=$ac_pt_PKG_CONFIG
19969 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
19974 if test "$PKG_CONFIG" = "no" ; then
19975 echo "*** The pkg-config script could not be found. Make sure it is"
19976 echo "*** in your path, or set the PKG_CONFIG environment variable"
19977 echo "*** to the full path to pkg-config."
19978 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19980 PKG_CONFIG_MIN_VERSION
=0.9.0
19981 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
19983 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
19985 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19987 $as_echo "yes" >&6; }
19990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
19991 $as_echo_n "checking GTK_CFLAGS... " >&6; }
19992 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
19994 $as_echo "$GTK_CFLAGS" >&6; }
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
19997 $as_echo_n "checking GTK_LIBS... " >&6; }
19998 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
20000 $as_echo "$GTK_LIBS" >&6; }
20004 ## If we have a custom action on failure, don't print errors, but
20005 ## do set a variable so people can do so.
20006 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
20007 echo $GTK_PKG_ERRORS
20013 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20014 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20018 if test $succeeded = yes; then
20021 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
20027 if test -z "$PKG_CONFIG"; then
20028 if test -n "$ac_tool_prefix"; then
20029 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20030 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20032 $as_echo_n "checking for $ac_word... " >&6; }
20033 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20034 $as_echo_n "(cached) " >&6
20036 case $PKG_CONFIG in
20038 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20042 for as_dir
in $PATH
20045 test -z "$as_dir" && as_dir
=.
20046 for ac_exec_ext
in '' $ac_executable_extensions; do
20047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20048 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20059 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20060 if test -n "$PKG_CONFIG"; then
20061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20062 $as_echo "$PKG_CONFIG" >&6; }
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20065 $as_echo "no" >&6; }
20070 if test -z "$ac_cv_path_PKG_CONFIG"; then
20071 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20072 # Extract the first word of "pkg-config", so it can be a program name with args.
20073 set dummy pkg-config
; ac_word
=$2
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20075 $as_echo_n "checking for $ac_word... " >&6; }
20076 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20077 $as_echo_n "(cached) " >&6
20079 case $ac_pt_PKG_CONFIG in
20081 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20085 for as_dir
in $PATH
20088 test -z "$as_dir" && as_dir
=.
20089 for ac_exec_ext
in '' $ac_executable_extensions; do
20090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20091 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20102 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20103 if test -n "$ac_pt_PKG_CONFIG"; then
20104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20105 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20108 $as_echo "no" >&6; }
20111 if test "x$ac_pt_PKG_CONFIG" = x
; then
20114 case $cross_compiling:$ac_tool_warned in
20116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20118 ac_tool_warned
=yes ;;
20120 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20123 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20128 if test "$PKG_CONFIG" = "no" ; then
20129 echo "*** The pkg-config script could not be found. Make sure it is"
20130 echo "*** in your path, or set the PKG_CONFIG environment variable"
20131 echo "*** to the full path to pkg-config."
20132 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20134 PKG_CONFIG_MIN_VERSION
=0.9.0
20135 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
20137 $as_echo_n "checking for freetype2... " >&6; }
20139 if $PKG_CONFIG --exists "freetype2" ; then
20140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20141 $as_echo "yes" >&6; }
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_CFLAGS" >&5
20145 $as_echo_n "checking FREETYPE2_CFLAGS... " >&6; }
20146 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_CFLAGS" >&5
20148 $as_echo "$FREETYPE2_CFLAGS" >&6; }
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_LIBS" >&5
20151 $as_echo_n "checking FREETYPE2_LIBS... " >&6; }
20152 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_LIBS" >&5
20154 $as_echo "$FREETYPE2_LIBS" >&6; }
20156 FREETYPE2_CFLAGS
=""
20158 ## If we have a custom action on failure, don't print errors, but
20159 ## do set a variable so people can do so.
20160 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
20161 echo $FREETYPE2_PKG_ERRORS
20167 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20168 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20172 if test $succeeded = yes; then
20175 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
20181 if test -z "$PKG_CONFIG"; then
20182 if test -n "$ac_tool_prefix"; then
20183 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20184 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20186 $as_echo_n "checking for $ac_word... " >&6; }
20187 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20188 $as_echo_n "(cached) " >&6
20190 case $PKG_CONFIG in
20192 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20196 for as_dir
in $PATH
20199 test -z "$as_dir" && as_dir
=.
20200 for ac_exec_ext
in '' $ac_executable_extensions; do
20201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20202 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20213 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20214 if test -n "$PKG_CONFIG"; then
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20216 $as_echo "$PKG_CONFIG" >&6; }
20218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20219 $as_echo "no" >&6; }
20224 if test -z "$ac_cv_path_PKG_CONFIG"; then
20225 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20226 # Extract the first word of "pkg-config", so it can be a program name with args.
20227 set dummy pkg-config
; ac_word
=$2
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20229 $as_echo_n "checking for $ac_word... " >&6; }
20230 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20231 $as_echo_n "(cached) " >&6
20233 case $ac_pt_PKG_CONFIG in
20235 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20239 for as_dir
in $PATH
20242 test -z "$as_dir" && as_dir
=.
20243 for ac_exec_ext
in '' $ac_executable_extensions; do
20244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20245 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20256 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20257 if test -n "$ac_pt_PKG_CONFIG"; then
20258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20259 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20262 $as_echo "no" >&6; }
20265 if test "x$ac_pt_PKG_CONFIG" = x
; then
20268 case $cross_compiling:$ac_tool_warned in
20270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20272 ac_tool_warned
=yes ;;
20274 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20277 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20282 if test "$PKG_CONFIG" = "no" ; then
20283 echo "*** The pkg-config script could not be found. Make sure it is"
20284 echo "*** in your path, or set the PKG_CONFIG environment variable"
20285 echo "*** to the full path to pkg-config."
20286 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20288 PKG_CONFIG_MIN_VERSION
=0.9.0
20289 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pangoft2" >&5
20291 $as_echo_n "checking for pangoft2... " >&6; }
20293 if $PKG_CONFIG --exists "pangoft2" ; then
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20295 $as_echo "yes" >&6; }
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_CFLAGS" >&5
20299 $as_echo_n "checking PANGOFT2_CFLAGS... " >&6; }
20300 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_CFLAGS" >&5
20302 $as_echo "$PANGOFT2_CFLAGS" >&6; }
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_LIBS" >&5
20305 $as_echo_n "checking PANGOFT2_LIBS... " >&6; }
20306 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_LIBS" >&5
20308 $as_echo "$PANGOFT2_LIBS" >&6; }
20312 ## If we have a custom action on failure, don't print errors, but
20313 ## do set a variable so people can do so.
20314 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20315 echo $PANGOFT2_PKG_ERRORS
20321 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20322 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20326 if test $succeeded = yes; then
20329 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
20335 if test -z "$PKG_CONFIG"; then
20336 if test -n "$ac_tool_prefix"; then
20337 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20338 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20340 $as_echo_n "checking for $ac_word... " >&6; }
20341 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20342 $as_echo_n "(cached) " >&6
20344 case $PKG_CONFIG in
20346 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20350 for as_dir
in $PATH
20353 test -z "$as_dir" && as_dir
=.
20354 for ac_exec_ext
in '' $ac_executable_extensions; do
20355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20356 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20367 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20368 if test -n "$PKG_CONFIG"; then
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20370 $as_echo "$PKG_CONFIG" >&6; }
20372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20373 $as_echo "no" >&6; }
20378 if test -z "$ac_cv_path_PKG_CONFIG"; then
20379 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20380 # Extract the first word of "pkg-config", so it can be a program name with args.
20381 set dummy pkg-config
; ac_word
=$2
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20383 $as_echo_n "checking for $ac_word... " >&6; }
20384 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20385 $as_echo_n "(cached) " >&6
20387 case $ac_pt_PKG_CONFIG in
20389 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20393 for as_dir
in $PATH
20396 test -z "$as_dir" && as_dir
=.
20397 for ac_exec_ext
in '' $ac_executable_extensions; do
20398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20399 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20410 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20411 if test -n "$ac_pt_PKG_CONFIG"; then
20412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20413 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20416 $as_echo "no" >&6; }
20419 if test "x$ac_pt_PKG_CONFIG" = x
; then
20422 case $cross_compiling:$ac_tool_warned in
20424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20426 ac_tool_warned
=yes ;;
20428 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20431 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20436 if test "$PKG_CONFIG" = "no" ; then
20437 echo "*** The pkg-config script could not be found. Make sure it is"
20438 echo "*** in your path, or set the PKG_CONFIG environment variable"
20439 echo "*** to the full path to pkg-config."
20440 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20442 PKG_CONFIG_MIN_VERSION
=0.9.0
20443 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.1.8" >&5
20445 $as_echo_n "checking for cairo >= 1.1.8... " >&6; }
20447 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
20448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20449 $as_echo "yes" >&6; }
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_CFLAGS" >&5
20453 $as_echo_n "checking CAIRO_CFLAGS... " >&6; }
20454 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_CFLAGS" >&5
20456 $as_echo "$CAIRO_CFLAGS" >&6; }
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_LIBS" >&5
20459 $as_echo_n "checking CAIRO_LIBS... " >&6; }
20460 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_LIBS" >&5
20462 $as_echo "$CAIRO_LIBS" >&6; }
20466 ## If we have a custom action on failure, don't print errors, but
20467 ## do set a variable so people can do so.
20468 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
20469 echo $CAIRO_PKG_ERRORS
20475 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20476 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20480 if test $succeeded = yes; then
20483 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
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
20487 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
20488 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then :
20489 $as_echo_n "(cached) " >&6
20491 ac_check_lib_save_LIBS
=$LIBS
20492 LIBS
="-lXrender ${X_LIBS} $LIBS"
20493 if test x
$gcc_no_link = xyes
; then
20494 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20497 /* end confdefs.h. */
20499 /* Override any GCC internal prototype to avoid an error.
20500 Use char because int might match the return type of a GCC
20501 builtin and then its argument prototype would still apply. */
20505 char XRenderQueryExtension ();
20509 return XRenderQueryExtension ();
20514 if ac_fn_c_try_link
"$LINENO"; then :
20515 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
20517 ac_cv_lib_Xrender_XRenderQueryExtension
=no
20519 rm -f core conftest.err conftest.
$ac_objext \
20520 conftest
$ac_exeext conftest.
$ac_ext
20521 LIBS
=$ac_check_lib_save_LIBS
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
20524 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
20525 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x
""yes; then :
20527 $as_echo "#define HAVE_XRENDER 1" >>confdefs.h
20528 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRQueryExtension in -lXrandr" >&5
20535 $as_echo_n "checking for XRRQueryExtension in -lXrandr... " >&6; }
20536 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then :
20537 $as_echo_n "(cached) " >&6
20539 ac_check_lib_save_LIBS
=$LIBS
20540 LIBS
="-lXrandr ${X_LIBS} $LIBS"
20541 if test x
$gcc_no_link = xyes
; then
20542 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20545 /* end confdefs.h. */
20547 /* Override any GCC internal prototype to avoid an error.
20548 Use char because int might match the return type of a GCC
20549 builtin and then its argument prototype would still apply. */
20553 char XRRQueryExtension ();
20557 return XRRQueryExtension ();
20562 if ac_fn_c_try_link
"$LINENO"; then :
20563 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
20565 ac_cv_lib_Xrandr_XRRQueryExtension
=no
20567 rm -f core conftest.err conftest.
$ac_objext \
20568 conftest
$ac_exeext conftest.
$ac_ext
20569 LIBS
=$ac_check_lib_save_LIBS
20571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
20572 $as_echo "$ac_cv_lib_Xrandr_XRRQueryExtension" >&6; }
20573 if test "x$ac_cv_lib_Xrandr_XRRQueryExtension" = x
""yes; then :
20575 $as_echo "#define HAVE_XRANDR 1" >>confdefs.h
20576 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
20591 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
20595 if test -z "$PKG_CONFIG"; then
20596 if test -n "$ac_tool_prefix"; then
20597 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20598 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20600 $as_echo_n "checking for $ac_word... " >&6; }
20601 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20602 $as_echo_n "(cached) " >&6
20604 case $PKG_CONFIG in
20606 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20610 for as_dir
in $PATH
20613 test -z "$as_dir" && as_dir
=.
20614 for ac_exec_ext
in '' $ac_executable_extensions; do
20615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20616 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20627 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20628 if test -n "$PKG_CONFIG"; then
20629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20630 $as_echo "$PKG_CONFIG" >&6; }
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20633 $as_echo "no" >&6; }
20638 if test -z "$ac_cv_path_PKG_CONFIG"; then
20639 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20640 # Extract the first word of "pkg-config", so it can be a program name with args.
20641 set dummy pkg-config
; ac_word
=$2
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20643 $as_echo_n "checking for $ac_word... " >&6; }
20644 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20645 $as_echo_n "(cached) " >&6
20647 case $ac_pt_PKG_CONFIG in
20649 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20653 for as_dir
in $PATH
20656 test -z "$as_dir" && as_dir
=.
20657 for ac_exec_ext
in '' $ac_executable_extensions; do
20658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20659 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20670 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20671 if test -n "$ac_pt_PKG_CONFIG"; then
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20673 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20676 $as_echo "no" >&6; }
20679 if test "x$ac_pt_PKG_CONFIG" = x
; then
20682 case $cross_compiling:$ac_tool_warned in
20684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20686 ac_tool_warned
=yes ;;
20688 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20691 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20696 if test "$PKG_CONFIG" = "no" ; then
20697 echo "*** The pkg-config script could not be found. Make sure it is"
20698 echo "*** in your path, or set the PKG_CONFIG environment variable"
20699 echo "*** to the full path to pkg-config."
20700 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20702 PKG_CONFIG_MIN_VERSION
=0.9.0
20703 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.6.0" >&5
20705 $as_echo_n "checking for gconf-2.0 >= 2.6.0... " >&6; }
20707 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20709 $as_echo "yes" >&6; }
20712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5
20713 $as_echo_n "checking GCONF_CFLAGS... " >&6; }
20714 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5
20716 $as_echo "$GCONF_CFLAGS" >&6; }
20718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5
20719 $as_echo_n "checking GCONF_LIBS... " >&6; }
20720 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
20721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5
20722 $as_echo "$GCONF_LIBS" >&6; }
20726 ## If we have a custom action on failure, don't print errors, but
20727 ## do set a variable so people can do so.
20728 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
20729 echo $GCONF_PKG_ERRORS
20735 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20736 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20740 if test $succeeded = yes; then
20743 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
20751 if test -z "$PKG_CONFIG"; then
20752 if test -n "$ac_tool_prefix"; then
20753 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20754 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20756 $as_echo_n "checking for $ac_word... " >&6; }
20757 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20758 $as_echo_n "(cached) " >&6
20760 case $PKG_CONFIG in
20762 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20766 for as_dir
in $PATH
20769 test -z "$as_dir" && as_dir
=.
20770 for ac_exec_ext
in '' $ac_executable_extensions; do
20771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20772 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20783 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20784 if test -n "$PKG_CONFIG"; then
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20786 $as_echo "$PKG_CONFIG" >&6; }
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20789 $as_echo "no" >&6; }
20794 if test -z "$ac_cv_path_PKG_CONFIG"; then
20795 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20796 # Extract the first word of "pkg-config", so it can be a program name with args.
20797 set dummy pkg-config
; ac_word
=$2
20798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20799 $as_echo_n "checking for $ac_word... " >&6; }
20800 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20801 $as_echo_n "(cached) " >&6
20803 case $ac_pt_PKG_CONFIG in
20805 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20809 for as_dir
in $PATH
20812 test -z "$as_dir" && as_dir
=.
20813 for ac_exec_ext
in '' $ac_executable_extensions; do
20814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20815 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20826 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20827 if test -n "$ac_pt_PKG_CONFIG"; then
20828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20829 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20832 $as_echo "no" >&6; }
20835 if test "x$ac_pt_PKG_CONFIG" = x
; then
20838 case $cross_compiling:$ac_tool_warned in
20840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20842 ac_tool_warned
=yes ;;
20844 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20847 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20852 if test "$PKG_CONFIG" = "no" ; then
20853 echo "*** The pkg-config script could not be found. Make sure it is"
20854 echo "*** in your path, or set the PKG_CONFIG environment variable"
20855 echo "*** to the full path to pkg-config."
20856 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20858 PKG_CONFIG_MIN_VERSION
=0.9.0
20859 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
20861 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
20863 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
20864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20865 $as_echo "yes" >&6; }
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
20869 $as_echo_n "checking GDK_CFLAGS... " >&6; }
20870 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
20871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
20872 $as_echo "$GDK_CFLAGS" >&6; }
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
20875 $as_echo_n "checking GDK_LIBS... " >&6; }
20876 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
20878 $as_echo "$GDK_LIBS" >&6; }
20882 ## If we have a custom action on failure, don't print errors, but
20883 ## do set a variable so people can do so.
20884 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
20885 echo $GDK_PKG_ERRORS
20891 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20892 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20896 if test $succeeded = yes; then
20899 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
20904 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
20905 if test "$USE_GCONF_PREFS_PEER" = ""; then
20906 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
20910 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
20911 GST_MAJORMINOR
=0.10
20912 GST_REQUIRED
=0.10.10
20917 if test -z "$PKG_CONFIG"; then
20918 if test -n "$ac_tool_prefix"; then
20919 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20920 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20922 $as_echo_n "checking for $ac_word... " >&6; }
20923 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20924 $as_echo_n "(cached) " >&6
20926 case $PKG_CONFIG in
20928 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20932 for as_dir
in $PATH
20935 test -z "$as_dir" && as_dir
=.
20936 for ac_exec_ext
in '' $ac_executable_extensions; do
20937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20938 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20949 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20950 if test -n "$PKG_CONFIG"; then
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20952 $as_echo "$PKG_CONFIG" >&6; }
20954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20955 $as_echo "no" >&6; }
20960 if test -z "$ac_cv_path_PKG_CONFIG"; then
20961 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20962 # Extract the first word of "pkg-config", so it can be a program name with args.
20963 set dummy pkg-config
; ac_word
=$2
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20965 $as_echo_n "checking for $ac_word... " >&6; }
20966 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20967 $as_echo_n "(cached) " >&6
20969 case $ac_pt_PKG_CONFIG in
20971 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20975 for as_dir
in $PATH
20978 test -z "$as_dir" && as_dir
=.
20979 for ac_exec_ext
in '' $ac_executable_extensions; do
20980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20981 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20992 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20993 if test -n "$ac_pt_PKG_CONFIG"; then
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20995 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20998 $as_echo "no" >&6; }
21001 if test "x$ac_pt_PKG_CONFIG" = x
; then
21004 case $cross_compiling:$ac_tool_warned in
21006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21008 ac_tool_warned
=yes ;;
21010 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21013 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21018 if test "$PKG_CONFIG" = "no" ; then
21019 echo "*** The pkg-config script could not be found. Make sure it is"
21020 echo "*** in your path, or set the PKG_CONFIG environment variable"
21021 echo "*** to the full path to pkg-config."
21022 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21024 PKG_CONFIG_MIN_VERSION
=0.9.0
21025 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
21027 $as_echo_n "checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
21029 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21031 $as_echo "yes" >&6; }
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_CFLAGS" >&5
21035 $as_echo_n "checking GSTREAMER_CFLAGS... " >&6; }
21036 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_CFLAGS" >&5
21038 $as_echo "$GSTREAMER_CFLAGS" >&6; }
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_LIBS" >&5
21041 $as_echo_n "checking GSTREAMER_LIBS... " >&6; }
21042 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_LIBS" >&5
21044 $as_echo "$GSTREAMER_LIBS" >&6; }
21046 GSTREAMER_CFLAGS
=""
21048 ## If we have a custom action on failure, don't print errors, but
21049 ## do set a variable so people can do so.
21050 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
21051 echo $GSTREAMER_PKG_ERRORS
21057 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21058 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21062 if test $succeeded = yes; then
21065 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
21074 if test -z "$PKG_CONFIG"; then
21075 if test -n "$ac_tool_prefix"; then
21076 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21077 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21079 $as_echo_n "checking for $ac_word... " >&6; }
21080 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21081 $as_echo_n "(cached) " >&6
21083 case $PKG_CONFIG in
21085 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21089 for as_dir
in $PATH
21092 test -z "$as_dir" && as_dir
=.
21093 for ac_exec_ext
in '' $ac_executable_extensions; do
21094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21095 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21106 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21107 if test -n "$PKG_CONFIG"; then
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21109 $as_echo "$PKG_CONFIG" >&6; }
21111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21112 $as_echo "no" >&6; }
21117 if test -z "$ac_cv_path_PKG_CONFIG"; then
21118 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21119 # Extract the first word of "pkg-config", so it can be a program name with args.
21120 set dummy pkg-config
; ac_word
=$2
21121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21122 $as_echo_n "checking for $ac_word... " >&6; }
21123 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21124 $as_echo_n "(cached) " >&6
21126 case $ac_pt_PKG_CONFIG in
21128 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21132 for as_dir
in $PATH
21135 test -z "$as_dir" && as_dir
=.
21136 for ac_exec_ext
in '' $ac_executable_extensions; do
21137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21138 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21149 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21150 if test -n "$ac_pt_PKG_CONFIG"; then
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21152 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21155 $as_echo "no" >&6; }
21158 if test "x$ac_pt_PKG_CONFIG" = x
; then
21161 case $cross_compiling:$ac_tool_warned in
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21165 ac_tool_warned
=yes ;;
21167 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21170 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21175 if test "$PKG_CONFIG" = "no" ; then
21176 echo "*** The pkg-config script could not be found. Make sure it is"
21177 echo "*** in your path, or set the PKG_CONFIG environment variable"
21178 echo "*** to the full path to pkg-config."
21179 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21181 PKG_CONFIG_MIN_VERSION
=0.9.0
21182 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
21184 $as_echo_n "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
21186 if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21188 $as_echo "yes" >&6; }
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_CFLAGS" >&5
21192 $as_echo_n "checking GSTREAMER_BASE_CFLAGS... " >&6; }
21193 GSTREAMER_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_CFLAGS" >&5
21195 $as_echo "$GSTREAMER_BASE_CFLAGS" >&6; }
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_LIBS" >&5
21198 $as_echo_n "checking GSTREAMER_BASE_LIBS... " >&6; }
21199 GSTREAMER_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_LIBS" >&5
21201 $as_echo "$GSTREAMER_BASE_LIBS" >&6; }
21203 GSTREAMER_BASE_CFLAGS
=""
21204 GSTREAMER_BASE_LIBS
=""
21205 ## If we have a custom action on failure, don't print errors, but
21206 ## do set a variable so people can do so.
21207 GSTREAMER_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21208 echo $GSTREAMER_BASE_PKG_ERRORS
21214 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21215 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21219 if test $succeeded = yes; then
21222 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
21231 if test -z "$PKG_CONFIG"; then
21232 if test -n "$ac_tool_prefix"; then
21233 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21234 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21236 $as_echo_n "checking for $ac_word... " >&6; }
21237 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21238 $as_echo_n "(cached) " >&6
21240 case $PKG_CONFIG in
21242 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21246 for as_dir
in $PATH
21249 test -z "$as_dir" && as_dir
=.
21250 for ac_exec_ext
in '' $ac_executable_extensions; do
21251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21252 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21263 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21264 if test -n "$PKG_CONFIG"; then
21265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21266 $as_echo "$PKG_CONFIG" >&6; }
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21269 $as_echo "no" >&6; }
21274 if test -z "$ac_cv_path_PKG_CONFIG"; then
21275 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21276 # Extract the first word of "pkg-config", so it can be a program name with args.
21277 set dummy pkg-config
; ac_word
=$2
21278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21279 $as_echo_n "checking for $ac_word... " >&6; }
21280 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21281 $as_echo_n "(cached) " >&6
21283 case $ac_pt_PKG_CONFIG in
21285 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21289 for as_dir
in $PATH
21292 test -z "$as_dir" && as_dir
=.
21293 for ac_exec_ext
in '' $ac_executable_extensions; do
21294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21295 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21306 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21307 if test -n "$ac_pt_PKG_CONFIG"; then
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21309 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21312 $as_echo "no" >&6; }
21315 if test "x$ac_pt_PKG_CONFIG" = x
; then
21318 case $cross_compiling:$ac_tool_warned in
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21322 ac_tool_warned
=yes ;;
21324 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21327 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21332 if test "$PKG_CONFIG" = "no" ; then
21333 echo "*** The pkg-config script could not be found. Make sure it is"
21334 echo "*** in your path, or set the PKG_CONFIG environment variable"
21335 echo "*** to the full path to pkg-config."
21336 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21338 PKG_CONFIG_MIN_VERSION
=0.9.0
21339 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
21341 $as_echo_n "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
21343 if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21345 $as_echo "yes" >&6; }
21348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
21349 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_CFLAGS... " >&6; }
21350 GSTREAMER_PLUGINS_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
21352 $as_echo "$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6; }
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
21355 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_LIBS... " >&6; }
21356 GSTREAMER_PLUGINS_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
21358 $as_echo "$GSTREAMER_PLUGINS_BASE_LIBS" >&6; }
21360 GSTREAMER_PLUGINS_BASE_CFLAGS
=""
21361 GSTREAMER_PLUGINS_BASE_LIBS
=""
21362 ## If we have a custom action on failure, don't print errors, but
21363 ## do set a variable so people can do so.
21364 GSTREAMER_PLUGINS_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21365 echo $GSTREAMER_PLUGINS_BASE_PKG_ERRORS
21371 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21372 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21376 if test $succeeded = yes; then
21379 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
21385 GST_PLUGIN_LDFLAGS
='-module -avoid-version -Wno-unused-parameter -no-undefined'
21391 if test -z "$PKG_CONFIG"; then
21392 if test -n "$ac_tool_prefix"; then
21393 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21394 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21396 $as_echo_n "checking for $ac_word... " >&6; }
21397 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21398 $as_echo_n "(cached) " >&6
21400 case $PKG_CONFIG in
21402 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21406 for as_dir
in $PATH
21409 test -z "$as_dir" && as_dir
=.
21410 for ac_exec_ext
in '' $ac_executable_extensions; do
21411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21412 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21423 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21424 if test -n "$PKG_CONFIG"; then
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21426 $as_echo "$PKG_CONFIG" >&6; }
21428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21429 $as_echo "no" >&6; }
21434 if test -z "$ac_cv_path_PKG_CONFIG"; then
21435 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21436 # Extract the first word of "pkg-config", so it can be a program name with args.
21437 set dummy pkg-config
; ac_word
=$2
21438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21439 $as_echo_n "checking for $ac_word... " >&6; }
21440 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21441 $as_echo_n "(cached) " >&6
21443 case $ac_pt_PKG_CONFIG in
21445 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21449 for as_dir
in $PATH
21452 test -z "$as_dir" && as_dir
=.
21453 for ac_exec_ext
in '' $ac_executable_extensions; do
21454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21455 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21466 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21467 if test -n "$ac_pt_PKG_CONFIG"; then
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21469 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21472 $as_echo "no" >&6; }
21475 if test "x$ac_pt_PKG_CONFIG" = x
; then
21478 case $cross_compiling:$ac_tool_warned in
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21482 ac_tool_warned
=yes ;;
21484 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21487 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21492 if test "$PKG_CONFIG" = "no" ; then
21493 echo "*** The pkg-config script could not be found. Make sure it is"
21494 echo "*** in your path, or set the PKG_CONFIG environment variable"
21495 echo "*** to the full path to pkg-config."
21496 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21498 PKG_CONFIG_MIN_VERSION
=0.9.0
21499 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
21501 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
21503 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21505 $as_echo "yes" >&6; }
21508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
21509 $as_echo_n "checking GDK_CFLAGS... " >&6; }
21510 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
21512 $as_echo "$GDK_CFLAGS" >&6; }
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
21515 $as_echo_n "checking GDK_LIBS... " >&6; }
21516 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
21518 $as_echo "$GDK_LIBS" >&6; }
21522 ## If we have a custom action on failure, don't print errors, but
21523 ## do set a variable so people can do so.
21524 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
21525 echo $GDK_PKG_ERRORS
21531 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21532 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21536 if test $succeeded = yes; then
21539 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
21545 GSTREAMER_FILE_READER
=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader
21546 GSTREAMER_MIXER_PROVIDER
=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider
21551 if test "x${COMPILE_QT_PEER}" = xyes
; then
21555 if test -z "$PKG_CONFIG"; then
21556 if test -n "$ac_tool_prefix"; then
21557 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21558 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21560 $as_echo_n "checking for $ac_word... " >&6; }
21561 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21562 $as_echo_n "(cached) " >&6
21564 case $PKG_CONFIG in
21566 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21570 for as_dir
in $PATH
21573 test -z "$as_dir" && as_dir
=.
21574 for ac_exec_ext
in '' $ac_executable_extensions; do
21575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21576 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21587 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21588 if test -n "$PKG_CONFIG"; then
21589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21590 $as_echo "$PKG_CONFIG" >&6; }
21592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21593 $as_echo "no" >&6; }
21598 if test -z "$ac_cv_path_PKG_CONFIG"; then
21599 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21600 # Extract the first word of "pkg-config", so it can be a program name with args.
21601 set dummy pkg-config
; ac_word
=$2
21602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21603 $as_echo_n "checking for $ac_word... " >&6; }
21604 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21605 $as_echo_n "(cached) " >&6
21607 case $ac_pt_PKG_CONFIG in
21609 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21613 for as_dir
in $PATH
21616 test -z "$as_dir" && as_dir
=.
21617 for ac_exec_ext
in '' $ac_executable_extensions; do
21618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21619 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21630 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21631 if test -n "$ac_pt_PKG_CONFIG"; then
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21633 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21636 $as_echo "no" >&6; }
21639 if test "x$ac_pt_PKG_CONFIG" = x
; then
21642 case $cross_compiling:$ac_tool_warned in
21644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21646 ac_tool_warned
=yes ;;
21648 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21651 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21656 if test "$PKG_CONFIG" = "no" ; then
21657 echo "*** The pkg-config script could not be found. Make sure it is"
21658 echo "*** in your path, or set the PKG_CONFIG environment variable"
21659 echo "*** to the full path to pkg-config."
21660 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21662 PKG_CONFIG_MIN_VERSION
=0.9.0
21663 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QtCore QtGui >= 4.1.0" >&5
21665 $as_echo_n "checking for QtCore QtGui >= 4.1.0... " >&6; }
21667 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
21668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21669 $as_echo "yes" >&6; }
21672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_CFLAGS" >&5
21673 $as_echo_n "checking QT_CFLAGS... " >&6; }
21674 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CFLAGS" >&5
21676 $as_echo "$QT_CFLAGS" >&6; }
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_LIBS" >&5
21679 $as_echo_n "checking QT_LIBS... " >&6; }
21680 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
21681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_LIBS" >&5
21682 $as_echo "$QT_LIBS" >&6; }
21686 ## If we have a custom action on failure, don't print errors, but
21687 ## do set a variable so people can do so.
21688 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
21695 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21696 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21700 if test $succeeded = yes; then
21706 if test "x$HAVE_QT4" = "xyes"; then
21707 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
21708 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
21709 as_ac_File
=`$as_echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
21710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $QT_INCLUDE_DIR/QWidget" >&5
21711 $as_echo_n "checking for $QT_INCLUDE_DIR/QWidget... " >&6; }
21712 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
21713 $as_echo_n "(cached) " >&6
21715 test "$cross_compiling" = yes &&
21716 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
21717 if test -r "$QT_INCLUDE_DIR/QWidget"; then
21718 eval "$as_ac_File=yes"
21720 eval "$as_ac_File=no"
21723 eval ac_res
=\$
$as_ac_File
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21725 $as_echo "$ac_res" >&6; }
21726 eval as_val
=\$
$as_ac_File
21727 if test "x$as_val" = x
""yes; then :
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: No extra QT_INCLUDE_DIR needed" >&5
21729 $as_echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
21731 as_ac_File
=`$as_echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
21733 $as_echo_n "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... " >&6; }
21734 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
21735 $as_echo_n "(cached) " >&6
21737 test "$cross_compiling" = yes &&
21738 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
21739 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
21740 eval "$as_ac_File=yes"
21742 eval "$as_ac_File=no"
21745 eval ac_res
=\$
$as_ac_File
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21747 $as_echo "$ac_res" >&6; }
21748 eval as_val
=\$
$as_ac_File
21749 if test "x$as_val" = x
""yes; then :
21750 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
21752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: QWidget not found" >&5
21753 $as_echo "$as_me: WARNING: QWidget not found" >&2;}
21758 # Extract the first word of "moc", so it can be a program name with args.
21759 set dummy moc
; ac_word
=$2
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21761 $as_echo_n "checking for $ac_word... " >&6; }
21762 if test "${ac_cv_prog_MOC+set}" = set; then :
21763 $as_echo_n "(cached) " >&6
21765 if test -n "$MOC"; then
21766 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
21768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21769 for as_dir
in $PATH
21772 test -z "$as_dir" && as_dir
=.
21773 for ac_exec_ext
in '' $ac_executable_extensions; do
21774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21775 ac_cv_prog_MOC
="moc"
21776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21785 MOC
=$ac_cv_prog_MOC
21786 if test -n "$MOC"; then
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
21788 $as_echo "$MOC" >&6; }
21790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21791 $as_echo "no" >&6; }
21795 # Extract the first word of "moc-qt4", so it can be a program name with args.
21796 set dummy moc-qt4
; ac_word
=$2
21797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21798 $as_echo_n "checking for $ac_word... " >&6; }
21799 if test "${ac_cv_prog_MOC4+set}" = set; then :
21800 $as_echo_n "(cached) " >&6
21802 if test -n "$MOC4"; then
21803 ac_cv_prog_MOC4
="$MOC4" # Let the user override the test.
21805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21806 for as_dir
in $PATH
21809 test -z "$as_dir" && as_dir
=.
21810 for ac_exec_ext
in '' $ac_executable_extensions; do
21811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21812 ac_cv_prog_MOC4
="moc-qt4"
21813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21822 MOC4
=$ac_cv_prog_MOC4
21823 if test -n "$MOC4"; then
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC4" >&5
21825 $as_echo "$MOC4" >&6; }
21827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21828 $as_echo "no" >&6; }
21832 if test x
"$MOC4" != x
; then
21833 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $MOC4 as moc" >&5
21834 $as_echo "$as_me: Using $MOC4 as moc" >&6;}
21838 if test "x$HAVE_QT4" = "xno"; then
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
21840 $as_echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
21844 # Check whether --with-qt4dir was given.
21845 if test "${with_qt4dir+set}" = set; then :
21846 withval
=$with_qt4dir; QT4DIR
=$withval
21850 if test x
"$QT4DIR" = x
; then
21851 as_fn_error
"*** No path for Qt4 --with-qt4dir option given" "$LINENO" 5
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: QT4DIR... $QT4DIR" >&5
21854 $as_echo "QT4DIR... $QT4DIR" >&6; }
21855 # Extract the first word of "moc", so it can be a program name with args.
21856 set dummy moc
; ac_word
=$2
21857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21858 $as_echo_n "checking for $ac_word... " >&6; }
21859 if test "${ac_cv_prog_MOC+set}" = set; then :
21860 $as_echo_n "(cached) " >&6
21862 if test -n "$MOC"; then
21863 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
21865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21866 for as_dir
in $QT4DIR/bin
21869 test -z "$as_dir" && as_dir
=.
21870 for ac_exec_ext
in '' $ac_executable_extensions; do
21871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21872 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
21873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21882 MOC
=$ac_cv_prog_MOC
21883 if test -n "$MOC"; then
21884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
21885 $as_echo "$MOC" >&6; }
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21888 $as_echo "no" >&6; }
21892 if test x
"$MOC" = x
; then
21893 as_fn_error
"*** This is not the right Qt installation" "$LINENO" 5
21895 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
21896 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
21897 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
21898 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
21901 as_fn_error
"*** Please check PKG_CONFIG_PATH or the version
21902 of your installed Qt4 installation." "$LINENO" 5
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: Set QT_CFLAGS... $QT_CFLAGS" >&5
21907 $as_echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
21911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
21912 $as_echo_n "checking for MSG_NOSIGNAL... " >&6; }
21913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21914 /* end confdefs.h. */
21915 #include <sys/socket.h>
21919 int f = MSG_NOSIGNAL;
21924 if ac_fn_c_try_compile
"$LINENO"; then :
21925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21926 $as_echo "yes" >&6; }
21928 $as_echo "#define HAVE_MSG_NOSIGNAL 1" >>confdefs.h
21931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21932 $as_echo "no" >&6; }
21935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SO_NOSIGPIPE " >&5
21937 $as_echo_n "checking for SO_NOSIGPIPE ... " >&6; }
21938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21939 /* end confdefs.h. */
21940 #include <sys/socket.h>
21944 int f = SO_NOSIGPIPE;
21949 if ac_fn_c_try_compile
"$LINENO"; then :
21950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21951 $as_echo "yes" >&6; }
21953 $as_echo "#define HAVE_SO_NOSIGPIPE 1" >>confdefs.h
21956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21957 $as_echo "no" >&6; }
21960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_WAITALL" >&5
21962 $as_echo_n "checking for MSG_WAITALL... " >&6; }
21963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21964 /* end confdefs.h. */
21965 #include <sys/socket.h>
21969 int f = MSG_WAITALL;
21974 if ac_fn_c_try_compile
"$LINENO"; then :
21975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21976 $as_echo "yes" >&6; }
21978 $as_echo "#define HAVE_MSG_WAITALL 1" >>confdefs.h
21981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21982 $as_echo "no" >&6; }
21985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21987 if test "x${COMPILE_PLUGIN}" = xyes
; then
21991 if test -z "$PKG_CONFIG"; then
21992 if test -n "$ac_tool_prefix"; then
21993 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21994 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21996 $as_echo_n "checking for $ac_word... " >&6; }
21997 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21998 $as_echo_n "(cached) " >&6
22000 case $PKG_CONFIG in
22002 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22006 for as_dir
in $PATH
22009 test -z "$as_dir" && as_dir
=.
22010 for ac_exec_ext
in '' $ac_executable_extensions; do
22011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22012 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22023 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22024 if test -n "$PKG_CONFIG"; then
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22026 $as_echo "$PKG_CONFIG" >&6; }
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22029 $as_echo "no" >&6; }
22034 if test -z "$ac_cv_path_PKG_CONFIG"; then
22035 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22036 # Extract the first word of "pkg-config", so it can be a program name with args.
22037 set dummy pkg-config
; ac_word
=$2
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22039 $as_echo_n "checking for $ac_word... " >&6; }
22040 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22041 $as_echo_n "(cached) " >&6
22043 case $ac_pt_PKG_CONFIG in
22045 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22049 for as_dir
in $PATH
22052 test -z "$as_dir" && as_dir
=.
22053 for ac_exec_ext
in '' $ac_executable_extensions; do
22054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22055 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22066 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22067 if test -n "$ac_pt_PKG_CONFIG"; then
22068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22069 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22072 $as_echo "no" >&6; }
22075 if test "x$ac_pt_PKG_CONFIG" = x
; then
22078 case $cross_compiling:$ac_tool_warned in
22080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22082 ac_tool_warned
=yes ;;
22084 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22087 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22092 if test "$PKG_CONFIG" = "no" ; then
22093 echo "*** The pkg-config script could not be found. Make sure it is"
22094 echo "*** in your path, or set the PKG_CONFIG environment variable"
22095 echo "*** to the full path to pkg-config."
22096 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22098 PKG_CONFIG_MIN_VERSION
=0.9.0
22099 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin libxul-unstable" >&5
22101 $as_echo_n "checking for mozilla-plugin libxul-unstable... " >&6; }
22103 if $PKG_CONFIG --exists "mozilla-plugin libxul-unstable" ; then
22104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22105 $as_echo "yes" >&6; }
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22109 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22110 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin libxul-unstable"`
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22112 $as_echo "$MOZILLA_CFLAGS" >&6; }
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22115 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22116 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin libxul-unstable"`
22117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22118 $as_echo "$MOZILLA_LIBS" >&6; }
22122 ## If we have a custom action on failure, don't print errors, but
22123 ## do set a variable so people can do so.
22124 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin libxul-unstable"`
22131 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22132 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22136 if test $succeeded = yes; then
22142 if test "x${MOZILLA_FOUND}" = xno
; then
22146 if test -z "$PKG_CONFIG"; then
22147 if test -n "$ac_tool_prefix"; then
22148 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22149 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22151 $as_echo_n "checking for $ac_word... " >&6; }
22152 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22153 $as_echo_n "(cached) " >&6
22155 case $PKG_CONFIG in
22157 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22161 for as_dir
in $PATH
22164 test -z "$as_dir" && as_dir
=.
22165 for ac_exec_ext
in '' $ac_executable_extensions; do
22166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22167 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22178 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22179 if test -n "$PKG_CONFIG"; then
22180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22181 $as_echo "$PKG_CONFIG" >&6; }
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22184 $as_echo "no" >&6; }
22189 if test -z "$ac_cv_path_PKG_CONFIG"; then
22190 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22191 # Extract the first word of "pkg-config", so it can be a program name with args.
22192 set dummy pkg-config
; 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_ac_pt_PKG_CONFIG+set}" = set; then :
22196 $as_echo_n "(cached) " >&6
22198 case $ac_pt_PKG_CONFIG in
22200 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # 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_ac_pt_PKG_CONFIG
="$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 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22222 if test -n "$ac_pt_PKG_CONFIG"; then
22223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22224 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22227 $as_echo "no" >&6; }
22230 if test "x$ac_pt_PKG_CONFIG" = x
; then
22233 case $cross_compiling:$ac_tool_warned in
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22237 ac_tool_warned
=yes ;;
22239 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22242 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22247 if test "$PKG_CONFIG" = "no" ; then
22248 echo "*** The pkg-config script could not be found. Make sure it is"
22249 echo "*** in your path, or set the PKG_CONFIG environment variable"
22250 echo "*** to the full path to pkg-config."
22251 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22253 PKG_CONFIG_MIN_VERSION
=0.9.0
22254 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin" >&5
22256 $as_echo_n "checking for mozilla-plugin... " >&6; }
22258 if $PKG_CONFIG --exists "mozilla-plugin" ; then
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22260 $as_echo "yes" >&6; }
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22264 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22265 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22267 $as_echo "$MOZILLA_CFLAGS" >&6; }
22269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22270 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22271 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22273 $as_echo "$MOZILLA_LIBS" >&6; }
22277 ## If we have a custom action on failure, don't print errors, but
22278 ## do set a variable so people can do so.
22279 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
22286 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22287 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22291 if test $succeeded = yes; then
22298 if test "x${MOZILLA_FOUND}" = xno
; then
22302 if test -z "$PKG_CONFIG"; then
22303 if test -n "$ac_tool_prefix"; then
22304 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22305 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22307 $as_echo_n "checking for $ac_word... " >&6; }
22308 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22309 $as_echo_n "(cached) " >&6
22311 case $PKG_CONFIG in
22313 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22317 for as_dir
in $PATH
22320 test -z "$as_dir" && as_dir
=.
22321 for ac_exec_ext
in '' $ac_executable_extensions; do
22322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22323 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22334 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22335 if test -n "$PKG_CONFIG"; then
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22337 $as_echo "$PKG_CONFIG" >&6; }
22339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22340 $as_echo "no" >&6; }
22345 if test -z "$ac_cv_path_PKG_CONFIG"; then
22346 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22347 # Extract the first word of "pkg-config", so it can be a program name with args.
22348 set dummy pkg-config
; ac_word
=$2
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22350 $as_echo_n "checking for $ac_word... " >&6; }
22351 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22352 $as_echo_n "(cached) " >&6
22354 case $ac_pt_PKG_CONFIG in
22356 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22360 for as_dir
in $PATH
22363 test -z "$as_dir" && as_dir
=.
22364 for ac_exec_ext
in '' $ac_executable_extensions; do
22365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22366 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22377 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22378 if test -n "$ac_pt_PKG_CONFIG"; then
22379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22380 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22383 $as_echo "no" >&6; }
22386 if test "x$ac_pt_PKG_CONFIG" = x
; then
22389 case $cross_compiling:$ac_tool_warned in
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22393 ac_tool_warned
=yes ;;
22395 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22398 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22403 if test "$PKG_CONFIG" = "no" ; then
22404 echo "*** The pkg-config script could not be found. Make sure it is"
22405 echo "*** in your path, or set the PKG_CONFIG environment variable"
22406 echo "*** to the full path to pkg-config."
22407 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22409 PKG_CONFIG_MIN_VERSION
=0.9.0
22410 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for firefox-plugin firefox-xpcom" >&5
22412 $as_echo_n "checking for firefox-plugin firefox-xpcom... " >&6; }
22414 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
22415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22416 $as_echo "yes" >&6; }
22419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22420 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22421 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
22422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22423 $as_echo "$MOZILLA_CFLAGS" >&6; }
22425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22426 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22427 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22429 $as_echo "$MOZILLA_LIBS" >&6; }
22433 ## If we have a custom action on failure, don't print errors, but
22434 ## do set a variable so people can do so.
22435 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
22442 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22443 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22447 if test $succeeded = yes; then
22454 if test "x${MOZILLA_FOUND}" = xno
; then
22458 if test -z "$PKG_CONFIG"; then
22459 if test -n "$ac_tool_prefix"; then
22460 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22461 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22463 $as_echo_n "checking for $ac_word... " >&6; }
22464 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22465 $as_echo_n "(cached) " >&6
22467 case $PKG_CONFIG in
22469 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22473 for as_dir
in $PATH
22476 test -z "$as_dir" && as_dir
=.
22477 for ac_exec_ext
in '' $ac_executable_extensions; do
22478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22479 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22490 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22491 if test -n "$PKG_CONFIG"; then
22492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22493 $as_echo "$PKG_CONFIG" >&6; }
22495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22496 $as_echo "no" >&6; }
22501 if test -z "$ac_cv_path_PKG_CONFIG"; then
22502 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22503 # Extract the first word of "pkg-config", so it can be a program name with args.
22504 set dummy pkg-config
; ac_word
=$2
22505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22506 $as_echo_n "checking for $ac_word... " >&6; }
22507 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22508 $as_echo_n "(cached) " >&6
22510 case $ac_pt_PKG_CONFIG in
22512 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22516 for as_dir
in $PATH
22519 test -z "$as_dir" && as_dir
=.
22520 for ac_exec_ext
in '' $ac_executable_extensions; do
22521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22522 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22533 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22534 if test -n "$ac_pt_PKG_CONFIG"; then
22535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22536 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22539 $as_echo "no" >&6; }
22542 if test "x$ac_pt_PKG_CONFIG" = x
; then
22545 case $cross_compiling:$ac_tool_warned in
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22549 ac_tool_warned
=yes ;;
22551 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22554 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22559 if test "$PKG_CONFIG" = "no" ; then
22560 echo "*** The pkg-config script could not be found. Make sure it is"
22561 echo "*** in your path, or set the PKG_CONFIG environment variable"
22562 echo "*** to the full path to pkg-config."
22563 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22565 PKG_CONFIG_MIN_VERSION
=0.9.0
22566 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xulrunner-plugin xulrunner-xpcom" >&5
22568 $as_echo_n "checking for xulrunner-plugin xulrunner-xpcom... " >&6; }
22570 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22572 $as_echo "yes" >&6; }
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22576 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22577 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22579 $as_echo "$MOZILLA_CFLAGS" >&6; }
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22582 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22583 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
22584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22585 $as_echo "$MOZILLA_LIBS" >&6; }
22589 ## If we have a custom action on failure, don't print errors, but
22590 ## do set a variable so people can do so.
22591 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
22598 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22599 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22603 if test $succeeded = yes; then
22610 if test "x${MOZILLA_FOUND}" = xno
; then
22614 if test -z "$PKG_CONFIG"; then
22615 if test -n "$ac_tool_prefix"; then
22616 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22617 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22619 $as_echo_n "checking for $ac_word... " >&6; }
22620 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22621 $as_echo_n "(cached) " >&6
22623 case $PKG_CONFIG in
22625 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22629 for as_dir
in $PATH
22632 test -z "$as_dir" && as_dir
=.
22633 for ac_exec_ext
in '' $ac_executable_extensions; do
22634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22635 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22646 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22647 if test -n "$PKG_CONFIG"; then
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22649 $as_echo "$PKG_CONFIG" >&6; }
22651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22652 $as_echo "no" >&6; }
22657 if test -z "$ac_cv_path_PKG_CONFIG"; then
22658 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22659 # Extract the first word of "pkg-config", so it can be a program name with args.
22660 set dummy pkg-config
; ac_word
=$2
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22662 $as_echo_n "checking for $ac_word... " >&6; }
22663 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22664 $as_echo_n "(cached) " >&6
22666 case $ac_pt_PKG_CONFIG in
22668 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22672 for as_dir
in $PATH
22675 test -z "$as_dir" && as_dir
=.
22676 for ac_exec_ext
in '' $ac_executable_extensions; do
22677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22678 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22689 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22690 if test -n "$ac_pt_PKG_CONFIG"; then
22691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22692 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22695 $as_echo "no" >&6; }
22698 if test "x$ac_pt_PKG_CONFIG" = x
; then
22701 case $cross_compiling:$ac_tool_warned in
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22705 ac_tool_warned
=yes ;;
22707 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22710 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22715 if test "$PKG_CONFIG" = "no" ; then
22716 echo "*** The pkg-config script could not be found. Make sure it is"
22717 echo "*** in your path, or set the PKG_CONFIG environment variable"
22718 echo "*** to the full path to pkg-config."
22719 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22721 PKG_CONFIG_MIN_VERSION
=0.9.0
22722 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
22724 $as_echo_n "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... " >&6; }
22726 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22728 $as_echo "yes" >&6; }
22731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22732 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22733 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22735 $as_echo "$MOZILLA_CFLAGS" >&6; }
22737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22738 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22739 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22741 $as_echo "$MOZILLA_LIBS" >&6; }
22745 ## If we have a custom action on failure, don't print errors, but
22746 ## do set a variable so people can do so.
22747 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22754 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22755 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22759 if test $succeeded = yes; then
22766 if test "x${MOZILLA_FOUND}" = xno
; then
22770 if test -z "$PKG_CONFIG"; then
22771 if test -n "$ac_tool_prefix"; then
22772 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22773 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22775 $as_echo_n "checking for $ac_word... " >&6; }
22776 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22777 $as_echo_n "(cached) " >&6
22779 case $PKG_CONFIG in
22781 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22785 for as_dir
in $PATH
22788 test -z "$as_dir" && as_dir
=.
22789 for ac_exec_ext
in '' $ac_executable_extensions; do
22790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22791 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22802 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22803 if test -n "$PKG_CONFIG"; then
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22805 $as_echo "$PKG_CONFIG" >&6; }
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22808 $as_echo "no" >&6; }
22813 if test -z "$ac_cv_path_PKG_CONFIG"; then
22814 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22815 # Extract the first word of "pkg-config", so it can be a program name with args.
22816 set dummy pkg-config
; ac_word
=$2
22817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22818 $as_echo_n "checking for $ac_word... " >&6; }
22819 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22820 $as_echo_n "(cached) " >&6
22822 case $ac_pt_PKG_CONFIG in
22824 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22828 for as_dir
in $PATH
22831 test -z "$as_dir" && as_dir
=.
22832 for ac_exec_ext
in '' $ac_executable_extensions; do
22833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22834 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22845 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22846 if test -n "$ac_pt_PKG_CONFIG"; then
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22848 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22851 $as_echo "no" >&6; }
22854 if test "x$ac_pt_PKG_CONFIG" = x
; then
22857 case $cross_compiling:$ac_tool_warned in
22859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22861 ac_tool_warned
=yes ;;
22863 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22866 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22871 if test "$PKG_CONFIG" = "no" ; then
22872 echo "*** The pkg-config script could not be found. Make sure it is"
22873 echo "*** in your path, or set the PKG_CONFIG environment variable"
22874 echo "*** to the full path to pkg-config."
22875 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22877 PKG_CONFIG_MIN_VERSION
=0.9.0
22878 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for seamonkey-plugin seamonkey-xpcom" >&5
22880 $as_echo_n "checking for seamonkey-plugin seamonkey-xpcom... " >&6; }
22882 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
22883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22884 $as_echo "yes" >&6; }
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22888 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22889 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22891 $as_echo "$MOZILLA_CFLAGS" >&6; }
22893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22894 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22895 MOZILLA_LIBS
=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
22896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22897 $as_echo "$MOZILLA_LIBS" >&6; }
22901 ## If we have a custom action on failure, don't print errors, but
22902 ## do set a variable so people can do so.
22903 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
22910 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22911 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22915 if test $succeeded = yes; then
22922 if test "x${MOZILLA_FOUND}" = xno
; then
22926 if test -z "$PKG_CONFIG"; then
22927 if test -n "$ac_tool_prefix"; then
22928 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22929 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22931 $as_echo_n "checking for $ac_word... " >&6; }
22932 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22933 $as_echo_n "(cached) " >&6
22935 case $PKG_CONFIG in
22937 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22941 for as_dir
in $PATH
22944 test -z "$as_dir" && as_dir
=.
22945 for ac_exec_ext
in '' $ac_executable_extensions; do
22946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22947 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22958 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22959 if test -n "$PKG_CONFIG"; then
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22961 $as_echo "$PKG_CONFIG" >&6; }
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22964 $as_echo "no" >&6; }
22969 if test -z "$ac_cv_path_PKG_CONFIG"; then
22970 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22971 # Extract the first word of "pkg-config", so it can be a program name with args.
22972 set dummy pkg-config
; ac_word
=$2
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22974 $as_echo_n "checking for $ac_word... " >&6; }
22975 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22976 $as_echo_n "(cached) " >&6
22978 case $ac_pt_PKG_CONFIG in
22980 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22984 for as_dir
in $PATH
22987 test -z "$as_dir" && as_dir
=.
22988 for ac_exec_ext
in '' $ac_executable_extensions; do
22989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22990 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23001 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
23002 if test -n "$ac_pt_PKG_CONFIG"; then
23003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23004 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23007 $as_echo "no" >&6; }
23010 if test "x$ac_pt_PKG_CONFIG" = x
; then
23013 case $cross_compiling:$ac_tool_warned in
23015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23017 ac_tool_warned
=yes ;;
23019 PKG_CONFIG
=$ac_pt_PKG_CONFIG
23022 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
23027 if test "$PKG_CONFIG" = "no" ; then
23028 echo "*** The pkg-config script could not be found. Make sure it is"
23029 echo "*** in your path, or set the PKG_CONFIG environment variable"
23030 echo "*** to the full path to pkg-config."
23031 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23033 PKG_CONFIG_MIN_VERSION
=0.9.0
23034 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iceape-plugin iceape-xpcom" >&5
23036 $as_echo_n "checking for iceape-plugin iceape-xpcom... " >&6; }
23038 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23040 $as_echo "yes" >&6; }
23043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
23044 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
23045 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
23046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
23047 $as_echo "$MOZILLA_CFLAGS" >&6; }
23049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
23050 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
23051 MOZILLA_LIBS
=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
23053 $as_echo "$MOZILLA_LIBS" >&6; }
23057 ## If we have a custom action on failure, don't print errors, but
23058 ## do set a variable so people can do so.
23059 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
23066 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23067 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23071 if test $succeeded = yes; then
23078 if test "x${MOZILLA_FOUND}" = xno
; then
23079 as_fn_error
"Couldn't find plugin support headers and libraries, try --disable-plugin" "$LINENO" 5
23085 if test -z "$PKG_CONFIG"; then
23086 if test -n "$ac_tool_prefix"; then
23087 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23088 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
23089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23090 $as_echo_n "checking for $ac_word... " >&6; }
23091 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23092 $as_echo_n "(cached) " >&6
23094 case $PKG_CONFIG in
23096 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23100 for as_dir
in $PATH
23103 test -z "$as_dir" && as_dir
=.
23104 for ac_exec_ext
in '' $ac_executable_extensions; do
23105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23106 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23117 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23118 if test -n "$PKG_CONFIG"; then
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23120 $as_echo "$PKG_CONFIG" >&6; }
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23123 $as_echo "no" >&6; }
23128 if test -z "$ac_cv_path_PKG_CONFIG"; then
23129 ac_pt_PKG_CONFIG
=$PKG_CONFIG
23130 # Extract the first word of "pkg-config", so it can be a program name with args.
23131 set dummy pkg-config
; ac_word
=$2
23132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23133 $as_echo_n "checking for $ac_word... " >&6; }
23134 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
23135 $as_echo_n "(cached) " >&6
23137 case $ac_pt_PKG_CONFIG in
23139 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23143 for as_dir
in $PATH
23146 test -z "$as_dir" && as_dir
=.
23147 for ac_exec_ext
in '' $ac_executable_extensions; do
23148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23149 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23160 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
23161 if test -n "$ac_pt_PKG_CONFIG"; then
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23163 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23166 $as_echo "no" >&6; }
23169 if test "x$ac_pt_PKG_CONFIG" = x
; then
23172 case $cross_compiling:$ac_tool_warned in
23174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23176 ac_tool_warned
=yes ;;
23178 PKG_CONFIG
=$ac_pt_PKG_CONFIG
23181 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
23186 if test "$PKG_CONFIG" = "no" ; then
23187 echo "*** The pkg-config script could not be found. Make sure it is"
23188 echo "*** in your path, or set the PKG_CONFIG environment variable"
23189 echo "*** to the full path to pkg-config."
23190 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23192 PKG_CONFIG_MIN_VERSION
=0.9.0
23193 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0" >&5
23195 $as_echo_n "checking for glib-2.0... " >&6; }
23197 if $PKG_CONFIG --exists "glib-2.0" ; then
23198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23199 $as_echo "yes" >&6; }
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
23203 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
23204 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
23205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
23206 $as_echo "$GLIB_CFLAGS" >&6; }
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
23209 $as_echo_n "checking GLIB_LIBS... " >&6; }
23210 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
23211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
23212 $as_echo "$GLIB_LIBS" >&6; }
23216 ## If we have a custom action on failure, don't print errors, but
23217 ## do set a variable so people can do so.
23218 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
23219 echo $GLIB_PKG_ERRORS
23225 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23226 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23230 if test $succeeded = yes; then
23233 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
23239 if test -z "$PKG_CONFIG"; then
23240 if test -n "$ac_tool_prefix"; then
23241 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23242 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
23243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23244 $as_echo_n "checking for $ac_word... " >&6; }
23245 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23246 $as_echo_n "(cached) " >&6
23248 case $PKG_CONFIG in
23250 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23254 for as_dir
in $PATH
23257 test -z "$as_dir" && as_dir
=.
23258 for ac_exec_ext
in '' $ac_executable_extensions; do
23259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23260 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23271 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23272 if test -n "$PKG_CONFIG"; then
23273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23274 $as_echo "$PKG_CONFIG" >&6; }
23276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23277 $as_echo "no" >&6; }
23282 if test -z "$ac_cv_path_PKG_CONFIG"; then
23283 ac_pt_PKG_CONFIG
=$PKG_CONFIG
23284 # Extract the first word of "pkg-config", so it can be a program name with args.
23285 set dummy pkg-config
; ac_word
=$2
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23287 $as_echo_n "checking for $ac_word... " >&6; }
23288 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
23289 $as_echo_n "(cached) " >&6
23291 case $ac_pt_PKG_CONFIG in
23293 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23297 for as_dir
in $PATH
23300 test -z "$as_dir" && as_dir
=.
23301 for ac_exec_ext
in '' $ac_executable_extensions; do
23302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23303 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23314 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
23315 if test -n "$ac_pt_PKG_CONFIG"; then
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23317 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23320 $as_echo "no" >&6; }
23323 if test "x$ac_pt_PKG_CONFIG" = x
; then
23326 case $cross_compiling:$ac_tool_warned in
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23330 ac_tool_warned
=yes ;;
23332 PKG_CONFIG
=$ac_pt_PKG_CONFIG
23335 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
23340 if test "$PKG_CONFIG" = "no" ; then
23341 echo "*** The pkg-config script could not be found. Make sure it is"
23342 echo "*** in your path, or set the PKG_CONFIG environment variable"
23343 echo "*** to the full path to pkg-config."
23344 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23346 PKG_CONFIG_MIN_VERSION
=0.9.0
23347 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
23349 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
23351 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
23352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23353 $as_echo "yes" >&6; }
23356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
23357 $as_echo_n "checking GTK_CFLAGS... " >&6; }
23358 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
23360 $as_echo "$GTK_CFLAGS" >&6; }
23362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
23363 $as_echo_n "checking GTK_LIBS... " >&6; }
23364 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
23366 $as_echo "$GTK_LIBS" >&6; }
23370 ## If we have a custom action on failure, don't print errors, but
23371 ## do set a variable so people can do so.
23372 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23373 echo $GTK_PKG_ERRORS
23379 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23380 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23384 if test $succeeded = yes; then
23387 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
23398 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
23403 # Check whether --with-gmp was given.
23404 if test "${with_gmp+set}" = set; then :
23409 # Check whether --with-gmp_include was given.
23410 if test "${with_gmp_include+set}" = set; then :
23411 withval
=$with_gmp_include;
23415 # Check whether --with-gmp_lib was given.
23416 if test "${with_gmp_lib+set}" = set; then :
23417 withval
=$with_gmp_lib;
23421 if test "x$with_gmp" != x
; then
23424 gmplibs
="-L$with_gmp/lib $gmplibs"
23425 gmpinc
="-I$with_gmp/include $gmpinc"
23426 if test "x$with_gmp_include" != x
; then
23427 gmpinc
="-I$with_gmp_include $gmpinc"
23429 if test "x$with_gmp_lib" != x
; then
23430 gmplibs
="-L$with_gmp_lib $gmplibs"
23434 gmpinc
="-I/usr/include"
23437 if test "x${COMPILE_GMP}" = xyes
; then
23438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMP directories" >&5
23439 $as_echo_n "checking for GMP directories... " >&6; }
23440 if test "x$with_gmp" != x
; then
23441 gmplibs
="-L$with_gmp/lib -lgmp"
23442 gmpinc
="-I$with_gmp/include"
23443 if test "x$with_gmp_include" != x
; then
23444 gmpinc
="-I$with_gmp_include $gmpinc"
23446 if test "x$with_gmp_lib" != x
; then
23447 gmplibs
="-L$with_gmp_lib $gmplibs"
23452 gmpinc
="-I/usr/include"
23454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: prefix=$with_gmp, libs=$gmplibs, inc=$gmpinc" >&5
23455 $as_echo "prefix=$with_gmp, libs=$gmplibs, inc=$gmpinc" >&6; }
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_mul_si in -lgmp" >&5
23457 $as_echo_n "checking for __gmpz_mul_si in -lgmp... " >&6; }
23458 if test "${ac_cv_lib_gmp___gmpz_mul_si+set}" = set; then :
23459 $as_echo_n "(cached) " >&6
23461 ac_check_lib_save_LIBS
=$LIBS
23463 if test x
$gcc_no_link = xyes
; then
23464 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23467 /* end confdefs.h. */
23469 /* Override any GCC internal prototype to avoid an error.
23470 Use char because int might match the return type of a GCC
23471 builtin and then its argument prototype would still apply. */
23475 char __gmpz_mul_si ();
23479 return __gmpz_mul_si ();
23484 if ac_fn_c_try_link
"$LINENO"; then :
23485 ac_cv_lib_gmp___gmpz_mul_si
=yes
23487 ac_cv_lib_gmp___gmpz_mul_si
=no
23489 rm -f core conftest.err conftest.
$ac_objext \
23490 conftest
$ac_exeext conftest.
$ac_ext
23491 LIBS
=$ac_check_lib_save_LIBS
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_mul_si" >&5
23494 $as_echo "$ac_cv_lib_gmp___gmpz_mul_si" >&6; }
23495 if test "x$ac_cv_lib_gmp___gmpz_mul_si" = x
""yes; then :
23496 GMP_CFLAGS
="$gmpinc"
23497 GMP_LIBS
="$gmplibs"
23506 for ac_header
in gmp.h
23508 ac_fn_c_check_header_mongrel
"$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
23509 if test "x$ac_cv_header_gmp_h" = x
""yes; then :
23510 cat >>confdefs.h
<<_ACEOF
23511 #define HAVE_GMP_H 1
23524 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
23527 # Check whether --with-javah was given.
23528 if test "${with_javah+set}" = set; then :
23529 withval
=$with_javah;
23530 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
23532 if test "x${withval}" != x
; then
23533 if test -f "${withval}"; then
23534 USER_JAVAH
="${withval}"
23536 # Extract the first word of ""${withval}"", so it can be a program name with args.
23537 set dummy
"${withval}"; ac_word
=$2
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23539 $as_echo_n "checking for $ac_word... " >&6; }
23540 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23541 $as_echo_n "(cached) " >&6
23543 case $USER_JAVAH in
23545 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23549 for as_dir
in $PATH
23552 test -z "$as_dir" && as_dir
=.
23553 for ac_exec_ext
in '' $ac_executable_extensions; do
23554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23555 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23566 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23567 if test -n "$USER_JAVAH"; then
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23569 $as_echo "$USER_JAVAH" >&6; }
23571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23572 $as_echo "no" >&6; }
23578 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
23580 # Extract the first word of "$ac_prog", so it can be a program name with args.
23581 set dummy
$ac_prog; ac_word
=$2
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23583 $as_echo_n "checking for $ac_word... " >&6; }
23584 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23585 $as_echo_n "(cached) " >&6
23587 case $USER_JAVAH in
23589 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23593 for as_dir
in $PATH
23596 test -z "$as_dir" && as_dir
=.
23597 for ac_exec_ext
in '' $ac_executable_extensions; do
23598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23599 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23610 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23611 if test -n "$USER_JAVAH"; then
23612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23613 $as_echo "$USER_JAVAH" >&6; }
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23616 $as_echo "no" >&6; }
23620 test -n "$USER_JAVAH" && break
23625 if test "x${USER_JAVAH}" = x
; then
23626 as_fn_error
"can not find javah" "$LINENO" 5
23631 if test "x" != x
; then
23632 if test -f ""; then
23635 # Extract the first word of """", so it can be a program name with args.
23636 set dummy
""; ac_word
=$2
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23638 $as_echo_n "checking for $ac_word... " >&6; }
23639 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23640 $as_echo_n "(cached) " >&6
23642 case $USER_JAVAH in
23644 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23648 for as_dir
in $PATH
23651 test -z "$as_dir" && as_dir
=.
23652 for ac_exec_ext
in '' $ac_executable_extensions; do
23653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23654 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23665 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23666 if test -n "$USER_JAVAH"; then
23667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23668 $as_echo "$USER_JAVAH" >&6; }
23670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23671 $as_echo "no" >&6; }
23677 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
23679 # Extract the first word of "$ac_prog", so it can be a program name with args.
23680 set dummy
$ac_prog; ac_word
=$2
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23682 $as_echo_n "checking for $ac_word... " >&6; }
23683 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23684 $as_echo_n "(cached) " >&6
23686 case $USER_JAVAH in
23688 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23692 for as_dir
in $PATH
23695 test -z "$as_dir" && as_dir
=.
23696 for ac_exec_ext
in '' $ac_executable_extensions; do
23697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23698 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23709 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23710 if test -n "$USER_JAVAH"; then
23711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23712 $as_echo "$USER_JAVAH" >&6; }
23714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23715 $as_echo "no" >&6; }
23719 test -n "$USER_JAVAH" && break
23724 if test "x${USER_JAVAH}" = x
; then
23725 as_fn_error
"can not find javah" "$LINENO" 5
23733 if test "x" != x
; then
23734 if test -f ""; then
23737 # Extract the first word of """", so it can be a program name with args.
23738 set dummy
""; ac_word
=$2
23739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23740 $as_echo_n "checking for $ac_word... " >&6; }
23741 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23742 $as_echo_n "(cached) " >&6
23744 case $USER_JAVAH in
23746 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23750 for as_dir
in $PATH
23753 test -z "$as_dir" && as_dir
=.
23754 for ac_exec_ext
in '' $ac_executable_extensions; do
23755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23756 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23767 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23768 if test -n "$USER_JAVAH"; then
23769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23770 $as_echo "$USER_JAVAH" >&6; }
23772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23773 $as_echo "no" >&6; }
23779 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
23781 # Extract the first word of "$ac_prog", so it can be a program name with args.
23782 set dummy
$ac_prog; ac_word
=$2
23783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23784 $as_echo_n "checking for $ac_word... " >&6; }
23785 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23786 $as_echo_n "(cached) " >&6
23788 case $USER_JAVAH in
23790 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23794 for as_dir
in $PATH
23797 test -z "$as_dir" && as_dir
=.
23798 for ac_exec_ext
in '' $ac_executable_extensions; do
23799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23800 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23811 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23812 if test -n "$USER_JAVAH"; then
23813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23814 $as_echo "$USER_JAVAH" >&6; }
23816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23817 $as_echo "no" >&6; }
23821 test -n "$USER_JAVAH" && break
23826 if test "x${USER_JAVAH}" = x
; then
23827 as_fn_error
"can not find javah" "$LINENO" 5
23837 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
23840 if test "x${COMPILE_JNI}" = xyes
; then
23841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking jni_md.h support" >&5
23842 $as_echo_n "checking jni_md.h support... " >&6; }
23843 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
23844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23845 $as_echo "yes" >&6; }
23848 target_os
=linux-gnu
23849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no" >&5
23850 $as_echo "$as_me: WARNING: no" >&2;}
23852 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
23853 ac_dests
="include/jni_md.h"
23854 while test -n "$ac_sources"; do
23855 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
23856 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
23857 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
23859 ac_config_links
="$ac_config_links $ac_config_links_1"
23865 # Check whether --with-vm-classes was given.
23866 if test "${with_vm_classes+set}" = set; then :
23867 withval
=$with_vm_classes; vm_classes
="$with_vm_classes"
23869 vm_classes
='${top_srcdir}/vm/reference'
23876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
23877 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
23878 # Check whether --enable-maintainer-mode was given.
23879 if test "${enable_maintainer_mode+set}" = set; then :
23880 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
23882 USE_MAINTAINER_MODE
=no
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
23886 $as_echo "$USE_MAINTAINER_MODE" >&6; }
23887 if test $USE_MAINTAINER_MODE = yes; then
23888 MAINTAINER_MODE_TRUE
=
23889 MAINTAINER_MODE_FALSE
='#'
23891 MAINTAINER_MODE_TRUE
='#'
23892 MAINTAINER_MODE_FALSE
=
23895 MAINT
=$MAINTAINER_MODE_TRUE
23899 # Check whether --enable-debug was given.
23900 if test "${enable_debug+set}" = set; then :
23901 enableval
=$enable_debug; case "${enableval}" in
23905 $as_echo "#define DEBUG 1" >>confdefs.h
23908 no
) LIBDEBUG
="false" ;;
23909 *) as_fn_error
"bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
23917 # Check whether --enable-load-library was given.
23918 if test "${enable_load_library+set}" = set; then :
23919 enableval
=$enable_load_library; case "${enableval}" in
23920 yes) INIT_LOAD_LIBRARY
="true" ;;
23921 no
) INIT_LOAD_LIBRARY
="false" ;;
23922 *) as_fn_error
"bad value ${enableval} for --enable-load-library" "$LINENO" 5 ;;
23925 INIT_LOAD_LIBRARY
="true"
23932 # Check whether --with-ecj-jar was given.
23933 if test "${with_ecj_jar+set}" = set; then :
23934 withval
=$with_ecj_jar; ECJ_JAR
=$withval
23936 if test -f $multi_basedir/ecj.jar
; then
23937 ECJ_JAR
='$(jardir)/ecj.jar'
23943 # Check whether --enable-java-lang-system-explicit-initialization was given.
23944 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then :
23945 enableval
=$enable_java_lang_system_explicit_initialization; case "${enableval}" in
23946 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
23947 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
23948 *) as_fn_error
"bad value ${enableval} for --enable-java-lang-system-explicit-initialization" "$LINENO" 5 ;;
23951 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
23960 # Extract the first word of "mkdir", so it can be a program name with args.
23961 set dummy mkdir
; ac_word
=$2
23962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23963 $as_echo_n "checking for $ac_word... " >&6; }
23964 if test "${ac_cv_path_MKDIR+set}" = set; then :
23965 $as_echo_n "(cached) " >&6
23969 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
23972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23973 for as_dir
in $PATH
23976 test -z "$as_dir" && as_dir
=.
23977 for ac_exec_ext
in '' $ac_executable_extensions; do
23978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23979 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
23980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23990 MKDIR
=$ac_cv_path_MKDIR
23991 if test -n "$MKDIR"; then
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
23993 $as_echo "$MKDIR" >&6; }
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23996 $as_echo "no" >&6; }
24000 # Extract the first word of "cp", so it can be a program name with args.
24001 set dummy
cp; ac_word
=$2
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24003 $as_echo_n "checking for $ac_word... " >&6; }
24004 if test "${ac_cv_path_CP+set}" = set; then :
24005 $as_echo_n "(cached) " >&6
24009 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
24012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24013 for as_dir
in $PATH
24016 test -z "$as_dir" && as_dir
=.
24017 for ac_exec_ext
in '' $ac_executable_extensions; do
24018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24019 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
24020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24031 if test -n "$CP"; then
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
24033 $as_echo "$CP" >&6; }
24035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24036 $as_echo "no" >&6; }
24040 # Extract the first word of "date", so it can be a program name with args.
24041 set dummy
date; ac_word
=$2
24042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24043 $as_echo_n "checking for $ac_word... " >&6; }
24044 if test "${ac_cv_path_DATE+set}" = set; then :
24045 $as_echo_n "(cached) " >&6
24049 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
24052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24053 for as_dir
in $PATH
24056 test -z "$as_dir" && as_dir
=.
24057 for ac_exec_ext
in '' $ac_executable_extensions; do
24058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24059 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
24060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24070 DATE
=$ac_cv_path_DATE
24071 if test -n "$DATE"; then
24072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
24073 $as_echo "$DATE" >&6; }
24075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24076 $as_echo "no" >&6; }
24081 # Extract the first word of "find", so it can be a program name with args.
24082 set dummy
find; ac_word
=$2
24083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24084 $as_echo_n "checking for $ac_word... " >&6; }
24085 if test "${ac_cv_path_FIND+set}" = set; then :
24086 $as_echo_n "(cached) " >&6
24090 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
24093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24094 for as_dir
in $PATH
24097 test -z "$as_dir" && as_dir
=.
24098 for ac_exec_ext
in '' $ac_executable_extensions; do
24099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24100 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
24101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24111 FIND
=$ac_cv_path_FIND
24112 if test -n "$FIND"; then
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
24114 $as_echo "$FIND" >&6; }
24116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24117 $as_echo "no" >&6; }
24123 # Extract the first word of "zip", so it can be a program name with args.
24124 set dummy
zip; ac_word
=$2
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24126 $as_echo_n "checking for $ac_word... " >&6; }
24127 if test "${ac_cv_path_ZIP+set}" = set; then :
24128 $as_echo_n "(cached) " >&6
24132 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
24135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24136 for as_dir
in $PATH
24139 test -z "$as_dir" && as_dir
=.
24140 for ac_exec_ext
in '' $ac_executable_extensions; do
24141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24142 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
24143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24153 ZIP
=$ac_cv_path_ZIP
24154 if test -n "$ZIP"; then
24155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
24156 $as_echo "$ZIP" >&6; }
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24159 $as_echo "no" >&6; }
24164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a jar-like tool" >&5
24165 $as_echo_n "checking for a jar-like tool... " >&6; }
24167 # Check whether --with-jar was given.
24168 if test "${with_jar+set}" = set; then :
24170 case "${withval}" in
24176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
24177 $as_echo "${JAR}" >&6; }
24180 if test -f "${withval}"; then
24182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
24183 $as_echo "${JAR}" >&6; }
24185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24186 $as_echo "not found" >&6; }
24187 as_fn_error
"The jar tool ${withval} was not found." "$LINENO" 5
24198 if test x
"${JAR}" = "xyes"; then
24199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: trying fastjar, gjar and jar" >&5
24200 $as_echo "trying fastjar, gjar and jar" >&6; }
24201 for ac_prog
in fastjar gjar jar
24203 # Extract the first word of "$ac_prog", so it can be a program name with args.
24204 set dummy
$ac_prog; ac_word
=$2
24205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24206 $as_echo_n "checking for $ac_word... " >&6; }
24207 if test "${ac_cv_path_JAR+set}" = set; then :
24208 $as_echo_n "(cached) " >&6
24212 ac_cv_path_JAR
="$JAR" # Let the user override the test with a path.
24215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24216 for as_dir
in $PATH
24219 test -z "$as_dir" && as_dir
=.
24220 for ac_exec_ext
in '' $ac_executable_extensions; do
24221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24222 ac_cv_path_JAR
="$as_dir/$ac_word$ac_exec_ext"
24223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24233 JAR
=$ac_cv_path_JAR
24234 if test -n "$JAR"; then
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
24236 $as_echo "$JAR" >&6; }
24238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24239 $as_echo "no" >&6; }
24243 test -n "$JAR" && break
24246 if test x
"${RHINO_JAR}" = "xyes"; then
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24248 $as_echo "not found" >&6; }
24251 if test x
"${JAR}" = "xno" && test x
"${ZIP}" = ""; then
24252 as_fn_error
"No zip or jar tool found." "$LINENO" 5
24254 if test x
"${JAR}" != "xno" && test x
"${JAR}" != "xyes"; then
24265 # Check whether --with-glibj was given.
24266 if test "${with_glibj+set}" = set; then :
24267 withval
=$with_glibj;
24268 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
24269 install_class_files
=no
24270 build_class_files
=yes
24272 elif test "x${withval}" = xboth
; then
24273 install_class_files
=yes
24274 build_class_files
=yes
24276 elif test "x${withval}" = xflat
; then
24277 install_class_files
=yes
24278 build_class_files
=yes
24280 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
24281 install_class_files
=no
24282 build_class_files
=no
24284 elif test "x${withval}" = xbuild
; then
24285 install_class_files
=no
24286 build_class_files
=yes
24289 as_fn_error
"unknown value given to --with-glibj" "$LINENO" 5
24294 install_class_files
=no
24299 if test "x${use_zip}" = xyes
; then
24300 INSTALL_GLIBJ_ZIP_TRUE
=
24301 INSTALL_GLIBJ_ZIP_FALSE
='#'
24303 INSTALL_GLIBJ_ZIP_TRUE
='#'
24304 INSTALL_GLIBJ_ZIP_FALSE
=
24307 if test "x${install_class_files}" = xyes
; then
24308 INSTALL_CLASS_FILES_TRUE
=
24309 INSTALL_CLASS_FILES_FALSE
='#'
24311 INSTALL_CLASS_FILES_TRUE
='#'
24312 INSTALL_CLASS_FILES_FALSE
=
24315 if test "x${build_class_files}" = xyes
; then
24316 BUILD_CLASS_FILES_TRUE
=
24317 BUILD_CLASS_FILES_FALSE
='#'
24319 BUILD_CLASS_FILES_TRUE
='#'
24320 BUILD_CLASS_FILES_FALSE
=
24324 # Check whether --enable-examples was given.
24325 if test "${enable_examples+set}" = set; then :
24326 enableval
=$enable_examples; case "${enableval}" in
24327 yes) EXAMPLESDIR
="examples" ;;
24328 no
) EXAMPLESDIR
="" ;;
24329 *) as_fn_error
"bad value ${enableval} for --enable-examples" "$LINENO" 5 ;;
24332 EXAMPLESDIR
="examples"
24335 if test "x${build_class_files}" = xno
; then
24340 # Check whether --enable-tools was given.
24341 if test "${enable_tools+set}" = set; then :
24342 enableval
=$enable_tools; case "${enableval}" in
24343 yes) TOOLSDIR
="tools" ;;
24345 *) as_fn_error
"bad value ${enableval} for --enable-tools" "$LINENO" 5 ;;
24351 if test "x${build_class_files}" = xno
; then
24359 # Check whether --with-gjdoc was given.
24360 if test "${with_gjdoc+set}" = set; then :
24361 withval
=$with_gjdoc; if test "x${withval}" = xno
; then
24363 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
24365 # Extract the first word of "gjdoc", so it can be a program name with args.
24366 set dummy gjdoc
; ac_word
=$2
24367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24368 $as_echo_n "checking for $ac_word... " >&6; }
24369 if test "${ac_cv_path_GJDOC+set}" = set; then :
24370 $as_echo_n "(cached) " >&6
24374 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
24377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24378 for as_dir
in $PATH
24381 test -z "$as_dir" && as_dir
=.
24382 for ac_exec_ext
in '' $ac_executable_extensions; do
24383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24384 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
24385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24392 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
24396 GJDOC
=$ac_cv_path_GJDOC
24397 if test -n "$GJDOC"; then
24398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GJDOC" >&5
24399 $as_echo "$GJDOC" >&6; }
24401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24402 $as_echo "no" >&6; }
24406 if test "x${GJDOC}" = xno
; then
24407 as_fn_error
"\"gjdoc executable not found\"" "$LINENO" 5;
24412 as_ac_File
=`$as_echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${GJDOC}" >&5
24414 $as_echo_n "checking for ${GJDOC}... " >&6; }
24415 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
24416 $as_echo_n "(cached) " >&6
24418 test "$cross_compiling" = yes &&
24419 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
24420 if test -r "${GJDOC}"; then
24421 eval "$as_ac_File=yes"
24423 eval "$as_ac_File=no"
24426 eval ac_res
=\$
$as_ac_File
24427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24428 $as_echo "$ac_res" >&6; }
24429 eval as_val
=\$
$as_ac_File
24430 if test "x$as_val" = x
""yes; then :
24433 as_fn_error
"\"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" "$LINENO" 5
24441 if test "x${WITH_GJDOC}" = xyes
; then
24442 CREATE_API_DOCS_TRUE
=
24443 CREATE_API_DOCS_FALSE
='#'
24445 CREATE_API_DOCS_TRUE
='#'
24446 CREATE_API_DOCS_FALSE
=
24449 if test "x${WITH_GJDOC}" = xyes
; then
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of GJDoc" >&5
24451 $as_echo_n "checking version of GJDoc... " >&6; }
24452 gjdoc_version
=$
(${GJDOC} --version|cut
-d ' ' -f2)
24453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gjdoc_version}" >&5
24454 $as_echo "${gjdoc_version}" >&6; }
24455 case ${gjdoc_version} in
24460 *) as_fn_error
"Building documentation requires GJDoc >= 0.7.9, ${gjdoc_version} found." "$LINENO" 5 ;;
24467 # Check whether --with-jay was given.
24468 if test "${with_jay+set}" = set; then :
24470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
24471 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
24474 if test "x${withval}" = xno
; then
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24476 $as_echo "no" >&6; }
24477 elif test "x${withval}" = xyes
; then
24478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24479 $as_echo "yes" >&6; }
24480 JAY_DIR_PATH
="/usr/share/jay"
24481 elif test -d "${withval}"; then
24482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24483 $as_echo "yes" >&6; }
24484 JAY_DIR_PATH
="${withval}"
24485 elif test -f "${withval}"; then
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24487 $as_echo "yes" >&6; }
24488 JAY_DIR_PATH
=`dirname "${withval}"`
24491 as_fn_error
"jay not found at ${withval}" "$LINENO" 5
24494 if test "x${JAY_DIR_PATH}" != x
; then
24495 # Extract the first word of "jay", so it can be a program name with args.
24496 set dummy jay
; ac_word
=$2
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24498 $as_echo_n "checking for $ac_word... " >&6; }
24499 if test "${ac_cv_path_JAY+set}" = set; then :
24500 $as_echo_n "(cached) " >&6
24504 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
24507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24508 as_dummy
="${JAY_DIR_PATH}:${PATH}"
24509 for as_dir
in $as_dummy
24512 test -z "$as_dir" && as_dir
=.
24513 for ac_exec_ext
in '' $ac_executable_extensions; do
24514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24515 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
24516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24523 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
24527 JAY
=$ac_cv_path_JAY
24528 if test -n "$JAY"; then
24529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAY" >&5
24530 $as_echo "$JAY" >&6; }
24532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24533 $as_echo "no" >&6; }
24537 if test "x${JAY}" = xno
; then
24538 as_fn_error
"jay executable not found" "$LINENO" 5;
24540 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
24541 as_ac_File
=`$as_echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${JAY_SKELETON}" >&5
24543 $as_echo_n "checking for ${JAY_SKELETON}... " >&6; }
24544 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
24545 $as_echo_n "(cached) " >&6
24547 test "$cross_compiling" = yes &&
24548 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
24549 if test -r "${JAY_SKELETON}"; then
24550 eval "$as_ac_File=yes"
24552 eval "$as_ac_File=no"
24555 eval ac_res
=\$
$as_ac_File
24556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24557 $as_echo "$ac_res" >&6; }
24558 eval as_val
=\$
$as_ac_File
24559 if test "x$as_val" = x
""yes; then :
24562 as_fn_error
"Expected skeleton file in ${JAY_DIR_PATH}" "$LINENO" 5
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
24571 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
24572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24573 $as_echo "no" >&6; }
24578 if test "x${JAY_FOUND}" = xyes
; then
24579 REGEN_PARSERS_TRUE
=
24580 REGEN_PARSERS_FALSE
='#'
24582 REGEN_PARSERS_TRUE
='#'
24583 REGEN_PARSERS_FALSE
=
24588 # Check whether --enable-portable-native-sync was given.
24589 if test "${enable_portable_native_sync+set}" = set; then :
24590 enableval
=$enable_portable_native_sync; case "${enableval}" in
24593 $as_echo "#define PORTABLE_NATIVE_SYNC 1" >>confdefs.h
24598 as_fn_error
"bad value ${enableval} for --enable-portable-native-sync" "$LINENO" 5
24604 # ------ AX CREATE STDINT H -------------------------------------
24605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
24606 $as_echo_n "checking for stdint types... " >&6; }
24607 ac_stdint_h
=`echo include/config-int.h`
24608 # try to shortcircuit - if the default include path of the compiler
24609 # can find a "stdint.h" header then we assume that all compilers can.
24610 if test "${ac_cv_header_stdint_t+set}" = set; then :
24611 $as_echo_n "(cached) " >&6
24614 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
24615 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
24616 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
24617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24618 /* end confdefs.h. */
24619 #include <stdint.h>
24623 int_least32_t v = 0;
24628 if ac_fn_c_try_compile
"$LINENO"; then :
24629 ac_cv_stdint_result
="(assuming C99 compatible system)"
24630 ac_cv_header_stdint_t
="stdint.h";
24632 ac_cv_header_stdint_t
=""
24634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24635 CXXFLAGS
="$old_CXXFLAGS"
24636 CPPFLAGS
="$old_CPPFLAGS"
24637 CFLAGS
="$old_CFLAGS"
24641 v
="... $ac_cv_header_stdint_h"
24642 if test "$ac_stdint_h" = "stdint.h" ; then
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
24644 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
24645 elif test "$ac_stdint_h" = "inttypes.h" ; then
24646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
24647 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
24648 elif test "_$ac_cv_header_stdint_t" = "_" ; then
24649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
24650 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
24652 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
24654 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
24657 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
24660 inttype_headers
=`echo | sed -e 's/,/ /g'`
24662 ac_cv_stdint_result
="(no helpful system typedefs seen)"
24664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
24665 $as_echo_n "checking for stdint uintptr_t... " >&6; }
24666 if test "${ac_cv_header_stdint_x+set}" = set; then :
24667 $as_echo_n "(cached) " >&6
24670 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
24671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24672 $as_echo "(..)" >&6; }
24673 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
24674 unset ac_cv_type_uintptr_t
24675 unset ac_cv_type_uint64_t
24676 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
24678 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
24679 ac_cv_header_stdint_x
=$i
24684 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
24686 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
24692 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
24695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
24696 $as_echo_n "checking for stdint uintptr_t... " >&6; }
24699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
24700 $as_echo "$ac_cv_header_stdint_x" >&6; }
24703 if test "_$ac_cv_header_stdint_x" = "_" ; then
24705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
24706 $as_echo_n "checking for stdint uint32_t... " >&6; }
24707 if test "${ac_cv_header_stdint_o+set}" = set; then :
24708 $as_echo_n "(cached) " >&6
24711 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
24712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24713 $as_echo "(..)" >&6; }
24714 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
24715 unset ac_cv_type_uint32_t
24716 unset ac_cv_type_uint64_t
24717 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
24719 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
24720 ac_cv_header_stdint_o
=$i
24725 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
24727 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
24733 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
24737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
24738 $as_echo_n "checking for stdint uint32_t... " >&6; }
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
24742 $as_echo "$ac_cv_header_stdint_o" >&6; }
24746 if test "_$ac_cv_header_stdint_x" = "_" ; then
24747 if test "_$ac_cv_header_stdint_o" = "_" ; then
24749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
24750 $as_echo_n "checking for stdint u_int32_t... " >&6; }
24751 if test "${ac_cv_header_stdint_u+set}" = set; then :
24752 $as_echo_n "(cached) " >&6
24755 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
24756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24757 $as_echo "(..)" >&6; }
24758 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
24759 unset ac_cv_type_u_int32_t
24760 unset ac_cv_type_u_int64_t
24761 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
24763 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
24764 ac_cv_header_stdint_u
=$i
24769 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
24771 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
24777 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
24781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
24782 $as_echo_n "checking for stdint u_int32_t... " >&6; }
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
24786 $as_echo "$ac_cv_header_stdint_u" >&6; }
24790 if test "_$ac_cv_header_stdint_x" = "_" ; then
24791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
24792 $as_echo_n "checking for stdint datatype model... " >&6; }
24793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24794 $as_echo "(..)" >&6; }
24796 # The cast to long int works around a bug in the HP C Compiler
24797 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24798 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24799 # This bug is HP SR number 8606223364.
24800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
24801 $as_echo_n "checking size of char... " >&6; }
24802 if test "${ac_cv_sizeof_char+set}" = set; then :
24803 $as_echo_n "(cached) " >&6
24805 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
24808 if test "$ac_cv_type_char" = yes; then
24809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24811 { as_fn_set_status
77
24812 as_fn_error
"cannot compute sizeof (char)
24813 See \`config.log' for more details." "$LINENO" 5; }; }
24815 ac_cv_sizeof_char
=0
24820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
24821 $as_echo "$ac_cv_sizeof_char" >&6; }
24825 cat >>confdefs.h
<<_ACEOF
24826 #define SIZEOF_CHAR $ac_cv_sizeof_char
24830 # The cast to long int works around a bug in the HP C Compiler
24831 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24832 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24833 # This bug is HP SR number 8606223364.
24834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
24835 $as_echo_n "checking size of short... " >&6; }
24836 if test "${ac_cv_sizeof_short+set}" = set; then :
24837 $as_echo_n "(cached) " >&6
24839 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
24842 if test "$ac_cv_type_short" = yes; then
24843 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24845 { as_fn_set_status
77
24846 as_fn_error
"cannot compute sizeof (short)
24847 See \`config.log' for more details." "$LINENO" 5; }; }
24849 ac_cv_sizeof_short
=0
24854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
24855 $as_echo "$ac_cv_sizeof_short" >&6; }
24859 cat >>confdefs.h
<<_ACEOF
24860 #define SIZEOF_SHORT $ac_cv_sizeof_short
24864 # The cast to long int works around a bug in the HP C Compiler
24865 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24866 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24867 # This bug is HP SR number 8606223364.
24868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
24869 $as_echo_n "checking size of int... " >&6; }
24870 if test "${ac_cv_sizeof_int+set}" = set; then :
24871 $as_echo_n "(cached) " >&6
24873 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
24876 if test "$ac_cv_type_int" = yes; then
24877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24879 { as_fn_set_status
77
24880 as_fn_error
"cannot compute sizeof (int)
24881 See \`config.log' for more details." "$LINENO" 5; }; }
24888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
24889 $as_echo "$ac_cv_sizeof_int" >&6; }
24893 cat >>confdefs.h
<<_ACEOF
24894 #define SIZEOF_INT $ac_cv_sizeof_int
24898 # The cast to long int works around a bug in the HP C Compiler
24899 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24900 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24901 # This bug is HP SR number 8606223364.
24902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
24903 $as_echo_n "checking size of long... " >&6; }
24904 if test "${ac_cv_sizeof_long+set}" = set; then :
24905 $as_echo_n "(cached) " >&6
24907 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
24910 if test "$ac_cv_type_long" = yes; then
24911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24913 { as_fn_set_status
77
24914 as_fn_error
"cannot compute sizeof (long)
24915 See \`config.log' for more details." "$LINENO" 5; }; }
24917 ac_cv_sizeof_long
=0
24922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
24923 $as_echo "$ac_cv_sizeof_long" >&6; }
24927 cat >>confdefs.h
<<_ACEOF
24928 #define SIZEOF_LONG $ac_cv_sizeof_long
24932 # The cast to long int works around a bug in the HP C Compiler
24933 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24934 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24935 # This bug is HP SR number 8606223364.
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
24937 $as_echo_n "checking size of void*... " >&6; }
24938 if test "${ac_cv_sizeof_voidp+set}" = set; then :
24939 $as_echo_n "(cached) " >&6
24941 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
24944 if test "$ac_cv_type_voidp" = yes; then
24945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24947 { as_fn_set_status
77
24948 as_fn_error
"cannot compute sizeof (void*)
24949 See \`config.log' for more details." "$LINENO" 5; }; }
24951 ac_cv_sizeof_voidp
=0
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
24957 $as_echo "$ac_cv_sizeof_voidp" >&6; }
24961 cat >>confdefs.h
<<_ACEOF
24962 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
24966 ac_cv_char_data_model
=""
24967 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
24968 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
24969 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
24970 ac_cv_long_data_model
=""
24971 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
24972 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
24973 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
24975 $as_echo_n "checking data model... " >&6; }
24976 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
24977 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
24978 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
24979 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
24980 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
24981 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
24982 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
24983 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
24984 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
24985 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
24986 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
24987 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
24988 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
24989 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
24990 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
24991 222/*|
333/*|
444/*|
666/*|
888/*) :
24992 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
24993 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
24995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
24996 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
25000 if test "_$ac_cv_header_stdint_x" != "_" ; then
25001 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
25002 elif test "_$ac_cv_header_stdint_o" != "_" ; then
25003 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
25004 elif test "_$ac_cv_header_stdint_u" != "_" ; then
25005 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
25007 ac_cv_header_stdint
="stddef.h"
25010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
25011 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
25012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
25013 $as_echo "($ac_cv_header_stdint)" >&6; }
25014 unset ac_cv_type_int_least32_t
25015 unset ac_cv_type_int_fast32_t
25016 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
25018 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
25022 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
25024 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
25028 ac_fn_c_check_type
"$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
25030 if test "x$ac_cv_type_intmax_t" = x
""yes; then :
25035 fi # shortcircut to system "stdint.h"
25036 # ------------------ PREPARE VARIABLES ------------------------------
25037 if test "$GCC" = "yes" ; then
25038 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
25040 ac_cv_stdint_message
="using $CC"
25043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
25044 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
25046 # ----------------- DONE inttypes.h checks START header -------------
25047 ac_config_commands
="$ac_config_commands $ac_stdint_h"
25052 # Check whether --with-glibj_zip was given.
25053 if test "${with_glibj_zip+set}" = set; then :
25054 withval
=$with_glibj_zip;
25058 case "$with_glibj_zip" in
25060 use_glibj_zip
=false
25063 use_glibj_zip
=false
25066 as_fn_error
"Please suply an absolute path to a prebuilt glibj.zip" "$LINENO" 5
25070 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
25074 if test x
$use_glibj_zip = xtrue
; then
25075 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
25076 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
25078 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
25079 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
25084 if test "x${TOOLSDIR}" != x
; then
25085 if test "x${COMPILE_WRAPPERS}" = xno
&& test "x${enable_java_maintainer_mode}" = xyes
; then
25088 if test "x$JAVAPREFIX" = x
; then
25089 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
25091 # Extract the first word of "$ac_prog", so it can be a program name with args.
25092 set dummy
$ac_prog; ac_word
=$2
25093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25094 $as_echo_n "checking for $ac_word... " >&6; }
25095 if test "${ac_cv_prog_JAVA+set}" = set; then :
25096 $as_echo_n "(cached) " >&6
25098 if test -n "$JAVA"; then
25099 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
25101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25102 for as_dir
in $PATH
25105 test -z "$as_dir" && as_dir
=.
25106 for ac_exec_ext
in '' $ac_executable_extensions; do
25107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25108 ac_cv_prog_JAVA
="$ac_prog"
25109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25118 JAVA
=$ac_cv_prog_JAVA
25119 if test -n "$JAVA"; then
25120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
25121 $as_echo "$JAVA" >&6; }
25123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25124 $as_echo "no" >&6; }
25128 test -n "$JAVA" && break
25132 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
25134 # Extract the first word of "$ac_prog", so it can be a program name with args.
25135 set dummy
$ac_prog; ac_word
=$2
25136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25137 $as_echo_n "checking for $ac_word... " >&6; }
25138 if test "${ac_cv_prog_JAVA+set}" = set; then :
25139 $as_echo_n "(cached) " >&6
25141 if test -n "$JAVA"; then
25142 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
25144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25145 for as_dir
in $PATH
25148 test -z "$as_dir" && as_dir
=.
25149 for ac_exec_ext
in '' $ac_executable_extensions; do
25150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25151 ac_cv_prog_JAVA
="$ac_prog"
25152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25161 JAVA
=$ac_cv_prog_JAVA
25162 if test -n "$JAVA"; then
25163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
25164 $as_echo "$JAVA" >&6; }
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25167 $as_echo "no" >&6; }
25171 test -n "$JAVA" && break
25173 test -n "$JAVA" || JAVA
="$JAVAPREFIX"
25176 test "x$JAVA" = x
&& as_fn_error
"no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
25179 ECJ_OPTS
="-warn:-deprecation,serial,unusedImport,unusedPrivate,resource"
25180 JAVAC_OPTS
="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
25182 if test "x$JAVAPREFIX" = x
; then
25183 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"
25185 # Extract the first word of "$ac_prog", so it can be a program name with args.
25186 set dummy
$ac_prog; ac_word
=$2
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25188 $as_echo_n "checking for $ac_word... " >&6; }
25189 if test "${ac_cv_prog_JAVAC+set}" = set; then :
25190 $as_echo_n "(cached) " >&6
25192 if test -n "$JAVAC"; then
25193 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
25195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25196 for as_dir
in $PATH
25199 test -z "$as_dir" && as_dir
=.
25200 for ac_exec_ext
in '' $ac_executable_extensions; do
25201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25202 ac_cv_prog_JAVAC
="$ac_prog"
25203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25212 JAVAC
=$ac_cv_prog_JAVAC
25213 if test -n "$JAVAC"; then
25214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
25215 $as_echo "$JAVAC" >&6; }
25217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25218 $as_echo "no" >&6; }
25222 test -n "$JAVAC" && break
25226 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"
25228 # Extract the first word of "$ac_prog", so it can be a program name with args.
25229 set dummy
$ac_prog; ac_word
=$2
25230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25231 $as_echo_n "checking for $ac_word... " >&6; }
25232 if test "${ac_cv_prog_JAVAC+set}" = set; then :
25233 $as_echo_n "(cached) " >&6
25235 if test -n "$JAVAC"; then
25236 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
25238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25239 for as_dir
in $PATH
25242 test -z "$as_dir" && as_dir
=.
25243 for ac_exec_ext
in '' $ac_executable_extensions; do
25244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25245 ac_cv_prog_JAVAC
="$ac_prog"
25246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25255 JAVAC
=$ac_cv_prog_JAVAC
25256 if test -n "$JAVAC"; then
25257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
25258 $as_echo "$JAVAC" >&6; }
25260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25261 $as_echo "no" >&6; }
25265 test -n "$JAVAC" && break
25267 test -n "$JAVAC" || JAVAC
="$JAVAPREFIX"
25270 test "x$JAVAC" = x
&& as_fn_error
"no acceptable Java compiler found in \$PATH" "$LINENO" 5
25271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC is a version of gcj" >&5
25272 $as_echo_n "checking if $JAVAC is a version of gcj... " >&6; }
25273 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then :
25274 $as_echo_n "(cached) " >&6
25277 if $JAVAC --version 2>&1 |
grep gcj
>&5 ; then
25278 ac_cv_prog_javac_is_gcj
=yes;
25279 JAVAC
="$JAVAC $GCJ_OPTS";
25281 ac_cv_prog_javac_is_gcj
=no
;
25285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_is_gcj" >&5
25286 $as_echo "$ac_cv_prog_javac_is_gcj" >&6; }
25287 JAVAC_IS_GCJ
=$ac_cv_prog_javac_is_gcj
25289 if test x
"${JAVAC_IS_GCJ}" = xyes
; then
25291 GCJ_JAVAC_FALSE
='#'
25300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
25301 $as_echo_n "checking if $JAVAC works... " >&6; }
25302 if test "${ac_cv_prog_javac_works+set}" = set; then :
25303 $as_echo_n "(cached) " >&6
25306 JAVA_TEST
=Object.java
25307 CLASS_TEST
=Object.class
25308 cat << \EOF
> $JAVA_TEST
25309 /* #line 25309 "configure" */
25312 public class Object
25314 static
<T
> void doStuff
()
25319 if test x
$JAVAC_IS_GCJ = xyes
; then
25320 CMD
="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
25322 CMD
="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
25325 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
25326 (eval $ac_try) 2>&5
25328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25329 test $ac_status = 0; }; } >/dev
/null
2>&1; then
25330 ac_cv_prog_javac_works
=yes
25332 as_fn_error
"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
25333 echo "configure: failed program was:" >&5
25336 rm -f $JAVA_TEST $CLASS_TEST
25339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
25340 $as_echo "$ac_cv_prog_javac_works" >&6; }
25344 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
25345 set dummy
uudecode$EXEEXT; ac_word
=$2
25346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25347 $as_echo_n "checking for $ac_word... " >&6; }
25348 if test "${ac_cv_prog_uudecode+set}" = set; then :
25349 $as_echo_n "(cached) " >&6
25351 if test -n "$uudecode"; then
25352 ac_cv_prog_uudecode
="$uudecode" # Let the user override the test.
25354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25355 for as_dir
in $PATH
25358 test -z "$as_dir" && as_dir
=.
25359 for ac_exec_ext
in '' $ac_executable_extensions; do
25360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25361 ac_cv_prog_uudecode
="yes"
25362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25371 uudecode=$ac_cv_prog_uudecode
25372 if test -n "$uudecode"; then
25373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
25374 $as_echo "$uudecode" >&6; }
25376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25377 $as_echo "no" >&6; }
25381 if test x
$uudecode = xyes
; then
25382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
25383 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
25384 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :
25385 $as_echo_n "(cached) " >&6
25388 cat << \EOF
> Test.uue
25389 begin-base64
644 Test.class
25390 yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
25391 bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
25392 bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
25393 YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
25394 aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
25395 AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
25396 AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ
=
25399 if uudecode$EXEEXT Test.uue
; then
25400 ac_cv_prog_uudecode_base64
=yes
25402 echo "configure: 25402: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
25403 echo "configure: failed file was:" >&5
25405 ac_cv_prog_uudecode_base64
=no
25409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
25410 $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
25412 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
25414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
25415 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
25416 if test x
$ac_cv_prog_javac_works = xno
; then
25417 as_fn_error
"Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
25420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
25421 $as_echo_n "checking if $JAVA works... " >&6; }
25422 if test "${ac_cv_prog_java_works+set}" = set; then :
25423 $as_echo_n "(cached) " >&6
25426 JAVA_TEST
=Test.java
25427 CLASS_TEST
=Test.class
25429 cat << \EOF
> $JAVA_TEST
25430 /* [#]line 25430 "configure" */
25431 public class Test
{
25432 public static void main
(String args
[]) {
25436 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
25438 if { ac_try
='$JAVAC $JAVACFLAGS $JAVA_TEST'
25439 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
25440 (eval $ac_try) 2>&5
25442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25443 test $ac_status = 0; }; } && test -s $CLASS_TEST; then
25446 echo "configure: failed program was:" >&5
25448 as_fn_error
"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
25451 if { ac_try
='CLASSPATH=.:$CLASSPATH $JAVA $JAVAFLAGS $TEST'
25452 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
25453 (eval $ac_try) 2>&5
25455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25456 test $ac_status = 0; }; } >/dev
/null
2>&1; then
25457 ac_cv_prog_java_works
=yes
25459 echo "configure: failed program was:" >&5
25461 as_fn_error
"The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
25463 rm -fr $JAVA_TEST $CLASS_TEST Test.uue
25466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
25467 $as_echo "$ac_cv_prog_java_works" >&6; }
25471 if test "x${COMPILE_GJDOC}" = xyes
; then
25473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the ANTLR parser generator JAR file" >&5
25474 $as_echo_n "checking for the ANTLR parser generator JAR file... " >&6; }
25475 if test -z "$ANTLR_JAR"; then
25476 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
25477 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
25479 if test -f "$antlr_lib_home/antlr.jar"; then
25480 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
25485 test -f $ANTLR_JAR || as_fn_error
"specified ANTLR jar file $ANTLR_JAR not found." "$LINENO" 5 \
25486 && { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
25487 $as_echo "$ANTLR_JAR" >&6; }
25490 if test "x${REGENERATE_GJDOC_PARSER}" = xyes
&& test "x${enable_java_maintainer_mode}" = xyes
; then
25492 if test -n "$ac_tool_prefix"; then
25493 for ac_prog
in cantlr runantlr antlr
25495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
25496 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
25497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25498 $as_echo_n "checking for $ac_word... " >&6; }
25499 if test "${ac_cv_prog_ANTLR+set}" = set; then :
25500 $as_echo_n "(cached) " >&6
25502 if test -n "$ANTLR"; then
25503 ac_cv_prog_ANTLR
="$ANTLR" # Let the user override the test.
25505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25506 for as_dir
in $PATH
25509 test -z "$as_dir" && as_dir
=.
25510 for ac_exec_ext
in '' $ac_executable_extensions; do
25511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25512 ac_cv_prog_ANTLR
="$ac_tool_prefix$ac_prog"
25513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25522 ANTLR
=$ac_cv_prog_ANTLR
25523 if test -n "$ANTLR"; then
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR" >&5
25525 $as_echo "$ANTLR" >&6; }
25527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25528 $as_echo "no" >&6; }
25532 test -n "$ANTLR" && break
25535 if test -z "$ANTLR"; then
25537 for ac_prog
in cantlr runantlr antlr
25539 # Extract the first word of "$ac_prog", so it can be a program name with args.
25540 set dummy
$ac_prog; ac_word
=$2
25541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25542 $as_echo_n "checking for $ac_word... " >&6; }
25543 if test "${ac_cv_prog_ac_ct_ANTLR+set}" = set; then :
25544 $as_echo_n "(cached) " >&6
25546 if test -n "$ac_ct_ANTLR"; then
25547 ac_cv_prog_ac_ct_ANTLR
="$ac_ct_ANTLR" # Let the user override the test.
25549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25550 for as_dir
in $PATH
25553 test -z "$as_dir" && as_dir
=.
25554 for ac_exec_ext
in '' $ac_executable_extensions; do
25555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25556 ac_cv_prog_ac_ct_ANTLR
="$ac_prog"
25557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25566 ac_ct_ANTLR
=$ac_cv_prog_ac_ct_ANTLR
25567 if test -n "$ac_ct_ANTLR"; then
25568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ANTLR" >&5
25569 $as_echo "$ac_ct_ANTLR" >&6; }
25571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25572 $as_echo "no" >&6; }
25576 test -n "$ac_ct_ANTLR" && break
25579 if test "x$ac_ct_ANTLR" = x
; then
25582 case $cross_compiling:$ac_tool_warned in
25584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25586 ac_tool_warned
=yes ;;
25592 if test "x$ANTLR" = x
; then
25593 if test -z "$JAVA"; then
25594 as_fn_error
"Failed to find either an antlr binary or a suitable Java runtime for ANTLR." "$LINENO" 5
25596 if test -z "$ANTLR_JAR"; then
25597 as_fn_error
"Failed to find either an antlr binary or a suitable antlr jar file." "$LINENO" 5
25599 ANTLR
="$JAVA -classpath $ANTLR_JAR antlr.Tool"
25604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr 2.7.1 or better" >&5
25605 $as_echo_n "checking for antlr 2.7.1 or better... " >&6; }
25606 antlr_version_str
=`$ANTLR 2>&1 | head -n 1 | sed '/.*Version */!d; s///;q'`
25607 if test "$antlr_version_str"; then
25608 antlr_version_regex
='s/\([[:digit:]]\+\)\.\([[:digit:]]\+\)\.\([[:digit:]]\+\).*$/'
25609 antlr_version_major
=`echo $antlr_version_str | sed "$antlr_version_regex\\1/"`
25610 antlr_version_minor
=`echo $antlr_version_str | sed "$antlr_version_regex\\2/"`
25611 antlr_version_micro
=`echo $antlr_version_str | sed "$antlr_version_regex\\3/"`
25612 (test $antlr_version_major -gt 2 || \
25613 (test $antlr_version_major -eq 2 && \
25614 test $antlr_version_minor -gt 7) || \
25615 (test $antlr_version_major -eq 2 && \
25616 test $antlr_version_minor -eq 7 && \
25617 test $antlr_version_micro -ge 1))
25619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&5
25620 $as_echo "$antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&6; }
25627 # Check for javac if we need to build either the class library,
25628 # the examples or the tools
25629 if test "x${use_glibj_zip}" = xfalse || \
25630 test "x${EXAMPLESDIR}" != x || \
25631 test "x${TOOLSDIR}" != x
&& \
25632 test "x${build_class_files}" != xno
&& \
25633 test "${enable_java_maintainer_mode}" = yes; then
25635 JAVA_TEST
=Test.java
25636 CLASS_TEST
=Test.class
25637 cat << \EOF
> $JAVA_TEST
25638 /* #line 25638 "configure" */
25641 public static void main
(String args
)
25643 System.out.println
("Hello World");
25647 if test x
$JAVAC_IS_GCJ != xyes
; then
25648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether javac supports -J" >&5
25649 $as_echo_n "checking whether javac supports -J... " >&6; }
25650 $JAVAC $JAVACFLAGS -J-Xmx768M -sourcepath '' $JAVA_TEST
25652 if test "x$javac_result" = "x0"; then
25653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25654 $as_echo "yes" >&6; }
25655 JAVAC_MEM_OPT
="-J-Xmx768M"
25657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25658 $as_echo "no" >&6; }
25661 rm -f $JAVA_TEST $CLASS_TEST
25667 GCJ_JAVAC_FALSE
='#'
25676 # Check whether --with-escher was given.
25677 if test "${with_escher+set}" = set; then :
25678 withval
=$with_escher;
25681 case "$with_escher" in
25689 as_fn_error
"Please supply an absolute path to Escher library" "$LINENO" 5
25693 PATH_TO_ESCHER
=$with_escher
25697 if test x
$use_escher = xtrue
; then
25699 USE_ESCHER_FALSE
='#'
25701 USE_ESCHER_TRUE
='#'
25707 # Check whether --enable-local-sockets was given.
25708 if test "${enable_local_sockets+set}" = set; then :
25709 enableval
=$enable_local_sockets; case "${enableval}" in
25711 ENABLE_LOCAL_SOCKETS
=yes
25714 ENABLE_LOCAL_SOCKETS
=no
25719 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
25721 ac_fn_c_check_header_mongrel
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
25722 if test "x$ac_cv_header_sys_un_h" = x
""yes; then :
25727 for ac_func
in read write bind listen accept shutdown
25729 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25730 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
25731 eval as_val
=\$
$as_ac_var
25732 if test "x$as_val" = x
""yes; then :
25733 cat >>confdefs.h
<<_ACEOF
25734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25738 as_fn_error
"networking support not available" "$LINENO" 5
25743 $as_echo "#define ENABLE_LOCAL_SOCKETS 1" >>confdefs.h
25746 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
25747 ENABLE_LOCAL_SOCKETS_TRUE
=
25748 ENABLE_LOCAL_SOCKETS_FALSE
='#'
25750 ENABLE_LOCAL_SOCKETS_TRUE
='#'
25751 ENABLE_LOCAL_SOCKETS_FALSE
=
25757 WANT_NATIVE_BIG_INTEGER
=false
25758 if test "x${COMPILE_GMP}" = xyes
; then
25759 if test "x${ac_cv_lib_gmp___gmpz_mul_si}" = xyes
; then
25760 if test "x${ac_cv_header_gmp_h}" = xyes
; then
25761 WANT_NATIVE_BIG_INTEGER
=true
25763 $as_echo "#define WITH_GNU_MP 1" >>confdefs.h
25773 if test "x${COMPILE_GMP}" = xyes
; then
25774 CREATE_GMPBI_LIBRARY_TRUE
=
25775 CREATE_GMPBI_LIBRARY_FALSE
='#'
25777 CREATE_GMPBI_LIBRARY_TRUE
='#'
25778 CREATE_GMPBI_LIBRARY_FALSE
=
25782 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"
25785 if test "x${COMPILE_WRAPPERS}" = xyes
; then
25788 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"
25791 ac_config_commands
="$ac_config_commands gappletviewer"
25793 ac_config_commands
="$ac_config_commands gjarsigner"
25795 ac_config_commands
="$ac_config_commands gkeytool"
25797 ac_config_commands
="$ac_config_commands gjar"
25799 ac_config_commands
="$ac_config_commands gnative2ascii"
25801 ac_config_commands
="$ac_config_commands gserialver"
25803 ac_config_commands
="$ac_config_commands grmiregistry"
25805 ac_config_commands
="$ac_config_commands gtnameserv"
25807 ac_config_commands
="$ac_config_commands gorbd"
25809 ac_config_commands
="$ac_config_commands grmid"
25811 ac_config_commands
="$ac_config_commands grmic"
25813 ac_config_commands
="$ac_config_commands gjavah"
25818 if test "x${COMPILE_GJDOC}" = xyes
25820 ac_config_files
="$ac_config_files tools/gjdoc"
25822 ac_config_commands
="$ac_config_commands gjdoc"
25826 ac_config_commands
="$ac_config_commands gen-classlist"
25828 ac_config_commands
="$ac_config_commands copy-vmresources"
25830 cat >confcache
<<\_ACEOF
25831 # This file is a shell script that caches the results of configure
25832 # tests run on this system so they can be shared between configure
25833 # scripts and configure runs, see configure's option --config-cache.
25834 # It is not useful on other systems. If it contains results you don't
25835 # want to keep, you may remove or edit it.
25837 # config.status only pays attention to the cache file if you give it
25838 # the --recheck option to rerun configure.
25840 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25841 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25842 # following values.
25846 # The following way of writing the cache mishandles newlines in values,
25847 # but we know of no workaround that is simple, portable, and efficient.
25848 # So, we kill variables containing newlines.
25849 # Ultrix sh set writes to stderr and can't be redirected directly,
25850 # and sets the high bit in the cache file unless we assign to the vars.
25852 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25853 eval ac_val
=\$
$ac_var
25857 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25858 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25861 _ | IFS | as_nl
) ;; #(
25862 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
25863 *) { eval $ac_var=; unset $ac_var;} ;;
25869 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25870 *${as_nl}ac_space
=\
*)
25871 # `set' does not quote correctly, so add quotes: double-quote
25872 # substitution turns \\\\ into \\, and sed turns \\ into \.
25875 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25878 # `set' quotes correctly as required by POSIX, so do not add quotes.
25879 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25888 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25890 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25892 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25893 if test -w "$cache_file"; then
25894 test "x$cache_file" != "x/dev/null" &&
25895 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25896 $as_echo "$as_me: updating cache $cache_file" >&6;}
25897 cat confcache
>$cache_file
25899 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25900 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25905 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25906 # Let make expand exec_prefix.
25907 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25909 DEFS
=-DHAVE_CONFIG_H
25913 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25914 # 1. Remove the extension, and $U if already installed.
25915 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
25916 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
25917 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25918 # will be set to the directory where LIBOBJS objects are built.
25919 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25920 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
25922 LIBOBJS
=$ac_libobjs
25924 LTLIBOBJS
=$ac_ltlibobjs
25927 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
25928 as_fn_error
"conditional \"JAVA_MAINTAINER_MODE\" was never defined.
25929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25931 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
25932 as_fn_error
"conditional \"GENINSRC\" was never defined.
25933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25935 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
25936 as_fn_error
"conditional \"INSTALL_BINARIES\" was never defined.
25937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25939 if test -n "$EXEEXT"; then
25941 am__EXEEXT_FALSE
='#'
25943 am__EXEEXT_TRUE
='#'
25947 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
25948 as_fn_error
"conditional \"CREATE_COLLECTIONS\" was never defined.
25949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25951 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
25952 as_fn_error
"conditional \"CREATE_JNI_LIBRARIES\" was never defined.
25953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25955 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
25956 as_fn_error
"conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
25957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25959 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
25960 as_fn_error
"conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
25961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25963 if test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_FALSE}"; then
25964 as_fn_error
"conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
25965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25967 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
25968 as_fn_error
"conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
25969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25971 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25972 as_fn_error
"conditional \"AMDEP\" was never defined.
25973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25975 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25976 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
25977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25979 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
25980 as_fn_error
"conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
25981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25983 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
25984 as_fn_error
"conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
25985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25987 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
25988 as_fn_error
"conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
25989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25991 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
25992 as_fn_error
"conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
25993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25995 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
25996 as_fn_error
"conditional \"CREATE_PLUGIN\" was never defined.
25997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25999 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
26000 as_fn_error
"conditional \"CREATE_GJDOC\" was never defined.
26001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26003 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
26004 as_fn_error
"conditional \"CREATE_JNI_HEADERS\" was never defined.
26005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26007 if test -z "${CREATE_GJDOC_PARSER_TRUE}" && test -z "${CREATE_GJDOC_PARSER_FALSE}"; then
26008 as_fn_error
"conditional \"CREATE_GJDOC_PARSER\" was never defined.
26009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26011 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
26012 as_fn_error
"conditional \"CREATE_WRAPPERS\" was never defined.
26013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26015 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26016 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26019 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26020 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
26021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26023 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26024 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26027 if test -z "${WITH_JAR_TRUE}" && test -z "${WITH_JAR_FALSE}"; then
26028 as_fn_error
"conditional \"WITH_JAR\" was never defined.
26029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26031 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
26032 as_fn_error
"conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
26033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26035 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
26036 as_fn_error
"conditional \"INSTALL_CLASS_FILES\" was never defined.
26037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26039 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
26040 as_fn_error
"conditional \"BUILD_CLASS_FILES\" was never defined.
26041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26043 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
26044 as_fn_error
"conditional \"CREATE_API_DOCS\" was never defined.
26045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26047 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
26048 as_fn_error
"conditional \"REGEN_PARSERS\" was never defined.
26049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26051 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
26052 as_fn_error
"conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
26053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26055 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
26056 as_fn_error
"conditional \"GCJ_JAVAC\" was never defined.
26057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26059 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
26060 as_fn_error
"conditional \"GCJ_JAVAC\" was never defined.
26061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26063 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
26064 as_fn_error
"conditional \"USE_ESCHER\" was never defined.
26065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26067 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
26068 as_fn_error
"conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
26069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26071 if test -z "${CREATE_GMPBI_LIBRARY_TRUE}" && test -z "${CREATE_GMPBI_LIBRARY_FALSE}"; then
26072 as_fn_error
"conditional \"CREATE_GMPBI_LIBRARY\" was never defined.
26073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26076 : ${CONFIG_STATUS=./config.status}
26078 ac_clean_files_save
=$ac_clean_files
26079 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26081 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26083 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26085 # Generated by $as_me.
26086 # Run this file to recreate the current configuration.
26087 # Compiler output produced by configure, useful for debugging
26088 # configure, is in config.log if it exists.
26091 ac_cs_recheck=false
26094 SHELL=\${CONFIG_SHELL-$SHELL}
26097 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26098 ## -------------------- ##
26099 ## M4sh Initialization. ##
26100 ## -------------------- ##
26102 # Be more Bourne compatible
26103 DUALCASE
=1; export DUALCASE
# for MKS sh
26104 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26107 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26108 # is contrary to our usage. Disable this feature.
26109 alias -g '${1+"$@"}'='"$@"'
26110 setopt NO_GLOB_SUBST
26112 case `(set -o) 2>/dev/null` in #(
26124 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26125 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26126 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26127 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26128 # Prefer a ksh shell builtin over an external printf program on Solaris,
26129 # but without wasting forks for bash or zsh.
26130 if test -z "$BASH_VERSION$ZSH_VERSION" \
26131 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26132 as_echo='print
-r --'
26133 as_echo_n='print
-rn --'
26134 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26135 as_echo='printf %s
\n'
26136 as_echo_n='printf %s
'
26138 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26139 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26140 as_echo_n='/usr
/ucb
/echo -n'
26142 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26143 as_echo_n_body='eval
26147 expr "X$arg" : "X\\(.*\\)$as_nl";
26148 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26150 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26152 export as_echo_n_body
26153 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26155 export as_echo_body
26156 as_echo='sh
-c $as_echo_body as_echo
'
26159 # The user is always right.
26160 if test "${PATH_SEPARATOR+set}" != set; then
26162 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26163 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26170 # We need space, tab and new line, in precisely that order. Quoting is
26171 # there to prevent editors from complaining about space-tab.
26172 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26173 # splitting by setting IFS to empty value.)
26176 # Find who we are. Look in the path if we contain no directory separator.
26178 *[\\/]* ) as_myself=$0 ;;
26179 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26180 for as_dir in $PATH
26183 test -z "$as_dir" && as_dir=.
26184 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26190 # We did not find ourselves, most probably we were run as `sh COMMAND'
26191 # in which case we are not to be found in the path.
26192 if test "x$as_myself" = x
; then
26195 if test ! -f "$as_myself"; then
26196 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26200 # Unset variables that we do not need and which cause bugs (e.g. in
26201 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26202 # suppresses any "Segmentation fault" message there. '((' could
26203 # trigger a bug in pdksh 5.2.14.
26204 for as_var
in BASH_ENV ENV MAIL MAILPATH
26205 do eval test x\
${$as_var+set} = xset \
26206 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26219 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26222 # as_fn_error ERROR [LINENO LOG_FD]
26223 # ---------------------------------
26224 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26225 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26226 # script with status $?, using 1 if that was 0.
26229 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26231 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26232 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26234 $as_echo "$as_me: error: $1" >&2
26235 as_fn_exit
$as_status
26239 # as_fn_set_status STATUS
26240 # -----------------------
26241 # Set $? to STATUS, without forking.
26242 as_fn_set_status
()
26245 } # as_fn_set_status
26247 # as_fn_exit STATUS
26248 # -----------------
26249 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26253 as_fn_set_status
$1
26259 # Portably unset VAR.
26262 { eval $1=; unset $1;}
26264 as_unset
=as_fn_unset
26265 # as_fn_append VAR VALUE
26266 # ----------------------
26267 # Append the text in VALUE to the end of the definition contained in VAR. Take
26268 # advantage of any shell optimizations that allow amortized linear growth over
26269 # repeated appends, instead of the typical quadratic growth present in naive
26271 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26272 eval 'as_fn_append ()
26283 # as_fn_arith ARG...
26284 # ------------------
26285 # Perform arithmetic evaluation on the ARGs, and store the result in the
26286 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26287 # must be portable across $(()) and expr.
26288 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
26289 eval 'as_fn_arith ()
26296 as_val
=`expr "$@" || test $? -eq 1`
26301 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26302 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26308 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26309 as_basename
=basename
26314 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26320 as_me
=`$as_basename -- "$0" ||
26321 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26322 X"$0" : 'X\(//\)$' \| \
26323 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26325 sed '/^.*\/\([^/][^/]*\)\/*$/{
26339 # Avoid depending upon Character Ranges.
26340 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26341 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26342 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26343 as_cr_digits
='0123456789'
26344 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26346 ECHO_C
= ECHO_N
= ECHO_T
=
26347 case `echo -n x` in #(((((
26349 case `echo 'xy\c'` in
26350 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
26352 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
26359 rm -f conf$$ conf$$.exe conf$$.
file
26360 if test -d conf$$.dir
; then
26361 rm -f conf$$.dir
/conf$$.
file
26364 mkdir conf$$.dir
2>/dev
/null
26366 if (echo >conf$$.
file) 2>/dev
/null
; then
26367 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26369 # ... but there are two gotchas:
26370 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26371 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26372 # In both cases, we have to default to `cp -p'.
26373 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
26375 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26383 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
26384 rmdir conf$$.dir
2>/dev
/null
26389 # Create "$as_dir" as a directory, including parents if necessary.
26394 -*) as_dir
=.
/$as_dir;;
26396 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
26400 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26401 *) as_qdir
=$as_dir;;
26403 as_dirs
="'$as_qdir' $as_dirs"
26404 as_dir
=`$as_dirname -- "$as_dir" ||
26405 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26406 X"$as_dir" : 'X\(//\)[^/]' \| \
26407 X"$as_dir" : 'X\(//\)$' \| \
26408 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26409 $as_echo X"$as_dir" |
26410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26414 /^X\(\/\/\)[^/].*/{
26427 test -d "$as_dir" && break
26429 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
26430 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
26434 if mkdir
-p .
2>/dev
/null
; then
26435 as_mkdir_p
='mkdir -p "$as_dir"'
26437 test -d .
/-p && rmdir .
/-p
26441 if test -x / >/dev
/null
2>&1; then
26442 as_test_x
='test -x'
26444 if ls -dL / >/dev
/null
2>&1; then
26451 if test -d "$1"; then
26457 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26458 ???[sx]*):;;*)false;;esac;fi
26462 as_executable_p
=$as_test_x
26464 # Sed expression to map a string onto a valid CPP name.
26465 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26467 # Sed expression to map a string onto a valid variable name.
26468 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26472 ## ----------------------------------- ##
26473 ## Main body of $CONFIG_STATUS script. ##
26474 ## ----------------------------------- ##
26476 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
26478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26479 # Save the log message, to keep $0 and so on meaningful, and to
26480 # report actual input values of CONFIG_FILES etc. instead of their
26481 # values after options handling.
26483 This file was extended by GNU Classpath $as_me 0.99.1-pre, which was
26484 generated by GNU Autoconf 2.64. Invocation command line was
26486 CONFIG_FILES = $CONFIG_FILES
26487 CONFIG_HEADERS = $CONFIG_HEADERS
26488 CONFIG_LINKS = $CONFIG_LINKS
26489 CONFIG_COMMANDS = $CONFIG_COMMANDS
26492 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26497 case $ac_config_files in *"
26498 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
26501 case $ac_config_headers in *"
26502 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
26506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26507 # Files that config.status was made for.
26508 config_files="$ac_config_files"
26509 config_headers="$ac_config_headers"
26510 config_links="$ac_config_links"
26511 config_commands="$ac_config_commands"
26515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26517 \`$as_me' instantiates files and other configuration actions
26518 from templates according to the current configuration. Unless the files
26519 and actions are specified as TAGs, all are instantiated by default.
26521 Usage: $0 [OPTION]... [TAG]...
26523 -h, --help print this help, then exit
26524 -V, --version print version number and configuration settings, then exit
26525 -q, --quiet, --silent
26526 do not print progress messages
26527 -d, --debug don't remove temporary files
26528 --recheck update $as_me by reconfiguring in the same conditions
26529 --file=FILE[:TEMPLATE]
26530 instantiate the configuration file FILE
26531 --header=FILE[:TEMPLATE]
26532 instantiate the configuration header FILE
26534 Configuration files:
26537 Configuration headers:
26540 Configuration links:
26543 Configuration commands:
26546 Report bugs to <classpath@gnu.org>.
26547 GNU Classpath home page: <http://www.gnu.org/software/classpath/>.
26548 General help using GNU software: <http://www.gnu.org/gethelp/>."
26551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26553 GNU Classpath config.status 0.99.1-pre
26554 configured by $0, generated by GNU Autoconf 2.64,
26555 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26557 Copyright (C) 2009 Free Software Foundation, Inc.
26558 This config.status script is free software; the Free Software Foundation
26559 gives unlimited permission to copy, distribute and modify it."
26566 test -n "\$AWK" || AWK=awk
26569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26570 # The default lists apply if the user does not specify any file.
26576 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
26577 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
26588 # Handling of the options.
26589 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
26591 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
26592 $as_echo "$ac_cs_version"; exit ;;
26593 --debug |
--debu |
--deb |
--de |
--d |
-d )
26595 --file |
--fil |
--fi |
--f )
26598 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26600 as_fn_append CONFIG_FILES
" '$ac_optarg'"
26601 ac_need_defaults
=false
;;
26602 --header |
--heade |
--head |
--hea )
26605 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26607 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
26608 ac_need_defaults
=false
;;
26610 # Conflict between --help and --header
26611 as_fn_error
"ambiguous option: \`$1'
26612 Try \`$0 --help' for more information.";;
26613 --help |
--hel |
-h )
26614 $as_echo "$ac_cs_usage"; exit ;;
26615 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
26616 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
26619 # This is an error.
26620 -*) as_fn_error
"unrecognized option: \`$1'
26621 Try \`$0 --help' for more information." ;;
26623 *) as_fn_append ac_config_targets
" $1"
26624 ac_need_defaults
=false
;;
26630 ac_configure_extra_args
=
26632 if $ac_cs_silent; then
26634 ac_configure_extra_args
="$ac_configure_extra_args --silent"
26638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26639 if \$ac_cs_recheck; then
26640 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26642 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26643 CONFIG_SHELL='$SHELL'
26644 export CONFIG_SHELL
26649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26653 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26654 ## Running $as_me. ##
26660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26668 with_multisubdir="$with_multisubdir"
26669 with_multisrctop="$with_multisrctop"
26670 with_target_subdir="$with_target_subdir"
26671 ac_configure_args="${multilib_arg} ${ac_configure_args}"
26672 multi_basedir="$multi_basedir"
26673 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
26676 GFORTRAN="$GFORTRAN"
26678 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26681 # The HP-UX ksh and POSIX shell print the target directory to stdout
26682 # if CDPATH is set.
26683 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26685 sed_quote_subst='$sed_quote_subst'
26686 double_quote_subst='$double_quote_subst'
26687 delay_variable_subst='$delay_variable_subst'
26688 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26689 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26690 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26691 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26692 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26693 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26694 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26695 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26696 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26697 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26698 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26699 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26700 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26701 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26702 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26703 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26704 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26705 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26706 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26707 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26708 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26709 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26710 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26711 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26712 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26713 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26714 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26715 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26716 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26717 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26718 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26719 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26720 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26721 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26722 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26723 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26724 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26725 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26726 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26727 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26728 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26729 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26730 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26731 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26732 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26733 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26734 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26735 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26736 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"`'
26737 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26738 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26739 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26740 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26741 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26742 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26743 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26744 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26745 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26746 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26747 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26748 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26749 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26750 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26751 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26752 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26753 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26754 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26755 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26756 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26757 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26758 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26759 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26760 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26761 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26762 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26763 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26764 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26765 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26766 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26767 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26768 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
26769 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26770 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26771 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26772 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26773 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26774 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26775 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26776 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26777 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
26778 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26779 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26780 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26781 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26782 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26783 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26784 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26785 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26786 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26787 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26788 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26789 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26790 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26791 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26792 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26793 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26794 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26795 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26796 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26797 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26798 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26799 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26800 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26801 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26802 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26803 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26804 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26805 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26806 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26807 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26808 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26809 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26810 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26811 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26812 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26813 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26814 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
26815 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
26816 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26817 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26818 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
26819 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
26820 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
26821 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
26822 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
26823 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
26824 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
26825 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
26826 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
26827 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26828 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26829 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
26830 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26831 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26832 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26833 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26834 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26835 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26836 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
26837 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26838 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26839 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26840 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
26841 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
26842 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
26843 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
26844 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
26845 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
26846 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
26847 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
26848 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
26849 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
26850 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
26851 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26852 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26853 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26854 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26855 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
26856 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
26857 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
26858 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26859 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26860 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
26861 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
26862 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26865 LTCFLAGS='$LTCFLAGS'
26866 compiler='$compiler_DEFAULT'
26868 # A function that is used when there is no print builtin or printf.
26869 func_fallback_echo ()
26871 eval 'cat <<_LTECHO_EOF
26876 # Quote evaled strings.
26890 deplibs_check_method \
26899 lt_cv_sys_global_symbol_pipe \
26900 lt_cv_sys_global_symbol_to_cdecl \
26901 lt_cv_sys_global_symbol_to_c_name_address \
26902 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26903 lt_prog_compiler_no_builtin_flag \
26904 lt_prog_compiler_wl \
26905 lt_prog_compiler_pic \
26906 lt_prog_compiler_static \
26907 lt_cv_prog_compiler_c_o \
26915 export_dynamic_flag_spec \
26916 whole_archive_flag_spec \
26917 compiler_needs_object \
26919 allow_undefined_flag \
26920 no_undefined_flag \
26921 hardcode_libdir_flag_spec \
26922 hardcode_libdir_flag_spec_ld \
26923 hardcode_libdir_separator \
26928 variables_saved_for_relink \
26930 library_names_spec \
26932 install_override_mode \
26936 compiler_lib_search_dirs \
26941 compiler_lib_search_path \
26945 lt_prog_compiler_no_builtin_flag_CXX \
26946 lt_prog_compiler_wl_CXX \
26947 lt_prog_compiler_pic_CXX \
26948 lt_prog_compiler_static_CXX \
26949 lt_cv_prog_compiler_c_o_CXX \
26950 export_dynamic_flag_spec_CXX \
26951 whole_archive_flag_spec_CXX \
26952 compiler_needs_object_CXX \
26954 allow_undefined_flag_CXX \
26955 no_undefined_flag_CXX \
26956 hardcode_libdir_flag_spec_CXX \
26957 hardcode_libdir_flag_spec_ld_CXX \
26958 hardcode_libdir_separator_CXX \
26959 fix_srcfile_path_CXX \
26960 exclude_expsyms_CXX \
26961 include_expsyms_CXX \
26962 file_list_spec_CXX \
26963 compiler_lib_search_dirs_CXX \
26964 predep_objects_CXX \
26965 postdep_objects_CXX \
26968 compiler_lib_search_path_CXX; do
26969 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26970 *[\\\\\\\`\\"\\\$]*)
26971 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26974 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26979 # Double-quote double-evaled strings.
26980 for var in reload_cmds \
26981 old_postinstall_cmds \
26982 old_postuninstall_cmds \
26984 extract_expsyms_cmds \
26985 old_archive_from_new_cmds \
26986 old_archive_from_expsyms_cmds \
26988 archive_expsym_cmds \
26990 module_expsym_cmds \
26991 export_symbols_cmds \
26994 postuninstall_cmds \
26996 sys_lib_search_path_spec \
26997 sys_lib_dlsearch_path_spec \
26999 old_archive_cmds_CXX \
27000 old_archive_from_new_cmds_CXX \
27001 old_archive_from_expsyms_cmds_CXX \
27003 archive_expsym_cmds_CXX \
27005 module_expsym_cmds_CXX \
27006 export_symbols_cmds_CXX \
27007 prelink_cmds_CXX; do
27008 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27009 *[\\\\\\\`\\"\\\$]*)
27010 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27013 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27018 ac_aux_dir='$ac_aux_dir'
27019 xsi_shell='$xsi_shell'
27020 lt_shell_append='$lt_shell_append'
27022 # See if we are running on zsh, and set the options which allow our
27023 # commands through without removal of \ escapes INIT.
27024 if test -n "\${ZSH_VERSION+set}" ; then
27025 setopt NO_GLOB_SUBST
27031 TIMESTAMP='$TIMESTAMP'
27039 # variables for create stdint.h replacement
27042 ac_stdint_h="$ac_stdint_h"
27043 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
27044 ac_cv_stdint_message="$ac_cv_stdint_message"
27045 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
27046 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
27047 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
27048 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
27049 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27050 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27051 ac_cv_char_data_model="$ac_cv_char_data_model"
27052 ac_cv_long_data_model="$ac_cv_long_data_model"
27053 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27054 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27055 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
27060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27062 # Handling of arguments.
27063 for ac_config_target
in $ac_config_targets
27065 case $ac_config_target in
27066 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27067 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
27068 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27069 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27070 "lib/mkcollections.pl") CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
27071 "mkcollections.pl") CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
27072 "$ac_config_links_1") CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
27073 "$ac_stdint_h") CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
27074 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27075 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
27076 "doc/api/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
27077 "external/Makefile") CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
27078 "external/sax/Makefile") CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
27079 "external/w3c_dom/Makefile") CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
27080 "external/relaxngDatatype/Makefile") CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
27081 "external/jsr166/Makefile") CONFIG_FILES
="$CONFIG_FILES external/jsr166/Makefile" ;;
27082 "gnu/classpath/Configuration.java") CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
27083 "gnu/java/security/Configuration.java") CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
27084 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
27085 "native/Makefile") CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
27086 "native/fdlibm/Makefile") CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
27087 "native/jawt/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
27088 "native/jni/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
27089 "native/jni/classpath/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
27090 "native/jni/java-io/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
27091 "native/jni/java-lang/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
27092 "native/jni/java-math/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-math/Makefile" ;;
27093 "native/jni/java-net/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
27094 "native/jni/java-nio/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
27095 "native/jni/java-util/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
27096 "native/jni/gtk-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
27097 "native/jni/gconf-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
27098 "native/jni/gstreamer-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gstreamer-peer/Makefile" ;;
27099 "native/jni/qt-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
27100 "native/jni/xmlj/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
27101 "native/jni/midi-alsa/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
27102 "native/jni/midi-dssi/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
27103 "native/jni/native-lib/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
27104 "native/plugin/Makefile") CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
27105 "resource/Makefile") CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
27106 "resource/META-INF/services/java.util.prefs.PreferencesFactory") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
27107 "resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ;;
27108 "resource/META-INF/services/javax.sound.sampled.spi.MixerProvider") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ;;
27109 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
27110 "scripts/classpath.spec") CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
27111 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
27112 "lib/gen-classlist.sh") CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
27113 "lib/copy-vmresources.sh") CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
27114 "scripts/check_jni_methods.sh") CONFIG_FILES
="$CONFIG_FILES scripts/check_jni_methods.sh" ;;
27115 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
27116 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
27117 "examples/Makefile.jawt") CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
27118 "examples/Makefile.java2d") CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
27119 "tools/gappletviewer") CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
27120 "tools/gjarsigner") CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
27121 "tools/gkeytool") CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
27122 "tools/gjar") CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
27123 "tools/gnative2ascii") CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
27124 "tools/gserialver") CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
27125 "tools/grmiregistry") CONFIG_FILES
="$CONFIG_FILES tools/grmiregistry" ;;
27126 "tools/gtnameserv") CONFIG_FILES
="$CONFIG_FILES tools/gtnameserv" ;;
27127 "tools/gorbd") CONFIG_FILES
="$CONFIG_FILES tools/gorbd" ;;
27128 "tools/grmid") CONFIG_FILES
="$CONFIG_FILES tools/grmid" ;;
27129 "tools/grmic") CONFIG_FILES
="$CONFIG_FILES tools/grmic" ;;
27130 "tools/gjavah") CONFIG_FILES
="$CONFIG_FILES tools/gjavah" ;;
27131 "gappletviewer") CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
27132 "gjarsigner") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
27133 "gkeytool") CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
27134 "gjar") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
27135 "gnative2ascii") CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
27136 "gserialver") CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
27137 "grmiregistry") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmiregistry" ;;
27138 "gtnameserv") CONFIG_COMMANDS
="$CONFIG_COMMANDS gtnameserv" ;;
27139 "gorbd") CONFIG_COMMANDS
="$CONFIG_COMMANDS gorbd" ;;
27140 "grmid") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmid" ;;
27141 "grmic") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmic" ;;
27142 "gjavah") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjavah" ;;
27143 "tools/gjdoc") CONFIG_FILES
="$CONFIG_FILES tools/gjdoc" ;;
27144 "gjdoc") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjdoc" ;;
27145 "gen-classlist") CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
27146 "copy-vmresources") CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
27148 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27153 # If the user did not use the arguments to specify the items to instantiate,
27154 # then the envvar interface is used. Set only those that are not.
27155 # We use the long form for the default assignment because of an extremely
27156 # bizarre bug on SunOS 4.1.3.
27157 if $ac_need_defaults; then
27158 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27159 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27160 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
27161 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27164 # Have a temporary directory for convenience. Make it in the build tree
27165 # simply because there is no reason against having it here, and in addition,
27166 # creating and moving files from /tmp can sometimes cause problems.
27167 # Hook for its removal unless debugging.
27168 # Note that there is a small window in which the directory will not be cleaned:
27169 # after its creation but before its name has been assigned to `$tmp'.
27173 trap 'exit_status=$?
27174 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27176 trap 'as_fn_exit 1' 1 2 13 15
27178 # Create a (secure) tmp directory for tmp files.
27181 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27182 test -n "$tmp" && test -d "$tmp"
27185 tmp
=.
/conf$$
-$RANDOM
27186 (umask 077 && mkdir
"$tmp")
27187 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27189 # Set up the scripts for CONFIG_FILES section.
27190 # No need to generate them if there are no CONFIG_FILES.
27191 # This happens for instance with `./config.status config.h'.
27192 if test -n "$CONFIG_FILES"; then
27195 ac_cr
=`echo X | tr X '\015'`
27196 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27197 # But we know of no other shell where ac_cr would be empty at this
27198 # point, so we can use a bashism as a fallback.
27199 if test "x$ac_cr" = x
; then
27200 eval ac_cr
=\$
\'\\r
\'
27202 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27203 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27206 ac_cs_awk_cr
=$ac_cr
27209 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27214 echo "cat >conf$$subs.awk <<_ACEOF" &&
27215 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27217 } >conf$$subs.sh ||
27218 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27219 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27221 for ac_last_try in false false false false false :; do
27222 . ./conf$$subs.sh ||
27223 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27225 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27226 if test $ac_delim_n = $ac_delim_num; then
27228 elif $ac_last_try; then
27229 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27231 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27234 rm -f conf$$subs.sh
27236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27237 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27241 s/^/S["/; s
/!.
*/"]=/
27251 s/\(.\{148\}\).*/\1/
27253 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27258 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27265 s/\(.\{148\}\).*/\1/
27267 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27271 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27276 ' <conf$$subs.awk | sed '
27281 ' >>$CONFIG_STATUS || ac_write_fail=1
27282 rm -f conf$$subs.awk
27283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27285 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27286 for (key in S) S_is_set[key] = 1
27292 nfields = split(line, field, "@
")
27294 len = length(field[1])
27295 for (i = 2; i < nfields; i++) {
27297 keylen = length(key)
27298 if (S_is_set[key]) {
27300 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27301 len += length(value) + length(field[++i])
27312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27313 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27314 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27317 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27318 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27321 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27322 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27323 # trailing colons and then remove the whole line if VPATH becomes empty
27324 # (actually we leave an empty line to preserve line numbers).
27325 if test "x
$srcdir" = x.; then
27326 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27327 s/:*\$(srcdir):*/:/
27328 s/:*\${srcdir}:*/:/
27330 s/^\([^=]*=[ ]*\):*/\1/
27336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27337 fi # test -n "$CONFIG_FILES"
27339 # Set up the scripts for CONFIG_HEADERS section.
27340 # No need to generate them if there are no CONFIG_HEADERS.
27341 # This happens for instance with `./config.status Makefile'.
27342 if test -n "$CONFIG_HEADERS"; then
27343 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27347 # Transform confdefs.h into an awk script `defines.awk', embedded as
27348 # here-document in config.status, that substitutes the proper values into
27349 # config.h.in to produce config.h.
27351 # Create a delimiter string that does not exist in confdefs.h, to ease
27352 # handling of long lines.
27354 for ac_last_try in false false :; do
27355 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
27356 if test -z "$ac_t"; then
27358 elif $ac_last_try; then
27359 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
27361 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27365 # For the awk script, D is an array of macro values keyed by name,
27366 # likewise P contains macro parameters if any. Preserve backslash
27367 # newline sequences.
27369 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27371 s/.\{148\}/&'"$ac_delim"'/g
27374 s/^[ ]*#[ ]*define[ ][ ]*/ /
27381 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27383 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
27387 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
27388 D["\
1"]=" \
3\\\\\\n
"\\/p
27390 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
27395 s/.\{148\}/&'"$ac_delim"'/g
27400 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
27403 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
27405 ' <confdefs.h | sed '
27406 s/'"$ac_delim"'/"\\\
27407 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27410 for (key in D) D_is_set[key] = 1
27413 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27415 split(line, arg, " ")
27416 if (arg[1] == "#") {
27420 defundef
= substr
(arg
[1], 2)
27423 split(mac1
, mac2
, "(") #)
27425 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
27426 if (D_is_set
[macro
]) {
27427 # Preserve the white space surrounding the "#".
27428 print prefix
"define", macro P
[macro
] D
[macro
]
27431 # Replace #undef with comments. This is necessary, for example,
27432 # in the case of _POSIX_SOURCE, which is predefined and required
27433 # on some systems where configure will not decide to define it.
27434 if (defundef
== "undef") {
27435 print
"/*", prefix defundef
, macro
, "*/"
27443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27444 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
27445 fi # test -n "$CONFIG_HEADERS"
27448 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
27453 :[FHLC
]) ac_mode
=$ac_tag; continue;;
27455 case $ac_mode$ac_tag in
27457 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
27458 :[FH
]-) ac_tag
=-:-;;
27459 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
27476 -) ac_f
="$tmp/stdin";;
27477 *) # Look for the file first in the build tree, then in the source tree
27478 # (if the path is not absolute). The absolute path cannot be DOS-style,
27479 # because $ac_f cannot contain `:'.
27483 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
27485 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
27487 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27488 as_fn_append ac_file_inputs
" '$ac_f'"
27491 # Let's still pretend it is `configure' which instantiates (i.e., don't
27492 # use $as_me), people would be surprised to read:
27493 # /* config.h. Generated by config.status. */
27494 configure_input
='Generated from '`
27495 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27497 if test x
"$ac_file" != x-
; then
27498 configure_input
="$ac_file. $configure_input"
27499 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27500 $as_echo "$as_me: creating $ac_file" >&6;}
27502 # Neutralize special characters interpreted by sed in replacement strings.
27503 case $configure_input in #(
27504 *\
&* |
*\|
* |
*\\* )
27505 ac_sed_conf_input
=`$as_echo "$configure_input" |
27506 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27507 *) ac_sed_conf_input
=$configure_input;;
27511 *:-:* |
*:-) cat >"$tmp/stdin" \
27512 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
27517 ac_dir
=`$as_dirname -- "$ac_file" ||
27518 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27519 X"$ac_file" : 'X\(//\)[^/]' \| \
27520 X"$ac_file" : 'X\(//\)$' \| \
27521 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27522 $as_echo X"$ac_file" |
27523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27527 /^X\(\/\/\)[^/].*/{
27540 as_dir
="$ac_dir"; as_fn_mkdir_p
27544 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27546 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27547 # A ".." for each directory in $ac_dir_suffix.
27548 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27549 case $ac_top_builddir_sub in
27550 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27551 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27554 ac_abs_top_builddir
=$ac_pwd
27555 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27556 # for backward compatibility:
27557 ac_top_builddir
=$ac_top_build_prefix
27560 .
) # We are building in place.
27562 ac_top_srcdir
=$ac_top_builddir_sub
27563 ac_abs_top_srcdir
=$ac_pwd ;;
27564 [\\/]* | ?
:[\\/]* ) # Absolute name.
27565 ac_srcdir
=$srcdir$ac_dir_suffix;
27566 ac_top_srcdir
=$srcdir
27567 ac_abs_top_srcdir
=$srcdir ;;
27568 *) # Relative name.
27569 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27570 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27571 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27573 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27583 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
27584 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
27586 ac_MKDIR_P
=$MKDIR_P
27588 [\\/$
]* | ?
:[\\/]* ) ;;
27589 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
27593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27594 # If the template does not know about datarootdir, expand it.
27595 # FIXME: This hack should be removed a few years after 2.60.
27596 ac_datarootdir_hack
=; ac_datarootdir_seen
=
27607 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27608 *datarootdir
*) ac_datarootdir_seen
=yes;;
27609 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
27610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27611 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27614 ac_datarootdir_hack='
27615 s&@datadir@&$datadir&g
27616 s&@docdir@&$docdir&g
27617 s&@infodir@&$infodir&g
27618 s&@localedir@&$localedir&g
27619 s&@mandir@&$mandir&g
27620 s&\\\${datarootdir}&$datarootdir&g' ;;
27624 # Neutralize VPATH when `$srcdir' = `.'.
27625 # Shell code in configure.ac might set extrasub.
27626 # FIXME: do we really want to maintain this feature?
27627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27628 ac_sed_extra="$ac_vpsub
27631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27633 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
27634 s|@configure_input@|
$ac_sed_conf_input|
;t t
27635 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
27636 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
27637 s
&@srcdir@
&$ac_srcdir&;t t
27638 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
27639 s
&@top_srcdir@
&$ac_top_srcdir&;t t
27640 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
27641 s
&@builddir@
&$ac_builddir&;t t
27642 s
&@abs_builddir@
&$ac_abs_builddir&;t t
27643 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
27644 s
&@INSTALL@
&$ac_INSTALL&;t t
27645 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
27646 $ac_datarootdir_hack
27648 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
27649 || as_fn_error "could not create
$ac_file" "$LINENO" 5
27651 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27652 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
27653 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
27654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
27655 which seems to be undefined. Please make sure it is defined." >&5
27656 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
27657 which seems to be undefined. Please make sure it is defined." >&2;}
27661 -) cat "$tmp/out" && rm -f "$tmp/out";;
27662 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27664 || as_fn_error "could not create $ac_file" "$LINENO" 5
27670 if test x"$ac_file" != x-; then
27672 $as_echo "/* $configure_input */" \
27673 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27674 } >"$tmp/config.h" \
27675 || as_fn_error "could not create $ac_file" "$LINENO" 5
27676 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27677 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27678 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27681 mv "$tmp/config.h" "$ac_file" \
27682 || as_fn_error "could not create $ac_file" "$LINENO" 5
27685 $as_echo "/* $configure_input */" \
27686 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27687 || as_fn_error "could not create -" "$LINENO" 5
27689 # Compute "$ac_file"'s index
in $config_headers.
27692 for _am_header
in $config_headers :; do
27693 case $_am_header in
27694 $_am_arg |
$_am_arg:* )
27697 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
27700 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27701 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27702 X"$_am_arg" : 'X\(//\)[^/]' \| \
27703 X"$_am_arg" : 'X\(//\)$' \| \
27704 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27705 $as_echo X"$_am_arg" |
27706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27710 /^X\(\/\/\)[^/].*/{
27722 s/.*/./; q'`/stamp-h
$_am_stamp_count
27729 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
27732 # Prefer the file from the source tree if names are identical.
27733 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
27734 ac_source
=$srcdir/$ac_source
27737 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
27738 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
27740 if test ! -r "$ac_source"; then
27741 as_fn_error
"$ac_source: file not found" "$LINENO" 5
27745 # Try a relative symlink, then a hard link, then a copy.
27747 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
27748 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
27750 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
27751 ln "$ac_source" "$ac_file" 2>/dev
/null ||
27752 cp -p "$ac_source" "$ac_file" ||
27753 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
27756 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27757 $as_echo "$as_me: executing $ac_file commands" >&6;}
27762 case $ac_file$ac_mode in
27764 # Only add multilib support code if we just rebuilt the top-level
27766 case " $CONFIG_FILES " in
27768 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
27771 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
27772 # Autoconf 2.62 quotes --file arguments for eval, but not when files
27773 # are listed without --file. Let's play safe and only enable the eval
27774 # if we detect the quoting.
27775 case $CONFIG_FILES in
27776 *\'*) eval set x
"$CONFIG_FILES" ;;
27777 *) set x
$CONFIG_FILES ;;
27782 # Strip MF so we end up with the name of the file.
27783 mf
=`echo "$mf" | sed -e 's/:.*$//'`
27784 # Check whether this is an Automake generated Makefile or not.
27785 # We used to match only the files named `Makefile.in', but
27786 # some people rename them; so instead we look at the file content.
27787 # Grep'ing the first line is not enough: some people post-process
27788 # each Makefile.in and add a new line on top of each file to say so.
27789 # Grep'ing the whole file is not good either: AIX grep has a line
27790 # limit of 2048, but all sed's we know have understand at least 4000.
27791 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
27792 dirpart
=`$as_dirname -- "$mf" ||
27793 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27794 X"$mf" : 'X\(//\)[^/]' \| \
27795 X"$mf" : 'X\(//\)$' \| \
27796 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27802 /^X\(\/\/\)[^/].*/{
27818 # Extract the definition of DEPDIR, am__include, and am__quote
27819 # from the Makefile without running `make'.
27820 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
27821 test -z "$DEPDIR" && continue
27822 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
27823 test -z "am__include" && continue
27824 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
27825 # When using ansi2knr, U may be empty or an underscore; expand it
27826 U
=`sed -n 's/^U = //p' < "$mf"`
27827 # Find all dependency output files, they are included files with
27828 # $(DEPDIR) in their names. We invoke sed twice because it is the
27829 # simplest approach to changing $(DEPDIR) to its actual value in the
27831 for file in `sed -n "
27832 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27833 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27834 # Make sure the directory exists.
27835 test -f "$dirpart/$file" && continue
27836 fdir
=`$as_dirname -- "$file" ||
27837 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27838 X"$file" : 'X\(//\)[^/]' \| \
27839 X"$file" : 'X\(//\)$' \| \
27840 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27841 $as_echo X"$file" |
27842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27846 /^X\(\/\/\)[^/].*/{
27859 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
27860 # echo "creating $dirpart/$file"
27861 echo '# dummy' > "$dirpart/$file"
27868 # See if we are running on zsh, and set the options which allow our
27869 # commands through without removal of \ escapes.
27870 if test -n "${ZSH_VERSION+set}" ; then
27871 setopt NO_GLOB_SUBST
27874 cfgfile
="${ofile}T"
27875 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27878 cat <<_LT_EOF >> "$cfgfile"
27881 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27882 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27883 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27884 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27886 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27887 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
27888 # Written by Gordon Matzigkeit, 1996
27890 # This file is part of GNU Libtool.
27892 # GNU Libtool is free software; you can redistribute it and/or
27893 # modify it under the terms of the GNU General Public License as
27894 # published by the Free Software Foundation; either version 2 of
27895 # the License, or (at your option) any later version.
27897 # As a special exception to the GNU General Public License,
27898 # if you distribute this file as part of a program or library that
27899 # is built using GNU Libtool, you may include this file under the
27900 # same distribution terms that you use for the rest of that program.
27902 # GNU Libtool is distributed in the hope that it will be useful,
27903 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27904 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27905 # GNU General Public License for more details.
27907 # You should have received a copy of the GNU General Public License
27908 # along with GNU Libtool; see the file COPYING. If not, a copy
27909 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27910 # obtained by writing to the Free Software Foundation, Inc.,
27911 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27914 # The names of the tagged configurations supported by this script.
27915 available_tags="CXX "
27917 # ### BEGIN LIBTOOL CONFIG
27919 # Whether or not to build static libraries.
27920 build_old_libs=$enable_static
27922 # Which release of libtool.m4 was used?
27923 macro_version=$macro_version
27924 macro_revision=$macro_revision
27926 # Whether or not to build shared libraries.
27927 build_libtool_libs=$enable_shared
27929 # What type of objects to build.
27932 # Whether or not to optimize for fast installation.
27933 fast_install=$enable_fast_install
27935 # Shell to use when invoking shell scripts.
27938 # An echo program that protects backslashes.
27942 host_alias=$host_alias
27946 # The build system.
27947 build_alias=$build_alias
27951 # A sed program that does not truncate output.
27954 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27955 Xsed="\$SED -e 1s/^X//"
27957 # A grep program that handles long lines.
27963 # A literal string matcher.
27966 # A BSD- or MS-compatible name lister.
27969 # Whether we need soft or hard links.
27972 # What is the maximum length of a command?
27973 max_cmd_len=$max_cmd_len
27975 # Object file suffix (normally "o").
27978 # Executable file suffix (normally "").
27981 # whether the shell understands "unset".
27984 # turn spaces into newlines.
27987 # turn newlines into spaces.
27990 # An object symbol dumper.
27991 OBJDUMP=$lt_OBJDUMP
27993 # Method to check whether dependent libraries are shared objects.
27994 deplibs_check_method=$lt_deplibs_check_method
27996 # Command to use when deplibs_check_method == "file_magic".
27997 file_magic_cmd=$lt_file_magic_cmd
28001 AR_FLAGS=$lt_AR_FLAGS
28003 # A symbol stripping program.
28006 # Commands used to install an old-style archive.
28008 old_postinstall_cmds=$lt_old_postinstall_cmds
28009 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28011 # Whether to use a lock for old archive extraction.
28012 lock_old_archive_extraction=$lock_old_archive_extraction
28017 # LTCC compiler flags.
28018 LTCFLAGS=$lt_CFLAGS
28020 # Take the output of nm and produce a listing of raw symbols and C names.
28021 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28023 # Transform the output of nm in a proper C declaration.
28024 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28026 # Transform the output of nm in a C name address pair.
28027 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28029 # Transform the output of nm in a C name address pair when lib prefix is needed.
28030 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28032 # The name of the directory that contains temporary libtool files.
28035 # Used to examine libraries when file_magic_cmd begins with "file".
28036 MAGIC_CMD=$MAGIC_CMD
28038 # Must we lock files when doing compilation?
28039 need_locks=$lt_need_locks
28041 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28042 DSYMUTIL=$lt_DSYMUTIL
28044 # Tool to change global to local symbols on Mac OS X.
28047 # Tool to manipulate fat objects and archives on Mac OS X.
28050 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28053 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28054 OTOOL64=$lt_OTOOL64
28056 # Old archive suffix (normally "a").
28059 # Shared library suffix (normally ".so").
28060 shrext_cmds=$lt_shrext_cmds
28062 # The commands to extract the exported symbol list from a shared archive.
28063 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28065 # Variables whose values should be saved in libtool wrapper scripts and
28066 # restored at link time.
28067 variables_saved_for_relink=$lt_variables_saved_for_relink
28069 # Do we need the "lib" prefix for modules?
28070 need_lib_prefix=$need_lib_prefix
28072 # Do we need a version for libraries?
28073 need_version=$need_version
28075 # Library versioning type.
28076 version_type=$version_type
28078 # Shared library runtime path variable.
28079 runpath_var=$runpath_var
28081 # Shared library path variable.
28082 shlibpath_var=$shlibpath_var
28084 # Is shlibpath searched before the hard-coded library search path?
28085 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28087 # Format of library name prefix.
28088 libname_spec=$lt_libname_spec
28090 # List of archive names. First name is the real one, the rest are links.
28091 # The last name is the one that the linker finds with -lNAME
28092 library_names_spec=$lt_library_names_spec
28094 # The coded name of the library, if different from the real name.
28095 soname_spec=$lt_soname_spec
28097 # Permission mode override for installation of shared libraries.
28098 install_override_mode=$lt_install_override_mode
28100 # Command to use after installation of a shared archive.
28101 postinstall_cmds=$lt_postinstall_cmds
28103 # Command to use after uninstallation of a shared archive.
28104 postuninstall_cmds=$lt_postuninstall_cmds
28106 # Commands used to finish a libtool library installation in a directory.
28107 finish_cmds=$lt_finish_cmds
28109 # As "finish_cmds", except a single script fragment to be evaled but
28111 finish_eval=$lt_finish_eval
28113 # Whether we should hardcode library paths into libraries.
28114 hardcode_into_libs=$hardcode_into_libs
28116 # Compile-time system search path for libraries.
28117 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28119 # Run-time system search path for libraries.
28120 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28122 # Whether dlopen is supported.
28123 dlopen_support=$enable_dlopen
28125 # Whether dlopen of programs is supported.
28126 dlopen_self=$enable_dlopen_self
28128 # Whether dlopen of statically linked programs is supported.
28129 dlopen_self_static=$enable_dlopen_self_static
28131 # Commands to strip libraries.
28132 old_striplib=$lt_old_striplib
28133 striplib=$lt_striplib
28136 # The linker used to build libraries.
28139 # How to create reloadable object files.
28140 reload_flag=$lt_reload_flag
28141 reload_cmds=$lt_reload_cmds
28143 # Commands used to build an old-style archive.
28144 old_archive_cmds=$lt_old_archive_cmds
28146 # A language specific compiler.
28149 # Is the compiler the GNU compiler?
28152 # Compiler flag to turn off builtin functions.
28153 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28155 # How to pass a linker flag through the compiler.
28156 wl=$lt_lt_prog_compiler_wl
28158 # Additional compiler flags for building library objects.
28159 pic_flag=$lt_lt_prog_compiler_pic
28161 # Compiler flag to prevent dynamic linking.
28162 link_static_flag=$lt_lt_prog_compiler_static
28164 # Does compiler simultaneously support -c and -o options?
28165 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28167 # Whether or not to add -lc for building shared libraries.
28168 build_libtool_need_lc=$archive_cmds_need_lc
28170 # Whether or not to disallow shared libs when runtime libs are static.
28171 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28173 # Compiler flag to allow reflexive dlopens.
28174 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28176 # Compiler flag to generate shared objects directly from archives.
28177 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28179 # Whether the compiler copes with passing no objects directly.
28180 compiler_needs_object=$lt_compiler_needs_object
28182 # Create an old-style archive from a shared archive.
28183 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28185 # Create a temporary old-style archive to link instead of a shared archive.
28186 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28188 # Commands used to build a shared archive.
28189 archive_cmds=$lt_archive_cmds
28190 archive_expsym_cmds=$lt_archive_expsym_cmds
28192 # Commands used to build a loadable module if different from building
28193 # a shared archive.
28194 module_cmds=$lt_module_cmds
28195 module_expsym_cmds=$lt_module_expsym_cmds
28197 # Whether we are building with GNU ld or not.
28198 with_gnu_ld=$lt_with_gnu_ld
28200 # Flag that allows shared libraries with undefined symbols to be built.
28201 allow_undefined_flag=$lt_allow_undefined_flag
28203 # Flag that enforces no undefined symbols.
28204 no_undefined_flag=$lt_no_undefined_flag
28206 # Flag to hardcode \$libdir into a binary during linking.
28207 # This must work even if \$libdir does not exist
28208 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28210 # If ld is used when linking, flag to hardcode \$libdir into a binary
28211 # during linking. This must work even if \$libdir does not exist.
28212 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28214 # Whether we need a single "-rpath" flag with a separated argument.
28215 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28217 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28218 # DIR into the resulting binary.
28219 hardcode_direct=$hardcode_direct
28221 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28222 # DIR into the resulting binary and the resulting library dependency is
28223 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28224 # library is relocated.
28225 hardcode_direct_absolute=$hardcode_direct_absolute
28227 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28228 # into the resulting binary.
28229 hardcode_minus_L=$hardcode_minus_L
28231 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28232 # into the resulting binary.
28233 hardcode_shlibpath_var=$hardcode_shlibpath_var
28235 # Set to "yes" if building a shared library automatically hardcodes DIR
28236 # into the library and all subsequent libraries and executables linked
28238 hardcode_automatic=$hardcode_automatic
28240 # Set to yes if linker adds runtime paths of dependent libraries
28241 # to runtime path list.
28242 inherit_rpath=$inherit_rpath
28244 # Whether libtool must link a program against all its dependency libraries.
28245 link_all_deplibs=$link_all_deplibs
28247 # Fix the shell variable \$srcfile for the compiler.
28248 fix_srcfile_path=$lt_fix_srcfile_path
28250 # Set to "yes" if exported symbols are required.
28251 always_export_symbols=$always_export_symbols
28253 # The commands to list exported symbols.
28254 export_symbols_cmds=$lt_export_symbols_cmds
28256 # Symbols that should not be listed in the preloaded symbols.
28257 exclude_expsyms=$lt_exclude_expsyms
28259 # Symbols that must always be exported.
28260 include_expsyms=$lt_include_expsyms
28262 # Commands necessary for linking programs (against libraries) with templates.
28263 prelink_cmds=$lt_prelink_cmds
28265 # Specify filename containing input files.
28266 file_list_spec=$lt_file_list_spec
28268 # How to hardcode a shared library path into an executable.
28269 hardcode_action=$hardcode_action
28271 # The directories searched by this compiler when creating a shared library.
28272 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28274 # Dependencies to place before and after the objects being linked to
28275 # create a shared library.
28276 predep_objects=$lt_predep_objects
28277 postdep_objects=$lt_postdep_objects
28278 predeps=$lt_predeps
28279 postdeps=$lt_postdeps
28281 # The library search path used internally by the compiler when linking
28282 # a shared library.
28283 compiler_lib_search_path=$lt_compiler_lib_search_path
28285 # ### END LIBTOOL CONFIG
28291 cat <<\_LT_EOF
>> "$cfgfile"
28292 # AIX sometimes has problems with the GCC collect2 program. For some
28293 # reason, if we set the COLLECT_NAMES environment variable, the problems
28294 # vanish in a puff of smoke.
28295 if test "X${COLLECT_NAMES+set}" != Xset
; then
28297 export COLLECT_NAMES
28304 ltmain
="$ac_aux_dir/ltmain.sh"
28307 # We use sed instead of cat because bash on DJGPP gets confused if
28308 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28309 # text mode, it properly converts lines to CR/LF. This bash problem
28310 # is reportedly fixed, but why not run on old versions too?
28311 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28312 ||
(rm -f "$cfgfile"; exit 1)
28316 cat << \_LT_EOF
>> "$cfgfile"
28318 # func_dirname file append nondir_replacement
28319 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28320 # otherwise set result to NONDIR_REPLACEMENT.
28324 */*) func_dirname_result
="${1%/*}${2}" ;;
28325 * ) func_dirname_result
="${3}" ;;
28329 # func_basename file
28332 func_basename_result
="${1##*/}"
28335 # func_dirname_and_basename file append nondir_replacement
28336 # perform func_basename and func_dirname in a single function
28338 # dirname: Compute the dirname of FILE. If nonempty,
28339 # add APPEND to the result, otherwise set result
28340 # to NONDIR_REPLACEMENT.
28341 # value returned in "$func_dirname_result"
28342 # basename: Compute filename of FILE.
28343 # value retuned in "$func_basename_result"
28344 # Implementation must be kept synchronized with func_dirname
28345 # and func_basename. For efficiency, we do not delegate to
28346 # those functions but instead duplicate the functionality here.
28347 func_dirname_and_basename
()
28350 */*) func_dirname_result
="${1%/*}${2}" ;;
28351 * ) func_dirname_result
="${3}" ;;
28353 func_basename_result
="${1##*/}"
28356 # func_stripname prefix suffix name
28357 # strip PREFIX and SUFFIX off of NAME.
28358 # PREFIX and SUFFIX must not contain globbing or regex special
28359 # characters, hashes, percent signs, but SUFFIX may contain a leading
28360 # dot (in which case that matches only a dot).
28363 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28364 # positional parameters, so assign one to ordinary parameter first.
28365 func_stripname_result
=${3}
28366 func_stripname_result
=${func_stripname_result#"${1}"}
28367 func_stripname_result
=${func_stripname_result%"${2}"}
28373 func_opt_split_opt
=${1%%=*}
28374 func_opt_split_arg
=${1#*=}
28381 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28382 *) func_lo2o_result
=${1} ;;
28386 # func_xform libobj-or-source
28389 func_xform_result
=${1%.*}.lo
28392 # func_arith arithmetic-term...
28395 func_arith_result
=$
(( $
* ))
28399 # STRING may not start with a hyphen.
28402 func_len_result
=${#1}
28407 *) # Bourne compatible functions.
28408 cat << \_LT_EOF
>> "$cfgfile"
28410 # func_dirname file append nondir_replacement
28411 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28412 # otherwise set result to NONDIR_REPLACEMENT.
28415 # Extract subdirectory from the argument.
28416 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
28417 if test "X$func_dirname_result" = "X${1}"; then
28418 func_dirname_result
="${3}"
28420 func_dirname_result
="$func_dirname_result${2}"
28424 # func_basename file
28427 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
28431 # func_stripname prefix suffix name
28432 # strip PREFIX and SUFFIX off of NAME.
28433 # PREFIX and SUFFIX must not contain globbing or regex special
28434 # characters, hashes, percent signs, but SUFFIX may contain a leading
28435 # dot (in which case that matches only a dot).
28436 # func_strip_suffix prefix name
28440 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28441 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28446 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
28447 my_sed_long_arg
='1s/^-[^=]*=//'
28452 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28453 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28459 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
28462 # func_xform libobj-or-source
28465 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28468 # func_arith arithmetic-term...
28471 func_arith_result
=`expr "$@"`
28475 # STRING may not start with a hyphen.
28478 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28484 case $lt_shell_append in
28486 cat << \_LT_EOF
>> "$cfgfile"
28488 # func_append var value
28489 # Append VALUE to the end of shell variable VAR.
28497 cat << \_LT_EOF
>> "$cfgfile"
28499 # func_append var value
28500 # Append VALUE to the end of shell variable VAR.
28511 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28512 ||
(rm -f "$cfgfile"; exit 1)
28514 mv -f "$cfgfile" "$ofile" ||
28515 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28519 cat <<_LT_EOF >> "$ofile"
28521 # ### BEGIN LIBTOOL TAG CONFIG: CXX
28523 # The linker used to build libraries.
28526 # How to create reloadable object files.
28527 reload_flag=$lt_reload_flag_CXX
28528 reload_cmds=$lt_reload_cmds_CXX
28530 # Commands used to build an old-style archive.
28531 old_archive_cmds=$lt_old_archive_cmds_CXX
28533 # A language specific compiler.
28534 CC=$lt_compiler_CXX
28536 # Is the compiler the GNU compiler?
28539 # Compiler flag to turn off builtin functions.
28540 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
28542 # How to pass a linker flag through the compiler.
28543 wl=$lt_lt_prog_compiler_wl_CXX
28545 # Additional compiler flags for building library objects.
28546 pic_flag=$lt_lt_prog_compiler_pic_CXX
28548 # Compiler flag to prevent dynamic linking.
28549 link_static_flag=$lt_lt_prog_compiler_static_CXX
28551 # Does compiler simultaneously support -c and -o options?
28552 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
28554 # Whether or not to add -lc for building shared libraries.
28555 build_libtool_need_lc=$archive_cmds_need_lc_CXX
28557 # Whether or not to disallow shared libs when runtime libs are static.
28558 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
28560 # Compiler flag to allow reflexive dlopens.
28561 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
28563 # Compiler flag to generate shared objects directly from archives.
28564 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
28566 # Whether the compiler copes with passing no objects directly.
28567 compiler_needs_object=$lt_compiler_needs_object_CXX
28569 # Create an old-style archive from a shared archive.
28570 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
28572 # Create a temporary old-style archive to link instead of a shared archive.
28573 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
28575 # Commands used to build a shared archive.
28576 archive_cmds=$lt_archive_cmds_CXX
28577 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
28579 # Commands used to build a loadable module if different from building
28580 # a shared archive.
28581 module_cmds=$lt_module_cmds_CXX
28582 module_expsym_cmds=$lt_module_expsym_cmds_CXX
28584 # Whether we are building with GNU ld or not.
28585 with_gnu_ld=$lt_with_gnu_ld_CXX
28587 # Flag that allows shared libraries with undefined symbols to be built.
28588 allow_undefined_flag=$lt_allow_undefined_flag_CXX
28590 # Flag that enforces no undefined symbols.
28591 no_undefined_flag=$lt_no_undefined_flag_CXX
28593 # Flag to hardcode \$libdir into a binary during linking.
28594 # This must work even if \$libdir does not exist
28595 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
28597 # If ld is used when linking, flag to hardcode \$libdir into a binary
28598 # during linking. This must work even if \$libdir does not exist.
28599 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
28601 # Whether we need a single "-rpath" flag with a separated argument.
28602 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
28604 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28605 # DIR into the resulting binary.
28606 hardcode_direct=$hardcode_direct_CXX
28608 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28609 # DIR into the resulting binary and the resulting library dependency is
28610 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28611 # library is relocated.
28612 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
28614 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28615 # into the resulting binary.
28616 hardcode_minus_L=$hardcode_minus_L_CXX
28618 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28619 # into the resulting binary.
28620 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
28622 # Set to "yes" if building a shared library automatically hardcodes DIR
28623 # into the library and all subsequent libraries and executables linked
28625 hardcode_automatic=$hardcode_automatic_CXX
28627 # Set to yes if linker adds runtime paths of dependent libraries
28628 # to runtime path list.
28629 inherit_rpath=$inherit_rpath_CXX
28631 # Whether libtool must link a program against all its dependency libraries.
28632 link_all_deplibs=$link_all_deplibs_CXX
28634 # Fix the shell variable \$srcfile for the compiler.
28635 fix_srcfile_path=$lt_fix_srcfile_path_CXX
28637 # Set to "yes" if exported symbols are required.
28638 always_export_symbols=$always_export_symbols_CXX
28640 # The commands to list exported symbols.
28641 export_symbols_cmds=$lt_export_symbols_cmds_CXX
28643 # Symbols that should not be listed in the preloaded symbols.
28644 exclude_expsyms=$lt_exclude_expsyms_CXX
28646 # Symbols that must always be exported.
28647 include_expsyms=$lt_include_expsyms_CXX
28649 # Commands necessary for linking programs (against libraries) with templates.
28650 prelink_cmds=$lt_prelink_cmds_CXX
28652 # Specify filename containing input files.
28653 file_list_spec=$lt_file_list_spec_CXX
28655 # How to hardcode a shared library path into an executable.
28656 hardcode_action=$hardcode_action_CXX
28658 # The directories searched by this compiler when creating a shared library.
28659 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
28661 # Dependencies to place before and after the objects being linked to
28662 # create a shared library.
28663 predep_objects=$lt_predep_objects_CXX
28664 postdep_objects=$lt_postdep_objects_CXX
28665 predeps=$lt_predeps_CXX
28666 postdeps=$lt_postdeps_CXX
28668 # The library search path used internally by the compiler when linking
28669 # a shared library.
28670 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
28672 # ### END LIBTOOL TAG CONFIG: CXX
28676 "mkcollections.pl":C
) chmod 755 lib
/mkcollections.pl
;;
28678 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
28679 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
28680 ac_stdint
=$tmp/_stdint.h
28682 echo "#ifndef" $_ac_stdint_h >$ac_stdint
28683 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
28684 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
28685 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
28686 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
28687 if test "_$ac_cv_header_stdint_t" != "_" ; then
28688 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
28689 echo "#include <stdint.h>" >>$ac_stdint
28690 echo "#endif" >>$ac_stdint
28691 echo "#endif" >>$ac_stdint
28694 cat >>$ac_stdint <<STDINT_EOF
28696 /* ................... shortcircuit part ........................... */
28698 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
28699 #include <stdint.h>
28701 #include <stddef.h>
28703 /* .................... configured part ............................ */
28707 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
28708 if test "_$ac_cv_header_stdint_x" != "_" ; then
28709 ac_header
="$ac_cv_header_stdint_x"
28710 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
28712 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
28715 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
28716 if test "_$ac_cv_header_stdint_o" != "_" ; then
28717 ac_header
="$ac_cv_header_stdint_o"
28718 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
28720 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
28723 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
28724 if test "_$ac_cv_header_stdint_u" != "_" ; then
28725 ac_header
="$ac_cv_header_stdint_u"
28726 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
28728 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
28731 echo "" >>$ac_stdint
28733 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
28734 echo "#include <$ac_header>" >>$ac_stdint
28735 echo "" >>$ac_stdint
28738 echo "/* which 64bit typedef has been found */" >>$ac_stdint
28739 if test "$ac_cv_type_uint64_t" = "yes" ; then
28740 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
28742 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
28744 if test "$ac_cv_type_u_int64_t" = "yes" ; then
28745 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
28747 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
28749 echo "" >>$ac_stdint
28751 echo "/* which type model has been detected */" >>$ac_stdint
28752 if test "_$ac_cv_char_data_model" != "_" ; then
28753 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
28754 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
28756 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
28757 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
28759 echo "" >>$ac_stdint
28761 echo "/* whether int_least types were detected */" >>$ac_stdint
28762 if test "$ac_cv_type_int_least32_t" = "yes"; then
28763 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
28765 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
28767 echo "/* whether int_fast types were detected */" >>$ac_stdint
28768 if test "$ac_cv_type_int_fast32_t" = "yes"; then
28769 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
28771 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
28773 echo "/* whether intmax_t type was detected */" >>$ac_stdint
28774 if test "$ac_cv_type_intmax_t" = "yes"; then
28775 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
28777 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
28779 echo "" >>$ac_stdint
28781 cat >>$ac_stdint <<STDINT_EOF
28782 /* .................... detections part ............................ */
28784 /* whether we need to define bitspecific types from compiler base types */
28785 #ifndef _STDINT_HEADER_INTPTR
28786 #ifndef _STDINT_HEADER_UINT32
28787 #ifndef _STDINT_HEADER_U_INT32
28788 #define _STDINT_NEED_INT_MODEL_T
28790 #define _STDINT_HAVE_U_INT_TYPES
28795 #ifdef _STDINT_HAVE_U_INT_TYPES
28796 #undef _STDINT_NEED_INT_MODEL_T
28799 #ifdef _STDINT_CHAR_MODEL
28800 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
28801 #ifndef _STDINT_BYTE_MODEL
28802 #define _STDINT_BYTE_MODEL 12
28807 #ifndef _STDINT_HAVE_INT_LEAST32_T
28808 #define _STDINT_NEED_INT_LEAST_T
28811 #ifndef _STDINT_HAVE_INT_FAST32_T
28812 #define _STDINT_NEED_INT_FAST_T
28815 #ifndef _STDINT_HEADER_INTPTR
28816 #define _STDINT_NEED_INTPTR_T
28817 #ifndef _STDINT_HAVE_INTMAX_T
28818 #define _STDINT_NEED_INTMAX_T
28823 /* .................... definition part ............................ */
28825 /* some system headers have good uint64_t */
28826 #ifndef _HAVE_UINT64_T
28827 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
28828 #define _HAVE_UINT64_T
28829 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
28830 #define _HAVE_UINT64_T
28831 typedef u_int64_t uint64_t;
28835 #ifndef _HAVE_UINT64_T
28836 /* .. here are some common heuristics using compiler runtime specifics */
28837 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
28838 #define _HAVE_UINT64_T
28839 #define _HAVE_LONGLONG_UINT64_T
28840 typedef long long int64_t;
28841 typedef unsigned long long uint64_t;
28843 #elif !defined __STRICT_ANSI__
28844 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
28845 #define _HAVE_UINT64_T
28846 typedef __int64 int64_t;
28847 typedef unsigned __int64 uint64_t;
28849 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
28850 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
28851 #if !defined _NO_LONGLONG
28852 #define _HAVE_UINT64_T
28853 #define _HAVE_LONGLONG_UINT64_T
28854 typedef long long int64_t;
28855 typedef unsigned long long uint64_t;
28858 #elif defined __alpha || (defined __mips && defined _ABIN32)
28859 #if !defined _NO_LONGLONG
28860 typedef long int64_t;
28861 typedef unsigned long uint64_t;
28863 /* compiler/cpu type to define int64_t */
28868 #if defined _STDINT_HAVE_U_INT_TYPES
28869 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
28870 typedef u_int8_t uint8_t;
28871 typedef u_int16_t uint16_t;
28872 typedef u_int32_t uint32_t;
28874 /* glibc compatibility */
28875 #ifndef __int8_t_defined
28876 #define __int8_t_defined
28880 #ifdef _STDINT_NEED_INT_MODEL_T
28881 /* we must guess all the basic types. Apart from byte-adressable system, */
28882 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
28883 /* (btw, those nibble-addressable systems are way off, or so we assume) */
28886 #if defined _STDINT_BYTE_MODEL
28887 #if _STDINT_LONG_MODEL+0 == 242
28888 /* 2:4:2 = IP16 = a normal 16-bit system */
28889 typedef unsigned char uint8_t;
28890 typedef unsigned short uint16_t;
28891 typedef unsigned long uint32_t;
28892 #ifndef __int8_t_defined
28893 #define __int8_t_defined
28894 typedef char int8_t;
28895 typedef short int16_t;
28896 typedef long int32_t;
28898 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
28899 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
28900 /* 4:4:4 = ILP32 = a normal 32-bit system */
28901 typedef unsigned char uint8_t;
28902 typedef unsigned short uint16_t;
28903 typedef unsigned int uint32_t;
28904 #ifndef __int8_t_defined
28905 #define __int8_t_defined
28906 typedef char int8_t;
28907 typedef short int16_t;
28908 typedef int int32_t;
28910 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
28911 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
28912 /* 4:8:8 = LP64 = a normal 64-bit system */
28913 typedef unsigned char uint8_t;
28914 typedef unsigned short uint16_t;
28915 typedef unsigned int uint32_t;
28916 #ifndef __int8_t_defined
28917 #define __int8_t_defined
28918 typedef char int8_t;
28919 typedef short int16_t;
28920 typedef int int32_t;
28922 /* this system has a "long" of 64bit */
28923 #ifndef _HAVE_UINT64_T
28924 #define _HAVE_UINT64_T
28925 typedef unsigned long uint64_t;
28926 typedef long int64_t;
28928 #elif _STDINT_LONG_MODEL+0 == 448
28929 /* LLP64 a 64-bit system derived from a 32-bit system */
28930 typedef unsigned char uint8_t;
28931 typedef unsigned short uint16_t;
28932 typedef unsigned int uint32_t;
28933 #ifndef __int8_t_defined
28934 #define __int8_t_defined
28935 typedef char int8_t;
28936 typedef short int16_t;
28937 typedef int int32_t;
28939 /* assuming the system has a "long long" */
28940 #ifndef _HAVE_UINT64_T
28941 #define _HAVE_UINT64_T
28942 #define _HAVE_LONGLONG_UINT64_T
28943 typedef unsigned long long uint64_t;
28944 typedef long long int64_t;
28947 #define _STDINT_NO_INT32_T
28950 #define _STDINT_NO_INT8_T
28951 #define _STDINT_NO_INT32_T
28956 * quote from SunOS-5.8 sys/inttypes.h:
28957 * Use at your own risk. As of February 1996, the committee is squarely
28958 * behind the fixed sized types; the "least" and "fast" types are still being
28959 * discussed. The probability that the "fast" types may be removed before
28960 * the standard is finalized is high enough that they are not currently
28964 #if defined _STDINT_NEED_INT_LEAST_T
28965 typedef int8_t int_least8_t;
28966 typedef int16_t int_least16_t;
28967 typedef int32_t int_least32_t;
28968 #ifdef _HAVE_UINT64_T
28969 typedef int64_t int_least64_t;
28972 typedef uint8_t uint_least8_t;
28973 typedef uint16_t uint_least16_t;
28974 typedef uint32_t uint_least32_t;
28975 #ifdef _HAVE_UINT64_T
28976 typedef uint64_t uint_least64_t;
28981 #if defined _STDINT_NEED_INT_FAST_T
28982 typedef int8_t int_fast8_t;
28983 typedef int int_fast16_t;
28984 typedef int32_t int_fast32_t;
28985 #ifdef _HAVE_UINT64_T
28986 typedef int64_t int_fast64_t;
28989 typedef uint8_t uint_fast8_t;
28990 typedef unsigned uint_fast16_t;
28991 typedef uint32_t uint_fast32_t;
28992 #ifdef _HAVE_UINT64_T
28993 typedef uint64_t uint_fast64_t;
28998 #ifdef _STDINT_NEED_INTMAX_T
28999 #ifdef _HAVE_UINT64_T
29000 typedef int64_t intmax_t;
29001 typedef uint64_t uintmax_t;
29003 typedef long intmax_t;
29004 typedef unsigned long uintmax_t;
29008 #ifdef _STDINT_NEED_INTPTR_T
29009 #ifndef __intptr_t_defined
29010 #define __intptr_t_defined
29011 /* we encourage using "long" to store pointer values, never use "int" ! */
29012 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
29013 typedef unsigned int uintptr_t;
29014 typedef int intptr_t;
29015 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
29016 typedef unsigned long uintptr_t;
29017 typedef long intptr_t;
29018 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
29019 typedef uint64_t uintptr_t;
29020 typedef int64_t intptr_t;
29021 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
29022 typedef unsigned long uintptr_t;
29023 typedef long intptr_t;
29028 /* The ISO C99 standard specifies that in C++ implementations these
29029 should only be defined if explicitly requested. */
29030 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
29034 # define INT8_C(c) c
29035 # define INT16_C(c) c
29036 # define INT32_C(c) c
29037 # ifdef _HAVE_LONGLONG_UINT64_T
29038 # define INT64_C(c) c ## L
29040 # define INT64_C(c) c ## LL
29044 # define UINT8_C(c) c ## U
29045 # define UINT16_C(c) c ## U
29046 # define UINT32_C(c) c ## U
29047 # ifdef _HAVE_LONGLONG_UINT64_T
29048 # define UINT64_C(c) c ## UL
29050 # define UINT64_C(c) c ## ULL
29053 /* Maximal type. */
29054 # ifdef _HAVE_LONGLONG_UINT64_T
29055 # define INTMAX_C(c) c ## L
29056 # define UINTMAX_C(c) c ## UL
29058 # define INTMAX_C(c) c ## LL
29059 # define UINTMAX_C(c) c ## ULL
29062 /* literalnumbers */
29066 /* These limits are merily those of a two complement byte-oriented system */
29068 /* Minimum of signed integral types. */
29070 # define INT8_MIN (-128)
29073 # define INT16_MIN (-32767-1)
29076 # define INT32_MIN (-2147483647-1)
29079 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
29082 /* Maximum of signed integral types. */
29084 # define INT8_MAX (127)
29087 # define INT16_MAX (32767)
29090 # define INT32_MAX (2147483647)
29093 # define INT64_MAX (__INT64_C(9223372036854775807))
29096 /* Maximum of unsigned integral types. */
29098 # define UINT8_MAX (255)
29101 # define UINT16_MAX (65535)
29104 # define UINT32_MAX (4294967295U)
29107 # define UINT64_MAX (__UINT64_C(18446744073709551615))
29110 /* Minimum of signed integral types having a minimum size. */
29111 # define INT_LEAST8_MIN INT8_MIN
29112 # define INT_LEAST16_MIN INT16_MIN
29113 # define INT_LEAST32_MIN INT32_MIN
29114 # define INT_LEAST64_MIN INT64_MIN
29115 /* Maximum of signed integral types having a minimum size. */
29116 # define INT_LEAST8_MAX INT8_MAX
29117 # define INT_LEAST16_MAX INT16_MAX
29118 # define INT_LEAST32_MAX INT32_MAX
29119 # define INT_LEAST64_MAX INT64_MAX
29121 /* Maximum of unsigned integral types having a minimum size. */
29122 # define UINT_LEAST8_MAX UINT8_MAX
29123 # define UINT_LEAST16_MAX UINT16_MAX
29124 # define UINT_LEAST32_MAX UINT32_MAX
29125 # define UINT_LEAST64_MAX UINT64_MAX
29134 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
29135 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
29136 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
29138 ac_dir
=`$as_dirname -- "$ac_stdint_h" ||
29139 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29140 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
29141 X"$ac_stdint_h" : 'X\(//\)$' \| \
29142 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
29143 $as_echo X"$ac_stdint_h" |
29144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29148 /^X\(\/\/\)[^/].*/{
29161 as_dir
="$ac_dir"; as_fn_mkdir_p
29163 mv $ac_stdint $ac_stdint_h
29166 "gappletviewer":C
) chmod 755 tools
/gappletviewer
;;
29167 "gjarsigner":C
) chmod 755 tools
/gjarsigner
;;
29168 "gkeytool":C
) chmod 755 tools
/gkeytool
;;
29169 "gjar":C
) chmod 755 tools
/gjar
;;
29170 "gnative2ascii":C
) chmod 755 tools
/gnative2ascii
;;
29171 "gserialver":C
) chmod 755 tools
/gserialver
;;
29172 "grmiregistry":C
) chmod 755 tools
/grmiregistry
;;
29173 "gtnameserv":C
) chmod 755 tools
/gtnameserv
;;
29174 "gorbd":C
) chmod 755 tools
/gorbd
;;
29175 "grmid":C
) chmod 755 tools
/grmid
;;
29176 "grmic":C
) chmod 755 tools
/grmic
;;
29177 "gjavah":C
) chmod 755 tools
/gjavah
;;
29178 "gjdoc":C
) chmod 755 tools
/gjdoc
;;
29179 "gen-classlist":C
) chmod 755 lib
/gen-classlist.sh
;;
29180 "copy-vmresources":C
) chmod 755 lib
/copy-vmresources.sh
;;
29188 ac_clean_files
=$ac_clean_files_save
29190 test $ac_write_fail = 0 ||
29191 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29194 # configure is writing to config.log, and then calls config.status.
29195 # config.status does its own redirection, appending to config.log.
29196 # Unfortunately, on DOS this fails, as config.log is still kept open
29197 # by configure, so config.status won't be able to write to it; its
29198 # output is simply discarded. So we exec the FD to /dev/null,
29199 # effectively closing config.log, so it can be properly (re)opened and
29200 # appended to by config.status. When coming back to configure, we
29201 # need to make the FD available again.
29202 if test "$no_create" != yes; then
29204 ac_config_status_args
=
29205 test "$silent" = yes &&
29206 ac_config_status_args
="$ac_config_status_args --quiet"
29208 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29210 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29211 # would make configure fail if this is the last instruction.
29212 $ac_cs_success || as_fn_exit $?
29214 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29216 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
29220 # Create standard.omit based on decisions we just made.
29221 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
29222 if test x
$use_escher != xtrue
; then
29223 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit
29226 if test "x${COMPILE_PLUGIN}" = "xyes" ; then
29227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have enabled the browser plugin. Please note that this is no longer maintained as part of GNU Classpath; development has moved to the IcedTea project." >&5
29228 $as_echo "$as_me: WARNING: You have enabled the browser plugin. Please note that this is no longer maintained as part of GNU Classpath; development has moved to the IcedTea project." >&2;}