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
756 CREATE_QT_PEER_LIBRARIES_FALSE
757 CREATE_QT_PEER_LIBRARIES_TRUE
758 CREATE_GTK_PEER_LIBRARIES_FALSE
759 CREATE_GTK_PEER_LIBRARIES_TRUE
760 CREATE_DSSI_LIBRARIES_FALSE
761 CREATE_DSSI_LIBRARIES_TRUE
762 CREATE_ALSA_LIBRARIES_FALSE
763 CREATE_ALSA_LIBRARIES_TRUE
783 CREATE_XMLJ_LIBRARY_FALSE
784 CREATE_XMLJ_LIBRARY_TRUE
786 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
787 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
788 CREATE_GCONF_PEER_LIBRARIES_FALSE
789 CREATE_GCONF_PEER_LIBRARIES_TRUE
790 CREATE_CORE_JNI_LIBRARIES_FALSE
791 CREATE_CORE_JNI_LIBRARIES_TRUE
792 CREATE_JNI_LIBRARIES_FALSE
793 CREATE_JNI_LIBRARIES_TRUE
794 CREATE_COLLECTIONS_FALSE
795 CREATE_COLLECTIONS_TRUE
804 INSTALL_STRIP_PROGRAM
819 CLASSPATH_CONVENIENCE
822 INSTALL_BINARIES_FALSE
823 INSTALL_BINARIES_TRUE
827 JAVA_MAINTAINER_MODE_FALSE
828 JAVA_MAINTAINER_MODE_TRUE
868 program_transform_name
881 enable_option_checking
882 enable_java_maintainer_mode
883 enable_generated_files_in_srcdir
888 enable_default_preferences_peer
891 enable_gstreamer_peer
892 enable_gstreamer_peers
894 enable_default_toolkit
897 enable_dependency_tracking
905 enable_version_specific_runtime_libs
910 enable_regen_gjdoc_parser
927 enable_maintainer_mode
931 enable_java_lang_system_explicit_initialization
938 enable_portable_native_sync
943 ac_precious_vars
='build_alias
959 # Initialize some variables set by options.
961 ac_init_version
=false
962 ac_unrecognized_opts
=
964 # The variables have the same names as the options, with
965 # dashes changed to underlines.
973 program_transform_name
=s
,x
,x
,
981 # Installation directory options.
982 # These are left unexpanded so users can "make install exec_prefix=/foo"
983 # and all the variables that are supposed to be based on exec_prefix
984 # by default will actually change.
985 # Use braces instead of parens because sh, perl, etc. also accept them.
986 # (The list follows the same order as the GNU Coding Standards.)
987 bindir
='${exec_prefix}/bin'
988 sbindir
='${exec_prefix}/sbin'
989 libexecdir
='${exec_prefix}/libexec'
990 datarootdir
='${prefix}/share'
991 datadir
='${datarootdir}'
992 sysconfdir
='${prefix}/etc'
993 sharedstatedir
='${prefix}/com'
994 localstatedir
='${prefix}/var'
995 includedir
='${prefix}/include'
996 oldincludedir
='/usr/include'
997 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
998 infodir
='${datarootdir}/info'
1003 libdir
='${exec_prefix}/lib'
1004 localedir
='${datarootdir}/locale'
1005 mandir
='${datarootdir}/man'
1011 # If the previous option needs an argument, assign it.
1012 if test -n "$ac_prev"; then
1013 eval $ac_prev=\
$ac_option
1019 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1023 # Accept the important Cygnus configure options, so we can diagnose typos.
1025 case $ac_dashdash$ac_option in
1029 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1031 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1032 bindir
=$ac_optarg ;;
1034 -build |
--build |
--buil |
--bui |
--bu)
1035 ac_prev
=build_alias
;;
1036 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1037 build_alias
=$ac_optarg ;;
1039 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1040 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1041 ac_prev
=cache_file
;;
1042 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1043 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1044 cache_file
=$ac_optarg ;;
1046 --config-cache |
-C)
1047 cache_file
=config.cache
;;
1049 -datadir |
--datadir |
--datadi |
--datad)
1051 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1052 datadir
=$ac_optarg ;;
1054 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1055 |
--dataroo |
--dataro |
--datar)
1056 ac_prev
=datarootdir
;;
1057 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1058 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1059 datarootdir
=$ac_optarg ;;
1061 -disable-* |
--disable-*)
1062 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1065 as_fn_error
"invalid feature name: $ac_useropt"
1066 ac_useropt_orig
=$ac_useropt
1067 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1070 "enable_
$ac_useropt"
1072 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1073 ac_unrecognized_sep
=', ';;
1075 eval enable_
$ac_useropt=no
;;
1077 -docdir |
--docdir |
--docdi |
--doc |
--do)
1079 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1080 docdir
=$ac_optarg ;;
1082 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1084 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1085 dvidir
=$ac_optarg ;;
1087 -enable-* |
--enable-*)
1088 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1091 as_fn_error
"invalid feature name: $ac_useropt"
1092 ac_useropt_orig
=$ac_useropt
1093 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1096 "enable_
$ac_useropt"
1098 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1099 ac_unrecognized_sep
=', ';;
1101 eval enable_
$ac_useropt=\
$ac_optarg ;;
1103 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1104 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1105 |
--exec |
--exe |
--ex)
1106 ac_prev
=exec_prefix
;;
1107 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1108 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1109 |
--exec=* |
--exe=* |
--ex=*)
1110 exec_prefix
=$ac_optarg ;;
1112 -gas |
--gas |
--ga |
--g)
1113 # Obsolete; use --with-gas.
1116 -help |
--help |
--hel |
--he |
-h)
1117 ac_init_help
=long
;;
1118 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1119 ac_init_help
=recursive
;;
1120 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1121 ac_init_help
=short
;;
1123 -host |
--host |
--hos |
--ho)
1124 ac_prev
=host_alias
;;
1125 -host=* |
--host=* |
--hos=* |
--ho=*)
1126 host_alias
=$ac_optarg ;;
1128 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1130 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1132 htmldir
=$ac_optarg ;;
1134 -includedir |
--includedir |
--includedi |
--included |
--include \
1135 |
--includ |
--inclu |
--incl |
--inc)
1136 ac_prev
=includedir
;;
1137 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1138 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1139 includedir
=$ac_optarg ;;
1141 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1143 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1144 infodir
=$ac_optarg ;;
1146 -libdir |
--libdir |
--libdi |
--libd)
1148 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1149 libdir
=$ac_optarg ;;
1151 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1152 |
--libexe |
--libex |
--libe)
1153 ac_prev
=libexecdir
;;
1154 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1155 |
--libexe=* |
--libex=* |
--libe=*)
1156 libexecdir
=$ac_optarg ;;
1158 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1159 ac_prev
=localedir
;;
1160 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1161 localedir
=$ac_optarg ;;
1163 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1164 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1165 ac_prev
=localstatedir
;;
1166 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1167 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1168 localstatedir
=$ac_optarg ;;
1170 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1172 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1173 mandir
=$ac_optarg ;;
1175 -nfp |
--nfp |
--nf)
1176 # Obsolete; use --without-fp.
1179 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1180 |
--no-cr |
--no-c |
-n)
1183 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1184 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1187 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1188 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1189 |
--oldin |
--oldi |
--old |
--ol |
--o)
1190 ac_prev
=oldincludedir
;;
1191 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1192 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1193 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1194 oldincludedir
=$ac_optarg ;;
1196 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1198 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1199 prefix
=$ac_optarg ;;
1201 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1202 |
--program-pre |
--program-pr |
--program-p)
1203 ac_prev
=program_prefix
;;
1204 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1205 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1206 program_prefix
=$ac_optarg ;;
1208 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1209 |
--program-suf |
--program-su |
--program-s)
1210 ac_prev
=program_suffix
;;
1211 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1212 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1213 program_suffix
=$ac_optarg ;;
1215 -program-transform-name |
--program-transform-name \
1216 |
--program-transform-nam |
--program-transform-na \
1217 |
--program-transform-n |
--program-transform- \
1218 |
--program-transform |
--program-transfor \
1219 |
--program-transfo |
--program-transf \
1220 |
--program-trans |
--program-tran \
1221 |
--progr-tra |
--program-tr |
--program-t)
1222 ac_prev
=program_transform_name
;;
1223 -program-transform-name=* |
--program-transform-name=* \
1224 |
--program-transform-nam=* |
--program-transform-na=* \
1225 |
--program-transform-n=* |
--program-transform-=* \
1226 |
--program-transform=* |
--program-transfor=* \
1227 |
--program-transfo=* |
--program-transf=* \
1228 |
--program-trans=* |
--program-tran=* \
1229 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1230 program_transform_name
=$ac_optarg ;;
1232 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1234 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1235 pdfdir
=$ac_optarg ;;
1237 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1239 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1242 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1243 |
-silent |
--silent |
--silen |
--sile |
--sil)
1246 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1248 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1250 sbindir
=$ac_optarg ;;
1252 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1253 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1254 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1256 ac_prev
=sharedstatedir
;;
1257 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1258 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1259 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1261 sharedstatedir
=$ac_optarg ;;
1263 -site |
--site |
--sit)
1265 -site=* |
--site=* |
--sit=*)
1268 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1270 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1271 srcdir
=$ac_optarg ;;
1273 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1274 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1275 ac_prev
=sysconfdir
;;
1276 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1277 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1278 sysconfdir
=$ac_optarg ;;
1280 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1281 ac_prev
=target_alias
;;
1282 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1283 target_alias
=$ac_optarg ;;
1285 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1288 -version |
--version |
--versio |
--versi |
--vers |
-V)
1289 ac_init_version
=: ;;
1292 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1293 # Reject names that are not valid shell variable names.
1294 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1295 as_fn_error
"invalid package name: $ac_useropt"
1296 ac_useropt_orig
=$ac_useropt
1297 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1298 case $ac_user_opts in
1302 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1303 ac_unrecognized_sep
=', ';;
1305 eval with_
$ac_useropt=\
$ac_optarg ;;
1307 -without-* |
--without-*)
1308 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1309 # Reject names that are not valid shell variable names.
1310 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1311 as_fn_error
"invalid package name: $ac_useropt"
1312 ac_useropt_orig
=$ac_useropt
1313 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1314 case $ac_user_opts in
1318 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1319 ac_unrecognized_sep
=', ';;
1321 eval with_
$ac_useropt=no
;;
1324 # Obsolete; use --with-x.
1327 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1328 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1329 ac_prev
=x_includes
;;
1330 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1331 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1332 x_includes
=$ac_optarg ;;
1334 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1335 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1336 ac_prev
=x_libraries
;;
1337 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1338 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1339 x_libraries
=$ac_optarg ;;
1341 -*) as_fn_error
"unrecognized option: \`$ac_option'
1342 Try \`$0 --help' for more information."
1346 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1347 # Reject names that are not valid shell variable names.
1348 case $ac_envvar in #(
1349 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1350 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1352 eval $ac_envvar=\
$ac_optarg
1353 export $ac_envvar ;;
1356 # FIXME: should be removed in autoconf 3.0.
1357 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1358 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1359 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1360 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1366 if test -n "$ac_prev"; then
1367 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1368 as_fn_error
"missing argument to $ac_option"
1371 if test -n "$ac_unrecognized_opts"; then
1372 case $enable_option_checking in
1374 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1375 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1379 # Check all directory arguments for consistency.
1380 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1381 datadir sysconfdir sharedstatedir localstatedir includedir \
1382 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1383 libdir localedir mandir
1385 eval ac_val
=\$
$ac_var
1386 # Remove trailing slashes.
1389 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1390 eval $ac_var=\
$ac_val;;
1392 # Be sure to have absolute directory names.
1394 [\\/$
]* | ?
:[\\/]* ) continue;;
1395 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1397 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1400 # There might be people who depend on the old broken behavior: `$host'
1401 # used to hold the argument of --host etc.
1402 # FIXME: To remove some day.
1405 target
=$target_alias
1407 # FIXME: To remove some day.
1408 if test "x$host_alias" != x
; then
1409 if test "x$build_alias" = x
; then
1410 cross_compiling
=maybe
1411 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1412 If a cross compiler is detected then cross compile mode will be used." >&2
1413 elif test "x$build_alias" != "x$host_alias"; then
1419 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1421 test "$silent" = yes && exec 6>/dev
/null
1424 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1425 ac_ls_di
=`ls -di .` &&
1426 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1427 as_fn_error
"working directory cannot be determined"
1428 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1429 as_fn_error
"pwd does not report name of working directory"
1432 # Find the source files, if location was not specified.
1433 if test -z "$srcdir"; then
1434 ac_srcdir_defaulted
=yes
1435 # Try the directory containing this script, then the parent directory.
1436 ac_confdir
=`$as_dirname -- "$as_myself" ||
1437 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1438 X"$as_myself" : 'X\(//\)[^/]' \| \
1439 X"$as_myself" : 'X\(//\)$' \| \
1440 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1441 $as_echo X"$as_myself" |
1442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1460 if test ! -r "$srcdir/$ac_unique_file"; then
1464 ac_srcdir_defaulted
=no
1466 if test ! -r "$srcdir/$ac_unique_file"; then
1467 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1468 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1470 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1472 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1474 # When building in place, set srcdir=.
1475 if test "$ac_abs_confdir" = "$ac_pwd"; then
1478 # Remove unnecessary trailing slashes from srcdir.
1479 # Double slashes in file names in object file debugging info
1480 # mess up M-x gdb in Emacs.
1482 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1484 for ac_var
in $ac_precious_vars; do
1485 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1486 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1487 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1488 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1492 # Report the --help message.
1494 if test "$ac_init_help" = "long"; then
1495 # Omit some internal or obsolete options to make the list less imposing.
1496 # This message is too long to be a string in the A/UX 3.1 sh.
1498 \`configure' configures GNU Classpath 0.99.1-pre to adapt to many kinds of systems.
1500 Usage: $0 [OPTION]... [VAR=VALUE]...
1502 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1503 VAR=VALUE. See below for descriptions of some of the useful variables.
1505 Defaults for the options are specified in brackets.
1508 -h, --help display this help and exit
1509 --help=short display options specific to this package
1510 --help=recursive display the short help of all the included packages
1511 -V, --version display version information and exit
1512 -q, --quiet, --silent do not print \`checking...' messages
1513 --cache-file=FILE cache test results in FILE [disabled]
1514 -C, --config-cache alias for \`--cache-file=config.cache'
1515 -n, --no-create do not create output files
1516 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1518 Installation directories:
1519 --prefix=PREFIX install architecture-independent files in PREFIX
1520 [$ac_default_prefix]
1521 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1524 By default, \`make install' will install all the files in
1525 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1526 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1527 for instance \`--prefix=\$HOME'.
1529 For better control, use the options below.
1531 Fine tuning of the installation directories:
1532 --bindir=DIR user executables [EPREFIX/bin]
1533 --sbindir=DIR system admin executables [EPREFIX/sbin]
1534 --libexecdir=DIR program executables [EPREFIX/libexec]
1535 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1536 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1537 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1538 --libdir=DIR object code libraries [EPREFIX/lib]
1539 --includedir=DIR C header files [PREFIX/include]
1540 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1541 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1542 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1543 --infodir=DIR info documentation [DATAROOTDIR/info]
1544 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1545 --mandir=DIR man documentation [DATAROOTDIR/man]
1546 --docdir=DIR documentation root [DATAROOTDIR/doc/classpath]
1547 --htmldir=DIR html documentation [DOCDIR]
1548 --dvidir=DIR dvi documentation [DOCDIR]
1549 --pdfdir=DIR pdf documentation [DOCDIR]
1550 --psdir=DIR ps documentation [DOCDIR]
1556 --program-prefix=PREFIX prepend PREFIX to installed program names
1557 --program-suffix=SUFFIX append SUFFIX to installed program names
1558 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1561 --x-includes=DIR X include files are
in DIR
1562 --x-libraries=DIR X library files are
in DIR
1565 --build=BUILD configure
for building on BUILD
[guessed
]
1566 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1567 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1571 if test -n "$ac_init_help"; then
1572 case $ac_init_help in
1573 short | recursive
) echo "Configuration of GNU Classpath 0.99.1-pre:";;
1578 --disable-option-checking ignore unrecognized
--enable/--with options
1579 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1580 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1581 --enable-java-maintainer-mode
1582 allow rebuilding of .class and .h files
1583 --enable-generated-files-in-srcdir
1584 put copies of generated files
in source dir
1585 intended
for creating
source tarballs
for users
1586 without texinfo
, perl
, bison or flex.
1587 --enable-multilib build many library versions
(default
)
1588 --enable-collections create collections.jar default
=no
1589 --enable-jni compile JNI
source default
=yes
1590 --enable-core-jni compile JNI sources
for core default
=yes
1591 --enable-default-preferences-peer[=peer
type or class name
]
1592 specify one of
: "gconf" [default
] for a GConf based
1593 backend
, "file" for a
file based one
, "memory" for a
1594 transient one
, or a fully qualified class name
1595 implementing java.util.prefs.PreferencesFactory
1596 --disable-gconf-peer compile GConf native peers
(disabled by
1597 --disable-jni) default
=yes
1599 --enable-gstreamer-peer compile GStreamer native peers
(disabled by
1600 --disable-jni) default
=no
1601 --enable-Werror whether to compile C code with
-Werror which turns
1602 any compiler warning into a compilation failure
1604 --enable-default-toolkit
1605 fully qualified class name of default AWT toolkit
1606 --enable-xmlj compile native libxml
/xslt library default
=no
1607 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
1609 --disable-dependency-tracking speeds up one-time build
1610 --enable-dependency-tracking do not reject slow dependency extractors
1611 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
1613 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
1615 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
1617 --disable-plugin compile gcjwebplugin
(disabled by
--disable-plugin)
1619 --enable-gmp compile native java.math.BigInteger library
1620 (disabled by
--disable-gmp) default
=yes
1621 --disable-gjdoc compile GJDoc
(disabled by
--disable-gjdoc)
1623 --enable-version-specific-runtime-libs
1624 specify that runtime libraries should be installed
1625 in a compiler-specific directory
1626 --enable-regen-headers automatically regenerate JNI headers default
=yes if
1628 --enable-regen-gjdoc-parser
1629 automatically regenerate the GJDoc parser
1630 default=yes if generated source doesn't exist
1631 --enable-tool-wrappers create tool wrapper binaries default
=no
1632 --enable-static[=PKGS
] build static libraries
[default
=no
]
1633 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1634 --enable-fast-install[=PKGS
]
1635 optimize
for fast installation
[default
=yes]
1636 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1637 --disable-rpath do not hardcode runtime library paths
1638 --enable-maintainer-mode enable make rules and dependencies not useful
1639 (and sometimes confusing
) to the casual installer
1640 --enable-debug enable runtime debugging code
1641 --enable-load-library enable to use JNI native methods default
=yes
1642 --enable-java-lang-system-explicit-initialization
1643 will the VM explicitly invoke java.lang.System
's
1644 static initialization methods default=no
1645 --enable-examples enable build of the examples default=yes
1646 --enable-tools enable build of the tools default=yes
1647 --enable-portable-native-sync
1648 synchronize VM threads portably
1649 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1652 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1653 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1654 --with-native-libdir sets the installation directory for native libraries
1655 default='${libdir}/${PACKAGE}'
1656 --with-glibj-dir sets the installation directory for glibj.zip
1657 default='${libdir}/${PACKAGE}'
1658 --with-antlr-jar=file Use ANTLR from the specified jar file
1659 --with-pic try to use only PIC/non-PIC objects [default=use
1661 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1662 --with-gnu-ld assume the C compiler uses GNU ld default=no
1663 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1664 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1665 --with-x use the X Window System
1666 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
1667 systems use pkg-config.
1668 --with-gmp=PATH specify prefix directory
for the installed GMP package.
1669 Equivalent to
--with-gmp-include=PATH
/include
1670 plus
--with-gmp-lib=PATH
/lib
1671 --with-gmp-include=PATH specify directory
for installed GMP include files
1672 --with-gmp-lib=PATH specify directory
for the installed GMP library
1673 --with-javah specify path or name of a javah-like program
1674 --with-vm-classes specify path to VM override
source files
1675 --with-ecj-jar=ABS.PATH specify jar
file containing the Eclipse Java
1677 --with-jar=PATH define to use a jar style tool
1678 --with-glibj define what to
install (zip|flat|both|none|build
)
1680 --with-gjdoc generate documentation using gjdoc
(default is NO
)
1681 --with-jay=DIR|PATH Regenerate the parsers with jay
1682 --with-glibj-zip=ABS.PATH
1683 use prebuilt glibj.
zip class library
1684 --with-escher=ABS.PATH specify path to escher dir or JAR
for X peers
1686 Some influential environment variables
:
1687 CC C compiler
command
1688 CFLAGS C compiler flags
1689 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1690 nonstandard directory
<lib dir
>
1691 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1692 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1693 you have headers
in a nonstandard directory
<include dir
>
1695 CXX C
++ compiler
command
1696 CXXFLAGS C
++ compiler flags
1697 CXXCPP C
++ preprocessor
1698 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1700 Use these variables to override the choices made by
`configure' or to help
1701 it to find libraries and programs with nonstandard names/locations.
1703 Report bugs to <classpath@gnu.org>.
1704 GNU Classpath home page: <http://www.gnu.org/software/classpath/>.
1705 General help using GNU software: <http://www.gnu.org/gethelp/>.
1710 if test "$ac_init_help" = "recursive"; then
1711 # If there are subdirs, report their specific --help.
1712 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1713 test -d "$ac_dir" ||
1714 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1721 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1722 # A ".." for each directory in $ac_dir_suffix.
1723 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1724 case $ac_top_builddir_sub in
1725 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1726 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1729 ac_abs_top_builddir=$ac_pwd
1730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1731 # for backward compatibility:
1732 ac_top_builddir=$ac_top_build_prefix
1735 .) # We are building in place.
1737 ac_top_srcdir=$ac_top_builddir_sub
1738 ac_abs_top_srcdir=$ac_pwd ;;
1739 [\\/]* | ?:[\\/]* ) # Absolute name.
1740 ac_srcdir=$srcdir$ac_dir_suffix;
1741 ac_top_srcdir=$srcdir
1742 ac_abs_top_srcdir=$srcdir ;;
1744 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1745 ac_top_srcdir=$ac_top_build_prefix$srcdir
1746 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1750 cd "$ac_dir" || { ac_status=$?; continue; }
1751 # Check for guested configure.
1752 if test -f "$ac_srcdir/configure.gnu"; then
1754 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1755 elif test -f "$ac_srcdir/configure"; then
1757 $SHELL "$ac_srcdir/configure" --help=recursive
1759 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1761 cd "$ac_pwd" || { ac_status=$?; break; }
1765 test -n "$ac_init_help" && exit $ac_status
1766 if $ac_init_version; then
1768 GNU Classpath configure 0.99.1-pre
1769 generated by GNU Autoconf 2.64
1771 Copyright (C) 2009 Free Software Foundation, Inc.
1772 This configure script is free software; the Free Software Foundation
1773 gives unlimited permission to copy, distribute and modify it.
1778 ## ------------------------ ##
1779 ## Autoconf initialization. ##
1780 ## ------------------------ ##
1782 # ac_fn_c_try_compile LINENO
1783 # --------------------------
1784 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1785 ac_fn_c_try_compile ()
1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788 rm -f conftest.$ac_objext
1789 if { { ac_try="$ac_compile"
1791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1792 *) ac_try_echo
=$ac_try;;
1794 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_compile") 2>conftest.err
1798 if test -s conftest.err
; then
1799 grep -v '^ *+' conftest.err
>conftest.er1
1800 cat conftest.er1
>&5
1801 mv -f conftest.er1 conftest.err
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } && {
1805 test -z "$ac_c_werror_flag" ||
1806 test ! -s conftest.err
1807 } && test -s conftest.
$ac_objext; then :
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.
$ac_ext >&5
1815 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1818 } # ac_fn_c_try_compile
1820 # ac_fn_c_try_cpp LINENO
1821 # ----------------------
1822 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1825 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1826 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1835 if test -s conftest.err; then
1836 grep -v '^ *+' conftest.err >conftest.er1
1837 cat conftest.er1 >&5
1838 mv -f conftest.er1 conftest.err
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } >/dev/null && {
1842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1843 test ! -s conftest.err
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1857 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1858 # -------------------------------------------------------
1859 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1860 # the include files in INCLUDES and setting the cache variable VAR
1862 ac_fn_c_check_header_mongrel ()
1864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1867 $as_echo_n "checking for $2... " >&6; }
1868 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1869 $as_echo_n "(cached) " >&6
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1875 # Is the header compilable?
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1877 $as_echo_n "checking $2 usability... " >&6; }
1878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879 /* end confdefs.h. */
1883 if ac_fn_c_try_compile "$LINENO"; then :
1884 ac_header_compiler=yes
1886 ac_header_compiler=no
1888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1890 $as_echo "$ac_header_compiler" >&6; }
1892 # Is the header present?
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1894 $as_echo_n "checking $2 presence... " >&6; }
1895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h. */
1899 if ac_fn_c_try_cpp "$LINENO"; then :
1900 ac_header_preproc=yes
1902 ac_header_preproc=no
1904 rm -f conftest.err conftest.$ac_ext
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1906 $as_echo "$ac_header_preproc" >&6; }
1908 # So? What about this header?
1909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1912 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1914 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1918 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1920 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1922 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1924 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1926 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1928 ## -------------------------------- ##
1929 ## Report this to classpath@gnu.org ##
1930 ## -------------------------------- ##
1932 ) | sed "s/^/$as_me: WARNING: /" >&2
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1936 $as_echo_n "checking for $2... " >&6; }
1937 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1938 $as_echo_n "(cached) " >&6
1940 eval "$3=\$ac_header_compiler"
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1946 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1948 } # ac_fn_c_check_header_mongrel
1950 # ac_fn_c_try_run LINENO
1951 # ----------------------
1952 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1953 # that executables *can* be run.
1956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957 if { { ac_try="$ac_link"
1959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1960 *) ac_try_echo
=$ac_try;;
1962 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1963 $as_echo "$ac_try_echo"; } >&5
1964 (eval "$ac_link") 2>&5
1966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1967 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1968 { { case "(($ac_try" in
1969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1970 *) ac_try_echo=$ac_try;;
1972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1973 $as_echo "$ac_try_echo"; } >&5
1974 (eval "$ac_try") 2>&5
1976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1977 test $ac_status = 0; }; }; then :
1980 $as_echo "$as_me: program exited with status $ac_status" >&5
1981 $as_echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.$ac_ext >&5
1984 ac_retval=$ac_status
1986 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1987 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1992 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1993 # -------------------------------------------------------
1994 # Tests whether HEADER exists and can be compiled using the include files in
1995 # INCLUDES, setting the cache variable VAR accordingly.
1996 ac_fn_c_check_header_compile ()
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2000 $as_echo_n "checking for $2... " >&6; }
2001 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2002 $as_echo_n "(cached) " >&6
2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2009 if ac_fn_c_try_compile "$LINENO"; then :
2014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2019 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2021 } # ac_fn_c_check_header_compile
2023 # ac_fn_c_try_link LINENO
2024 # -----------------------
2025 # Try to link conftest.$ac_ext, and return whether this succeeded.
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 rm -f conftest.$ac_objext conftest$ac_exeext
2030 if { { ac_try="$ac_link"
2032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2033 *) ac_try_echo
=$ac_try;;
2035 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2036 $as_echo "$ac_try_echo"; } >&5
2037 (eval "$ac_link") 2>conftest.err
2039 if test -s conftest.err
; then
2040 grep -v '^ *+' conftest.err
>conftest.er1
2041 cat conftest.er1
>&5
2042 mv -f conftest.er1 conftest.err
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; } && {
2046 test -z "$ac_c_werror_flag" ||
2047 test ! -s conftest.err
2048 } && test -s conftest
$ac_exeext && {
2049 test "$cross_compiling" = yes ||
2050 $as_test_x conftest
$ac_exeext
2054 $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.
$ac_ext >&5
2059 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2060 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2061 # interfere with the next link command; also delete a directory that is
2062 # left behind by Apple's compiler. We do this before executing the actions.
2063 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2064 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2067 } # ac_fn_c_try_link
2069 # ac_fn_c_check_func LINENO FUNC VAR
2070 # ----------------------------------
2071 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2072 ac_fn_c_check_func
()
2074 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2076 $as_echo_n "checking for $2... " >&6; }
2077 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2078 $as_echo_n "(cached) " >&6
2080 if test x
$gcc_no_link = xyes
; then
2081 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2084 /* end confdefs.h. */
2085 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2087 #define $2 innocuous_$2
2089 /* System header to define __stub macros and hopefully few prototypes,
2090 which can conflict with char $2 (); below.
2091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2092 <limits.h> exists even on freestanding compilers. */
2095 # include <limits.h>
2097 # include <assert.h>
2102 /* Override any GCC internal prototype to avoid an error.
2103 Use char because int might match the return type of a GCC
2104 builtin and then its argument prototype would still apply. */
2109 /* The GNU C library defines this for functions which it implements
2110 to always fail with ENOSYS. Some functions are actually named
2111 something starting with __ and the normal name is an alias. */
2112 #if defined __stub_$2 || defined __stub___$2
2124 if ac_fn_c_try_link
"$LINENO"; then :
2129 rm -f core conftest.err conftest.
$ac_objext \
2130 conftest
$ac_exeext conftest.
$ac_ext
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2134 $as_echo "$ac_res" >&6; }
2135 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2137 } # ac_fn_c_check_func
2139 # ac_fn_cxx_try_compile LINENO
2140 # ----------------------------
2141 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2142 ac_fn_cxx_try_compile
()
2144 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2145 rm -f conftest.
$ac_objext
2146 if { { ac_try
="$ac_compile"
2148 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2149 *) ac_try_echo=$ac_try;;
2151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2152 $as_echo "$ac_try_echo"; } >&5
2153 (eval "$ac_compile") 2>conftest.err
2155 if test -s conftest.err; then
2156 grep -v '^ *+' conftest.err >conftest.er1
2157 cat conftest.er1 >&5
2158 mv -f conftest.er1 conftest.err
2160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2161 test $ac_status = 0; } && {
2162 test -z "$ac_cxx_werror_flag" ||
2163 test ! -s conftest.err
2164 } && test -s conftest.$ac_objext; then :
2167 $as_echo "$as_me: failed program was:" >&5
2168 sed 's/^/| /' conftest.$ac_ext >&5
2172 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2175 } # ac_fn_cxx_try_compile
2177 # ac_fn_cxx_try_cpp LINENO
2178 # ------------------------
2179 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2180 ac_fn_cxx_try_cpp ()
2182 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2183 if { { ac_try="$ac_cpp conftest.$ac_ext"
2185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2186 *) ac_try_echo
=$ac_try;;
2188 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2189 $as_echo "$ac_try_echo"; } >&5
2190 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2192 if test -s conftest.err
; then
2193 grep -v '^ *+' conftest.err
>conftest.er1
2194 cat conftest.er1
>&5
2195 mv -f conftest.er1 conftest.err
2197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2198 test $ac_status = 0; } >/dev
/null
&& {
2199 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2200 test ! -s conftest.err
2204 $as_echo "$as_me: failed program was:" >&5
2205 sed 's/^/| /' conftest.
$ac_ext >&5
2209 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2212 } # ac_fn_cxx_try_cpp
2214 # ac_fn_cxx_try_link LINENO
2215 # -------------------------
2216 # Try to link conftest.$ac_ext, and return whether this succeeded.
2217 ac_fn_cxx_try_link
()
2219 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2220 rm -f conftest.
$ac_objext conftest
$ac_exeext
2221 if { { ac_try
="$ac_link"
2223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2224 *) ac_try_echo=$ac_try;;
2226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2227 $as_echo "$ac_try_echo"; } >&5
2228 (eval "$ac_link") 2>conftest.err
2230 if test -s conftest.err; then
2231 grep -v '^ *+' conftest.err >conftest.er1
2232 cat conftest.er1 >&5
2233 mv -f conftest.er1 conftest.err
2235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2236 test $ac_status = 0; } && {
2237 test -z "$ac_cxx_werror_flag" ||
2238 test ! -s conftest.err
2239 } && test -s conftest$ac_exeext && {
2240 test "$cross_compiling" = yes ||
2241 $as_test_x conftest$ac_exeext
2245 $as_echo "$as_me: failed program was:" >&5
2246 sed 's/^/| /' conftest.$ac_ext >&5
2250 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2251 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2252 # interfere with the next link command; also delete a directory that is
2253 # left behind by Apple's compiler. We do this before executing the actions.
2254 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2255 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2258 } # ac_fn_cxx_try_link
2260 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2261 # ----------------------------------------------------
2262 # Tries to find if the field MEMBER exists in type AGGR, after including
2263 # INCLUDES, setting cache variable VAR accordingly.
2264 ac_fn_c_check_member ()
2266 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2268 $as_echo_n "checking for $2.$3... " >&6; }
2269 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2270 $as_echo_n "(cached) " >&6
2272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2273 /* end confdefs.h. */
2285 if ac_fn_c_try_compile "$LINENO"; then :
2288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2289 /* end confdefs.h. */
2295 if (sizeof ac_aggr.$3)
2301 if ac_fn_c_try_compile "$LINENO"; then :
2306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2312 $as_echo "$ac_res" >&6; }
2313 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2315 } # ac_fn_c_check_member
2317 # ac_fn_c_check_decl LINENO SYMBOL VAR
2318 # ------------------------------------
2319 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2320 ac_fn_c_check_decl ()
2322 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2323 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2324 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2326 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2327 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2328 $as_echo_n "(cached) " >&6
2330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2331 /* end confdefs.h. */
2336 #ifndef $as_decl_name
2338 (void) $as_decl_use;
2340 (void) $as_decl_name;
2348 if ac_fn_c_try_compile "$LINENO"; then :
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2357 $as_echo "$ac_res" >&6; }
2358 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2360 } # ac_fn_c_check_decl
2362 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2363 # -------------------------------------------
2364 # Tests whether TYPE exists after having included INCLUDES, setting cache
2365 # variable VAR accordingly.
2366 ac_fn_c_check_type ()
2368 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2370 $as_echo_n "checking for $2... " >&6; }
2371 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2372 $as_echo_n "(cached) " >&6
2375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2376 /* end confdefs.h. */
2387 if ac_fn_c_try_compile "$LINENO"; then :
2388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2389 /* end confdefs.h. */
2400 if ac_fn_c_try_compile "$LINENO"; then :
2405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2411 $as_echo "$ac_res" >&6; }
2412 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2414 } # ac_fn_c_check_type
2416 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2417 # --------------------------------------------
2418 # Tries to find the compile-time value of EXPR in a program that includes
2419 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2421 ac_fn_c_compute_int ()
2423 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2424 if test "$cross_compiling" = yes; then
2425 # Depending upon the size, compute the lo and hi bounds.
2426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2427 /* end confdefs.h. */
2432 static int test_array [1 - 2 * !(($2) >= 0)];
2439 if ac_fn_c_try_compile "$LINENO"; then :
2442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2443 /* end confdefs.h. */
2448 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2455 if ac_fn_c_try_compile "$LINENO"; then :
2456 ac_hi=$ac_mid; break
2458 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2459 if test $ac_lo -le $ac_mid; then
2463 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2469 /* end confdefs.h. */
2474 static int test_array [1 - 2 * !(($2) < 0)];
2481 if ac_fn_c_try_compile "$LINENO"; then :
2484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2485 /* end confdefs.h. */
2490 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2497 if ac_fn_c_try_compile "$LINENO"; then :
2498 ac_lo=$ac_mid; break
2500 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2501 if test $ac_mid -le $ac_hi; then
2505 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2515 # Binary search between lo and hi bounds.
2516 while test "x$ac_lo" != "x$ac_hi"; do
2517 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h. */
2524 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2531 if ac_fn_c_try_compile "$LINENO"; then :
2534 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2539 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2544 /* end confdefs.h. */
2546 static long int longval () { return $2; }
2547 static unsigned long int ulongval () { return $2; }
2554 FILE *f = fopen ("conftest.val", "w");
2559 long int i = longval ();
2562 fprintf (f, "%ld", i);
2566 unsigned long int i = ulongval ();
2569 fprintf (f, "%lu", i);
2571 /* Do not output a trailing newline, as this causes \r\n confusion
2572 on some platforms. */
2573 return ferror (f) || fclose (f) != 0;
2579 if ac_fn_c_try_run "$LINENO"; then :
2580 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2585 conftest.$ac_objext conftest.beam conftest.$ac_ext
2589 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2592 } # ac_fn_c_compute_int
2593 cat >config.log <<_ACEOF
2594 This file contains any messages produced by compilers while
2595 running configure, to aid debugging if configure makes a mistake.
2597 It was created by GNU Classpath $as_me 0.99.1-pre, which was
2598 generated by GNU Autoconf 2.64. Invocation command line was
2610 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2611 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2612 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2613 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2614 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2616 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2617 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2619 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2620 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2621 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2622 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2623 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2624 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2625 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2633 test -z "$as_dir" && as_dir=.
2634 $as_echo "PATH: $as_dir"
2650 # Keep a trace of the command line.
2651 # Strip out --no-create and --no-recursion so they do not pile up.
2652 # Strip out --silent because we don't want to record it for future runs.
2653 # Also quote any args containing shell meta-characters.
2654 # Make two passes to allow for proper duplicate-argument suppression.
2658 ac_must_keep_next=false
2664 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2665 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2666 | -silent | --silent | --silen | --sile | --sil)
2669 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2672 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2674 as_fn_append ac_configure_args1 " '$ac_arg'"
2675 if test $ac_must_keep_next = true; then
2676 ac_must_keep_next=false # Got value, back to normal.
2679 *=* | --config-cache | -C | -disable-* | --disable-* \
2680 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2681 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2682 | -with-* | --with-* | -without-* | --without-* | --x)
2683 case "$ac_configure_args0 " in
2684 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2687 -* ) ac_must_keep_next=true ;;
2690 as_fn_append ac_configure_args " '$ac_arg'"
2695 { ac_configure_args0=; unset ac_configure_args0;}
2696 { ac_configure_args1=; unset ac_configure_args1;}
2698 # When interrupted or exit'd, cleanup temporary files, and complete
2699 # config.log. We remove comments because anyway the quotes in there
2700 # would cause problems or look ugly.
2701 # WARNING: Use '\'' to represent an apostrophe within the trap.
2702 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2703 trap 'exit_status=$?
2704 # Save into config.log some information that might help in debugging.
2709 ## ---------------- ##
2710 ## Cache variables. ##
2711 ## ---------------- ##
2714 # The following way of writing the cache mishandles newlines in values,
2716 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2717 eval ac_val=\$$ac_var
2721 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2722 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2725 _ | IFS | as_nl) ;; #(
2726 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2727 *) { eval $ac_var=; unset $ac_var;} ;;
2732 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2733 *${as_nl}ac_space=\ *)
2735 "s/'\''/'\''\\\\'\'''\''/g;
2736 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2739 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2747 ## ----------------- ##
2748 ## Output variables. ##
2749 ## ----------------- ##
2752 for ac_var in $ac_subst_vars
2754 eval ac_val=\$$ac_var
2756 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2758 $as_echo "$ac_var='\''$ac_val'\''"
2762 if test -n "$ac_subst_files"; then
2764 ## ------------------- ##
2765 ## File substitutions. ##
2766 ## ------------------- ##
2769 for ac_var in $ac_subst_files
2771 eval ac_val=\$$ac_var
2773 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2775 $as_echo "$ac_var='\''$ac_val'\''"
2780 if test -s confdefs.h; then
2790 test "$ac_signal" != 0 &&
2791 $as_echo "$as_me: caught signal $ac_signal"
2792 $as_echo "$as_me: exit $exit_status"
2794 rm -f core *.core core.conftest.* &&
2795 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2798 for ac_signal in 1 2 13 15; do
2799 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2803 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2804 rm -f -r conftest* confdefs.h
2806 $as_echo "/* confdefs.h */" > confdefs.h
2808 # Predefined preprocessor variables.
2810 cat >>confdefs.h <<_ACEOF
2811 #define PACKAGE_NAME "$PACKAGE_NAME"
2814 cat >>confdefs.h <<_ACEOF
2815 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2818 cat >>confdefs.h <<_ACEOF
2819 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2822 cat >>confdefs.h <<_ACEOF
2823 #define PACKAGE_STRING "$PACKAGE_STRING"
2826 cat >>confdefs.h <<_ACEOF
2827 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2830 cat >>confdefs.h <<_ACEOF
2831 #define PACKAGE_URL "$PACKAGE_URL"
2835 # Let the site file select an alternate cache file if it wants to.
2836 # Prefer an explicitly selected file to automatically selected ones.
2839 if test -n "$CONFIG_SITE"; then
2840 ac_site_file1=$CONFIG_SITE
2841 elif test "x$prefix" != xNONE; then
2842 ac_site_file1=$prefix/share/config.site
2843 ac_site_file2=$prefix/etc/config.site
2845 ac_site_file1=$ac_default_prefix/share/config.site
2846 ac_site_file2=$ac_default_prefix/etc/config.site
2848 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2850 test "x$ac_site_file" = xNONE && continue
2851 if test -r "$ac_site_file"; then
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2853 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2854 sed 's/^/| /' "$ac_site_file" >&5
2859 if test -r "$cache_file"; then
2860 # Some versions of bash will fail to source /dev/null (special
2861 # files actually), so we avoid doing that.
2862 if test -f "$cache_file"; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2864 $as_echo "$as_me: loading cache $cache_file" >&6;}
2866 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2867 *) . "./$cache_file";;
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2872 $as_echo "$as_me: creating cache $cache_file" >&6;}
2876 # Check that the precious variables saved in the cache have kept the same
2878 ac_cache_corrupted=false
2879 for ac_var in $ac_precious_vars; do
2880 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2881 eval ac_new_set=\$ac_env_${ac_var}_set
2882 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2883 eval ac_new_val=\$ac_env_${ac_var}_value
2884 case $ac_old_set,$ac_new_set in
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2887 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2888 ac_cache_corrupted=: ;;
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2891 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2892 ac_cache_corrupted=: ;;
2895 if test "x$ac_old_val" != "x$ac_new_val"; then
2896 # differences in whitespace do not lead to failure.
2897 ac_old_val_w=`echo x
$ac_old_val`
2898 ac_new_val_w=`echo x
$ac_new_val`
2899 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2901 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2902 ac_cache_corrupted=:
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2905 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2906 eval $ac_var=\$ac_old_val
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2909 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2911 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2914 # Pass precious variables to config.status.
2915 if test "$ac_new_set" = set; then
2917 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2918 *) ac_arg=$ac_var=$ac_new_val ;;
2920 case " $ac_configure_args " in
2921 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2922 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2926 if $ac_cache_corrupted; then
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2930 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2931 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2933 ## -------------------- ##
2934 ## Main body of script. ##
2935 ## -------------------- ##
2938 ac_cpp='$CPP $CPPFLAGS'
2939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2951 for ac_dir in ../.. "$srcdir"/../..; do
2952 for ac_t in install-sh install.sh shtool; do
2953 if test -f "$ac_dir/$ac_t"; then
2955 ac_install_sh="$ac_aux_dir/$ac_t -c"
2960 if test -z "$ac_aux_dir"; then
2961 as_fn_error "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2964 # These three variables are undocumented and unsupported,
2965 # and are intended to be withdrawn in a future Autoconf release.
2966 # They can cause serious problems if a builder's source tree is in a directory
2967 # whose full name contains unusual characters.
2968 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2969 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2970 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2974 # Make sure we can run config.sub.
2975 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2976 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2979 $as_echo_n "checking build system type... " >&6; }
2980 if test "${ac_cv_build+set}" = set; then :
2981 $as_echo_n "(cached) " >&6
2983 ac_build_alias=$build_alias
2984 test "x$ac_build_alias" = x &&
2985 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2986 test "x$ac_build_alias" = x &&
2987 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2988 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2989 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2993 $as_echo "$ac_cv_build" >&6; }
2994 case $ac_cv_build in
2996 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2999 ac_save_IFS=$IFS; IFS='-'
3005 # Remember, the first character of IFS is used to create $*,
3006 # except with old shells:
3009 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3013 $as_echo_n "checking host system type... " >&6; }
3014 if test "${ac_cv_host+set}" = set; then :
3015 $as_echo_n "(cached) " >&6
3017 if test "x$host_alias" = x; then
3018 ac_cv_host=$ac_cv_build
3020 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3021 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3026 $as_echo "$ac_cv_host" >&6; }
3029 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3032 ac_save_IFS=$IFS; IFS='-'
3038 # Remember, the first character of IFS is used to create $*,
3039 # except with old shells:
3042 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3046 $as_echo_n "checking target system type... " >&6; }
3047 if test "${ac_cv_target+set}" = set; then :
3048 $as_echo_n "(cached) " >&6
3050 if test "x$target_alias" = x; then
3051 ac_cv_target=$ac_cv_host
3053 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3054 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3059 $as_echo "$ac_cv_target" >&6; }
3060 case $ac_cv_target in
3062 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3064 target=$ac_cv_target
3065 ac_save_IFS=$IFS; IFS='-'
3071 # Remember, the first character of IFS is used to create $*,
3072 # except with old shells:
3075 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
3078 # The aliases save the names the user supplied, while $host etc.
3079 # will get canonicalized.
3080 test -n "$target_alias" &&
3081 test "$program_prefix$program_suffix$program_transform_name" = \
3083 program_prefix=${target_alias}-
3085 # Check whether --enable-java-maintainer-mode was given.
3086 if test "${enable_java_maintainer_mode+set}" = set; then :
3087 enableval=$enable_java_maintainer_mode;
3090 if test "$enable_java_maintainer_mode" = yes; then
3091 JAVA_MAINTAINER_MODE_TRUE=
3092 JAVA_MAINTAINER_MODE_FALSE='#'
3094 JAVA_MAINTAINER_MODE_TRUE='#'
3095 JAVA_MAINTAINER_MODE_FALSE=
3099 # We would like to our source tree to be readonly. However when releases or
3100 # pre-releases are generated, the man pages need to be included as they are
3101 # converted from the texi files via perl which we don't require end users to
3103 # Therefore we have --enable-generated-files-in-srcdir to do just that.
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to place generated files in the source directory" >&5
3106 $as_echo_n "checking whether to place generated files in the source directory... " >&6; }
3107 # Check whether --enable-generated-files-in-srcdir was given.
3108 if test "${enable_generated_files_in_srcdir+set}" = set; then :
3109 enableval=$enable_generated_files_in_srcdir; generated_files_in_srcdir=$enableval
3111 generated_files_in_srcdir=no
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $generated_files_in_srcdir" >&5
3116 $as_echo "$generated_files_in_srcdir" >&6; }
3117 if test x$generated_files_in_srcdir = xyes; then
3126 # Find the rest of the source tree framework.
3127 # Default to --enable-multilib
3128 # Check whether --enable-multilib was given.
3129 if test "${enable_multilib+set}" = set; then :
3130 enableval=$enable_multilib; case "$enableval" in
3131 yes) multilib=yes ;;
3133 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3140 # We may get other options which we leave undocumented:
3141 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3142 # See config-ml.in if you want the gory details.
3144 if test "$srcdir" = "."; then
3145 if test "$with_target_subdir" != "."; then
3146 multi_basedir="$srcdir/$with_multisrctop../../.."
3148 multi_basedir="$srcdir/$with_multisrctop../.."
3151 multi_basedir="$srcdir/../.."
3155 # Even if the default multilib is not a cross compilation,
3156 # it may be that some of the other multilibs are.
3157 if test $cross_compiling = no && test $multilib = yes \
3158 && test "x${with_multisubdir}" != x ; then
3159 cross_compiling=maybe
3162 ac_config_commands="$ac_config_commands default-1"
3165 if test -z "${with_multisubdir}"; then
3166 INSTALL_BINARIES_TRUE=
3167 INSTALL_BINARIES_FALSE='#'
3169 INSTALL_BINARIES_TRUE='#'
3170 INSTALL_BINARIES_FALSE=
3174 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
3187 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
3190 CLASSPATH_CONVENIENCE="-no-undefined"
3194 am__api_version='1.11'
3196 # Find a good install program. We prefer a C program (faster),
3197 # so one script is as good as another. But avoid the broken or
3198 # incompatible versions:
3199 # SysV /etc/install, /usr/sbin/install
3200 # SunOS /usr/etc/install
3201 # IRIX /sbin/install
3203 # AmigaOS /C/install, which installs bootblocks on floppy discs
3204 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3205 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3206 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3207 # OS/2's system install, which has a completely different semantic
3208 # ./install, which can be erroneously created by make from ./install.sh.
3209 # Reject install programs that cannot install multiple files.
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3211 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3212 if test -z "$INSTALL"; then
3213 if test "${ac_cv_path_install+set}" = set; then :
3214 $as_echo_n "(cached) " >&6
3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220 test -z "$as_dir" && as_dir=.
3221 # Account for people who put trailing slashes in PATH elements.
3222 case $as_dir/ in #((
3223 ./ | .// | /[cC]/* | \
3224 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3225 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3228 # OSF1 and SCO ODT 3.0 have their own names for install.
3229 # Don't use installbsd from OSF since it installs stuff as root
3231 for ac_prog in ginstall scoinst install; do
3232 for ac_exec_ext in '' $ac_executable_extensions; do
3233 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3234 if test $ac_prog = install &&
3235 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3236 # AIX install. It has an incompatible calling convention.
3238 elif test $ac_prog = install &&
3239 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3240 # program-specific install script used by HP pwplus--don't use.
3243 rm -rf conftest.one conftest.two conftest.dir
3244 echo one > conftest.one
3245 echo two > conftest.two
3247 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3248 test -s conftest.one && test -s conftest.two &&
3249 test -s conftest.dir/conftest.one &&
3250 test -s conftest.dir/conftest.two
3252 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3265 rm -rf conftest.one conftest.two conftest.dir
3268 if test "${ac_cv_path_install+set}" = set; then
3269 INSTALL=$ac_cv_path_install
3271 # As a last resort, use the slow shell script. Don't cache a
3272 # value for INSTALL within a source directory, because that will
3273 # break other packages using the cache if that directory is
3274 # removed, or if the value is a relative name.
3275 INSTALL=$ac_install_sh
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3279 $as_echo "$INSTALL" >&6; }
3281 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3282 # It thinks the first close brace ends the variable substitution.
3283 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3285 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3287 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3290 $as_echo_n "checking whether build environment is sane... " >&6; }
3293 echo timestamp > conftest.file
3294 # Reject unsafe characters in $srcdir or the absolute working directory
3295 # name. Accept space and tab only in the latter.
3299 *[\\\"\#\$\&\'\`$am_lf]*)
3300 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3303 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3304 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3307 # Do `set' in a subshell so we don't clobber the current shell's
3308 # arguments. Must try -L first in case configure is actually a
3309 # symlink; some systems play weird games with the mod time of symlinks
3310 # (eg FreeBSD returns the mod time of the symlink's containing
3313 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3314 if test "$*" = "X"; then
3316 set X
`ls -t "$srcdir/configure" conftest.file`
3319 if test "$*" != "X $srcdir/configure conftest.file" \
3320 && test "$*" != "X conftest.file $srcdir/configure"; then
3322 # If neither matched, then we have a broken ls. This can happen
3323 # if, for instance, CONFIG_SHELL is bash and it inherits a
3324 # broken ls alias from the environment. This has actually
3325 # happened. Such a system could not be considered "sane".
3326 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3327 alias in your environment" "$LINENO" 5
3330 test "$2" = conftest.
file
3336 as_fn_error
"newly created file is older than distributed files!
3337 Check your system clock" "$LINENO" 5
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3340 $as_echo "yes" >&6; }
3341 test "$program_prefix" != NONE
&&
3342 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3343 # Use a double $ so make ignores it.
3344 test "$program_suffix" != NONE
&&
3345 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3346 # Double any \ or $.
3347 # By default was `s,x,x', remove it if useless.
3348 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3349 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3351 # expand $ac_aux_dir to an absolute path
3352 am_aux_dir
=`cd $ac_aux_dir && pwd`
3354 if test x
"${MISSING+set}" != xset
; then
3357 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3359 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3362 # Use eval to expand $SHELL
3363 if eval "$MISSING --run true"; then
3364 am_missing_run
="$MISSING --run "
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3368 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3371 if test x
"${install_sh}" != xset
; then
3374 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3376 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3380 # Installed binaries are usually stripped using `strip' when the user
3381 # run `make install-strip'. However `strip' might not be the right
3382 # tool to use in cross-compilation environments, therefore Automake
3383 # will honor the `STRIP' environment variable to overrule this program.
3384 if test "$cross_compiling" != no
; then
3385 if test -n "$ac_tool_prefix"; then
3386 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3387 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3389 $as_echo_n "checking for $ac_word... " >&6; }
3390 if test "${ac_cv_prog_STRIP+set}" = set; then :
3391 $as_echo_n "(cached) " >&6
3393 if test -n "$STRIP"; then
3394 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3400 test -z "$as_dir" && as_dir
=.
3401 for ac_exec_ext
in '' $ac_executable_extensions; do
3402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3403 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 STRIP
=$ac_cv_prog_STRIP
3414 if test -n "$STRIP"; then
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3416 $as_echo "$STRIP" >&6; }
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3419 $as_echo "no" >&6; }
3424 if test -z "$ac_cv_prog_STRIP"; then
3426 # Extract the first word of "strip", so it can be a program name with args.
3427 set dummy strip
; ac_word
=$2
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3429 $as_echo_n "checking for $ac_word... " >&6; }
3430 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3431 $as_echo_n "(cached) " >&6
3433 if test -n "$ac_ct_STRIP"; then
3434 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3440 test -z "$as_dir" && as_dir
=.
3441 for ac_exec_ext
in '' $ac_executable_extensions; do
3442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3443 ac_cv_prog_ac_ct_STRIP
="strip"
3444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3453 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3454 if test -n "$ac_ct_STRIP"; then
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3456 $as_echo "$ac_ct_STRIP" >&6; }
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3459 $as_echo "no" >&6; }
3462 if test "x$ac_ct_STRIP" = x
; then
3465 case $cross_compiling:$ac_tool_warned in
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3469 ac_tool_warned
=yes ;;
3474 STRIP
="$ac_cv_prog_STRIP"
3478 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3481 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3482 if test -z "$MKDIR_P"; then
3483 if test "${ac_cv_path_mkdir+set}" = set; then :
3484 $as_echo_n "(cached) " >&6
3486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3487 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3490 test -z "$as_dir" && as_dir
=.
3491 for ac_prog
in mkdir gmkdir
; do
3492 for ac_exec_ext
in '' $ac_executable_extensions; do
3493 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3494 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3495 'mkdir (GNU coreutils) '* | \
3496 'mkdir (coreutils) '* | \
3497 'mkdir (fileutils) '4.1*)
3498 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3508 if test "${ac_cv_path_mkdir+set}" = set; then
3509 MKDIR_P
="$ac_cv_path_mkdir -p"
3511 # As a last resort, use the slow shell script. Don't cache a
3512 # value for MKDIR_P within a source directory, because that will
3513 # break other packages using the cache if that directory is
3514 # removed, or if the value is a relative name.
3515 test -d .
/--version && rmdir .
/--version
3516 MKDIR_P
="$ac_install_sh -d"
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3520 $as_echo "$MKDIR_P" >&6; }
3524 [\\/$
]* | ?
:[\\/]*) ;;
3525 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3528 for ac_prog
in gawk mawk nawk
awk
3530 # Extract the first word of "$ac_prog", so it can be a program name with args.
3531 set dummy
$ac_prog; ac_word
=$2
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3533 $as_echo_n "checking for $ac_word... " >&6; }
3534 if test "${ac_cv_prog_AWK+set}" = set; then :
3535 $as_echo_n "(cached) " >&6
3537 if test -n "$AWK"; then
3538 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3544 test -z "$as_dir" && as_dir
=.
3545 for ac_exec_ext
in '' $ac_executable_extensions; do
3546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3547 ac_cv_prog_AWK
="$ac_prog"
3548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 if test -n "$AWK"; then
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3560 $as_echo "$AWK" >&6; }
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563 $as_echo "no" >&6; }
3567 test -n "$AWK" && break
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3571 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3573 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3574 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3575 $as_echo_n "(cached) " >&6
3577 cat >conftest.
make <<\_ACEOF
3580 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3582 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3583 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3585 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3587 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3591 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3593 $as_echo "yes" >&6; }
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3598 SET_MAKE
="MAKE=${MAKE-make}"
3601 rm -rf .tst
2>/dev
/null
3602 mkdir .tst
2>/dev
/null
3603 if test -d .tst
; then
3608 rmdir .tst
2>/dev
/null
3610 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3611 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3612 # is not polluted with repeated "-I."
3613 am__isrc
=' -I$(srcdir)'
3614 # test to see if srcdir already configured
3615 if test -f $srcdir/config.status
; then
3616 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3620 # test whether we have cygpath
3621 if test -z "$CYGPATH_W"; then
3622 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3623 CYGPATH_W
='cygpath -w'
3630 # Define the identity of the package.
3632 VERSION
='0.99.1-pre'
3635 cat >>confdefs.h
<<_ACEOF
3636 #define PACKAGE "$PACKAGE"
3640 cat >>confdefs.h
<<_ACEOF
3641 #define VERSION "$VERSION"
3644 # Some tools Automake needs.
3646 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3649 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3652 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3655 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3658 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3660 # We need awk for the "check" target. The system "awk" is bad on
3662 # Always define AMTAR for backward compatibility.
3664 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3668 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3669 # Loop over all known methods to create a tar archive until one works.
3670 _am_tools
='gnutar plaintar pax cpio none'
3671 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
3672 # Do not fold the above two line into one, because Tru64 sh and
3673 # Solaris sh will not grok spaces in the rhs of `-'.
3674 for _am_tool
in $_am_tools
3678 for _am_tar
in tar gnutar gtar
;
3680 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3681 ($_am_tar --version) >&5 2>&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); } && break
3686 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
3687 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
3688 am__untar
="$_am_tar -xf -"
3691 # Must skip GNU tar: if it does not support --format= it doesn't create
3692 # ustar tarball either.
3693 (tar --version) >/dev
/null
2>&1 && continue
3694 am__tar
='tar chf - "$$tardir"'
3695 am__tar_
='tar chf - "$tardir"'
3696 am__untar
='tar xf -'
3699 am__tar
='pax -L -x ustar -w "$$tardir"'
3700 am__tar_
='pax -L -x ustar -w "$tardir"'
3704 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
3705 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
3706 am__untar
='cpio -i -H ustar -d'
3715 # If the value was cached, stop now. We just wanted to have am__tar
3716 # and am__untar set.
3717 test -n "${am_cv_prog_tar_ustar}" && break
3719 # tar/untar a dummy directory, and stop if the command works
3722 echo GrepMe
> conftest.dir
/file
3723 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3724 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); }
3729 if test -s conftest.
tar; then
3730 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3731 ($am__untar <conftest.
tar) >&5 2>&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }
3735 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
3740 if test "${am_cv_prog_tar_ustar+set}" = set; then :
3741 $as_echo_n "(cached) " >&6
3743 am_cv_prog_tar_ustar
=$_am_tool
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3747 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3753 ac_config_headers
="$ac_config_headers include/config.h"
3759 # Check whether --enable-collections was given.
3760 if test "${enable_collections+set}" = set; then :
3761 enableval
=$enable_collections; case x
"${enableval}" in
3762 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
3763 xno
) COMPILE_COLLECTIONS
=no
;;
3764 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
3765 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
3768 COMPILE_COLLECTIONS
=no
3771 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
3772 CREATE_COLLECTIONS_TRUE
=
3773 CREATE_COLLECTIONS_FALSE
='#'
3775 CREATE_COLLECTIONS_TRUE
='#'
3776 CREATE_COLLECTIONS_FALSE
=
3780 # Check whether --enable-jni was given.
3781 if test "${enable_jni+set}" = set; then :
3782 enableval
=$enable_jni; case "${enableval}" in
3783 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
3784 no
) COMPILE_JNI
=no
;;
3785 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
3791 if test "x${COMPILE_JNI}" = xyes
; then
3792 CREATE_JNI_LIBRARIES_TRUE
=
3793 CREATE_JNI_LIBRARIES_FALSE
='#'
3795 CREATE_JNI_LIBRARIES_TRUE
='#'
3796 CREATE_JNI_LIBRARIES_FALSE
=
3800 # Check whether --enable-core-jni was given.
3801 if test "${enable_core_jni+set}" = set; then :
3802 enableval
=$enable_core_jni; case "${enableval}" in
3803 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
3804 no
) COMPILE_CORE_JNI
=no
;;
3805 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
3808 COMPILE_CORE_JNI
=yes
3811 if test "x${COMPILE_CORE_JNI}" = xyes
; then
3812 CREATE_CORE_JNI_LIBRARIES_TRUE
=
3813 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
3815 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
3816 CREATE_CORE_JNI_LIBRARIES_FALSE
=
3820 # Check whether --enable-default-preferences-peer was given.
3821 if test "${enable_default_preferences_peer+set}" = set; then :
3822 enableval
=$enable_default_preferences_peer; case "${enableval}" in
3823 file) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.FileBasedFactory
;;
3824 gconf|
yes|true
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
;;
3825 memory
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.MemoryBasedFactory
;;
3826 no|false
) as_fn_error
"bad value '${enableval}' for --enable-default-preferences-peer" "$LINENO" 5 ;;
3827 *) DEFAULT_PREFS_PEER
=${enableval} ;;
3830 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
3834 # Check whether --enable-gconf-peer was given.
3835 if test "${enable_gconf_peer+set}" = set; then :
3836 enableval
=$enable_gconf_peer; case "${enableval}" in
3837 yes) COMPILE_GCONF_PEER
=yes ;;
3838 no
) COMPILE_GCONF_PEER
=no
;;
3839 *) COMPILE_GCONF_PEER
=yes ;;
3842 COMPILE_GCONF_PEER
=yes
3845 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
3846 CREATE_GCONF_PEER_LIBRARIES_TRUE
=
3847 CREATE_GCONF_PEER_LIBRARIES_FALSE
='#'
3849 CREATE_GCONF_PEER_LIBRARIES_TRUE
='#'
3850 CREATE_GCONF_PEER_LIBRARIES_FALSE
=
3854 # Check whether --enable-gconf-peers was given.
3855 if test "${enable_gconf_peers+set}" = set; then :
3856 enableval
=$enable_gconf_peers; as_fn_error
"No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" "$LINENO" 5
3860 # Check whether --enable-gstreamer-peer was given.
3861 if test "${enable_gstreamer_peer+set}" = set; then :
3862 enableval
=$enable_gstreamer_peer; case "${enableval}" in
3863 yes) COMPILE_GSTREAMER_PEER
=yes ;;
3864 no
) COMPILE_GSTREAMER_PEER
=no
;;
3865 *) COMPILE_GSTREAMER_PEER
=default
;;
3868 COMPILE_GSTREAMER_PEER
=default
3871 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
3872 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
=
3873 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
='#'
3875 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
='#'
3876 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
=
3880 # Check whether --enable-gstreamer-peers was given.
3881 if test "${enable_gstreamer_peers+set}" = set; then :
3882 enableval
=$enable_gstreamer_peers; as_fn_error
"No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" "$LINENO" 5
3886 # Check whether --enable-Werror was given.
3887 if test "${enable_Werror+set}" = set; then :
3888 enableval
=$enable_Werror; case "${enableval}" in
3889 yes) ENABLE_WERROR
=yes ;;
3890 no
) ENABLE_WERROR
=no
;;
3891 *) ENABLE_WERROR
=no
;;
3898 # Check whether --enable-default-toolkit was given.
3899 if test "${enable_default_toolkit+set}" = set; then :
3900 enableval
=$enable_default_toolkit;
3903 default_toolkit
=$enable_default_toolkit
3904 if test "$default_toolkit" = ""; then
3905 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
3909 # Check whether --enable-xmlj was given.
3910 if test "${enable_xmlj+set}" = set; then :
3911 enableval
=$enable_xmlj; case "${enableval}" in
3912 yes) COMPILE_XMLJ
=yes ;;
3913 no
) COMPILE_XMLJ
=no
;;
3914 *) COMPILE_XMLJ
=no
;;
3920 if test "x${COMPILE_XMLJ}" = xyes
; then
3921 CREATE_XMLJ_LIBRARY_TRUE
=
3922 CREATE_XMLJ_LIBRARY_FALSE
='#'
3924 CREATE_XMLJ_LIBRARY_TRUE
='#'
3925 CREATE_XMLJ_LIBRARY_FALSE
=
3929 DEPDIR
="${am__leading_dot}deps"
3931 ac_config_commands
="$ac_config_commands depfiles"
3934 am_make
=${MAKE-make}
3935 cat > confinc
<< 'END'
3937 @
echo this is the am__doit target
3940 # If we don't find an include directive, just comment out the code.
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3942 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3946 # First try GNU make style include.
3947 echo "include confinc" > confmf
3948 # Ignore all kinds of additional output from `make'.
3949 case `$am_make -s -f confmf 2> /dev/null` in #(
3950 *the\ am__doit\ target
*)
3956 # Now try BSD make style include.
3957 if test "$am__include" = "#"; then
3958 echo '.include "confinc"' > confmf
3959 case `$am_make -s -f confmf 2> /dev/null` in #(
3960 *the\ am__doit\ target
*)
3961 am__include
=.include
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3970 $as_echo "$_am_result" >&6; }
3971 rm -f confinc confmf
3973 # Check whether --enable-dependency-tracking was given.
3974 if test "${enable_dependency_tracking+set}" = set; then :
3975 enableval
=$enable_dependency_tracking;
3978 if test "x$enable_dependency_tracking" != xno
; then
3979 am_depcomp
="$ac_aux_dir/depcomp"
3982 if test "x$enable_dependency_tracking" != xno; then
3992 ac_cpp
='$CPP $CPPFLAGS'
3993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3996 if test -n "$ac_tool_prefix"; then
3997 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3998 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4000 $as_echo_n "checking for $ac_word... " >&6; }
4001 if test "${ac_cv_prog_CC+set}" = set; then :
4002 $as_echo_n "(cached) " >&6
4004 if test -n "$CC"; then
4005 ac_cv_prog_CC
="$CC" # Let the user override the test.
4007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4011 test -z "$as_dir" && as_dir
=.
4012 for ac_exec_ext
in '' $ac_executable_extensions; do
4013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4014 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4025 if test -n "$CC"; then
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4027 $as_echo "$CC" >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4030 $as_echo "no" >&6; }
4035 if test -z "$ac_cv_prog_CC"; then
4037 # Extract the first word of "gcc", so it can be a program name with args.
4038 set dummy gcc
; ac_word
=$2
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4040 $as_echo_n "checking for $ac_word... " >&6; }
4041 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4042 $as_echo_n "(cached) " >&6
4044 if test -n "$ac_ct_CC"; then
4045 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4051 test -z "$as_dir" && as_dir
=.
4052 for ac_exec_ext
in '' $ac_executable_extensions; do
4053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4054 ac_cv_prog_ac_ct_CC
="gcc"
4055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4065 if test -n "$ac_ct_CC"; then
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4067 $as_echo "$ac_ct_CC" >&6; }
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4070 $as_echo "no" >&6; }
4073 if test "x$ac_ct_CC" = x
; then
4076 case $cross_compiling:$ac_tool_warned in
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4080 ac_tool_warned
=yes ;;
4088 if test -z "$CC"; then
4089 if test -n "$ac_tool_prefix"; then
4090 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4091 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4093 $as_echo_n "checking for $ac_word... " >&6; }
4094 if test "${ac_cv_prog_CC+set}" = set; then :
4095 $as_echo_n "(cached) " >&6
4097 if test -n "$CC"; then
4098 ac_cv_prog_CC
="$CC" # Let the user override the test.
4100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4104 test -z "$as_dir" && as_dir
=.
4105 for ac_exec_ext
in '' $ac_executable_extensions; do
4106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4107 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4118 if test -n "$CC"; then
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4120 $as_echo "$CC" >&6; }
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4123 $as_echo "no" >&6; }
4129 if test -z "$CC"; then
4130 # Extract the first word of "cc", so it can be a program name with args.
4131 set dummy cc
; ac_word
=$2
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4133 $as_echo_n "checking for $ac_word... " >&6; }
4134 if test "${ac_cv_prog_CC+set}" = set; then :
4135 $as_echo_n "(cached) " >&6
4137 if test -n "$CC"; then
4138 ac_cv_prog_CC
="$CC" # Let the user override the test.
4141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4145 test -z "$as_dir" && as_dir
=.
4146 for ac_exec_ext
in '' $ac_executable_extensions; do
4147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4148 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4149 ac_prog_rejected
=yes
4153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4160 if test $ac_prog_rejected = yes; then
4161 # We found a bogon in the path, so make sure we never use it.
4162 set dummy
$ac_cv_prog_CC
4164 if test $# != 0; then
4165 # We chose a different compiler from the bogus one.
4166 # However, it has the same basename, so the bogon will be chosen
4167 # first if we set CC to just the basename; use the full file name.
4169 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4175 if test -n "$CC"; then
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4177 $as_echo "$CC" >&6; }
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4180 $as_echo "no" >&6; }
4185 if test -z "$CC"; then
4186 if test -n "$ac_tool_prefix"; then
4187 for ac_prog
in cl.exe
4189 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4190 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192 $as_echo_n "checking for $ac_word... " >&6; }
4193 if test "${ac_cv_prog_CC+set}" = set; then :
4194 $as_echo_n "(cached) " >&6
4196 if test -n "$CC"; then
4197 ac_cv_prog_CC
="$CC" # Let the user override the test.
4199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4203 test -z "$as_dir" && as_dir
=.
4204 for ac_exec_ext
in '' $ac_executable_extensions; do
4205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4206 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4217 if test -n "$CC"; then
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4219 $as_echo "$CC" >&6; }
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4222 $as_echo "no" >&6; }
4226 test -n "$CC" && break
4229 if test -z "$CC"; then
4231 for ac_prog
in cl.exe
4233 # Extract the first word of "$ac_prog", so it can be a program name with args.
4234 set dummy
$ac_prog; ac_word
=$2
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4236 $as_echo_n "checking for $ac_word... " >&6; }
4237 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4238 $as_echo_n "(cached) " >&6
4240 if test -n "$ac_ct_CC"; then
4241 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4247 test -z "$as_dir" && as_dir
=.
4248 for ac_exec_ext
in '' $ac_executable_extensions; do
4249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4250 ac_cv_prog_ac_ct_CC
="$ac_prog"
4251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4260 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4261 if test -n "$ac_ct_CC"; then
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4263 $as_echo "$ac_ct_CC" >&6; }
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4266 $as_echo "no" >&6; }
4270 test -n "$ac_ct_CC" && break
4273 if test "x$ac_ct_CC" = x
; then
4276 case $cross_compiling:$ac_tool_warned in
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4280 ac_tool_warned
=yes ;;
4289 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4291 as_fn_error
"no acceptable C compiler found in \$PATH
4292 See \`config.log' for more details." "$LINENO" 5; }
4294 # Provide some information about the compiler.
4295 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4298 for ac_option
in --version -v -V -qversion; do
4299 { { ac_try
="$ac_compiler $ac_option >&5"
4301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4302 *) ac_try_echo=$ac_try;;
4304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4305 $as_echo "$ac_try_echo"; } >&5
4306 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4308 if test -s conftest.err; then
4310 ... rest of stderr output deleted ...
4311 10q' conftest.err >conftest.er1
4312 cat conftest.er1 >&5
4313 rm -f conftest.er1 conftest.err
4315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4316 test $ac_status = 0; }
4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4331 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4332 (eval $ac_link) 2>&5
4334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4335 test $ac_status = 0; }; then :
4340 if test x$gcc_no_link = xyes; then
4341 # Setting cross_compile will disable run tests; it will
4342 # also disable AC_CHECK_FILE but that's generally
4343 # correct if we can't link.
4347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4348 /* end confdefs.h. */
4358 ac_clean_files_save=$ac_clean_files
4359 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4360 # Try to create an executable without -o first, disregard a.out.
4361 # It will help us diagnose broken compilers, and finding out an intuition
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4364 $as_echo_n "checking for C compiler default output file name... " >&6; }
4365 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4367 # The possible output files:
4368 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4371 for ac_file in $ac_files
4374 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4375 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4380 if { { ac_try="$ac_link_default"
4382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4383 *) ac_try_echo
=$ac_try;;
4385 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4386 $as_echo "$ac_try_echo"; } >&5
4387 (eval "$ac_link_default") 2>&5
4389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4390 test $ac_status = 0; }; then :
4391 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4392 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4393 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4394 # so that the user can short-circuit this test for compilers unknown to
4396 for ac_file
in $ac_files ''
4398 test -f "$ac_file" ||
continue
4400 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4403 # We found the default executable, but exeext='' is most
4407 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4409 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4411 # We set ac_cv_exeext here because the later test for it is not
4412 # safe: cross compilers may not add the suffix if given an `-o'
4413 # argument, so we may need to know it at that point already.
4414 # Even if this section looks crufty: it has the advantage of
4421 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4427 $as_echo "$ac_file" >&6; }
4428 if test -z "$ac_file"; then :
4429 $as_echo "$as_me: failed program was:" >&5
4430 sed 's/^/| /' conftest.
$ac_ext >&5
4432 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4434 { as_fn_set_status
77
4435 as_fn_error
"C compiler cannot create executables
4436 See \`config.log' for more details." "$LINENO" 5; }; }
4438 ac_exeext
=$ac_cv_exeext
4440 # Check that the compiler produces executables we can run. If not, either
4441 # the compiler is broken, or we cross compile.
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4443 $as_echo_n "checking whether the C compiler works... " >&6; }
4444 # If not cross compiling, check that we can run a simple program.
4445 if test "$cross_compiling" != yes; then
4446 if { ac_try
='./$ac_file'
4447 { { case "(($ac_try" in
4448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4449 *) ac_try_echo=$ac_try;;
4451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4452 $as_echo "$ac_try_echo"; } >&5
4453 (eval "$ac_try") 2>&5
4455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4456 test $ac_status = 0; }; }; then
4459 if test "$cross_compiling" = maybe; then
4462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4464 as_fn_error "cannot run C compiled programs.
4465 If you meant to cross compile
, use \
`--host'.
4466 See \`config.log
' for more details." "$LINENO" 5; }
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4471 $as_echo "yes" >&6; }
4473 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4474 ac_clean_files=$ac_clean_files_save
4475 # Check that the compiler produces executables we can run. If not, either
4476 # the compiler is broken, or we cross compile.
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4478 $as_echo_n "checking whether we are cross compiling... " >&6; }
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4480 $as_echo "$cross_compiling" >&6; }
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4483 $as_echo_n "checking for suffix of executables... " >&6; }
4484 if { { ac_try="$ac_link"
4486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4487 *) ac_try_echo=$ac_try;;
4489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4490 $as_echo "$ac_try_echo"; } >&5
4491 (eval "$ac_link") 2>&5
4493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4494 test $ac_status = 0; }; then :
4495 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4496 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4497 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4499 for ac_file
in conftest.exe conftest conftest.
*; do
4500 test -f "$ac_file" ||
continue
4502 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4503 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4511 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4512 See \`config.log' for more details." "$LINENO" 5; }
4514 rm -f conftest
$ac_cv_exeext
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4516 $as_echo "$ac_cv_exeext" >&6; }
4518 rm -f conftest.
$ac_ext
4519 EXEEXT
=$ac_cv_exeext
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4523 $as_echo_n "checking for suffix of object files... " >&6; }
4524 if test "${ac_cv_objext+set}" = set; then :
4525 $as_echo_n "(cached) " >&6
4527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4538 rm -f conftest.o conftest.obj
4539 if { { ac_try
="$ac_compile"
4541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4542 *) ac_try_echo=$ac_try;;
4544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4545 $as_echo "$ac_try_echo"; } >&5
4546 (eval "$ac_compile") 2>&5
4548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4549 test $ac_status = 0; }; then :
4550 for ac_file in conftest.o conftest.obj conftest.*; do
4551 test -f "$ac_file" || continue;
4553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4554 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4559 $as_echo "$as_me: failed program was:" >&5
4560 sed 's/^/| /' conftest.$ac_ext >&5
4562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4564 as_fn_error "cannot compute suffix of object files
: cannot compile
4565 See \
`config.log' for more details." "$LINENO" 5; }
4567 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4570 $as_echo "$ac_cv_objext" >&6; }
4571 OBJEXT=$ac_cv_objext
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4574 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4575 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4576 $as_echo_n "(cached) " >&6
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4592 if ac_fn_c_try_compile "$LINENO"; then :
4597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4598 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4602 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4603 if test $ac_compiler_gnu = yes; then
4608 ac_test_CFLAGS=${CFLAGS+set}
4609 ac_save_CFLAGS=$CFLAGS
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4611 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4612 if test "${ac_cv_prog_cc_g+set}" = set; then :
4613 $as_echo_n "(cached) " >&6
4615 ac_save_c_werror_flag=$ac_c_werror_flag
4616 ac_c_werror_flag=yes
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4630 if ac_fn_c_try_compile "$LINENO"; then :
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4645 if ac_fn_c_try_compile "$LINENO"; then :
4648 ac_c_werror_flag=$ac_save_c_werror_flag
4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651 /* end confdefs.h. */
4661 if ac_fn_c_try_compile "$LINENO"; then :
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4669 ac_c_werror_flag=$ac_save_c_werror_flag
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4672 $as_echo "$ac_cv_prog_cc_g" >&6; }
4673 if test "$ac_test_CFLAGS" = set; then
4674 CFLAGS=$ac_save_CFLAGS
4675 elif test $ac_cv_prog_cc_g = yes; then
4676 if test "$GCC" = yes; then
4682 if test "$GCC" = yes; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4689 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4690 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4691 $as_echo_n "(cached) " >&6
4693 ac_cv_prog_cc_c89=no
4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4699 #include <sys/types.h>
4700 #include <sys/stat.h>
4701 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4702 struct buf { int x; };
4703 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4704 static char *e (p, i)
4710 static char *f (char * (*g) (char **, int), char **p, ...)
4715 s = g (p, va_arg (v,int));
4720 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4721 function prototypes and stuff, but not '\xHH' hex character constants.
4722 These don't provoke an error unfortunately, instead are silently treated
4723 as 'x'. The following induces an error, until -std is added to get
4724 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4725 array size at least. It's necessary to write '\x00'==0 to get something
4726 that's true only with -std. */
4727 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4729 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4730 inside strings and character constants. */
4732 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4734 int test (int i, double x);
4735 struct s1 {int (*f) (int a);};
4736 struct s2 {int (*f) (double a);};
4737 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4743 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4748 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4749 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4751 CC="$ac_save_CC $ac_arg"
4752 if ac_fn_c_try_compile "$LINENO"; then :
4753 ac_cv_prog_cc_c89=$ac_arg
4755 rm -f core conftest.err conftest.$ac_objext
4756 test "x$ac_cv_prog_cc_c89" != "xno" && break
4758 rm -f conftest.$ac_ext
4763 case "x$ac_cv_prog_cc_c89" in
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4766 $as_echo "none needed" >&6; } ;;
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4769 $as_echo "unsupported" >&6; } ;;
4771 CC="$CC $ac_cv_prog_cc_c89"
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4773 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4775 if test "x$ac_cv_prog_cc_c89" != xno; then :
4780 ac_cpp='$CPP $CPPFLAGS'
4781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4785 depcc="$CC" am_compiler_list=
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4788 $as_echo_n "checking dependency style of $depcc... " >&6; }
4789 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4790 $as_echo_n "(cached) " >&6
4792 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4793 # We make a subdir and do the tests there. Otherwise we can end up
4794 # making bogus files that we don't know about and never remove. For
4795 # instance it was reported that on HP-UX the gcc test will end up
4796 # making a dummy file named `D
' -- because `-MD' means
`put the output
4799 # Copy depcomp to subdir because otherwise we won't find it if we're
4800 # using a relative directory.
4801 cp "$am_depcomp" conftest.dir
4803 # We will build objects and dependencies in a subdirectory because
4804 # it helps to detect inapplicable dependency modes. For instance
4805 # both Tru64's cc and ICC support -MD to output dependencies as a
4806 # side effect of compilation, but ICC will put the dependencies in
4807 # the current directory while Tru64 will put them in the object
4811 am_cv_CC_dependencies_compiler_type=none
4812 if test "$am_compiler_list" = ""; then
4813 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4816 case " $depcc " in #(
4817 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4820 for depmode in $am_compiler_list; do
4821 # Setup a source with many dependencies, because some compilers
4822 # like to wrap large dependency lists on column 80 (with \), and
4823 # we should not choose a depcomp mode which is confused by this.
4825 # We need to recreate these files for each test, as the compiler may
4826 # overwrite some of them when testing with obscure command lines.
4827 # This happens at least with the AIX C compiler.
4829 for i in 1 2 3 4 5 6; do
4830 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4831 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4832 # Solaris 8's
{/usr
,}/bin
/sh.
4833 touch sub
/conftst
$i.h
4835 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4837 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4838 # mode. It turns out that the SunPro C++ compiler does not properly
4839 # handle `-M -o', and we need to detect this. Also, some Intel
4840 # versions had trouble with output in subdirs
4841 am__obj
=sub
/conftest.
${OBJEXT-o}
4842 am__minus_obj
="-o $am__obj"
4845 # This depmode causes a compiler race in universal mode.
4846 test "$am__universal" = false ||
continue
4849 # after this tag, mechanisms are not by side-effect, so they'll
4850 # only be used when explicitly requested
4851 if test "x$enable_dependency_tracking" = xyes
; then
4857 msvisualcpp | msvcmsys
)
4858 # This compiler won't grok `-c -o', but also, the minuso test has
4859 # not run yet. These depmodes are late enough in the game, and
4860 # so weak that their functioning should not be impacted.
4861 am__obj
=conftest.
${OBJEXT-o}
4866 if depmode
=$depmode \
4867 source=sub
/conftest.c object
=$am__obj \
4868 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4869 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4870 >/dev
/null
2>conftest.err
&&
4871 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4872 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4873 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4874 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4875 # icc doesn't choke on unknown options, it will just issue warnings
4876 # or remarks (even with -Werror). So we grep stderr for any message
4877 # that says an option was ignored or not supported.
4878 # When given -MP, icc 7.0 and 7.1 complain thusly:
4879 # icc: Command line warning: ignoring option '-M'; no argument required
4880 # The diagnosis changed in icc 8.0:
4881 # icc: Command line remark: option '-MP' not supported
4882 if (grep 'ignoring option' conftest.err ||
4883 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4884 am_cv_CC_dependencies_compiler_type
=$depmode
4893 am_cv_CC_dependencies_compiler_type
=none
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4898 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4899 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4902 test "x$enable_dependency_tracking" != xno \
4903 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4905 am__fastdepCC_FALSE
='#'
4907 am__fastdepCC_TRUE
='#'
4908 am__fastdepCC_FALSE
=
4914 ac_cpp
='$CPP $CPPFLAGS'
4915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4919 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4920 # On Suns, sometimes $CPP names a directory.
4921 if test -n "$CPP" && test -d "$CPP"; then
4924 if test -z "$CPP"; then
4925 if test "${ac_cv_prog_CPP+set}" = set; then :
4926 $as_echo_n "(cached) " >&6
4928 # Double quotes because CPP needs to be expanded
4929 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4932 for ac_c_preproc_warn_flag
in '' yes
4934 # Use a header file that comes with gcc, so configuring glibc
4935 # with a fresh cross-compiler works.
4936 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4937 # <limits.h> exists even on freestanding compilers.
4938 # On the NeXT, cc -E runs the code through the compiler's parser,
4939 # not just through cpp. "Syntax error" is here to catch this case.
4940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4941 /* end confdefs.h. */
4943 # include <limits.h>
4945 # include <assert.h>
4949 if ac_fn_c_try_cpp
"$LINENO"; then :
4952 # Broken: fails on valid input.
4955 rm -f conftest.err conftest.
$ac_ext
4957 # OK, works on sane cases. Now check whether nonexistent headers
4958 # can be detected and how.
4959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4960 /* end confdefs.h. */
4961 #include <ac_nonexistent.h>
4963 if ac_fn_c_try_cpp
"$LINENO"; then :
4964 # Broken: success on invalid input.
4967 # Passes both tests.
4971 rm -f conftest.err conftest.
$ac_ext
4974 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4975 rm -f conftest.err conftest.
$ac_ext
4976 if $ac_preproc_ok; then :
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4989 $as_echo "$CPP" >&6; }
4991 for ac_c_preproc_warn_flag
in '' yes
4993 # Use a header file that comes with gcc, so configuring glibc
4994 # with a fresh cross-compiler works.
4995 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4996 # <limits.h> exists even on freestanding compilers.
4997 # On the NeXT, cc -E runs the code through the compiler's parser,
4998 # not just through cpp. "Syntax error" is here to catch this case.
4999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5002 # include <limits.h>
5004 # include <assert.h>
5008 if ac_fn_c_try_cpp
"$LINENO"; then :
5011 # Broken: fails on valid input.
5014 rm -f conftest.err conftest.
$ac_ext
5016 # OK, works on sane cases. Now check whether nonexistent headers
5017 # can be detected and how.
5018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5020 #include <ac_nonexistent.h>
5022 if ac_fn_c_try_cpp
"$LINENO"; then :
5023 # Broken: success on invalid input.
5026 # Passes both tests.
5030 rm -f conftest.err conftest.
$ac_ext
5033 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5034 rm -f conftest.err conftest.
$ac_ext
5035 if $ac_preproc_ok; then :
5038 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5040 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5041 See \`config.log' for more details." "$LINENO" 5; }
5045 ac_cpp
='$CPP $CPPFLAGS'
5046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5052 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5053 if test "${ac_cv_path_GREP+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5056 if test -z "$GREP"; then
5057 ac_path_GREP_found
=false
5058 # Loop through the user's path and test for each of PROGNAME-LIST
5059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5060 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5063 test -z "$as_dir" && as_dir
=.
5064 for ac_prog
in grep ggrep
; do
5065 for ac_exec_ext
in '' $ac_executable_extensions; do
5066 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5067 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5068 # Check for GNU ac_path_GREP and select it if it is found.
5069 # Check for GNU $ac_path_GREP
5070 case `"$ac_path_GREP" --version 2>&1` in
5072 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5075 $as_echo_n 0123456789 >"conftest.in"
5078 cat "conftest.in" "conftest.in" >"conftest.tmp"
5079 mv "conftest.tmp" "conftest.in"
5080 cp "conftest.in" "conftest.nl"
5081 $as_echo 'GREP' >> "conftest.nl"
5082 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5083 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5084 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5085 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5086 # Best one so far, save it but keep looking for a better one
5087 ac_cv_path_GREP
="$ac_path_GREP"
5088 ac_path_GREP_max
=$ac_count
5090 # 10*(2^10) chars as input seems more than enough
5091 test $ac_count -gt 10 && break
5093 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5096 $ac_path_GREP_found && break 3
5101 if test -z "$ac_cv_path_GREP"; then
5102 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5105 ac_cv_path_GREP
=$GREP
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5110 $as_echo "$ac_cv_path_GREP" >&6; }
5111 GREP
="$ac_cv_path_GREP"
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5115 $as_echo_n "checking for egrep... " >&6; }
5116 if test "${ac_cv_path_EGREP+set}" = set; then :
5117 $as_echo_n "(cached) " >&6
5119 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5120 then ac_cv_path_EGREP
="$GREP -E"
5122 if test -z "$EGREP"; then
5123 ac_path_EGREP_found
=false
5124 # Loop through the user's path and test for each of PROGNAME-LIST
5125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5126 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5129 test -z "$as_dir" && as_dir
=.
5130 for ac_prog
in egrep; do
5131 for ac_exec_ext
in '' $ac_executable_extensions; do
5132 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5133 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5134 # Check for GNU ac_path_EGREP and select it if it is found.
5135 # Check for GNU $ac_path_EGREP
5136 case `"$ac_path_EGREP" --version 2>&1` in
5138 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5141 $as_echo_n 0123456789 >"conftest.in"
5144 cat "conftest.in" "conftest.in" >"conftest.tmp"
5145 mv "conftest.tmp" "conftest.in"
5146 cp "conftest.in" "conftest.nl"
5147 $as_echo 'EGREP' >> "conftest.nl"
5148 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5149 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5150 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5151 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5152 # Best one so far, save it but keep looking for a better one
5153 ac_cv_path_EGREP
="$ac_path_EGREP"
5154 ac_path_EGREP_max
=$ac_count
5156 # 10*(2^10) chars as input seems more than enough
5157 test $ac_count -gt 10 && break
5159 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5162 $ac_path_EGREP_found && break 3
5167 if test -z "$ac_cv_path_EGREP"; then
5168 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5171 ac_cv_path_EGREP
=$EGREP
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5177 $as_echo "$ac_cv_path_EGREP" >&6; }
5178 EGREP
="$ac_cv_path_EGREP"
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5182 $as_echo_n "checking for ANSI C header files... " >&6; }
5183 if test "${ac_cv_header_stdc+set}" = set; then :
5184 $as_echo_n "(cached) " >&6
5186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h. */
5201 if ac_fn_c_try_compile
"$LINENO"; then :
5202 ac_cv_header_stdc
=yes
5204 ac_cv_header_stdc
=no
5206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5208 if test $ac_cv_header_stdc = yes; then
5209 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5211 /* end confdefs.h. */
5215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5216 $EGREP "memchr" >/dev
/null
2>&1; then :
5219 ac_cv_header_stdc
=no
5225 if test $ac_cv_header_stdc = yes; then
5226 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5228 /* end confdefs.h. */
5232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5233 $EGREP "free" >/dev
/null
2>&1; then :
5236 ac_cv_header_stdc
=no
5242 if test $ac_cv_header_stdc = yes; then
5243 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5244 if test "$cross_compiling" = yes; then :
5247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5248 /* end confdefs.h. */
5251 #if ((' ' & 0x0FF) == 0x020)
5252 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5253 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5255 # define ISLOWER(c) \
5256 (('a' <= (c) && (c) <= 'i') \
5257 || ('j' <= (c) && (c) <= 'r') \
5258 || ('s' <= (c) && (c) <= 'z'))
5259 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5262 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5267 for (i = 0; i < 256; i++)
5268 if (XOR (islower (i), ISLOWER (i))
5269 || toupper (i) != TOUPPER (i))
5274 if ac_fn_c_try_run
"$LINENO"; then :
5277 ac_cv_header_stdc
=no
5279 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5280 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5286 $as_echo "$ac_cv_header_stdc" >&6; }
5287 if test $ac_cv_header_stdc = yes; then
5289 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5293 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5294 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5295 inttypes.h stdint.h unistd.h
5297 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5298 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5300 eval as_val
=\$
$as_ac_Header
5301 if test "x$as_val" = x
""yes; then :
5302 cat >>confdefs.h
<<_ACEOF
5303 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5311 # Check whether --enable-alsa was given.
5312 if test "${enable_alsa+set}" = set; then :
5313 enableval
=$enable_alsa; case "${enableval}" in
5314 yes) COMPILE_ALSA
=yes ;;
5315 no
) COMPILE_ALSA
=no
;;
5316 *) COMPILE_ALSA
=yes ;;
5319 for ac_header
in alsa
/asoundlib.h
5321 ac_fn_c_check_header_mongrel
"$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
5322 if test "x$ac_cv_header_alsa_asoundlib_h" = x
""yes; then :
5323 cat >>confdefs.h
<<_ACEOF
5324 #define HAVE_ALSA_ASOUNDLIB_H 1
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_seq_open in -lasound" >&5
5327 $as_echo_n "checking for snd_seq_open in -lasound... " >&6; }
5328 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then :
5329 $as_echo_n "(cached) " >&6
5331 ac_check_lib_save_LIBS
=$LIBS
5332 LIBS
="-lasound $LIBS"
5333 if test x
$gcc_no_link = xyes
; then
5334 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5339 /* Override any GCC internal prototype to avoid an error.
5340 Use char because int might match the return type of a GCC
5341 builtin and then its argument prototype would still apply. */
5345 char snd_seq_open ();
5349 return snd_seq_open ();
5354 if ac_fn_c_try_link
"$LINENO"; then :
5355 ac_cv_lib_asound_snd_seq_open
=yes
5357 ac_cv_lib_asound_snd_seq_open
=no
5359 rm -f core conftest.err conftest.
$ac_objext \
5360 conftest
$ac_exeext conftest.
$ac_ext
5361 LIBS
=$ac_check_lib_save_LIBS
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_seq_open" >&5
5364 $as_echo "$ac_cv_lib_asound_snd_seq_open" >&6; }
5365 if test "x$ac_cv_lib_asound_snd_seq_open" = x
""yes; then :
5379 if test "x${COMPILE_ALSA}" = xyes
; then
5380 CREATE_ALSA_LIBRARIES_TRUE
=
5381 CREATE_ALSA_LIBRARIES_FALSE
='#'
5383 CREATE_ALSA_LIBRARIES_TRUE
='#'
5384 CREATE_ALSA_LIBRARIES_FALSE
=
5388 # Check whether --enable-dssi was given.
5389 if test "${enable_dssi+set}" = set; then :
5390 enableval
=$enable_dssi; case "${enableval}" in
5391 yes) COMPILE_DSSI
=yes ;;
5392 no
) COMPILE_DSSI
=no
;;
5393 *) COMPILE_DSSI
=yes ;;
5397 for ac_header
in dssi.h
5399 ac_fn_c_check_header_mongrel
"$LINENO" "dssi.h" "ac_cv_header_dssi_h" "$ac_includes_default"
5400 if test "x$ac_cv_header_dssi_h" = x
""yes; then :
5401 cat >>confdefs.h
<<_ACEOF
5402 #define HAVE_DSSI_H 1
5405 for ac_header
in jack
/jack.h
5407 ac_fn_c_check_header_mongrel
"$LINENO" "jack/jack.h" "ac_cv_header_jack_jack_h" "$ac_includes_default"
5408 if test "x$ac_cv_header_jack_jack_h" = x
""yes; then :
5409 cat >>confdefs.h
<<_ACEOF
5410 #define HAVE_JACK_JACK_H 1
5423 if test "x${COMPILE_DSSI}" = xyes
; then
5424 CREATE_DSSI_LIBRARIES_TRUE
=
5425 CREATE_DSSI_LIBRARIES_FALSE
='#'
5427 CREATE_DSSI_LIBRARIES_TRUE
='#'
5428 CREATE_DSSI_LIBRARIES_FALSE
=
5432 # Check whether --enable-gtk-peer was given.
5433 if test "${enable_gtk_peer+set}" = set; then :
5434 enableval
=$enable_gtk_peer; case "${enableval}" in
5435 yes) COMPILE_GTK_PEER
=yes ;;
5436 no
) COMPILE_GTK_PEER
=no
;;
5437 *) COMPILE_GTK_PEER
=yes ;;
5440 COMPILE_GTK_PEER
=yes
5443 if test "x${COMPILE_GTK_PEER}" = xyes
; then
5444 CREATE_GTK_PEER_LIBRARIES_TRUE
=
5445 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
5447 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
5448 CREATE_GTK_PEER_LIBRARIES_FALSE
=
5452 # Check whether --enable-gtk-peers was given.
5453 if test "${enable_gtk_peers+set}" = set; then :
5454 enableval
=$enable_gtk_peers; as_fn_error
"No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" "$LINENO" 5
5458 # Check whether --enable-qt-peer was given.
5459 if test "${enable_qt_peer+set}" = set; then :
5460 enableval
=$enable_qt_peer; case "${enableval}" in
5461 yes) COMPILE_QT_PEER
=yes ;;
5462 no
) COMPILE_QT_PEER
=no
;;
5463 *) COMPILE_QT_PEER
=yes ;;
5469 if test "x${COMPILE_QT_PEER}" = xyes
; then
5470 CREATE_QT_PEER_LIBRARIES_TRUE
=
5471 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
5473 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
5474 CREATE_QT_PEER_LIBRARIES_FALSE
=
5478 # Check whether --enable-plugin was given.
5479 if test "${enable_plugin+set}" = set; then :
5480 enableval
=$enable_plugin; case "${enableval}" in
5481 yes) COMPILE_PLUGIN
=yes ;;
5482 no
) COMPILE_PLUGIN
=no
;;
5483 *) COMPILE_PLUGIN
=yes ;;
5489 if test "x${COMPILE_PLUGIN}" = xyes
; then
5491 CREATE_PLUGIN_FALSE
='#'
5493 CREATE_PLUGIN_TRUE
='#'
5494 CREATE_PLUGIN_FALSE
=
5498 # Check whether --enable-gmp was given.
5499 if test "${enable_gmp+set}" = set; then :
5500 enableval
=$enable_gmp; case "${enableval}" in
5501 yes|true
) COMPILE_GMP
=yes ;;
5502 no|false
) COMPILE_GMP
=no
;;
5503 *) COMPILE_GMP
=yes ;;
5510 # Check whether --enable-gjdoc was given.
5511 if test "${enable_gjdoc+set}" = set; then :
5512 enableval
=$enable_gjdoc; case "${enableval}" in
5513 yes) COMPILE_GJDOC
=yes ;;
5514 no
) COMPILE_GJDOC
=no
;;
5515 *) COMPILE_GJDOC
=yes ;;
5521 if test "x${COMPILE_GJDOC}" = xyes
; then
5523 CREATE_GJDOC_FALSE
='#'
5525 CREATE_GJDOC_TRUE
='#'
5530 case ${host_alias} in
5531 "") host_noncanonical
=${build_noncanonical} ;;
5532 *) host_noncanonical
=${host_alias} ;;
5534 case ${target_alias} in
5535 "") target_noncanonical
=${host_noncanonical} ;;
5536 *) target_noncanonical
=${target_alias} ;;
5540 # Check whether --enable-version-specific-runtime-libs was given.
5541 if test "${enable_version_specific_runtime_libs+set}" = set; then :
5542 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
5543 yes) version_specific_libs
=yes ;;
5544 no
) version_specific_libs
=no
;;
5545 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
5548 version_specific_libs
=no
5553 case ${version_specific_libs} in
5555 # Need the gcc compiler version to know where to install libraries
5556 # and header files if --enable-version-specific-runtime-libs option
5558 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
5559 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
5560 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5561 toolexeclibdir
=$toolexecmainlibdir
5564 if test -n "$with_cross_host" &&
5565 test x
"$with_cross_host" != x
"no"; then
5566 # Install a library built with a cross compiler in tooldir, not libdir.
5567 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
5568 toolexecmainlibdir
='$(toolexecdir)/lib'
5570 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
5571 toolexecmainlibdir
='$(libdir)'
5573 multi_os_directory
=`$CC -print-multi-os-directory`
5574 case $multi_os_directory in
5575 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
5576 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
5586 # Check whether --with-native-libdir was given.
5587 if test "${with_native_libdir+set}" = set; then :
5588 withval
=$with_native_libdir;
5589 nativeexeclibdir
=${withval}
5593 nativeexeclibdir
='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`-`awk -F: '/^[^#].*:/ { print $1 }' ${srcdir}/..
/libtool-version
`
5601 # Check whether --with-glibj-dir was given.
5602 if test "${with_glibj_dir+set}" = set; then :
5603 withval=$with_glibj_dir;
5608 glibjdir='${datadir}/${PACKAGE}'
5616 # Check whether --with-antlr-jar was given.
5617 if test "${with_antlr_jar+set}" = set; then :
5618 withval=$with_antlr_jar;
5623 ANTLR_JAR="$ANTLR_JAR"
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate the headers" >&5
5629 $as_echo_n "checking whether to regenerate the headers... " >&6; }
5630 # Check whether --enable-regen-headers was given.
5631 if test "${enable_regen_headers+set}" = set; then :
5632 enableval=$enable_regen_headers; case "${enableval}" in
5633 yes) REGENERATE_JNI_HEADERS=yes ;;
5634 no) REGENERATE_JNI_HEADERS=no ;;
5635 *) REGENERATE_JNI_HEADERS=yes ;;
5638 if test -e ${srcdir}/include/java_lang_VMSystem.h; then
5639 REGENERATE_JNI_HEADERS=no ;
5641 REGENERATE_JNI_HEADERS=yes ;
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${REGENERATE_JNI_HEADERS}" >&5
5646 $as_echo "${REGENERATE_JNI_HEADERS}" >&6; }
5647 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
5648 CREATE_JNI_HEADERS_TRUE=
5649 CREATE_JNI_HEADERS_FALSE='#'
5651 CREATE_JNI_HEADERS_TRUE='#'
5652 CREATE_JNI_HEADERS_FALSE=
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate the GJDoc parser" >&5
5657 $as_echo_n "checking whether to regenerate the GJDoc parser... " >&6; }
5658 # Check whether --enable-regen-gjdoc-parser was given.
5659 if test "${enable_regen_gjdoc_parser+set}" = set; then :
5660 enableval=$enable_regen_gjdoc_parser; case "${enableval}" in
5661 yes) REGENERATE_GJDOC_PARSER=yes ;;
5662 no) REGENERATE_GJDOC_PARSER=no ;;
5663 *) REGENERATE_GJDOC_PARSER=yes ;;
5666 if test -e ${srcdir}/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java; then
5667 REGENERATE_GJDOC_PARSER=no ;
5669 REGENERATE_GJDOC_PARSER=yes ;
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${REGENERATE_GJDOC_PARSER}" >&5
5674 $as_echo "${REGENERATE_GJDOC_PARSER}" >&6; }
5675 if test "x${REGENERATE_GJDOC_PARSER}" = xyes; then
5676 CREATE_GJDOC_PARSER_TRUE=
5677 CREATE_GJDOC_PARSER_FALSE='#'
5679 CREATE_GJDOC_PARSER_TRUE='#'
5680 CREATE_GJDOC_PARSER_FALSE=
5684 # Check whether --enable-tool-wrappers was given.
5685 if test "${enable_tool_wrappers+set}" = set; then :
5686 enableval=$enable_tool_wrappers; case x"${enableval}" in
5688 COMPILE_WRAPPERS=yes;
5689 for ac_header in ltdl.h
5691 ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default"
5692 if test "x$ac_cv_header_ltdl_h" = x""yes; then :
5693 cat >>confdefs.h <<_ACEOF
5694 #define HAVE_LTDL_H 1
5698 as_fn_error "cannot find ltdl.h" "$LINENO" 5
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlopen in -lltdl" >&5
5704 $as_echo_n "checking for lt_dlopen in -lltdl... " >&6; }
5705 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then :
5706 $as_echo_n "(cached) " >&6
5708 ac_check_lib_save_LIBS=$LIBS
5710 if test x$gcc_no_link = xyes; then
5711 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5714 /* end confdefs.h. */
5716 /* Override any GCC internal prototype to avoid an error.
5717 Use char because int might match the return type of a GCC
5718 builtin and then its argument prototype would still apply. */
5726 return lt_dlopen ();
5731 if ac_fn_c_try_link "$LINENO"; then :
5732 ac_cv_lib_ltdl_lt_dlopen=yes
5734 ac_cv_lib_ltdl_lt_dlopen=no
5736 rm -f core conftest.err conftest.$ac_objext \
5737 conftest$ac_exeext conftest.$ac_ext
5738 LIBS=$ac_check_lib_save_LIBS
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5741 $as_echo "$ac_cv_lib_ltdl_lt_dlopen" >&6; }
5742 if test "x$ac_cv_lib_ltdl_lt_dlopen" = x""yes; then :
5743 cat >>confdefs.h <<_ACEOF
5744 #define HAVE_LIBLTDL 1
5750 as_fn_error "cannot find libltdl" "$LINENO" 5
5754 xno) COMPILE_WRAPPERS=no ;;
5755 x) COMPILE_WRAPPERS=yes ;;
5756 *) COMPILE_WRAPPERS=yes ;;
5762 if test "x${COMPILE_WRAPPERS}" = xyes; then
5763 CREATE_WRAPPERS_TRUE=
5764 CREATE_WRAPPERS_FALSE='#'
5766 CREATE_WRAPPERS_TRUE='#'
5767 CREATE_WRAPPERS_FALSE=
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5772 $as_echo_n "checking whether ln -s works... " >&6; }
5774 if test "$LN_S" = "ln -s"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5776 $as_echo "yes" >&6; }
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5779 $as_echo "no, using $LN_S" >&6; }
5785 # Check whether --enable-static was given.
5786 if test "${enable_static+set}" = set; then :
5787 enableval=$enable_static; p=${PACKAGE-default}
5789 yes) enable_static=yes ;;
5790 no) enable_static=no ;;
5793 # Look at the argument we got. We use all the common list separators.
5794 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5795 for pkg in $enableval; do
5797 if test "X$pkg" = "X$p"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5819 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5824 macro_version='2.2.7a'
5825 macro_revision='1.3134'
5839 ltmain="$ac_aux_dir/ltmain.sh"
5841 # Backslashify metacharacters that are still active within
5842 # double-quoted strings.
5843 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5845 # Same as above, but do not quote variable references.
5846 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5848 # Sed substitution to delay expansion of an escaped shell variable in a
5849 # double_quote_subst'ed string.
5850 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5852 # Sed substitution to delay expansion of an escaped single quote.
5853 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5855 # Sed substitution to avoid accidental globbing in evaled expressions
5856 no_glob_subst='s/\*/\\\*/g'
5858 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5859 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5860 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5863 $as_echo_n "checking how to print
strings...
" >&6; }
5864 # Test print first, because it will be a builtin if present.
5865 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5866 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5868 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5871 # Use this function as a fallback that always works.
5872 func_fallback_echo ()
5874 eval 'cat <<_LTECHO_EOF
5878 ECHO='func_fallback_echo'
5881 # func_echo_all arg...
5882 # Invoke $ECHO with all args, space-separated.
5889 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5890 $as_echo "printf" >&6; } ;;
5891 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5892 $as_echo "print
-r" >&6; } ;;
5893 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5894 $as_echo "cat" >&6; } ;;
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5911 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5912 if test "${ac_cv_path_SED+set}" = set; then :
5913 $as_echo_n "(cached
) " >&6
5915 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5916 for ac_i in 1 2 3 4 5 6 7; do
5917 ac_script="$ac_script$as_nl$ac_script"
5919 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5920 { ac_script=; unset ac_script;}
5921 if test -z "$SED"; then
5922 ac_path_SED_found=false
5923 # Loop through the user's path and test for each of PROGNAME-LIST
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 test -z "$as_dir" && as_dir=.
5929 for ac_prog in sed gsed; do
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5932 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5933 # Check for GNU ac_path_SED and select it if it is found.
5934 # Check for GNU $ac_path_SED
5935 case `"$ac_path_SED" --version 2>&1` in
5937 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5940 $as_echo_n 0123456789 >"conftest.
in"
5943 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5944 mv "conftest.tmp
" "conftest.
in"
5945 cp "conftest.
in" "conftest.
nl"
5946 $as_echo '' >> "conftest.
nl"
5947 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5948 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5949 as_fn_arith $ac_count + 1 && ac_count=$as_val
5950 if test $ac_count -gt ${ac_path_SED_max-0}; then
5951 # Best one so far, save it but keep looking for a better one
5952 ac_cv_path_SED="$ac_path_SED"
5953 ac_path_SED_max=$ac_count
5955 # 10*(2^10) chars as input seems more than enough
5956 test $ac_count -gt 10 && break
5958 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5961 $ac_path_SED_found && break 3
5966 if test -z "$ac_cv_path_SED"; then
5967 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5975 $as_echo "$ac_cv_path_SED" >&6; }
5976 SED="$ac_cv_path_SED"
5979 test -z "$SED" && SED=sed
5980 Xsed="$SED -e 1s
/^X
//"
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5993 $as_echo_n "checking
for fgrep...
" >&6; }
5994 if test "${ac_cv_path_FGREP+set}" = set; then :
5995 $as_echo_n "(cached
) " >&6
5997 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5998 then ac_cv_path_FGREP="$GREP -F"
6000 if test -z "$FGREP"; then
6001 ac_path_FGREP_found=false
6002 # Loop through the user's path and test for each of PROGNAME-LIST
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6007 test -z "$as_dir" && as_dir=.
6008 for ac_prog in fgrep; do
6009 for ac_exec_ext in '' $ac_executable_extensions; do
6010 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6011 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6012 # Check for GNU ac_path_FGREP and select it if it is found.
6013 # Check for GNU $ac_path_FGREP
6014 case `"$ac_path_FGREP" --version 2>&1` in
6016 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6019 $as_echo_n 0123456789 >"conftest.
in"
6022 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6023 mv "conftest.tmp
" "conftest.
in"
6024 cp "conftest.
in" "conftest.
nl"
6025 $as_echo 'FGREP' >> "conftest.
nl"
6026 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6027 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6028 as_fn_arith $ac_count + 1 && ac_count=$as_val
6029 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6030 # Best one so far, save it but keep looking for a better one
6031 ac_cv_path_FGREP="$ac_path_FGREP"
6032 ac_path_FGREP_max=$ac_count
6034 # 10*(2^10) chars as input seems more than enough
6035 test $ac_count -gt 10 && break
6037 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6040 $ac_path_FGREP_found && break 3
6045 if test -z "$ac_cv_path_FGREP"; then
6046 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6049 ac_cv_path_FGREP=$FGREP
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6055 $as_echo "$ac_cv_path_FGREP" >&6; }
6056 FGREP="$ac_cv_path_FGREP"
6059 test -z "$GREP" && GREP=grep
6079 # Check whether --with-gnu-ld was given.
6080 if test "${with_gnu_ld+set}" = set; then :
6081 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6087 if test "$GCC" = yes; then
6088 # Check if gcc -print-prog-name=ld gives a path.
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6090 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6093 # gcc leaves a trailing carriage return which upsets mingw
6094 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6096 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6099 # Accept absolute paths.
6101 re_direlt='/[^/][^/]*/\.\./'
6102 # Canonicalize the pathname of ld
6103 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6104 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6105 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6107 test -z "$LD" && LD="$ac_prog"
6110 # If it fails, then pretend we aren't using GCC.
6114 # If it is relative, then search for the first ld in PATH.
6118 elif test "$with_gnu_ld" = yes; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6120 $as_echo_n "checking
for GNU ld...
" >&6; }
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6123 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6125 if test "${lt_cv_path_LD+set}" = set; then :
6126 $as_echo_n "(cached
) " >&6
6128 if test -z "$LD"; then
6129 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6130 for ac_dir in $PATH; do
6132 test -z "$ac_dir" && ac_dir=.
6133 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6134 lt_cv_path_LD="$ac_dir/$ac_prog"
6135 # Check to see if the program is GNU ld. I'd rather use --version,
6136 # but apparently some variants of GNU ld only accept -v.
6137 # Break only if it was the GNU/non-GNU ld that we prefer.
6138 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6139 *GNU* | *'with BFD'*)
6140 test "$with_gnu_ld" != no && break
6143 test "$with_gnu_ld" != yes && break
6150 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6155 if test -n "$LD"; then
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6157 $as_echo "$LD" >&6; }
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6160 $as_echo "no
" >&6; }
6162 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6164 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6165 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6166 $as_echo_n "(cached
) " >&6
6168 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6169 case `$LD -v 2>&1 </dev/null` in
6170 *GNU* | *'with BFD'*)
6171 lt_cv_prog_gnu_ld=yes
6174 lt_cv_prog_gnu_ld=no
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6179 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6180 with_gnu_ld=$lt_cv_prog_gnu_ld
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6191 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6192 if test "${lt_cv_path_NM+set}" = set; then :
6193 $as_echo_n "(cached
) " >&6
6195 if test -n "$NM"; then
6196 # Let the user override the test.
6199 lt_nm_to_check="${ac_tool_prefix}nm
"
6200 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6201 lt_nm_to_check="$lt_nm_to_check nm
"
6203 for lt_tmp_nm in $lt_nm_to_check; do
6204 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6205 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6207 test -z "$ac_dir" && ac_dir=.
6208 tmp_nm="$ac_dir/$lt_tmp_nm"
6209 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6210 # Check to see if the nm accepts a BSD-compat flag.
6211 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6212 # nm: unknown option "B
" ignored
6213 # Tru64's nm complains that /dev/null is an invalid object file
6214 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6215 */dev/null* | *'Invalid file or object type'*)
6216 lt_cv_path_NM="$tmp_nm -B"
6220 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6222 lt_cv_path_NM="$tmp_nm -p"
6226 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6227 continue # so that we can try to find one that supports BSD flags
6236 : ${lt_cv_path_NM=no}
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6240 $as_echo "$lt_cv_path_NM" >&6; }
6241 if test "$lt_cv_path_NM" != "no
"; then
6244 # Didn't find any BSD compatible name lister, look for dumpbin.
6245 if test -n "$DUMPBIN"; then :
6246 # Let the user override the test.
6248 if test -n "$ac_tool_prefix"; then
6249 for ac_prog in dumpbin "link
-dump"
6251 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6252 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6254 $as_echo_n "checking
for $ac_word...
" >&6; }
6255 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6256 $as_echo_n "(cached
) " >&6
6258 if test -n "$DUMPBIN"; then
6259 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6265 test -z "$as_dir" && as_dir=.
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6268 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6269 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6278 DUMPBIN=$ac_cv_prog_DUMPBIN
6279 if test -n "$DUMPBIN"; then
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6281 $as_echo "$DUMPBIN" >&6; }
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6284 $as_echo "no
" >&6; }
6288 test -n "$DUMPBIN" && break
6291 if test -z "$DUMPBIN"; then
6292 ac_ct_DUMPBIN=$DUMPBIN
6293 for ac_prog in dumpbin "link
-dump"
6295 # Extract the first word of "$ac_prog", so it can be a program name with args.
6296 set dummy $ac_prog; ac_word=$2
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6298 $as_echo_n "checking
for $ac_word...
" >&6; }
6299 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6300 $as_echo_n "(cached
) " >&6
6302 if test -n "$ac_ct_DUMPBIN"; then
6303 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309 test -z "$as_dir" && as_dir=.
6310 for ac_exec_ext in '' $ac_executable_extensions; do
6311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6312 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6313 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6322 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6323 if test -n "$ac_ct_DUMPBIN"; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6325 $as_echo "$ac_ct_DUMPBIN" >&6; }
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6328 $as_echo "no
" >&6; }
6332 test -n "$ac_ct_DUMPBIN" && break
6335 if test "x
$ac_ct_DUMPBIN" = x; then
6338 case $cross_compiling:$ac_tool_warned in
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6341 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6342 ac_tool_warned=yes ;;
6344 DUMPBIN=$ac_ct_DUMPBIN
6348 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6350 DUMPBIN="$DUMPBIN -symbols"
6358 if test "$DUMPBIN" != ":"; then
6362 test -z "$NM" && NM=nm
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6370 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6371 if test "${lt_cv_nm_interface+set}" = set; then :
6372 $as_echo_n "(cached
) " >&6
6374 lt_cv_nm_interface="BSD nm
"
6375 echo "int some_variable
= 0;" > conftest.$ac_ext
6376 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6377 (eval "$ac_compile" 2>conftest.err)
6378 cat conftest.err >&5
6379 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6380 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6381 cat conftest.err >&5
6382 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6383 cat conftest.out >&5
6384 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6385 lt_cv_nm_interface="MS dumpbin
"
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6390 $as_echo "$lt_cv_nm_interface" >&6; }
6392 # find the maximum length of command line arguments
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6394 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6395 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6396 $as_echo_n "(cached
) " >&6
6403 # On DJGPP, this test can blow up pretty badly due to problems in libc
6404 # (any single argument exceeding 2000 bytes causes a buffer overrun
6405 # during glob expansion). Even if it were fixed, the result of this
6406 # check would be larger than it should be.
6407 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6411 # Under GNU Hurd, this test is not required because there is
6412 # no limit to the length of command line arguments.
6413 # Libtool will interpret -1 as no limit whatsoever
6414 lt_cv_sys_max_cmd_len=-1;
6417 cygwin* | mingw* | cegcc*)
6418 # On Win9x/ME, this test blows up -- it succeeds, but takes
6419 # about 5 minutes as the teststring grows exponentially.
6420 # Worse, since 9x/ME are not pre-emptively multitasking,
6421 # you end up with a "frozen
" computer, even though with patience
6422 # the test eventually succeeds (with a max line length of 256k).
6423 # Instead, let's just punt: use the minimum linelength reported by
6424 # all of the supported platforms: 8192 (on NT/2K/XP).
6425 lt_cv_sys_max_cmd_len=8192;
6429 # On MiNT this can take a long time and run out of memory.
6430 lt_cv_sys_max_cmd_len=8192;
6434 # On AmigaOS with pdksh, this test takes hours, literally.
6435 # So we just punt and use a minimum line length of 8192.
6436 lt_cv_sys_max_cmd_len=8192;
6439 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6440 # This has been around since 386BSD, at least. Likely further.
6441 if test -x /sbin/sysctl; then
6442 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6443 elif test -x /usr/sbin/sysctl; then
6444 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6446 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6448 # And add a safety zone
6449 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6450 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6454 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6455 lt_cv_sys_max_cmd_len=196608
6459 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6460 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6461 # nice to cause kernel panics so lets avoid the loop below.
6462 # First set a reasonable default.
6463 lt_cv_sys_max_cmd_len=16384
6465 if test -x /sbin/sysconfig; then
6466 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6467 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6472 lt_cv_sys_max_cmd_len=102400
6474 sysv5* | sco5v6* | sysv4.2uw2*)
6475 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6476 if test -n "$kargmax"; then
6477 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6479 lt_cv_sys_max_cmd_len=32768
6483 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6484 if test -n "$lt_cv_sys_max_cmd_len"; then
6485 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6486 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6488 # Make teststring a little bigger before we do anything with it.
6489 # a 1K string should be a reasonable start.
6490 for i in 1 2 3 4 5 6 7 8 ; do
6491 teststring=$teststring$teststring
6493 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6494 # If test is not a shell built-in, we'll probably end up computing a
6495 # maximum length that is only half of the actual maximum length, but
6497 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6498 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6499 test $i != 17 # 1/2 MB should be enough
6502 teststring=$teststring$teststring
6504 # Only check the string length outside the loop.
6505 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6507 # Add a significant safety factor because C++ compilers can tack on
6508 # massive amounts of additional arguments before passing them to the
6509 # linker. It appears as though 1/2 is a usable value.
6510 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6517 if test -n $lt_cv_sys_max_cmd_len ; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6519 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6522 $as_echo "none
" >&6; }
6524 max_cmd_len=$lt_cv_sys_max_cmd_len
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6536 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6537 # Try some XSI features
6540 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6542 && eval 'test $(( 1 + 1 )) -eq 2 \
6543 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6546 $as_echo "$xsi_shell" >&6; }
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6550 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6552 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6554 && lt_shell_append
=yes
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6556 $as_echo "$lt_shell_append" >&6; }
6559 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6569 # test EBCDIC or ASCII
6570 case `echo X|tr X '\101'` in
6571 A
) # ASCII based system
6572 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6573 lt_SP2NL
='tr \040 \012'
6574 lt_NL2SP
='tr \015\012 \040\040'
6576 *) # EBCDIC based system
6577 lt_SP2NL
='tr \100 \n'
6578 lt_NL2SP
='tr \r\n \100\100'
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6591 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6592 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6593 $as_echo_n "(cached) " >&6
6595 lt_cv_ld_reload_flag
='-r'
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6598 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6599 reload_flag
=$lt_cv_ld_reload_flag
6600 case $reload_flag in
6602 *) reload_flag
=" $reload_flag" ;;
6604 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6607 if test "$GCC" = yes; then
6608 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6610 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6623 if test -n "$ac_tool_prefix"; then
6624 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6625 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 $as_echo_n "checking for $ac_word... " >&6; }
6628 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6629 $as_echo_n "(cached) " >&6
6631 if test -n "$OBJDUMP"; then
6632 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6638 test -z "$as_dir" && as_dir
=.
6639 for ac_exec_ext
in '' $ac_executable_extensions; do
6640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6641 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6651 OBJDUMP
=$ac_cv_prog_OBJDUMP
6652 if test -n "$OBJDUMP"; then
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6654 $as_echo "$OBJDUMP" >&6; }
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6662 if test -z "$ac_cv_prog_OBJDUMP"; then
6663 ac_ct_OBJDUMP
=$OBJDUMP
6664 # Extract the first word of "objdump", so it can be a program name with args.
6665 set dummy objdump
; ac_word
=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6669 $as_echo_n "(cached) " >&6
6671 if test -n "$ac_ct_OBJDUMP"; then
6672 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6678 test -z "$as_dir" && as_dir
=.
6679 for ac_exec_ext
in '' $ac_executable_extensions; do
6680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6691 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6692 if test -n "$ac_ct_OBJDUMP"; then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6694 $as_echo "$ac_ct_OBJDUMP" >&6; }
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6700 if test "x$ac_ct_OBJDUMP" = x
; then
6703 case $cross_compiling:$ac_tool_warned in
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6707 ac_tool_warned
=yes ;;
6709 OBJDUMP
=$ac_ct_OBJDUMP
6712 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6715 test -z "$OBJDUMP" && OBJDUMP
=objdump
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6726 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6727 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6728 $as_echo_n "(cached) " >&6
6730 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6731 lt_cv_file_magic_test_file
=
6732 lt_cv_deplibs_check_method
='unknown'
6733 # Need to set the preceding variable on all platforms that support
6734 # interlibrary dependencies.
6735 # 'none' -- dependencies not supported.
6736 # `unknown' -- same as none, but documents that we really don't know.
6737 # 'pass_all' -- all dependencies passed with no checks.
6738 # 'test_compile' -- check by making test program.
6739 # 'file_magic [[regex]]' -- check by looking for files in library path
6740 # which responds to the $file_magic_cmd with a given extended regex.
6741 # If you have `file' or equivalent on your system and you're not sure
6742 # whether `pass_all' will *always* work, you probably want this one.
6746 lt_cv_deplibs_check_method
=pass_all
6750 lt_cv_deplibs_check_method
=pass_all
6754 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6755 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6756 lt_cv_file_magic_test_file
=/shlib
/libc.so
6760 # func_win32_libid is a shell function defined in ltmain.sh
6761 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6762 lt_cv_file_magic_cmd
='func_win32_libid'
6766 # Base MSYS/MinGW do not provide the 'file' command needed by
6767 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6768 # unless we find 'file', for example because we are cross-compiling.
6769 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6770 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6771 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6772 lt_cv_file_magic_cmd
='func_win32_libid'
6774 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6775 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6780 # use the weaker test based on 'objdump'. See mingw*.
6781 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6782 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6785 darwin
* | rhapsody
*)
6786 lt_cv_deplibs_check_method
=pass_all
6789 freebsd
* | dragonfly
*)
6790 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6793 # Not sure whether the presence of OpenBSD here was a mistake.
6794 # Let's accept both of them until this is cleared up.
6795 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6796 lt_cv_file_magic_cmd
=/usr
/bin
/file
6797 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6801 lt_cv_deplibs_check_method
=pass_all
6806 lt_cv_deplibs_check_method
=pass_all
6810 lt_cv_deplibs_check_method
=pass_all
6813 hpux10.20
* | hpux11
*)
6814 lt_cv_file_magic_cmd
=/usr
/bin
/file
6817 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6818 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6821 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]'
6822 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6825 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6826 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6832 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6833 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6836 irix5
* | irix6
* | nonstopux
*)
6838 *-32|
*"-32 ") libmagic
=32-bit;;
6839 *-n32|
*"-n32 ") libmagic
=N32
;;
6840 *-64|
*"-64 ") libmagic
=64-bit;;
6841 *) libmagic
=never-match
;;
6843 lt_cv_deplibs_check_method
=pass_all
6846 # This must be Linux ELF.
6847 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6848 lt_cv_deplibs_check_method
=pass_all
6852 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6853 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6855 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6860 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6861 lt_cv_file_magic_cmd
=/usr
/bin
/file
6862 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6866 lt_cv_deplibs_check_method
=pass_all
6870 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6871 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6873 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6877 osf3
* | osf4
* | osf5
*)
6878 lt_cv_deplibs_check_method
=pass_all
6882 lt_cv_deplibs_check_method
=pass_all
6886 lt_cv_deplibs_check_method
=pass_all
6889 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6890 lt_cv_deplibs_check_method
=pass_all
6894 case $host_vendor in
6896 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]'
6897 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6900 lt_cv_deplibs_check_method
=pass_all
6903 lt_cv_file_magic_cmd
='/bin/file'
6904 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6907 lt_cv_file_magic_cmd
='/bin/file'
6908 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6909 lt_cv_file_magic_test_file
=/lib
/libc.so
6912 lt_cv_deplibs_check_method
=pass_all
6915 lt_cv_deplibs_check_method
=pass_all
6921 lt_cv_deplibs_check_method
=pass_all
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6927 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6928 file_magic_cmd
=$lt_cv_file_magic_cmd
6929 deplibs_check_method
=$lt_cv_deplibs_check_method
6930 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6943 if test -n "$ac_tool_prefix"; then
6944 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6945 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if test "${ac_cv_prog_AR+set}" = set; then :
6949 $as_echo_n "(cached) " >&6
6951 if test -n "$AR"; then
6952 ac_cv_prog_AR
="$AR" # Let the user override the test.
6954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6958 test -z "$as_dir" && as_dir
=.
6959 for ac_exec_ext
in '' $ac_executable_extensions; do
6960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6961 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6972 if test -n "$AR"; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6974 $as_echo "$AR" >&6; }
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6982 if test -z "$ac_cv_prog_AR"; then
6984 # Extract the first word of "ar", so it can be a program name with args.
6985 set dummy
ar; ac_word
=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6989 $as_echo_n "(cached) " >&6
6991 if test -n "$ac_ct_AR"; then
6992 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir
=.
6999 for ac_exec_ext
in '' $ac_executable_extensions; do
7000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7001 ac_cv_prog_ac_ct_AR
="ar"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7012 if test -n "$ac_ct_AR"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7014 $as_echo "$ac_ct_AR" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7020 if test "x$ac_ct_AR" = x
; then
7023 case $cross_compiling:$ac_tool_warned in
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7027 ac_tool_warned
=yes ;;
7035 test -z "$AR" && AR
=ar
7036 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7048 if test -n "$ac_tool_prefix"; then
7049 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7050 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7052 $as_echo_n "checking for $ac_word... " >&6; }
7053 if test "${ac_cv_prog_STRIP+set}" = set; then :
7054 $as_echo_n "(cached) " >&6
7056 if test -n "$STRIP"; then
7057 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7063 test -z "$as_dir" && as_dir
=.
7064 for ac_exec_ext
in '' $ac_executable_extensions; do
7065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7066 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7076 STRIP
=$ac_cv_prog_STRIP
7077 if test -n "$STRIP"; then
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7079 $as_echo "$STRIP" >&6; }
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082 $as_echo "no" >&6; }
7087 if test -z "$ac_cv_prog_STRIP"; then
7089 # Extract the first word of "strip", so it can be a program name with args.
7090 set dummy strip
; ac_word
=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 $as_echo_n "checking for $ac_word... " >&6; }
7093 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7094 $as_echo_n "(cached) " >&6
7096 if test -n "$ac_ct_STRIP"; then
7097 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7103 test -z "$as_dir" && as_dir
=.
7104 for ac_exec_ext
in '' $ac_executable_extensions; do
7105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7106 ac_cv_prog_ac_ct_STRIP
="strip"
7107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7116 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7117 if test -n "$ac_ct_STRIP"; then
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7119 $as_echo "$ac_ct_STRIP" >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122 $as_echo "no" >&6; }
7125 if test "x$ac_ct_STRIP" = x
; then
7128 case $cross_compiling:$ac_tool_warned in
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7132 ac_tool_warned
=yes ;;
7137 STRIP
="$ac_cv_prog_STRIP"
7140 test -z "$STRIP" && STRIP
=:
7147 if test -n "$ac_tool_prefix"; then
7148 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7149 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7151 $as_echo_n "checking for $ac_word... " >&6; }
7152 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7153 $as_echo_n "(cached) " >&6
7155 if test -n "$RANLIB"; then
7156 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7162 test -z "$as_dir" && as_dir
=.
7163 for ac_exec_ext
in '' $ac_executable_extensions; do
7164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7165 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7175 RANLIB
=$ac_cv_prog_RANLIB
7176 if test -n "$RANLIB"; then
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7178 $as_echo "$RANLIB" >&6; }
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181 $as_echo "no" >&6; }
7186 if test -z "$ac_cv_prog_RANLIB"; then
7187 ac_ct_RANLIB
=$RANLIB
7188 # Extract the first word of "ranlib", so it can be a program name with args.
7189 set dummy ranlib
; ac_word
=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7193 $as_echo_n "(cached) " >&6
7195 if test -n "$ac_ct_RANLIB"; then
7196 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7202 test -z "$as_dir" && as_dir
=.
7203 for ac_exec_ext
in '' $ac_executable_extensions; do
7204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7216 if test -n "$ac_ct_RANLIB"; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7218 $as_echo "$ac_ct_RANLIB" >&6; }
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 $as_echo "no" >&6; }
7224 if test "x$ac_ct_RANLIB" = x
; then
7227 case $cross_compiling:$ac_tool_warned in
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7231 ac_tool_warned
=yes ;;
7233 RANLIB
=$ac_ct_RANLIB
7236 RANLIB
="$ac_cv_prog_RANLIB"
7239 test -z "$RANLIB" && RANLIB
=:
7246 # Determine commands to create old-style static archives.
7247 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7248 old_postinstall_cmds
='chmod 644 $oldlib'
7249 old_postuninstall_cmds
=
7251 if test -n "$RANLIB"; then
7254 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7257 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7260 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7265 lock_old_archive_extraction
=yes ;;
7267 lock_old_archive_extraction
=no
;;
7308 # If no C compiler was specified, use CC.
7311 # If no C compiler flags were specified, use CFLAGS.
7312 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7314 # Allow CC to be a program name with arguments.
7318 # Check for command to grab the raw symbol name followed by C symbol from nm.
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7320 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7321 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7322 $as_echo_n "(cached) " >&6
7325 # These are sane defaults that work on at least a few old systems.
7326 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7328 # Character class describing NM global symbol codes.
7329 symcode
='[BCDEGRST]'
7331 # Regexp to match symbols that can be accessed directly from C.
7332 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7334 # Define system-specific variables.
7339 cygwin
* | mingw
* | pw32
* | cegcc
*)
7340 symcode
='[ABCDGISTW]'
7343 if test "$host_cpu" = ia64
; then
7344 symcode
='[ABCDEGRST]'
7348 symcode
='[BCDEGRST]'
7351 symcode
='[BCDEGQRST]'
7362 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7370 # If we're using GNU nm, then use its standard symbol codes.
7371 case `$NM -V 2>&1` in
7372 *GNU
* |
*'with BFD'*)
7373 symcode
='[ABCDGIRSTW]' ;;
7376 # Transform an extracted symbol line into a proper C declaration.
7377 # Some systems (esp. on ia64) link data and code symbols differently,
7378 # so use this general approach.
7379 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7381 # Transform an extracted symbol line into symbol name and symbol address
7382 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7383 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'"
7385 # Handle CRLF in mingw tool chain
7389 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7393 # Try without a prefix underscore, then with it.
7394 for ac_symprfx
in "" "_"; do
7396 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7397 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7399 # Write the raw and C identifiers.
7400 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7401 # Fake it for dumpbin and say T for any non-static function
7402 # and D for any global variable.
7403 # Also find C++ and __fastcall symbols from MSVC++,
7404 # which start with @ or ?.
7405 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7406 " {last_section=section; section=\$ 3};"\
7407 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7408 " \$ 0!~/External *\|/{next};"\
7409 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7410 " {if(hide[section]) next};"\
7411 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7412 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7413 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7414 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7415 " ' prfx=^$ac_symprfx"
7417 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7420 # Check to see that the pipe works correctly.
7424 cat > conftest.
$ac_ext <<_LT_EOF
7429 void nm_test_func(void);
7430 void nm_test_func(void){}
7434 int main(){nm_test_var='a';nm_test_func();return(0);}
7437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7438 (eval $ac_compile) 2>&5
7440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7441 test $ac_status = 0; }; then
7442 # Now try to grab the symbols.
7444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7445 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7448 test $ac_status = 0; } && test -s "$nlist"; then
7449 # Try sorting and uniquifying the output.
7450 if sort "$nlist" |
uniq > "$nlist"T
; then
7451 mv -f "$nlist"T
"$nlist"
7456 # Make sure that we snagged all the symbols we need.
7457 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7458 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7459 cat <<_LT_EOF > conftest.$ac_ext
7465 # Now generate the symbol file.
7466 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7468 cat <<_LT_EOF >> conftest.$ac_ext
7470 /* The mapping between symbol names and symbols. */
7475 lt__PROGRAM__LTX_preloaded_symbols[] =
7477 { "@PROGRAM@", (void *) 0 },
7479 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7480 cat <<\_LT_EOF
>> conftest.
$ac_ext
7484 /* This works around a problem
in FreeBSD linker
*/
7485 #ifdef FREEBSD_WORKAROUND
7486 static const void
*lt_preloaded_setup
() {
7487 return lt__PROGRAM__LTX_preloaded_symbols
;
7495 # Now try linking the two files.
7496 mv conftest.
$ac_objext conftstm.
$ac_objext
7497 lt_save_LIBS
="$LIBS"
7498 lt_save_CFLAGS
="$CFLAGS"
7499 LIBS
="conftstm.$ac_objext"
7500 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7502 (eval $ac_link) 2>&5
7504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7505 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7508 LIBS
="$lt_save_LIBS"
7509 CFLAGS
="$lt_save_CFLAGS"
7511 echo "cannot find nm_test_func in $nlist" >&5
7514 echo "cannot find nm_test_var in $nlist" >&5
7517 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7520 echo "$progname: failed program was:" >&5
7521 cat conftest.
$ac_ext >&5
7523 rm -rf conftest
* conftst
*
7525 # Do not use the global_symbol_pipe unless it works.
7526 if test "$pipe_works" = yes; then
7529 lt_cv_sys_global_symbol_pipe
=
7535 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7536 lt_cv_sys_global_symbol_to_cdecl
=
7538 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7540 $as_echo "failed" >&6; }
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7543 $as_echo "ok" >&6; }
7567 # Check whether --enable-libtool-lock was given.
7568 if test "${enable_libtool_lock+set}" = set; then :
7569 enableval
=$enable_libtool_lock;
7572 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7574 # Some flags need to be propagated to the compiler or linker for good
7578 # Find out which ABI we are using.
7579 echo 'int i;' > conftest.
$ac_ext
7580 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7581 (eval $ac_compile) 2>&5
7583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7584 test $ac_status = 0; }; then
7585 case `/usr/bin/file conftest.$ac_objext` in
7597 # Find out which ABI we are using.
7598 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7600 (eval $ac_compile) 2>&5
7602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7603 test $ac_status = 0; }; then
7604 if test "$lt_cv_prog_gnu_ld" = yes; then
7605 case `/usr/bin/file conftest.$ac_objext` in
7607 LD
="${LD-ld} -melf32bsmip"
7610 LD
="${LD-ld} -melf32bmipn32"
7613 LD
="${LD-ld} -melf64bmip"
7617 case `/usr/bin/file conftest.$ac_objext` in
7633 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7634 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7635 # Find out which ABI we are using.
7636 echo 'int i;' > conftest.
$ac_ext
7637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7638 (eval $ac_compile) 2>&5
7640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7641 test $ac_status = 0; }; then
7642 case `/usr/bin/file conftest.o` in
7645 x86_64-
*kfreebsd
*-gnu)
7646 LD
="${LD-ld} -m elf_i386_fbsd"
7649 case `/usr/bin/file conftest.o` in
7651 LD
="${LD-ld} -m elf32_x86_64"
7654 LD
="${LD-ld} -m elf_i386"
7658 powerpc64le-
*linux
*)
7659 LD
="${LD-ld} -m elf32lppclinux"
7662 LD
="${LD-ld} -m elf32ppclinux"
7665 LD
="${LD-ld} -m elf_s390"
7668 LD
="${LD-ld} -m elf32_sparc"
7674 x86_64-
*kfreebsd
*-gnu)
7675 LD
="${LD-ld} -m elf_x86_64_fbsd"
7678 LD
="${LD-ld} -m elf_x86_64"
7681 LD
="${LD-ld} -m elf64lppc"
7684 LD
="${LD-ld} -m elf64ppc"
7686 s390
*-*linux
*|s390
*-*tpf
*)
7687 LD
="${LD-ld} -m elf64_s390"
7690 LD
="${LD-ld} -m elf64_sparc"
7700 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7701 SAVE_CFLAGS
="$CFLAGS"
7702 CFLAGS
="$CFLAGS -belf"
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7704 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7705 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7706 $as_echo_n "(cached) " >&6
7709 ac_cpp
='$CPP $CPPFLAGS'
7710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7714 if test x
$gcc_no_link = xyes
; then
7715 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7728 if ac_fn_c_try_link
"$LINENO"; then :
7729 lt_cv_cc_needs_belf
=yes
7731 lt_cv_cc_needs_belf
=no
7733 rm -f core conftest.err conftest.
$ac_objext \
7734 conftest
$ac_exeext conftest.
$ac_ext
7736 ac_cpp
='$CPP $CPPFLAGS'
7737 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7738 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7739 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7743 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7744 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7745 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7746 CFLAGS
="$SAVE_CFLAGS"
7750 # Find out which ABI we are using.
7751 echo 'int i;' > conftest.
$ac_ext
7752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7753 (eval $ac_compile) 2>&5
7755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7756 test $ac_status = 0; }; then
7757 case `/usr/bin/file conftest.o` in
7759 case $lt_cv_prog_gnu_ld in
7760 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7762 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7774 need_locks
="$enable_libtool_lock"
7778 rhapsody
* | darwin
*)
7779 if test -n "$ac_tool_prefix"; then
7780 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7781 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7783 $as_echo_n "checking for $ac_word... " >&6; }
7784 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7785 $as_echo_n "(cached) " >&6
7787 if test -n "$DSYMUTIL"; then
7788 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7794 test -z "$as_dir" && as_dir
=.
7795 for ac_exec_ext
in '' $ac_executable_extensions; do
7796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7797 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7807 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7808 if test -n "$DSYMUTIL"; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7810 $as_echo "$DSYMUTIL" >&6; }
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7813 $as_echo "no" >&6; }
7818 if test -z "$ac_cv_prog_DSYMUTIL"; then
7819 ac_ct_DSYMUTIL
=$DSYMUTIL
7820 # Extract the first word of "dsymutil", so it can be a program name with args.
7821 set dummy dsymutil
; ac_word
=$2
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7823 $as_echo_n "checking for $ac_word... " >&6; }
7824 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7825 $as_echo_n "(cached) " >&6
7827 if test -n "$ac_ct_DSYMUTIL"; then
7828 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir
=.
7835 for ac_exec_ext
in '' $ac_executable_extensions; do
7836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7837 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7847 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7848 if test -n "$ac_ct_DSYMUTIL"; then
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7850 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7853 $as_echo "no" >&6; }
7856 if test "x$ac_ct_DSYMUTIL" = x
; then
7859 case $cross_compiling:$ac_tool_warned in
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7863 ac_tool_warned
=yes ;;
7865 DSYMUTIL
=$ac_ct_DSYMUTIL
7868 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7871 if test -n "$ac_tool_prefix"; then
7872 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7873 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7875 $as_echo_n "checking for $ac_word... " >&6; }
7876 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7877 $as_echo_n "(cached) " >&6
7879 if test -n "$NMEDIT"; then
7880 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7886 test -z "$as_dir" && as_dir
=.
7887 for ac_exec_ext
in '' $ac_executable_extensions; do
7888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7889 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7899 NMEDIT
=$ac_cv_prog_NMEDIT
7900 if test -n "$NMEDIT"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7902 $as_echo "$NMEDIT" >&6; }
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905 $as_echo "no" >&6; }
7910 if test -z "$ac_cv_prog_NMEDIT"; then
7911 ac_ct_NMEDIT
=$NMEDIT
7912 # Extract the first word of "nmedit", so it can be a program name with args.
7913 set dummy nmedit
; ac_word
=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7917 $as_echo_n "(cached) " >&6
7919 if test -n "$ac_ct_NMEDIT"; then
7920 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7926 test -z "$as_dir" && as_dir
=.
7927 for ac_exec_ext
in '' $ac_executable_extensions; do
7928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7929 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7939 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7940 if test -n "$ac_ct_NMEDIT"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7942 $as_echo "$ac_ct_NMEDIT" >&6; }
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7948 if test "x$ac_ct_NMEDIT" = x
; then
7951 case $cross_compiling:$ac_tool_warned in
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7955 ac_tool_warned
=yes ;;
7957 NMEDIT
=$ac_ct_NMEDIT
7960 NMEDIT
="$ac_cv_prog_NMEDIT"
7963 if test -n "$ac_tool_prefix"; then
7964 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7965 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7967 $as_echo_n "checking for $ac_word... " >&6; }
7968 if test "${ac_cv_prog_LIPO+set}" = set; then :
7969 $as_echo_n "(cached) " >&6
7971 if test -n "$LIPO"; then
7972 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7978 test -z "$as_dir" && as_dir
=.
7979 for ac_exec_ext
in '' $ac_executable_extensions; do
7980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7981 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991 LIPO
=$ac_cv_prog_LIPO
7992 if test -n "$LIPO"; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7994 $as_echo "$LIPO" >&6; }
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7997 $as_echo "no" >&6; }
8002 if test -z "$ac_cv_prog_LIPO"; then
8004 # Extract the first word of "lipo", so it can be a program name with args.
8005 set dummy lipo
; ac_word
=$2
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8007 $as_echo_n "checking for $ac_word... " >&6; }
8008 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8009 $as_echo_n "(cached) " >&6
8011 if test -n "$ac_ct_LIPO"; then
8012 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8018 test -z "$as_dir" && as_dir
=.
8019 for ac_exec_ext
in '' $ac_executable_extensions; do
8020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8021 ac_cv_prog_ac_ct_LIPO
="lipo"
8022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8032 if test -n "$ac_ct_LIPO"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8034 $as_echo "$ac_ct_LIPO" >&6; }
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8037 $as_echo "no" >&6; }
8040 if test "x$ac_ct_LIPO" = x
; then
8043 case $cross_compiling:$ac_tool_warned in
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8047 ac_tool_warned
=yes ;;
8052 LIPO
="$ac_cv_prog_LIPO"
8055 if test -n "$ac_tool_prefix"; then
8056 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8057 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8059 $as_echo_n "checking for $ac_word... " >&6; }
8060 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8061 $as_echo_n "(cached) " >&6
8063 if test -n "$OTOOL"; then
8064 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8070 test -z "$as_dir" && as_dir
=.
8071 for ac_exec_ext
in '' $ac_executable_extensions; do
8072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8073 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8083 OTOOL
=$ac_cv_prog_OTOOL
8084 if test -n "$OTOOL"; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8086 $as_echo "$OTOOL" >&6; }
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8089 $as_echo "no" >&6; }
8094 if test -z "$ac_cv_prog_OTOOL"; then
8096 # Extract the first word of "otool", so it can be a program name with args.
8097 set dummy otool
; ac_word
=$2
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8099 $as_echo_n "checking for $ac_word... " >&6; }
8100 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8101 $as_echo_n "(cached) " >&6
8103 if test -n "$ac_ct_OTOOL"; then
8104 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8110 test -z "$as_dir" && as_dir
=.
8111 for ac_exec_ext
in '' $ac_executable_extensions; do
8112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8113 ac_cv_prog_ac_ct_OTOOL
="otool"
8114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8123 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8124 if test -n "$ac_ct_OTOOL"; then
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8126 $as_echo "$ac_ct_OTOOL" >&6; }
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8129 $as_echo "no" >&6; }
8132 if test "x$ac_ct_OTOOL" = x
; then
8135 case $cross_compiling:$ac_tool_warned in
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8139 ac_tool_warned
=yes ;;
8144 OTOOL
="$ac_cv_prog_OTOOL"
8147 if test -n "$ac_tool_prefix"; then
8148 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8149 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8151 $as_echo_n "checking for $ac_word... " >&6; }
8152 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8153 $as_echo_n "(cached) " >&6
8155 if test -n "$OTOOL64"; then
8156 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8162 test -z "$as_dir" && as_dir
=.
8163 for ac_exec_ext
in '' $ac_executable_extensions; do
8164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8165 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8175 OTOOL64
=$ac_cv_prog_OTOOL64
8176 if test -n "$OTOOL64"; then
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8178 $as_echo "$OTOOL64" >&6; }
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8181 $as_echo "no" >&6; }
8186 if test -z "$ac_cv_prog_OTOOL64"; then
8187 ac_ct_OTOOL64
=$OTOOL64
8188 # Extract the first word of "otool64", so it can be a program name with args.
8189 set dummy otool64
; ac_word
=$2
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8191 $as_echo_n "checking for $ac_word... " >&6; }
8192 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8193 $as_echo_n "(cached) " >&6
8195 if test -n "$ac_ct_OTOOL64"; then
8196 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8202 test -z "$as_dir" && as_dir
=.
8203 for ac_exec_ext
in '' $ac_executable_extensions; do
8204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8205 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8215 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8216 if test -n "$ac_ct_OTOOL64"; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8218 $as_echo "$ac_ct_OTOOL64" >&6; }
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8221 $as_echo "no" >&6; }
8224 if test "x$ac_ct_OTOOL64" = x
; then
8227 case $cross_compiling:$ac_tool_warned in
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8231 ac_tool_warned
=yes ;;
8233 OTOOL64
=$ac_ct_OTOOL64
8236 OTOOL64
="$ac_cv_prog_OTOOL64"
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8266 $as_echo_n "checking for -single_module linker flag... " >&6; }
8267 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8270 lt_cv_apple_cc_single_mod
=no
8271 if test -z "${LT_MULTI_MODULE}"; then
8272 # By default we will add the -single_module flag. You can override
8273 # by either setting the environment variable LT_MULTI_MODULE
8274 # non-empty at configure time, or by adding -multi_module to the
8276 rm -rf libconftest.dylib
*
8277 echo "int foo(void){return 1;}" > conftest.c
8278 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8279 -dynamiclib -Wl,-single_module conftest.c" >&5
8280 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8281 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8283 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8284 lt_cv_apple_cc_single_mod
=yes
8286 cat conftest.err
>&5
8288 rm -rf libconftest.dylib
*
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8293 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8295 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8296 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8297 $as_echo_n "(cached) " >&6
8299 lt_cv_ld_exported_symbols_list
=no
8300 save_LDFLAGS
=$LDFLAGS
8301 echo "_main" > conftest.sym
8302 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8303 if test x
$gcc_no_link = xyes
; then
8304 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8307 /* end confdefs.h. */
8317 if ac_fn_c_try_link
"$LINENO"; then :
8318 lt_cv_ld_exported_symbols_list
=yes
8320 lt_cv_ld_exported_symbols_list
=no
8322 rm -f core conftest.err conftest.
$ac_objext \
8323 conftest
$ac_exeext conftest.
$ac_ext
8324 LDFLAGS
="$save_LDFLAGS"
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8328 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8330 $as_echo_n "checking for -force_load linker flag... " >&6; }
8331 if test "${lt_cv_ld_force_load+set}" = set; then :
8332 $as_echo_n "(cached) " >&6
8334 lt_cv_ld_force_load
=no
8335 cat > conftest.c
<< _LT_EOF
8336 int forced_loaded() { return 2;}
8338 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8339 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8340 echo "$AR cru libconftest.a conftest.o" >&5
8341 $AR cru libconftest.a conftest.o
2>&5
8342 cat > conftest.c
<< _LT_EOF
8343 int main() { return 0;}
8345 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8346 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8348 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8349 lt_cv_ld_force_load
=yes
8351 cat conftest.err
>&5
8353 rm -f conftest.err libconftest.a conftest conftest.c
8354 rm -rf conftest.dSYM
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8358 $as_echo "$lt_cv_ld_force_load" >&6; }
8360 rhapsody
* | darwin1.
[012])
8361 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8363 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8364 darwin
*) # darwin 5.x on
8365 # if running on 10.5 or later, the deployment target defaults
8366 # to the OS version, if on x86, and 10.4, the deployment
8367 # target defaults to 10.4. Don't you love it?
8368 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8369 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8370 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8372 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8374 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8378 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8379 _lt_dar_single_mod
='$single_module'
8381 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8382 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8384 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8386 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8387 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8394 for ac_header
in dlfcn.h
8396 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8398 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8399 cat >>confdefs.h
<<_ACEOF
8400 #define HAVE_DLFCN_H 1
8421 # Check whether --enable-shared was given.
8422 if test "${enable_shared+set}" = set; then :
8423 enableval
=$enable_shared; p
=${PACKAGE-default}
8425 yes) enable_shared
=yes ;;
8426 no
) enable_shared
=no
;;
8429 # Look at the argument we got. We use all the common list separators.
8430 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8431 for pkg
in $enableval; do
8433 if test "X$pkg" = "X$p"; then
8454 # Check whether --with-pic was given.
8455 if test "${with_pic+set}" = set; then :
8456 withval
=$with_pic; pic_mode
="$withval"
8462 test -z "$pic_mode" && pic_mode
=default
8470 # Check whether --enable-fast-install was given.
8471 if test "${enable_fast_install+set}" = set; then :
8472 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8474 yes) enable_fast_install
=yes ;;
8475 no
) enable_fast_install
=no
;;
8477 enable_fast_install
=no
8478 # Look at the argument we got. We use all the common list separators.
8479 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8480 for pkg
in $enableval; do
8482 if test "X$pkg" = "X$p"; then
8483 enable_fast_install
=yes
8490 enable_fast_install
=yes
8503 # This can be used to rebuild libtool when needed
8504 LIBTOOL_DEPS
="$ltmain"
8506 # Always use our own libtool.
8507 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8534 test -z "$LN_S" && LN_S
="ln -s"
8549 if test -n "${ZSH_VERSION+set}" ; then
8550 setopt NO_GLOB_SUBST
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8554 $as_echo_n "checking for objdir... " >&6; }
8555 if test "${lt_cv_objdir+set}" = set; then :
8556 $as_echo_n "(cached) " >&6
8558 rm -f .libs
2>/dev
/null
8559 mkdir .libs
2>/dev
/null
8560 if test -d .libs
; then
8563 # MS-DOS does not allow filenames that begin with a dot.
8566 rmdir .libs
2>/dev
/null
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8569 $as_echo "$lt_cv_objdir" >&6; }
8570 objdir
=$lt_cv_objdir
8576 cat >>confdefs.h
<<_ACEOF
8577 #define LT_OBJDIR "$lt_cv_objdir/"
8585 # AIX sometimes has problems with the GCC collect2 program. For some
8586 # reason, if we set the COLLECT_NAMES environment variable, the problems
8587 # vanish in a puff of smoke.
8588 if test "X${COLLECT_NAMES+set}" != Xset
; then
8590 export COLLECT_NAMES
8597 can_build_shared
=yes
8599 # All known linkers require a `.a' archive for static linking (except MSVC,
8600 # which needs '.lib').
8603 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8606 old_CFLAGS
="$CFLAGS"
8608 # Set sane defaults for various variables
8609 test -z "$CC" && CC
=cc
8610 test -z "$LTCC" && LTCC
=$CC
8611 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8612 test -z "$LD" && LD
=ld
8613 test -z "$ac_objext" && ac_objext
=o
8615 for cc_temp
in $compiler""; do
8617 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8618 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8623 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8626 # Only perform the check for file, if the check method requires it
8627 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8628 case $deplibs_check_method in
8630 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8632 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8633 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8634 $as_echo_n "(cached) " >&6
8638 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8641 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8642 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8643 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8644 for ac_dir
in $ac_dummy; do
8646 test -z "$ac_dir" && ac_dir
=.
8647 if test -f $ac_dir/${ac_tool_prefix}file; then
8648 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8649 if test -n "$file_magic_test_file"; then
8650 case $deplibs_check_method in
8652 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8653 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8654 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8655 $EGREP "$file_magic_regex" > /dev
/null
; then
8660 *** Warning: the command libtool uses to detect shared libraries,
8661 *** $file_magic_cmd, produces output that libtool cannot recognize.
8662 *** The result is that libtool may fail to recognize shared libraries
8663 *** as such. This will affect the creation of libtool libraries that
8664 *** depend on shared libraries, but programs linked with such libtool
8665 *** libraries will work regardless of this problem. Nevertheless, you
8666 *** may want to report the problem to your system manager and/or to
8667 *** bug-libtool@gnu.org
8677 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8682 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8683 if test -n "$MAGIC_CMD"; then
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8685 $as_echo "$MAGIC_CMD" >&6; }
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8688 $as_echo "no" >&6; }
8695 if test -z "$lt_cv_path_MAGIC_CMD"; then
8696 if test -n "$ac_tool_prefix"; then
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8698 $as_echo_n "checking for file... " >&6; }
8699 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8700 $as_echo_n "(cached) " >&6
8704 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8707 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8708 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8709 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8710 for ac_dir
in $ac_dummy; do
8712 test -z "$ac_dir" && ac_dir
=.
8713 if test -f $ac_dir/file; then
8714 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8715 if test -n "$file_magic_test_file"; then
8716 case $deplibs_check_method in
8718 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8719 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8720 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8721 $EGREP "$file_magic_regex" > /dev
/null
; then
8726 *** Warning: the command libtool uses to detect shared libraries,
8727 *** $file_magic_cmd, produces output that libtool cannot recognize.
8728 *** The result is that libtool may fail to recognize shared libraries
8729 *** as such. This will affect the creation of libtool libraries that
8730 *** depend on shared libraries, but programs linked with such libtool
8731 *** libraries will work regardless of this problem. Nevertheless, you
8732 *** may want to report the problem to your system manager and/or to
8733 *** bug-libtool@gnu.org
8743 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8748 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8749 if test -n "$MAGIC_CMD"; then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8751 $as_echo "$MAGIC_CMD" >&6; }
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8754 $as_echo "no" >&6; }
8767 # Use C for the default configuration in the libtool script
8771 ac_cpp
='$CPP $CPPFLAGS'
8772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8777 # Source file extension for C test sources.
8780 # Object file extension for compiled C test sources.
8784 # Code to be used in simple compile tests
8785 lt_simple_compile_test_code
="int some_variable = 0;"
8787 # Code to be used in simple link tests
8788 lt_simple_link_test_code
='int main(){return(0);}'
8796 # If no C compiler was specified, use CC.
8799 # If no C compiler flags were specified, use CFLAGS.
8800 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8802 # Allow CC to be a program name with arguments.
8805 # Save the default compiler, since it gets overwritten when the other
8806 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8807 compiler_DEFAULT
=$CC
8809 # save warnings/boilerplate of simple test code
8810 ac_outfile
=conftest.
$ac_objext
8811 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8812 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8813 _lt_compiler_boilerplate
=`cat conftest.err`
8816 ac_outfile
=conftest.
$ac_objext
8817 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8818 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8819 _lt_linker_boilerplate
=`cat conftest.err`
8824 ## There is no encapsulation within the following macros, do not change
8825 ## the running order or otherwise move them around unless you know exactly
8826 ## what you are doing...
8827 if test -n "$compiler"; then
8829 lt_prog_compiler_no_builtin_flag
=
8831 if test "$GCC" = yes; then
8832 case $cc_basename in
8834 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8836 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8840 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8841 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8842 $as_echo_n "(cached) " >&6
8844 lt_cv_prog_compiler_rtti_exceptions
=no
8845 ac_outfile
=conftest.
$ac_objext
8846 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8847 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8848 # Insert the option either (1) after the last *FLAGS variable, or
8849 # (2) before a word containing "conftest.", or (3) at the end.
8850 # Note that $ac_compile itself does not contain backslashes and begins
8851 # with a dollar sign (not a hyphen), so the echo should work correctly.
8852 # The option is referenced via a variable to avoid confusing sed.
8853 lt_compile
=`echo "$ac_compile" | $SED \
8854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8856 -e 's:$: $lt_compiler_flag:'`
8857 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8858 (eval "$lt_compile" 2>conftest.err
)
8860 cat conftest.err
>&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 if (exit $ac_status) && test -s "$ac_outfile"; then
8863 # The compiler can only warn and ignore the option if not recognized
8864 # So say no if there are warnings other than the usual output.
8865 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8866 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8867 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8868 lt_cv_prog_compiler_rtti_exceptions
=yes
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8875 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8877 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8878 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8890 lt_prog_compiler_wl
=
8891 lt_prog_compiler_pic
=
8892 lt_prog_compiler_static
=
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8895 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8897 if test "$GCC" = yes; then
8898 lt_prog_compiler_wl
='-Wl,'
8899 lt_prog_compiler_static
='-static'
8903 # All AIX code is PIC.
8904 if test "$host_cpu" = ia64
; then
8905 # AIX 5 now supports IA64 processor
8906 lt_prog_compiler_static
='-Bstatic'
8908 lt_prog_compiler_pic
='-fPIC'
8914 # see comment about AmigaOS4 .so support
8915 lt_prog_compiler_pic
='-fPIC'
8918 # FIXME: we need at least 68020 code to build shared libraries, but
8919 # adding the `-m68020' flag to GCC prevents building anything better,
8921 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8926 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8927 # PIC is the default for these OSes.
8930 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8931 # This hack is so that the source file can tell whether it is being
8932 # built for inclusion in a dll (and should export symbols for example).
8933 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8934 # (--disable-auto-import) libraries
8935 lt_prog_compiler_pic
='-DDLL_EXPORT'
8938 darwin
* | rhapsody
*)
8939 # PIC is the default on this platform
8940 # Common symbols not allowed in MH_DYLIB files
8941 lt_prog_compiler_pic
='-fno-common'
8945 # PIC is the default for Haiku.
8946 # The "-static" flag exists, but is broken.
8947 lt_prog_compiler_static
=
8951 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8952 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8953 # sets the default TLS model and affects inlining.
8959 lt_prog_compiler_pic
='-fPIC'
8965 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8966 # Instead, we relocate shared libraries at runtime.
8970 # Just because we use GCC doesn't mean we suddenly get shared libraries
8971 # on systems that don't support them.
8972 lt_prog_compiler_can_build_shared
=no
8977 # QNX uses GNU C++, but need to define -shared option too, otherwise
8979 lt_prog_compiler_pic
='-fPIC -shared'
8983 if test -d /usr
/nec
; then
8984 lt_prog_compiler_pic
=-Kconform_pic
8989 lt_prog_compiler_pic
='-fPIC'
8993 case $cc_basename in
8994 nvcc
*) # Cuda Compiler Driver 2.2
8995 lt_prog_compiler_wl
='-Xlinker '
8996 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9000 # PORTME Check for flag to pass linker flags through the system compiler.
9003 lt_prog_compiler_wl
='-Wl,'
9004 if test "$host_cpu" = ia64
; then
9005 # AIX 5 now supports IA64 processor
9006 lt_prog_compiler_static
='-Bstatic'
9008 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9012 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9013 # This hack is so that the source file can tell whether it is being
9014 # built for inclusion in a dll (and should export symbols for example).
9015 lt_prog_compiler_pic
='-DDLL_EXPORT'
9018 hpux9
* | hpux10
* | hpux11
*)
9019 lt_prog_compiler_wl
='-Wl,'
9020 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9027 lt_prog_compiler_pic
='+Z'
9030 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9031 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9034 irix5
* | irix6
* | nonstopux
*)
9035 lt_prog_compiler_wl
='-Wl,'
9036 # PIC (with -KPIC) is the default.
9037 lt_prog_compiler_static
='-non_shared'
9040 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9041 case $cc_basename in
9042 # old Intel for x86_64 which still supported -KPIC.
9044 lt_prog_compiler_wl
='-Wl,'
9045 lt_prog_compiler_pic
='-KPIC'
9046 lt_prog_compiler_static
='-static'
9048 # icc used to be incompatible with GCC.
9049 # ICC 10 doesn't accept -KPIC any more.
9051 lt_prog_compiler_wl
='-Wl,'
9052 lt_prog_compiler_pic
='-fPIC'
9053 lt_prog_compiler_static
='-static'
9055 # Lahey Fortran 8.1.
9057 lt_prog_compiler_wl
='-Wl,'
9058 lt_prog_compiler_pic
='--shared'
9059 lt_prog_compiler_static
='--static'
9061 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9062 # Portland Group compilers (*not* the Pentium gcc compiler,
9063 # which looks to be a dead project)
9064 lt_prog_compiler_wl
='-Wl,'
9065 lt_prog_compiler_pic
='-fpic'
9066 lt_prog_compiler_static
='-Bstatic'
9069 lt_prog_compiler_wl
='-Wl,'
9070 # All Alpha code is PIC.
9071 lt_prog_compiler_static
='-non_shared'
9073 xl
* | bgxl
* | bgf
* | mpixl
*)
9074 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9075 lt_prog_compiler_wl
='-Wl,'
9076 lt_prog_compiler_pic
='-qpic'
9077 lt_prog_compiler_static
='-qstaticlink'
9080 case `$CC -V 2>&1 | sed 5q` in
9081 *Sun\ F
* |
*Sun
*Fortran
*)
9082 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9083 lt_prog_compiler_pic
='-KPIC'
9084 lt_prog_compiler_static
='-Bstatic'
9085 lt_prog_compiler_wl
=''
9089 lt_prog_compiler_pic
='-KPIC'
9090 lt_prog_compiler_static
='-Bstatic'
9091 lt_prog_compiler_wl
='-Wl,'
9099 lt_prog_compiler_pic
='-KPIC'
9100 lt_prog_compiler_static
='-Bstatic'
9104 # QNX uses GNU C++, but need to define -shared option too, otherwise
9106 lt_prog_compiler_pic
='-fPIC -shared'
9109 osf3
* | osf4
* | osf5
*)
9110 lt_prog_compiler_wl
='-Wl,'
9111 # All OSF/1 code is PIC.
9112 lt_prog_compiler_static
='-non_shared'
9116 lt_prog_compiler_static
='-non_shared'
9120 lt_prog_compiler_pic
='-KPIC'
9121 lt_prog_compiler_static
='-Bstatic'
9122 case $cc_basename in
9124 lt_prog_compiler_wl
='-Qoption ld ';;
9126 lt_prog_compiler_wl
='-Wl,';;
9131 lt_prog_compiler_wl
='-Qoption ld '
9132 lt_prog_compiler_pic
='-PIC'
9133 lt_prog_compiler_static
='-Bstatic'
9136 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9137 lt_prog_compiler_wl
='-Wl,'
9138 lt_prog_compiler_pic
='-KPIC'
9139 lt_prog_compiler_static
='-Bstatic'
9143 if test -d /usr
/nec
;then
9144 lt_prog_compiler_pic
='-Kconform_pic'
9145 lt_prog_compiler_static
='-Bstatic'
9149 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9150 lt_prog_compiler_wl
='-Wl,'
9151 lt_prog_compiler_pic
='-KPIC'
9152 lt_prog_compiler_static
='-Bstatic'
9156 lt_prog_compiler_wl
='-Wl,'
9157 lt_prog_compiler_can_build_shared
=no
9161 lt_prog_compiler_pic
='-pic'
9162 lt_prog_compiler_static
='-Bstatic'
9166 lt_prog_compiler_can_build_shared
=no
9172 # For platforms which do not support PIC, -DPIC is meaningless:
9174 lt_prog_compiler_pic
=
9177 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9181 $as_echo "$lt_prog_compiler_pic" >&6; }
9189 # Check to make sure the PIC flag actually works.
9191 if test -n "$lt_prog_compiler_pic"; then
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9193 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9194 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9195 $as_echo_n "(cached) " >&6
9197 lt_cv_prog_compiler_pic_works
=no
9198 ac_outfile
=conftest.
$ac_objext
9199 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9200 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9201 # Insert the option either (1) after the last *FLAGS variable, or
9202 # (2) before a word containing "conftest.", or (3) at the end.
9203 # Note that $ac_compile itself does not contain backslashes and begins
9204 # with a dollar sign (not a hyphen), so the echo should work correctly.
9205 # The option is referenced via a variable to avoid confusing sed.
9206 lt_compile
=`echo "$ac_compile" | $SED \
9207 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9208 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9209 -e 's:$: $lt_compiler_flag:'`
9210 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9211 (eval "$lt_compile" 2>conftest.err
)
9213 cat conftest.err
>&5
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 if (exit $ac_status) && test -s "$ac_outfile"; then
9216 # The compiler can only warn and ignore the option if not recognized
9217 # So say no if there are warnings other than the usual output.
9218 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9219 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9220 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9221 lt_cv_prog_compiler_pic_works
=yes
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9228 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9230 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9231 case $lt_prog_compiler_pic in
9233 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9236 lt_prog_compiler_pic
=
9237 lt_prog_compiler_can_build_shared
=no
9248 # Check to make sure the static flag actually works.
9250 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9252 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9253 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9254 $as_echo_n "(cached) " >&6
9256 lt_cv_prog_compiler_static_works
=no
9257 save_LDFLAGS
="$LDFLAGS"
9258 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9259 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9260 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9261 # The linker can only warn and ignore the option if not recognized
9262 # So say no if there are warnings
9263 if test -s conftest.err
; then
9264 # Append any errors to the config.log.
9265 cat conftest.err
1>&5
9266 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9267 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9268 if diff conftest.exp conftest.er2
>/dev
/null
; then
9269 lt_cv_prog_compiler_static_works
=yes
9272 lt_cv_prog_compiler_static_works
=yes
9276 LDFLAGS
="$save_LDFLAGS"
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9280 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9282 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9285 lt_prog_compiler_static
=
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9295 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9296 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9297 $as_echo_n "(cached) " >&6
9299 lt_cv_prog_compiler_c_o
=no
9300 $RM -r conftest
2>/dev
/null
9304 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9306 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9307 # Insert the option either (1) after the last *FLAGS variable, or
9308 # (2) before a word containing "conftest.", or (3) at the end.
9309 # Note that $ac_compile itself does not contain backslashes and begins
9310 # with a dollar sign (not a hyphen), so the echo should work correctly.
9311 lt_compile
=`echo "$ac_compile" | $SED \
9312 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9314 -e 's:$: $lt_compiler_flag:'`
9315 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9316 (eval "$lt_compile" 2>out
/conftest.err
)
9318 cat out
/conftest.err
>&5
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9322 # The compiler can only warn and ignore the option if not recognized
9323 # So say no if there are warnings
9324 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9325 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9326 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9327 lt_cv_prog_compiler_c_o
=yes
9332 # SGI C++ compiler will create directory out/ii_files/ for
9333 # template instantiation
9334 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9335 $RM out
/* && rmdir out
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9342 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9350 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9351 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9352 $as_echo_n "(cached) " >&6
9354 lt_cv_prog_compiler_c_o
=no
9355 $RM -r conftest
2>/dev
/null
9359 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9361 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9362 # Insert the option either (1) after the last *FLAGS variable, or
9363 # (2) before a word containing "conftest.", or (3) at the end.
9364 # Note that $ac_compile itself does not contain backslashes and begins
9365 # with a dollar sign (not a hyphen), so the echo should work correctly.
9366 lt_compile
=`echo "$ac_compile" | $SED \
9367 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9368 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9369 -e 's:$: $lt_compiler_flag:'`
9370 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9371 (eval "$lt_compile" 2>out
/conftest.err
)
9373 cat out
/conftest.err
>&5
9374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9377 # The compiler can only warn and ignore the option if not recognized
9378 # So say no if there are warnings
9379 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9380 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9381 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9382 lt_cv_prog_compiler_c_o
=yes
9387 # SGI C++ compiler will create directory out/ii_files/ for
9388 # template instantiation
9389 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9390 $RM out
/* && rmdir out
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9397 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9402 hard_links
="nottested"
9403 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9404 # do not overwrite the value of need_locks provided by the user
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9406 $as_echo_n "checking if we can lock with hard links... " >&6; }
9409 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9411 ln conftest.a conftest.b
2>&5 || hard_links
=no
9412 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9414 $as_echo "$hard_links" >&6; }
9415 if test "$hard_links" = no
; then
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9417 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9430 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9433 allow_undefined_flag
=
9434 always_export_symbols
=no
9436 archive_expsym_cmds
=
9437 compiler_needs_object
=no
9438 enable_shared_with_static_runtimes
=no
9439 export_dynamic_flag_spec
=
9440 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9441 hardcode_automatic
=no
9443 hardcode_direct_absolute
=no
9444 hardcode_libdir_flag_spec
=
9445 hardcode_libdir_flag_spec_ld
=
9446 hardcode_libdir_separator
=
9448 hardcode_shlibpath_var
=unsupported
9450 link_all_deplibs
=unknown
9453 old_archive_from_new_cmds
=
9454 old_archive_from_expsyms_cmds
=
9455 thread_safe_flag_spec
=
9456 whole_archive_flag_spec
=
9457 # include_expsyms should be a list of space-separated symbols to be *always*
9458 # included in the symbol list
9460 # exclude_expsyms can be an extended regexp of symbols to exclude
9461 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9462 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9463 # as well as any symbol that contains `d'.
9464 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9465 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9466 # platforms (ab)use it in PIC code, but their linkers get confused if
9467 # the symbol is explicitly referenced. Since portable code cannot
9468 # rely on this symbol name, it's probably fine to never include it in
9469 # preloaded symbol tables.
9470 # Exclude shared library initialization/finalization symbols.
9471 extract_expsyms_cmds
=
9474 cygwin
* | mingw
* | pw32
* | cegcc
*)
9475 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9476 # When not using gcc, we currently assume that we are using
9477 # Microsoft Visual C++.
9478 if test "$GCC" != yes; then
9483 # we just hope/assume this is gcc and not c89 (= MSVC++)
9493 # On some targets, GNU ld is compatible enough with the native linker
9494 # that we're better off using the native interface for both.
9495 lt_use_gnu_ld_interface
=no
9496 if test "$with_gnu_ld" = yes; then
9499 # The AIX port of GNU ld has always aspired to compatibility
9500 # with the native linker. However, as the warning in the GNU ld
9501 # block says, versions before 2.19.5* couldn't really create working
9502 # shared libraries, regardless of the interface used.
9503 case `$LD -v 2>&1` in
9504 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9505 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9506 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9508 lt_use_gnu_ld_interface
=yes
9513 lt_use_gnu_ld_interface
=yes
9518 if test "$lt_use_gnu_ld_interface" = yes; then
9519 # If archive_cmds runs LD, not CC, wlarc should be empty
9522 # Set some defaults for GNU ld with shared library support. These
9523 # are reset later if shared libraries are not supported. Putting them
9524 # here allows them to be overridden if necessary.
9525 runpath_var
=LD_RUN_PATH
9526 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9527 export_dynamic_flag_spec
='${wl}--export-dynamic'
9528 # ancient GNU ld didn't support --whole-archive et. al.
9529 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9530 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9532 whole_archive_flag_spec
=
9534 supports_anon_versioning
=no
9535 case `$LD -v 2>&1` in
9536 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9537 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9538 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9539 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9540 *\
2.11.
*) ;; # other 2.11 versions
9541 *) supports_anon_versioning
=yes ;;
9544 # See if GNU ld supports shared libraries.
9547 # On AIX/PPC, the GNU linker is very broken
9548 if test "$host_cpu" != ia64
; then
9552 *** Warning: the GNU linker, at least up to release 2.19, is reported
9553 *** to be unable to reliably create shared libraries on AIX.
9554 *** Therefore, libtool is disabling shared libraries support. If you
9555 *** really care for shared libraries, you may want to install binutils
9556 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9557 *** You will then need to restart the configuration process.
9566 # see comment about AmigaOS4 .so support
9567 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9568 archive_expsym_cmds
=''
9571 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)'
9572 hardcode_libdir_flag_spec
='-L$libdir'
9573 hardcode_minus_L
=yes
9579 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9580 allow_undefined_flag
=unsupported
9581 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9582 # support --undefined. This deserves some investigation. FIXME
9583 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9589 cygwin
* | mingw
* | pw32
* | cegcc
*)
9590 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9591 # as there is no search path for DLLs.
9592 hardcode_libdir_flag_spec
='-L$libdir'
9593 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9594 allow_undefined_flag
=unsupported
9595 always_export_symbols
=no
9596 enable_shared_with_static_runtimes
=yes
9597 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9599 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9600 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9601 # If the export-symbols file already is a .def file (1st line
9602 # is EXPORTS), use it as is; otherwise, prepend...
9603 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9604 cp $export_symbols $output_objdir/$soname.def;
9606 echo EXPORTS > $output_objdir/$soname.def;
9607 cat $export_symbols >> $output_objdir/$soname.def;
9609 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9616 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9617 link_all_deplibs
=yes
9622 hardcode_shlibpath_var
=no
9623 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9624 export_dynamic_flag_spec
='${wl}-E'
9625 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9626 # Instead, shared libraries are loaded at an image base (0x10000000 by
9627 # default) and relocated if they conflict, which is a slow very memory
9628 # consuming and fragmenting process. To avoid this, we pick a random,
9629 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9630 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9631 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9632 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'
9635 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9637 if test "$host_os" = linux-dietlibc
; then
9638 case $cc_basename in
9639 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9642 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9643 && test "$tmp_diet" = no
9646 tmp_sharedflag
='-shared'
9647 case $cc_basename,$host_cpu in
9648 pgcc
*) # Portland Group C compiler
9649 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'
9650 tmp_addflag
=' $pic_flag'
9652 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9653 # Portland Group f77 and f90 compilers
9654 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'
9655 tmp_addflag
=' $pic_flag -Mnomain' ;;
9656 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9657 tmp_addflag
=' -i_dynamic' ;;
9658 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9659 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9660 ifc
* | ifort
*) # Intel Fortran compiler
9661 tmp_addflag
=' -nofor_main' ;;
9662 lf95
*) # Lahey Fortran 8.1
9663 whole_archive_flag_spec
=
9664 tmp_sharedflag
='--shared' ;;
9665 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9666 tmp_sharedflag
='-qmkshrobj'
9668 nvcc
*) # Cuda Compiler Driver 2.2
9669 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'
9670 compiler_needs_object
=yes
9673 case `$CC -V 2>&1 | sed 5q` in
9674 *Sun\ C
*) # Sun C 5.9
9675 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'
9676 compiler_needs_object
=yes
9677 tmp_sharedflag
='-G' ;;
9678 *Sun\ F
*) # Sun Fortran 8.3
9679 tmp_sharedflag
='-G' ;;
9681 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9683 if test "x$supports_anon_versioning" = xyes
; then
9684 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9685 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9686 echo "local: *; };" >> $output_objdir/$libname.ver~
9687 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9690 case $cc_basename in
9691 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9692 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9693 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9694 hardcode_libdir_flag_spec
=
9695 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9696 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9697 if test "x$supports_anon_versioning" = xyes
; then
9698 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9699 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9700 echo "local: *; };" >> $output_objdir/$libname.ver~
9701 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9711 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9712 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9715 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9716 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9721 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9725 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9726 *** create shared libraries on Solaris systems. Therefore, libtool
9727 *** is disabling shared libraries support. We urge you to upgrade GNU
9728 *** binutils to release 2.9.1 or newer. Another option is to modify
9729 *** your PATH or compiler configuration so that the native linker is
9730 *** used, and then restart.
9733 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9734 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9735 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9741 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9742 case `$LD -v 2>&1` in
9743 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9747 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9748 *** reliably create shared libraries on SCO systems. Therefore, libtool
9749 *** is disabling shared libraries support. We urge you to upgrade GNU
9750 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9751 *** your PATH or compiler configuration so that the native linker is
9752 *** used, and then restart.
9757 # For security reasons, it is highly recommended that you always
9758 # use absolute paths for naming shared libraries, and exclude the
9759 # DT_RUNPATH tag from executables and libraries. But doing so
9760 # requires that you compile everything twice, which is a pain.
9761 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9762 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9763 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9764 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9773 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9776 hardcode_shlibpath_var
=no
9780 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9781 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9782 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9789 if test "$ld_shlibs" = no
; then
9791 hardcode_libdir_flag_spec
=
9792 export_dynamic_flag_spec
=
9793 whole_archive_flag_spec
=
9796 # PORTME fill in a description of your system's linker (not GNU ld)
9799 allow_undefined_flag
=unsupported
9800 always_export_symbols
=yes
9801 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'
9802 # Note: this linker hardcodes the directories in LIBPATH if there
9803 # are no directories specified by -L.
9804 hardcode_minus_L
=yes
9805 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9806 # Neither direct hardcoding nor static linking is supported with a
9808 hardcode_direct
=unsupported
9813 if test "$host_cpu" = ia64
; then
9814 # On IA64, the linker does run time linking by default, so we don't
9815 # have to do anything special.
9816 aix_use_runtimelinking
=no
9817 exp_sym_flag
='-Bexport'
9820 # If we're using GNU nm, then we don't want the "-C" option.
9821 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9822 # Also, AIX nm treats weak defined symbols like other global
9823 # defined symbols, whereas GNU nm marks them as "W".
9824 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9825 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'
9827 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'
9829 aix_use_runtimelinking
=no
9831 # Test if we are trying to use run time linking or normal
9832 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9833 # need to do runtime linking.
9834 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9835 for ld_flag
in $LDFLAGS; do
9836 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9837 aix_use_runtimelinking
=yes
9844 exp_sym_flag
='-bexport'
9845 no_entry_flag
='-bnoentry'
9848 # When large executables or shared objects are built, AIX ld can
9849 # have problems creating the table of contents. If linking a library
9850 # or program results in "error TOC overflow" add -mminimal-toc to
9851 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9852 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9856 hardcode_direct_absolute
=yes
9857 hardcode_libdir_separator
=':'
9858 link_all_deplibs
=yes
9859 file_list_spec
='${wl}-f,'
9861 if test "$GCC" = yes; then
9862 case $host_os in aix4.
[012]|aix4.
[012].
*)
9863 # We only want to do this on AIX 4.2 and lower, the check
9864 # below for broken collect2 doesn't work under 4.3+
9865 collect2name
=`${CC} -print-prog-name=collect2`
9866 if test -f "$collect2name" &&
9867 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9869 # We have reworked collect2
9872 # We have old collect2
9873 hardcode_direct
=unsupported
9874 # It fails to find uninstalled libraries when the uninstalled
9875 # path is not listed in the libpath. Setting hardcode_minus_L
9876 # to unsupported forces relinking
9877 hardcode_minus_L
=yes
9878 hardcode_libdir_flag_spec
='-L$libdir'
9879 hardcode_libdir_separator
=
9883 shared_flag
='-shared'
9884 if test "$aix_use_runtimelinking" = yes; then
9885 shared_flag
="$shared_flag "'${wl}-G'
9889 if test "$host_cpu" = ia64
; then
9890 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9891 # chokes on -Wl,-G. The following line is correct:
9894 if test "$aix_use_runtimelinking" = yes; then
9895 shared_flag
='${wl}-G'
9897 shared_flag
='${wl}-bM:SRE'
9902 export_dynamic_flag_spec
='${wl}-bexpall'
9903 # It seems that -bexpall does not export symbols beginning with
9904 # underscore (_), so it is better to generate a list of symbols to export.
9905 always_export_symbols
=yes
9906 if test "$aix_use_runtimelinking" = yes; then
9907 # Warning - without using the other runtime loading flags (-brtl),
9908 # -berok will link without error, but may produce a broken library.
9909 allow_undefined_flag
='-berok'
9910 # Determine the default libpath from the value encoded in an
9912 if test x
$gcc_no_link = xyes
; then
9913 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9926 if ac_fn_c_try_link
"$LINENO"; then :
9928 lt_aix_libpath_sed
='
9929 /Import File Strings/,/^$/ {
9935 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9936 # Check for a 64-bit object if we didn't find anything.
9937 if test -z "$aix_libpath"; then
9938 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9941 rm -f core conftest.err conftest.
$ac_objext \
9942 conftest
$ac_exeext conftest.
$ac_ext
9943 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9945 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9946 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"
9948 if test "$host_cpu" = ia64
; then
9949 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9950 allow_undefined_flag
="-z nodefs"
9951 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"
9953 # Determine the default libpath from the value encoded in an
9955 if test x
$gcc_no_link = xyes
; then
9956 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9969 if ac_fn_c_try_link
"$LINENO"; then :
9971 lt_aix_libpath_sed
='
9972 /Import File Strings/,/^$/ {
9978 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9979 # Check for a 64-bit object if we didn't find anything.
9980 if test -z "$aix_libpath"; then
9981 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9984 rm -f core conftest.err conftest.
$ac_objext \
9985 conftest
$ac_exeext conftest.
$ac_ext
9986 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9988 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9989 # Warning - without using the other run time loading flags,
9990 # -berok will link without error, but may produce a broken library.
9991 no_undefined_flag
=' ${wl}-bernotok'
9992 allow_undefined_flag
=' ${wl}-berok'
9993 if test "$with_gnu_ld" = yes; then
9994 # We only use this code for GNU lds that support --whole-archive.
9995 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9997 # Exported symbols can be pulled into shared objects from archives
9998 whole_archive_flag_spec
='$convenience'
10000 archive_cmds_need_lc
=yes
10001 # This is similar to how AIX traditionally builds its shared libraries.
10002 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'
10010 # see comment about AmigaOS4 .so support
10011 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10012 archive_expsym_cmds
=''
10015 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)'
10016 hardcode_libdir_flag_spec
='-L$libdir'
10017 hardcode_minus_L
=yes
10023 export_dynamic_flag_spec
=-rdynamic
10026 cygwin
* | mingw
* | pw32
* | cegcc
*)
10027 # When not using gcc, we currently assume that we are using
10028 # Microsoft Visual C++.
10029 # hardcode_libdir_flag_spec is actually meaningless, as there is
10030 # no search path for DLLs.
10031 hardcode_libdir_flag_spec
=' '
10032 allow_undefined_flag
=unsupported
10033 # Tell ltmain to make .lib files, not .a files.
10035 # Tell ltmain to make .dll files, not .so files.
10037 # FIXME: Setting linknames here is a bad hack.
10038 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10039 # The linker will automatically build a .lib file if we build a DLL.
10040 old_archive_from_new_cmds
='true'
10041 # FIXME: Should let the user specify the lib program.
10042 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10043 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10044 enable_shared_with_static_runtimes
=yes
10047 darwin
* | rhapsody
*)
10050 archive_cmds_need_lc
=no
10052 hardcode_automatic
=yes
10053 hardcode_shlibpath_var
=unsupported
10054 if test "$lt_cv_ld_force_load" = "yes"; then
10055 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\"`'
10057 whole_archive_flag_spec
=''
10059 link_all_deplibs
=yes
10060 allow_undefined_flag
="$_lt_dar_allow_undefined"
10061 case $cc_basename in
10062 ifort
*) _lt_dar_can_shared
=yes ;;
10063 *) _lt_dar_can_shared
=$GCC ;;
10065 if test "$_lt_dar_can_shared" = "yes"; then
10066 output_verbose_link_cmd
=func_echo_all
10067 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10068 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10069 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}"
10070 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}"
10079 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10080 hardcode_libdir_flag_spec
='-L$libdir'
10081 hardcode_shlibpath_var
=no
10084 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10085 # support. Future versions do this automatically, but an explicit c++rt0.o
10086 # does not break anything, and helps significantly (at the cost of a little
10089 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10090 hardcode_libdir_flag_spec
='-R$libdir'
10091 hardcode_direct
=yes
10092 hardcode_shlibpath_var
=no
10095 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10097 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10098 hardcode_direct
=yes
10099 hardcode_minus_L
=yes
10100 hardcode_shlibpath_var
=no
10103 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10104 freebsd
* | dragonfly
*)
10105 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10106 hardcode_libdir_flag_spec
='-R$libdir'
10107 hardcode_direct
=yes
10108 hardcode_shlibpath_var
=no
10112 if test "$GCC" = yes; then
10113 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'
10115 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'
10117 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10118 hardcode_libdir_separator
=:
10119 hardcode_direct
=yes
10121 # hardcode_minus_L: Not really in the search PATH,
10122 # but as the default location of the library.
10123 hardcode_minus_L
=yes
10124 export_dynamic_flag_spec
='${wl}-E'
10128 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10129 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10131 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10133 if test "$with_gnu_ld" = no
; then
10134 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10135 hardcode_libdir_flag_spec_ld
='+b $libdir'
10136 hardcode_libdir_separator
=:
10137 hardcode_direct
=yes
10138 hardcode_direct_absolute
=yes
10139 export_dynamic_flag_spec
='${wl}-E'
10140 # hardcode_minus_L: Not really in the search PATH,
10141 # but as the default location of the library.
10142 hardcode_minus_L
=yes
10147 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10150 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10153 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10156 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10162 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10165 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10169 # Older versions of the 11.00 compiler do not understand -b yet
10170 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10172 $as_echo_n "checking if $CC understands -b... " >&6; }
10173 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10174 $as_echo_n "(cached) " >&6
10176 lt_cv_prog_compiler__b
=no
10177 save_LDFLAGS
="$LDFLAGS"
10178 LDFLAGS
="$LDFLAGS -b"
10179 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10180 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10181 # The linker can only warn and ignore the option if not recognized
10182 # So say no if there are warnings
10183 if test -s conftest.err
; then
10184 # Append any errors to the config.log.
10185 cat conftest.err
1>&5
10186 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10187 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10188 if diff conftest.exp conftest.er2
>/dev
/null
; then
10189 lt_cv_prog_compiler__b
=yes
10192 lt_cv_prog_compiler__b
=yes
10196 LDFLAGS
="$save_LDFLAGS"
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10200 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10202 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10203 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10205 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10211 if test "$with_gnu_ld" = no
; then
10212 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10213 hardcode_libdir_separator
=:
10218 hardcode_shlibpath_var
=no
10221 hardcode_direct
=yes
10222 hardcode_direct_absolute
=yes
10223 export_dynamic_flag_spec
='${wl}-E'
10225 # hardcode_minus_L: Not really in the search PATH,
10226 # but as the default location of the library.
10227 hardcode_minus_L
=yes
10233 irix5
* | irix6
* | nonstopux
*)
10234 if test "$GCC" = yes; then
10235 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'
10236 # Try to use the -exported_symbol ld option, if it does not
10237 # work, assume that -exports_file does not work either and
10238 # implicitly export all symbols.
10239 save_LDFLAGS
="$LDFLAGS"
10240 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10241 if test x
$gcc_no_link = xyes
; then
10242 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10248 if ac_fn_c_try_link
"$LINENO"; then :
10249 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'
10252 rm -f core conftest.err conftest.
$ac_objext \
10253 conftest
$ac_exeext conftest.
$ac_ext
10254 LDFLAGS
="$save_LDFLAGS"
10256 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'
10257 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'
10259 archive_cmds_need_lc
='no'
10260 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10261 hardcode_libdir_separator
=:
10263 link_all_deplibs
=yes
10267 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10268 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10270 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10272 hardcode_libdir_flag_spec
='-R$libdir'
10273 hardcode_direct
=yes
10274 hardcode_shlibpath_var
=no
10278 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10279 hardcode_direct
=yes
10280 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10281 hardcode_libdir_separator
=:
10282 hardcode_shlibpath_var
=no
10289 if test -f /usr
/libexec
/ld.so
; then
10290 hardcode_direct
=yes
10291 hardcode_shlibpath_var
=no
10292 hardcode_direct_absolute
=yes
10293 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10294 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10295 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10296 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10297 export_dynamic_flag_spec
='${wl}-E'
10300 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10301 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10302 hardcode_libdir_flag_spec
='-R$libdir'
10305 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10306 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10316 hardcode_libdir_flag_spec
='-L$libdir'
10317 hardcode_minus_L
=yes
10318 allow_undefined_flag
=unsupported
10319 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'
10320 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10324 if test "$GCC" = yes; then
10325 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10326 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'
10328 allow_undefined_flag
=' -expect_unresolved \*'
10329 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'
10331 archive_cmds_need_lc
='no'
10332 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10333 hardcode_libdir_separator
=:
10336 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10337 if test "$GCC" = yes; then
10338 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10339 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'
10340 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10342 allow_undefined_flag
=' -expect_unresolved \*'
10343 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'
10344 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~
10345 $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'
10347 # Both c and cxx compiler support -rpath directly
10348 hardcode_libdir_flag_spec
='-rpath $libdir'
10350 archive_cmds_need_lc
='no'
10351 hardcode_libdir_separator
=:
10355 no_undefined_flag
=' -z defs'
10356 if test "$GCC" = yes; then
10358 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10359 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10360 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10362 case `$CC -V 2>&1` in
10365 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10366 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10367 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10371 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10372 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10373 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10377 hardcode_libdir_flag_spec
='-R$libdir'
10378 hardcode_shlibpath_var
=no
10380 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10382 # The compiler driver will combine and reorder linker options,
10383 # but understands `-z linker_flag'. GCC discards it without `$wl',
10384 # but is careful enough not to reorder.
10385 # Supported since Solaris 2.6 (maybe 2.5.1?)
10386 if test "$GCC" = yes; then
10387 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10389 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10393 link_all_deplibs
=yes
10397 if test "x$host_vendor" = xsequent
; then
10398 # Use $CC to link under sequent, because it throws in some extra .o
10399 # files that make .init and .fini sections work.
10400 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10402 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10404 hardcode_libdir_flag_spec
='-L$libdir'
10405 hardcode_direct
=yes
10406 hardcode_minus_L
=yes
10407 hardcode_shlibpath_var
=no
10411 case $host_vendor in
10413 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10414 hardcode_direct
=yes # is this really true???
10417 ## LD is ld it makes a PLAMLIB
10418 ## CC just makes a GrossModule.
10419 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10420 reload_cmds
='$CC -r -o $output$reload_objs'
10424 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10425 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10428 runpath_var
='LD_RUN_PATH'
10429 hardcode_shlibpath_var
=no
10433 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10434 hardcode_shlibpath_var
=no
10435 export_dynamic_flag_spec
='-Bexport'
10439 if test -d /usr
/nec
; then
10440 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10441 hardcode_shlibpath_var
=no
10442 runpath_var
=LD_RUN_PATH
10443 hardcode_runpath_var
=yes
10448 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10449 no_undefined_flag
='${wl}-z,text'
10450 archive_cmds_need_lc
=no
10451 hardcode_shlibpath_var
=no
10452 runpath_var
='LD_RUN_PATH'
10454 if test "$GCC" = yes; then
10455 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10456 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10458 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10459 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10463 sysv5
* | sco3.2v5
* | sco5v6
*)
10464 # Note: We can NOT use -z defs as we might desire, because we do not
10465 # link with -lc, and that would cause any symbols used from libc to
10466 # always be unresolved, which means just about no library would
10467 # ever link correctly. If we're not using GNU ld we use -z text
10468 # though, which does catch some bad symbols but isn't as heavy-handed
10470 no_undefined_flag
='${wl}-z,text'
10471 allow_undefined_flag
='${wl}-z,nodefs'
10472 archive_cmds_need_lc
=no
10473 hardcode_shlibpath_var
=no
10474 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10475 hardcode_libdir_separator
=':'
10476 link_all_deplibs
=yes
10477 export_dynamic_flag_spec
='${wl}-Bexport'
10478 runpath_var
='LD_RUN_PATH'
10480 if test "$GCC" = yes; then
10481 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10482 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10484 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10485 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10490 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10491 hardcode_libdir_flag_spec
='-L$libdir'
10492 hardcode_shlibpath_var
=no
10500 if test x
$host_vendor = xsni
; then
10502 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10503 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10510 $as_echo "$ld_shlibs" >&6; }
10511 test "$ld_shlibs" = no
&& can_build_shared
=no
10513 with_gnu_ld
=$with_gnu_ld
10530 # Do we need to explicitly link libc?
10532 case "x$archive_cmds_need_lc" in
10534 # Assume -lc should be added
10535 archive_cmds_need_lc
=yes
10537 if test "$enable_shared" = yes && test "$GCC" = yes; then
10538 case $archive_cmds in
10540 # FIXME: we may have to deal with multi-command sequences.
10543 # Test whether the compiler implicitly links with -lc since on some
10544 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10545 # to ld, don't add -lc before -lgcc.
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10547 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10548 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10549 $as_echo_n "(cached) " >&6
10552 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10554 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10555 (eval $ac_compile) 2>&5
10557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10558 test $ac_status = 0; } 2>conftest.err
; then
10561 libobjs
=conftest.
$ac_objext
10563 wl
=$lt_prog_compiler_wl
10564 pic_flag
=$lt_prog_compiler_pic
10570 lt_save_allow_undefined_flag
=$allow_undefined_flag
10571 allow_undefined_flag
=
10572 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10573 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10576 test $ac_status = 0; }
10578 lt_cv_archive_cmds_need_lc
=no
10580 lt_cv_archive_cmds_need_lc
=yes
10582 allow_undefined_flag
=$lt_save_allow_undefined_flag
10584 cat conftest.err
1>&5
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10590 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10591 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10755 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10757 if test "$GCC" = yes; then
10759 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10760 *) lt_awk_arg
="/^libraries:/" ;;
10763 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10764 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10766 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10767 case $lt_search_path_spec in
10769 # if the path contains ";" then we assume it to be the separator
10770 # otherwise default to the standard path separator (i.e. ":") - it is
10771 # assumed that no part of a normal pathname contains ";" but that should
10772 # okay in the real world where ";" in dirpaths is itself problematic.
10773 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10776 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10779 # Ok, now we have the path, separated by spaces, we can step through it
10780 # and add multilib dir if necessary.
10781 lt_tmp_lt_search_path_spec
=
10782 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10783 for lt_sys_path
in $lt_search_path_spec; do
10784 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10785 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10787 test -d "$lt_sys_path" && \
10788 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10791 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10792 BEGIN {RS=" "; FS="/|\n";} {
10795 for (lt_i = NF; lt_i > 0; lt_i--) {
10796 if ($lt_i != "" && $lt_i != ".") {
10797 if ($lt_i == "..") {
10800 if (lt_count == 0) {
10801 lt_foo="/" $lt_i lt_foo;
10808 if (lt_foo != "") { lt_freq[lt_foo]++; }
10809 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10811 # AWK program above erroneously prepends '/' to C:/dos/paths
10814 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10815 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10817 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10819 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10821 library_names_spec
=
10822 libname_spec
='lib$name'
10826 postuninstall_cmds
=
10830 shlibpath_overrides_runpath
=unknown
10832 dynamic_linker
="$host_os ld.so"
10833 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10834 need_lib_prefix
=unknown
10835 hardcode_into_libs
=no
10837 # when you set need_version to no, make sure it does not cause -set_version
10838 # flags to be left without arguments
10839 need_version
=unknown
10844 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10845 shlibpath_var
=LIBPATH
10847 # AIX 3 has no versioning support, so we append a major version to the name.
10848 soname_spec
='${libname}${release}${shared_ext}$major'
10855 hardcode_into_libs
=yes
10856 if test "$host_cpu" = ia64
; then
10857 # AIX 5 supports IA64
10858 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10859 shlibpath_var
=LD_LIBRARY_PATH
10861 # With GCC up to 2.95.x, collect2 would create an import file
10862 # for dependence libraries. The import file would start with
10863 # the line `#! .'. This would cause the generated library to
10864 # depend on `.', always an invalid library. This was fixed in
10865 # development snapshots of GCC prior to 3.0.
10867 aix4 | aix4.
[01] | aix4.
[01].
*)
10868 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10870 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10873 can_build_shared
=no
10877 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10878 # soname into executable. Probably we can add versioning support to
10879 # collect2, so additional links can be useful in future.
10880 if test "$aix_use_runtimelinking" = yes; then
10881 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10882 # instead of lib<name>.a to let people know that these are not
10883 # typical AIX shared libraries.
10884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10886 # We preserve .a as extension for shared libraries through AIX4.2
10887 # and later when we are not doing run time linking.
10888 library_names_spec
='${libname}${release}.a $libname.a'
10889 soname_spec
='${libname}${release}${shared_ext}$major'
10891 shlibpath_var
=LIBPATH
10898 # Since July 2007 AmigaOS4 officially supports .so libraries.
10899 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10903 library_names_spec
='$libname.ixlibrary $libname.a'
10904 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10905 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'
10911 library_names_spec
='${libname}${shared_ext}'
10912 dynamic_linker
="$host_os ld.so"
10913 shlibpath_var
=LIBRARY_PATH
10919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10920 soname_spec
='${libname}${release}${shared_ext}$major'
10921 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10922 shlibpath_var
=LD_LIBRARY_PATH
10923 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10924 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10925 # the default ld.so.conf also contains /usr/contrib/lib and
10926 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10927 # libtool to hard-code these into programs
10930 cygwin
* | mingw
* | pw32
* | cegcc
*)
10931 version_type
=windows
10936 case $GCC,$host_os in
10937 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10938 library_names_spec
='$libname.dll.a'
10939 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10940 postinstall_cmds
='base_file=`basename \${file}`~
10941 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10942 dldir=$destdir/`dirname \$dlpath`~
10943 test -d \$dldir || mkdir -p \$dldir~
10944 $install_prog $dir/$dlname \$dldir/$dlname~
10945 chmod a+x \$dldir/$dlname~
10946 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10947 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10949 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10950 dlpath=$dir/\$dldll~
10952 shlibpath_overrides_runpath
=yes
10956 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10957 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10959 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10962 # MinGW DLLs use traditional 'lib' prefix
10963 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10966 # pw32 DLLs use 'pw' prefix rather than 'lib'
10967 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10973 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10976 dynamic_linker
='Win32 ld.exe'
10977 # FIXME: first we should search . and the directory the executable is in
10981 darwin
* | rhapsody
*)
10982 dynamic_linker
="$host_os dyld"
10983 version_type
=darwin
10986 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10987 soname_spec
='${libname}${release}${major}$shared_ext'
10988 shlibpath_overrides_runpath
=yes
10989 shlibpath_var
=DYLD_LIBRARY_PATH
10990 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10992 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10993 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
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
11005 freebsd
* | dragonfly
*)
11006 # DragonFly does not have aout. When/if they implement a new
11007 # versioning mechanism, adjust this.
11008 if test -x /usr
/bin
/objformat
; then
11009 objformat
=`/usr/bin/objformat`
11012 freebsd
[23].
*) objformat
=aout
;;
11013 *) objformat
=elf
;;
11016 version_type
=freebsd-
$objformat
11017 case $version_type in
11019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11024 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11028 shlibpath_var
=LD_LIBRARY_PATH
11031 shlibpath_overrides_runpath
=yes
11033 freebsd3.
[01]* | freebsdelf3.
[01]*)
11034 shlibpath_overrides_runpath
=yes
11035 hardcode_into_libs
=yes
11037 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11038 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11039 shlibpath_overrides_runpath
=no
11040 hardcode_into_libs
=yes
11042 *) # from 4.6 on, and DragonFly
11043 shlibpath_overrides_runpath
=yes
11044 hardcode_into_libs
=yes
11053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11054 soname_spec
='${libname}${release}${shared_ext}$major'
11055 shlibpath_var
=LD_LIBRARY_PATH
11056 hardcode_into_libs
=yes
11063 dynamic_linker
="$host_os runtime_loader"
11064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11065 soname_spec
='${libname}${release}${shared_ext}$major'
11066 shlibpath_var
=LIBRARY_PATH
11067 shlibpath_overrides_runpath
=yes
11068 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11069 hardcode_into_libs
=yes
11072 hpux9
* | hpux10
* | hpux11
*)
11073 # Give a soname corresponding to the major version so that dld.sl refuses to
11074 # link against other versions.
11081 hardcode_into_libs
=yes
11082 dynamic_linker
="$host_os dld.so"
11083 shlibpath_var
=LD_LIBRARY_PATH
11084 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11086 soname_spec
='${libname}${release}${shared_ext}$major'
11087 if test "X$HPUX_IA64_MODE" = X32
; then
11088 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11090 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11092 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11096 hardcode_into_libs
=yes
11097 dynamic_linker
="$host_os dld.sl"
11098 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11099 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11101 soname_spec
='${libname}${release}${shared_ext}$major'
11102 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11103 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11107 dynamic_linker
="$host_os dld.sl"
11108 shlibpath_var
=SHLIB_PATH
11109 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111 soname_spec
='${libname}${release}${shared_ext}$major'
11114 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11115 postinstall_cmds
='chmod 555 $lib'
11116 # or fails outright, so override atomically:
11117 install_override_mode
=555
11124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11125 soname_spec
='${libname}${release}${shared_ext}$major'
11126 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11127 shlibpath_var
=LD_LIBRARY_PATH
11128 shlibpath_overrides_runpath
=no
11129 hardcode_into_libs
=yes
11132 irix5
* | irix6
* | nonstopux
*)
11134 nonstopux
*) version_type
=nonstopux
;;
11136 if test "$lt_cv_prog_gnu_ld" = yes; then
11144 soname_spec
='${libname}${release}${shared_ext}$major'
11145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11147 irix5
* | nonstopux
*)
11148 libsuff
= shlibsuff
=
11151 case $LD in # libtool.m4 will add one of these switches to LD
11152 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11153 libsuff
= shlibsuff
= libmagic
=32-bit;;
11154 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11155 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11156 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11157 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11158 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11162 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11163 shlibpath_overrides_runpath
=no
11164 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11165 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11166 hardcode_into_libs
=yes
11169 # No shared lib support for Linux oldld, aout, or coff.
11170 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11174 # This must be Linux ELF.
11175 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11180 soname_spec
='${libname}${release}${shared_ext}$major'
11181 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11182 shlibpath_var
=LD_LIBRARY_PATH
11183 shlibpath_overrides_runpath
=no
11185 # Some binutils ld are patched to set DT_RUNPATH
11186 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11187 $as_echo_n "(cached) " >&6
11189 lt_cv_shlibpath_overrides_runpath
=no
11190 save_LDFLAGS
=$LDFLAGS
11191 save_libdir
=$libdir
11192 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11193 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11194 if test x
$gcc_no_link = xyes
; then
11195 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11208 if ac_fn_c_try_link
"$LINENO"; then :
11209 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11210 lt_cv_shlibpath_overrides_runpath
=yes
11213 rm -f core conftest.err conftest.
$ac_objext \
11214 conftest
$ac_exeext conftest.
$ac_ext
11215 LDFLAGS
=$save_LDFLAGS
11216 libdir
=$save_libdir
11220 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11222 # This implies no fast_install, which is unacceptable.
11223 # Some rework will be needed to allow for fast_install
11224 # before this can be enabled.
11225 hardcode_into_libs
=yes
11227 # Append ld.so.conf contents to the search path
11228 if test -f /etc
/ld.so.conf
; then
11229 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' ' '`
11230 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11233 # We used to test for /lib/ld.so.1 and disable shared libraries on
11234 # powerpc, because MkLinux only supported shared libraries with the
11235 # GNU dynamic linker. Since this was broken with cross compilers,
11236 # most powerpc-linux boxes support dynamic linking these days and
11237 # people can always --disable-shared, the test was removed, and we
11238 # assume the GNU/Linux dynamic linker is in use.
11239 dynamic_linker
='GNU/Linux ld.so'
11246 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11248 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11249 dynamic_linker
='NetBSD (a.out) ld.so'
11251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11252 soname_spec
='${libname}${release}${shared_ext}$major'
11253 dynamic_linker
='NetBSD ld.elf_so'
11255 shlibpath_var
=LD_LIBRARY_PATH
11256 shlibpath_overrides_runpath
=yes
11257 hardcode_into_libs
=yes
11262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11263 shlibpath_var
=LD_LIBRARY_PATH
11264 shlibpath_overrides_runpath
=yes
11271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11272 soname_spec
='${libname}${release}${shared_ext}$major'
11273 shlibpath_var
=LD_LIBRARY_PATH
11274 shlibpath_overrides_runpath
=no
11275 hardcode_into_libs
=yes
11276 dynamic_linker
='ldqnx.so'
11281 sys_lib_dlsearch_path_spec
="/usr/lib"
11283 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11285 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11286 *) need_version
=no
;;
11288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11289 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11290 shlibpath_var
=LD_LIBRARY_PATH
11291 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11293 openbsd2.
[89] | openbsd2.
[89].
*)
11294 shlibpath_overrides_runpath
=no
11297 shlibpath_overrides_runpath
=yes
11301 shlibpath_overrides_runpath
=yes
11306 libname_spec
='$name'
11309 library_names_spec
='$libname${shared_ext} $libname.a'
11310 dynamic_linker
='OS/2 ld.exe'
11311 shlibpath_var
=LIBPATH
11314 osf3
* | osf4
* | osf5
*)
11318 soname_spec
='${libname}${release}${shared_ext}$major'
11319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11320 shlibpath_var
=LD_LIBRARY_PATH
11321 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11322 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11334 soname_spec
='${libname}${release}${shared_ext}$major'
11335 shlibpath_var
=LD_LIBRARY_PATH
11336 shlibpath_overrides_runpath
=yes
11337 hardcode_into_libs
=yes
11338 # ldd complains unless libraries are executable
11339 postinstall_cmds
='chmod +x $lib'
11344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11345 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11346 shlibpath_var
=LD_LIBRARY_PATH
11347 shlibpath_overrides_runpath
=yes
11348 if test "$with_gnu_ld" = yes; then
11356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11357 soname_spec
='${libname}${release}${shared_ext}$major'
11358 shlibpath_var
=LD_LIBRARY_PATH
11359 case $host_vendor in
11361 shlibpath_overrides_runpath
=no
11363 runpath_var
=LD_RUN_PATH
11371 shlibpath_overrides_runpath
=no
11372 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11378 if test -d /usr
/nec
;then
11380 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11381 soname_spec
='$libname${shared_ext}.$major'
11382 shlibpath_var
=LD_LIBRARY_PATH
11386 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11387 version_type
=freebsd-elf
11390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11391 soname_spec
='${libname}${release}${shared_ext}$major'
11392 shlibpath_var
=LD_LIBRARY_PATH
11393 shlibpath_overrides_runpath
=yes
11394 hardcode_into_libs
=yes
11395 if test "$with_gnu_ld" = yes; then
11396 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11398 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11401 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11405 sys_lib_dlsearch_path_spec
='/usr/lib'
11409 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11414 shlibpath_var
=LD_LIBRARY_PATH
11415 shlibpath_overrides_runpath
=no
11416 hardcode_into_libs
=yes
11421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11422 soname_spec
='${libname}${release}${shared_ext}$major'
11423 shlibpath_var
=LD_LIBRARY_PATH
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11431 $as_echo "$dynamic_linker" >&6; }
11432 test "$dynamic_linker" = no
&& can_build_shared
=no
11434 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11435 if test "$GCC" = yes; then
11436 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11439 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11440 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11442 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11443 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11538 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11540 if test -n "$hardcode_libdir_flag_spec" ||
11541 test -n "$runpath_var" ||
11542 test "X$hardcode_automatic" = "Xyes" ; then
11544 # We can hardcode non-existent directories.
11545 if test "$hardcode_direct" != no
&&
11546 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11547 # have to relink, otherwise we might link with an installed library
11548 # when we should be linking with a yet-to-be-installed one
11549 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11550 test "$hardcode_minus_L" != no
; then
11551 # Linking always hardcodes the temporary library directory.
11552 hardcode_action
=relink
11554 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11555 hardcode_action
=immediate
11558 # We cannot hardcode anything, or else we can only hardcode existing
11560 hardcode_action
=unsupported
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11563 $as_echo "$hardcode_action" >&6; }
11565 if test "$hardcode_action" = relink ||
11566 test "$inherit_rpath" = yes; then
11567 # Fast installation is not supported
11568 enable_fast_install
=no
11569 elif test "$shlibpath_overrides_runpath" = yes ||
11570 test "$enable_shared" = no
; then
11571 # Fast installation is not necessary
11572 enable_fast_install
=needless
11580 if test "x$enable_dlopen" != xyes
; then
11581 enable_dlopen
=unknown
11582 enable_dlopen_self
=unknown
11583 enable_dlopen_self_static
=unknown
11590 lt_cv_dlopen
="load_add_on"
11592 lt_cv_dlopen_self
=yes
11595 mingw
* | pw32
* | cegcc
*)
11596 lt_cv_dlopen
="LoadLibrary"
11601 lt_cv_dlopen
="dlopen"
11606 # if libdl is installed we need to link against it
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11608 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11609 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11610 $as_echo_n "(cached) " >&6
11612 ac_check_lib_save_LIBS
=$LIBS
11614 if test x
$gcc_no_link = xyes
; then
11615 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11635 if ac_fn_c_try_link
"$LINENO"; then :
11636 ac_cv_lib_dl_dlopen
=yes
11638 ac_cv_lib_dl_dlopen
=no
11640 rm -f core conftest.err conftest.
$ac_objext \
11641 conftest
$ac_exeext conftest.
$ac_ext
11642 LIBS
=$ac_check_lib_save_LIBS
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11645 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11646 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11647 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11650 lt_cv_dlopen
="dyld"
11652 lt_cv_dlopen_self
=yes
11659 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11660 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11661 lt_cv_dlopen
="shl_load"
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11664 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11665 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11666 $as_echo_n "(cached) " >&6
11668 ac_check_lib_save_LIBS
=$LIBS
11670 if test x
$gcc_no_link = xyes
; then
11671 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11676 /* Override any GCC internal prototype to avoid an error.
11677 Use char because int might match the return type of a GCC
11678 builtin and then its argument prototype would still apply. */
11686 return shl_load ();
11691 if ac_fn_c_try_link
"$LINENO"; then :
11692 ac_cv_lib_dld_shl_load
=yes
11694 ac_cv_lib_dld_shl_load
=no
11696 rm -f core conftest.err conftest.
$ac_objext \
11697 conftest
$ac_exeext conftest.
$ac_ext
11698 LIBS
=$ac_check_lib_save_LIBS
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11701 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11702 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11703 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11705 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11706 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11707 lt_cv_dlopen
="dlopen"
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11710 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11711 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11712 $as_echo_n "(cached) " >&6
11714 ac_check_lib_save_LIBS
=$LIBS
11716 if test x
$gcc_no_link = xyes
; then
11717 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11722 /* Override any GCC internal prototype to avoid an error.
11723 Use char because int might match the return type of a GCC
11724 builtin and then its argument prototype would still apply. */
11737 if ac_fn_c_try_link
"$LINENO"; then :
11738 ac_cv_lib_dl_dlopen
=yes
11740 ac_cv_lib_dl_dlopen
=no
11742 rm -f core conftest.err conftest.
$ac_objext \
11743 conftest
$ac_exeext conftest.
$ac_ext
11744 LIBS
=$ac_check_lib_save_LIBS
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11747 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11748 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11749 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11752 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11753 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11754 $as_echo_n "(cached) " >&6
11756 ac_check_lib_save_LIBS
=$LIBS
11757 LIBS
="-lsvld $LIBS"
11758 if test x
$gcc_no_link = xyes
; then
11759 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11762 /* end confdefs.h. */
11764 /* Override any GCC internal prototype to avoid an error.
11765 Use char because int might match the return type of a GCC
11766 builtin and then its argument prototype would still apply. */
11779 if ac_fn_c_try_link
"$LINENO"; then :
11780 ac_cv_lib_svld_dlopen
=yes
11782 ac_cv_lib_svld_dlopen
=no
11784 rm -f core conftest.err conftest.
$ac_objext \
11785 conftest
$ac_exeext conftest.
$ac_ext
11786 LIBS
=$ac_check_lib_save_LIBS
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11789 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11790 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11791 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11794 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11795 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11796 $as_echo_n "(cached) " >&6
11798 ac_check_lib_save_LIBS
=$LIBS
11800 if test x
$gcc_no_link = xyes
; then
11801 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11816 return dld_link ();
11821 if ac_fn_c_try_link
"$LINENO"; then :
11822 ac_cv_lib_dld_dld_link
=yes
11824 ac_cv_lib_dld_dld_link
=no
11826 rm -f core conftest.err conftest.
$ac_objext \
11827 conftest
$ac_exeext conftest.
$ac_ext
11828 LIBS
=$ac_check_lib_save_LIBS
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11831 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11832 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11833 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11854 if test "x$lt_cv_dlopen" != xno
; then
11860 case $lt_cv_dlopen in
11862 save_CPPFLAGS
="$CPPFLAGS"
11863 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11865 save_LDFLAGS
="$LDFLAGS"
11866 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11869 LIBS
="$lt_cv_dlopen_libs $LIBS"
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11872 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11873 if test "${lt_cv_dlopen_self+set}" = set; then :
11874 $as_echo_n "(cached) " >&6
11876 if test "$cross_compiling" = yes; then :
11877 lt_cv_dlopen_self
=cross
11879 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11880 lt_status
=$lt_dlunknown
11881 cat > conftest.
$ac_ext <<_LT_EOF
11882 #line 11882 "configure"
11883 #include "confdefs.h"
11892 # define LT_DLGLOBAL RTLD_GLOBAL
11895 # define LT_DLGLOBAL DL_GLOBAL
11897 # define LT_DLGLOBAL 0
11901 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11902 find out it does not work in some platform. */
11903 #ifndef LT_DLLAZY_OR_NOW
11905 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11908 # define LT_DLLAZY_OR_NOW DL_LAZY
11911 # define LT_DLLAZY_OR_NOW RTLD_NOW
11914 # define LT_DLLAZY_OR_NOW DL_NOW
11916 # define LT_DLLAZY_OR_NOW 0
11923 /* When -fvisbility=hidden is used, assume the code has been annotated
11924 correspondingly for the symbols needed. */
11925 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11926 void fnord () __attribute__((visibility("default")));
11929 void fnord () { int i=42; }
11932 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11933 int status = $lt_dlunknown;
11937 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11940 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11941 else puts (dlerror ());
11943 /* dlclose (self); */
11951 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11952 (eval $ac_link) 2>&5
11954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11955 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11956 (.
/conftest
; exit; ) >&5 2>/dev
/null
11958 case x
$lt_status in
11959 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11960 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11961 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11964 # compilation failed
11965 lt_cv_dlopen_self
=no
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11973 $as_echo "$lt_cv_dlopen_self" >&6; }
11975 if test "x$lt_cv_dlopen_self" = xyes
; then
11976 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11978 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11979 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11980 $as_echo_n "(cached) " >&6
11982 if test "$cross_compiling" = yes; then :
11983 lt_cv_dlopen_self_static
=cross
11985 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11986 lt_status
=$lt_dlunknown
11987 cat > conftest.
$ac_ext <<_LT_EOF
11988 #line 11988 "configure"
11989 #include "confdefs.h"
11998 # define LT_DLGLOBAL RTLD_GLOBAL
12001 # define LT_DLGLOBAL DL_GLOBAL
12003 # define LT_DLGLOBAL 0
12007 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12008 find out it does not work in some platform. */
12009 #ifndef LT_DLLAZY_OR_NOW
12011 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12014 # define LT_DLLAZY_OR_NOW DL_LAZY
12017 # define LT_DLLAZY_OR_NOW RTLD_NOW
12020 # define LT_DLLAZY_OR_NOW DL_NOW
12022 # define LT_DLLAZY_OR_NOW 0
12029 /* When -fvisbility=hidden is used, assume the code has been annotated
12030 correspondingly for the symbols needed. */
12031 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12032 void fnord () __attribute__((visibility("default")));
12035 void fnord () { int i=42; }
12038 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12039 int status = $lt_dlunknown;
12043 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12046 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12047 else puts (dlerror ());
12049 /* dlclose (self); */
12057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12058 (eval $ac_link) 2>&5
12060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12061 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12062 (.
/conftest
; exit; ) >&5 2>/dev
/null
12064 case x
$lt_status in
12065 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12066 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12067 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12070 # compilation failed
12071 lt_cv_dlopen_self_static
=no
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12079 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12082 CPPFLAGS
="$save_CPPFLAGS"
12083 LDFLAGS
="$save_LDFLAGS"
12088 case $lt_cv_dlopen_self in
12089 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12090 *) enable_dlopen_self
=unknown
;;
12093 case $lt_cv_dlopen_self_static in
12094 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12095 *) enable_dlopen_self_static
=unknown
;;
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12118 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12119 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12120 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12121 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12123 $as_echo "yes" >&6; }
12125 # FIXME - insert some real tests, host_os isn't really good enough
12128 if test -n "$STRIP" ; then
12129 striplib
="$STRIP -x"
12130 old_striplib
="$STRIP -S"
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12132 $as_echo "yes" >&6; }
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12135 $as_echo "no" >&6; }
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12140 $as_echo "no" >&6; }
12156 # Report which library types will actually be built
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12158 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12160 $as_echo "$can_build_shared" >&6; }
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12163 $as_echo_n "checking whether to build shared libraries... " >&6; }
12164 test "$can_build_shared" = "no" && enable_shared
=no
12166 # On AIX, shared libraries and static libraries use the same namespace, and
12167 # are all built from PIC.
12170 test "$enable_shared" = yes && enable_static
=no
12171 if test -n "$RANLIB"; then
12172 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12173 postinstall_cmds
='$RANLIB $lib'
12178 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12179 test "$enable_shared" = yes && enable_static
=no
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12184 $as_echo "$enable_shared" >&6; }
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12187 $as_echo_n "checking whether to build static libraries... " >&6; }
12188 # Make sure either enable_shared or enable_static is yes.
12189 test "$enable_shared" = yes || enable_static
=yes
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12191 $as_echo "$enable_static" >&6; }
12198 ac_cpp
='$CPP $CPPFLAGS'
12199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12217 ac_config_commands
="$ac_config_commands libtool"
12222 # Only expand once:
12225 for ac_prog
in gawk mawk nawk
awk
12227 # Extract the first word of "$ac_prog", so it can be a program name with args.
12228 set dummy
$ac_prog; ac_word
=$2
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12230 $as_echo_n "checking for $ac_word... " >&6; }
12231 if test "${ac_cv_prog_AWK+set}" = set; then :
12232 $as_echo_n "(cached) " >&6
12234 if test -n "$AWK"; then
12235 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
12237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12238 for as_dir
in $PATH
12241 test -z "$as_dir" && as_dir
=.
12242 for ac_exec_ext
in '' $ac_executable_extensions; do
12243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12244 ac_cv_prog_AWK
="$ac_prog"
12245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12254 AWK
=$ac_cv_prog_AWK
12255 if test -n "$AWK"; then
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
12257 $as_echo "$AWK" >&6; }
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12260 $as_echo "no" >&6; }
12264 test -n "$AWK" && break
12268 ac_cpp
='$CPP $CPPFLAGS'
12269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12272 if test -n "$ac_tool_prefix"; then
12273 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12274 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12276 $as_echo_n "checking for $ac_word... " >&6; }
12277 if test "${ac_cv_prog_CC+set}" = set; then :
12278 $as_echo_n "(cached) " >&6
12280 if test -n "$CC"; then
12281 ac_cv_prog_CC
="$CC" # Let the user override the test.
12283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12284 for as_dir
in $PATH
12287 test -z "$as_dir" && as_dir
=.
12288 for ac_exec_ext
in '' $ac_executable_extensions; do
12289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12290 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12301 if test -n "$CC"; then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12303 $as_echo "$CC" >&6; }
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12306 $as_echo "no" >&6; }
12311 if test -z "$ac_cv_prog_CC"; then
12313 # Extract the first word of "gcc", so it can be a program name with args.
12314 set dummy gcc
; 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_ac_ct_CC+set}" = set; then :
12318 $as_echo_n "(cached) " >&6
12320 if test -n "$ac_ct_CC"; then
12321 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="gcc"
12331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12340 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12341 if test -n "$ac_ct_CC"; then
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12343 $as_echo "$ac_ct_CC" >&6; }
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12349 if test "x$ac_ct_CC" = x
; then
12352 case $cross_compiling:$ac_tool_warned in
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12356 ac_tool_warned
=yes ;;
12361 CC
="$ac_cv_prog_CC"
12364 if test -z "$CC"; then
12365 if test -n "$ac_tool_prefix"; then
12366 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12367 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12369 $as_echo_n "checking for $ac_word... " >&6; }
12370 if test "${ac_cv_prog_CC+set}" = set; then :
12371 $as_echo_n "(cached) " >&6
12373 if test -n "$CC"; then
12374 ac_cv_prog_CC
="$CC" # Let the user override the test.
12376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12377 for as_dir
in $PATH
12380 test -z "$as_dir" && as_dir
=.
12381 for ac_exec_ext
in '' $ac_executable_extensions; do
12382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12383 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12394 if test -n "$CC"; then
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12396 $as_echo "$CC" >&6; }
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12399 $as_echo "no" >&6; }
12405 if test -z "$CC"; then
12406 # Extract the first word of "cc", so it can be a program name with args.
12407 set dummy cc
; ac_word
=$2
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12409 $as_echo_n "checking for $ac_word... " >&6; }
12410 if test "${ac_cv_prog_CC+set}" = set; then :
12411 $as_echo_n "(cached) " >&6
12413 if test -n "$CC"; then
12414 ac_cv_prog_CC
="$CC" # Let the user override the test.
12416 ac_prog_rejected
=no
12417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12418 for as_dir
in $PATH
12421 test -z "$as_dir" && as_dir
=.
12422 for ac_exec_ext
in '' $ac_executable_extensions; do
12423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12424 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12425 ac_prog_rejected
=yes
12429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12436 if test $ac_prog_rejected = yes; then
12437 # We found a bogon in the path, so make sure we never use it.
12438 set dummy
$ac_cv_prog_CC
12440 if test $# != 0; then
12441 # We chose a different compiler from the bogus one.
12442 # However, it has the same basename, so the bogon will be chosen
12443 # first if we set CC to just the basename; use the full file name.
12445 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12451 if test -n "$CC"; then
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12453 $as_echo "$CC" >&6; }
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12456 $as_echo "no" >&6; }
12461 if test -z "$CC"; then
12462 if test -n "$ac_tool_prefix"; then
12463 for ac_prog
in cl.exe
12465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12466 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12468 $as_echo_n "checking for $ac_word... " >&6; }
12469 if test "${ac_cv_prog_CC+set}" = set; then :
12470 $as_echo_n "(cached) " >&6
12472 if test -n "$CC"; then
12473 ac_cv_prog_CC
="$CC" # Let the user override the test.
12475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12476 for as_dir
in $PATH
12479 test -z "$as_dir" && as_dir
=.
12480 for ac_exec_ext
in '' $ac_executable_extensions; do
12481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12482 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12493 if test -n "$CC"; then
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12495 $as_echo "$CC" >&6; }
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12498 $as_echo "no" >&6; }
12502 test -n "$CC" && break
12505 if test -z "$CC"; then
12507 for ac_prog
in cl.exe
12509 # Extract the first word of "$ac_prog", so it can be a program name with args.
12510 set dummy
$ac_prog; ac_word
=$2
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12512 $as_echo_n "checking for $ac_word... " >&6; }
12513 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12514 $as_echo_n "(cached) " >&6
12516 if test -n "$ac_ct_CC"; then
12517 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12520 for as_dir
in $PATH
12523 test -z "$as_dir" && as_dir
=.
12524 for ac_exec_ext
in '' $ac_executable_extensions; do
12525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12526 ac_cv_prog_ac_ct_CC
="$ac_prog"
12527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12536 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12537 if test -n "$ac_ct_CC"; then
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12539 $as_echo "$ac_ct_CC" >&6; }
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12542 $as_echo "no" >&6; }
12546 test -n "$ac_ct_CC" && break
12549 if test "x$ac_ct_CC" = x
; then
12552 case $cross_compiling:$ac_tool_warned in
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12556 ac_tool_warned
=yes ;;
12565 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12567 as_fn_error
"no acceptable C compiler found in \$PATH
12568 See \`config.log' for more details." "$LINENO" 5; }
12570 # Provide some information about the compiler.
12571 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12574 for ac_option
in --version -v -V -qversion; do
12575 { { ac_try
="$ac_compiler $ac_option >&5"
12576 case "(($ac_try" in
12577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12578 *) ac_try_echo=$ac_try;;
12580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12581 $as_echo "$ac_try_echo"; } >&5
12582 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12584 if test -s conftest.err; then
12586 ... rest of stderr output deleted ...
12587 10q' conftest.err >conftest.er1
12588 cat conftest.er1 >&5
12589 rm -f conftest.er1 conftest.err
12591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12592 test $ac_status = 0; }
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12596 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12597 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12598 $as_echo_n "(cached) " >&6
12600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h. */
12614 if ac_fn_c_try_compile "$LINENO"; then :
12615 ac_compiler_gnu=yes
12619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12620 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12624 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12625 if test $ac_compiler_gnu = yes; then
12630 ac_test_CFLAGS=${CFLAGS+set}
12631 ac_save_CFLAGS=$CFLAGS
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12633 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12634 if test "${ac_cv_prog_cc_g+set}" = set; then :
12635 $as_echo_n "(cached) " >&6
12637 ac_save_c_werror_flag=$ac_c_werror_flag
12638 ac_c_werror_flag=yes
12641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12652 if ac_fn_c_try_compile "$LINENO"; then :
12653 ac_cv_prog_cc_g=yes
12656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12657 /* end confdefs.h. */
12667 if ac_fn_c_try_compile "$LINENO"; then :
12670 ac_c_werror_flag=$ac_save_c_werror_flag
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12683 if ac_fn_c_try_compile "$LINENO"; then :
12684 ac_cv_prog_cc_g=yes
12686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12691 ac_c_werror_flag=$ac_save_c_werror_flag
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12694 $as_echo "$ac_cv_prog_cc_g" >&6; }
12695 if test "$ac_test_CFLAGS" = set; then
12696 CFLAGS=$ac_save_CFLAGS
12697 elif test $ac_cv_prog_cc_g = yes; then
12698 if test "$GCC" = yes; then
12704 if test "$GCC" = yes; then
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12711 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12712 if test "${ac_cv_prog_cc_c89+set}" = set; then :
12713 $as_echo_n "(cached) " >&6
12715 ac_cv_prog_cc_c89=no
12717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12719 #include <stdarg.h>
12721 #include <sys/types.h>
12722 #include <sys/stat.h>
12723 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12724 struct buf { int x; };
12725 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12726 static char *e (p, i)
12732 static char *f (char * (*g) (char **, int), char **p, ...)
12737 s = g (p, va_arg (v,int));
12742 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12743 function prototypes and stuff, but not '\xHH' hex character constants.
12744 These don't provoke an error unfortunately, instead are silently treated
12745 as 'x'. The following induces an error, until -std is added to get
12746 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12747 array size at least. It's necessary to write '\x00'==0 to get something
12748 that's true only with -std. */
12749 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12751 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12752 inside strings and character constants. */
12754 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12756 int test (int i, double x);
12757 struct s1 {int (*f) (int a);};
12758 struct s2 {int (*f) (double a);};
12759 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12765 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12770 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12771 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12773 CC="$ac_save_CC $ac_arg"
12774 if ac_fn_c_try_compile "$LINENO"; then :
12775 ac_cv_prog_cc_c89=$ac_arg
12777 rm -f core conftest.err conftest.$ac_objext
12778 test "x$ac_cv_prog_cc_c89" != "xno" && break
12780 rm -f conftest.$ac_ext
12785 case "x$ac_cv_prog_cc_c89" in
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12788 $as_echo "none needed" >&6; } ;;
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12791 $as_echo "unsupported" >&6; } ;;
12793 CC="$CC $ac_cv_prog_cc_c89"
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12795 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12797 if test "x$ac_cv_prog_cc_c89" != xno; then :
12802 ac_cpp='$CPP $CPPFLAGS'
12803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12807 depcc="$CC" am_compiler_list=
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12810 $as_echo_n "checking dependency style of $depcc... " >&6; }
12811 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12812 $as_echo_n "(cached) " >&6
12814 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12815 # We make a subdir and do the tests there. Otherwise we can end up
12816 # making bogus files that we don't know about and never remove. For
12817 # instance it was reported that on HP-UX the gcc test will end up
12818 # making a dummy file named `D
' -- because `-MD' means
`put the output
12821 # Copy depcomp to subdir because otherwise we won't find it if we're
12822 # using a relative directory.
12823 cp "$am_depcomp" conftest.dir
12825 # We will build objects and dependencies in a subdirectory because
12826 # it helps to detect inapplicable dependency modes. For instance
12827 # both Tru64's cc and ICC support -MD to output dependencies as a
12828 # side effect of compilation, but ICC will put the dependencies in
12829 # the current directory while Tru64 will put them in the object
12833 am_cv_CC_dependencies_compiler_type=none
12834 if test "$am_compiler_list" = ""; then
12835 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
12837 am__universal=false
12838 case " $depcc " in #(
12839 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12842 for depmode in $am_compiler_list; do
12843 # Setup a source with many dependencies, because some compilers
12844 # like to wrap large dependency lists on column 80 (with \), and
12845 # we should not choose a depcomp mode which is confused by this.
12847 # We need to recreate these files for each test, as the compiler may
12848 # overwrite some of them when testing with obscure command lines.
12849 # This happens at least with the AIX C compiler.
12851 for i in 1 2 3 4 5 6; do
12852 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12853 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
12854 # Solaris 8's
{/usr
,}/bin
/sh.
12855 touch sub
/conftst
$i.h
12857 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12859 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12860 # mode. It turns out that the SunPro C++ compiler does not properly
12861 # handle `-M -o', and we need to detect this. Also, some Intel
12862 # versions had trouble with output in subdirs
12863 am__obj
=sub
/conftest.
${OBJEXT-o}
12864 am__minus_obj
="-o $am__obj"
12867 # This depmode causes a compiler race in universal mode.
12868 test "$am__universal" = false ||
continue
12871 # after this tag, mechanisms are not by side-effect, so they'll
12872 # only be used when explicitly requested
12873 if test "x$enable_dependency_tracking" = xyes
; then
12879 msvisualcpp | msvcmsys
)
12880 # This compiler won't grok `-c -o', but also, the minuso test has
12881 # not run yet. These depmodes are late enough in the game, and
12882 # so weak that their functioning should not be impacted.
12883 am__obj
=conftest.
${OBJEXT-o}
12888 if depmode
=$depmode \
12889 source=sub
/conftest.c object
=$am__obj \
12890 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12891 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12892 >/dev
/null
2>conftest.err
&&
12893 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12894 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12895 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12896 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12897 # icc doesn't choke on unknown options, it will just issue warnings
12898 # or remarks (even with -Werror). So we grep stderr for any message
12899 # that says an option was ignored or not supported.
12900 # When given -MP, icc 7.0 and 7.1 complain thusly:
12901 # icc: Command line warning: ignoring option '-M'; no argument required
12902 # The diagnosis changed in icc 8.0:
12903 # icc: Command line remark: option '-MP' not supported
12904 if (grep 'ignoring option' conftest.err ||
12905 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12906 am_cv_CC_dependencies_compiler_type
=$depmode
12913 rm -rf conftest.dir
12915 am_cv_CC_dependencies_compiler_type
=none
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12920 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12921 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
12924 test "x$enable_dependency_tracking" != xno \
12925 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
12926 am__fastdepCC_TRUE
=
12927 am__fastdepCC_FALSE
='#'
12929 am__fastdepCC_TRUE
='#'
12930 am__fastdepCC_FALSE
=
12934 if test "x$CC" != xcc
; then
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12936 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12939 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12941 set dummy
$CC; ac_cc
=`$as_echo "$2" |
12942 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12943 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
12944 $as_echo_n "(cached) " >&6
12946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12947 /* end confdefs.h. */
12957 # Make sure it works both with $CC and with simple cc.
12958 # We do the test twice because some compilers refuse to overwrite an
12959 # existing .o file with -o, though they will create one.
12960 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12962 if { { case "(($ac_try" in
12963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12964 *) ac_try_echo=$ac_try;;
12966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12967 $as_echo "$ac_try_echo"; } >&5
12968 (eval "$ac_try") 2>&5
12970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12971 test $ac_status = 0; } &&
12972 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12974 *) ac_try_echo
=$ac_try;;
12976 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12977 $as_echo "$ac_try_echo"; } >&5
12978 (eval "$ac_try") 2>&5
12980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12981 test $ac_status = 0; };
12983 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
12984 if test "x$CC" != xcc
; then
12985 # Test first that cc exists at all.
12986 if { ac_try
='cc -c conftest.$ac_ext >&5'
12987 { { case "(($ac_try" in
12988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12989 *) ac_try_echo=$ac_try;;
12991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12992 $as_echo "$ac_try_echo"; } >&5
12993 (eval "$ac_try") 2>&5
12995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12996 test $ac_status = 0; }; }; then
12997 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12999 if { { case "(($ac_try" in
13000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13001 *) ac_try_echo
=$ac_try;;
13003 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13004 $as_echo "$ac_try_echo"; } >&5
13005 (eval "$ac_try") 2>&5
13007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13008 test $ac_status = 0; } &&
13009 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
13010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13011 *) ac_try_echo=$ac_try;;
13013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13014 $as_echo "$ac_try_echo"; } >&5
13015 (eval "$ac_try") 2>&5
13017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13018 test $ac_status = 0; };
13023 # cc exists but doesn't like -o.
13024 eval ac_cv_prog_cc_${ac_cc}_c_o=no
13029 eval ac_cv_prog_cc_${ac_cc}_c_o=no
13031 rm -f core conftest*
13034 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13036 $as_echo "yes" >&6; }
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13039 $as_echo "no" >&6; }
13041 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13045 # FIXME: we rely on the cache variable name because
13046 # there is no other way.
13048 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13049 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
13050 if test "$am_t" != yes; then
13051 # Losing compiler, so override with the script.
13052 # FIXME: It is wrong to rewrite CC.
13053 # But if we don't then we get into trouble of one sort or another.
13054 # A longer-term fix would be to have automake use am__CC in this case,
13055 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13056 CC="$am_aux_dir/compile $CC"
13061 ac_cpp='$CPP $CPPFLAGS'
13062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13066 $as_echo_n "checking how to run the C preprocessor... " >&6; }
13067 # On Suns, sometimes $CPP names a directory.
13068 if test -n "$CPP" && test -d "$CPP"; then
13071 if test -z "$CPP"; then
13072 if test "${ac_cv_prog_CPP+set}" = set; then :
13073 $as_echo_n "(cached) " >&6
13075 # Double quotes because CPP needs to be expanded
13076 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13078 ac_preproc_ok=false
13079 for ac_c_preproc_warn_flag in '' yes
13081 # Use a header file that comes with gcc, so configuring glibc
13082 # with a fresh cross-compiler works.
13083 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13084 # <limits.h> exists even on freestanding compilers.
13085 # On the NeXT, cc -E runs the code through the compiler's parser,
13086 # not just through cpp. "Syntax error" is here to catch this case.
13087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13088 /* end confdefs.h. */
13090 # include <limits.h>
13092 # include <assert.h>
13096 if ac_fn_c_try_cpp "$LINENO"; then :
13099 # Broken: fails on valid input.
13102 rm -f conftest.err conftest.$ac_ext
13104 # OK, works on sane cases. Now check whether nonexistent headers
13105 # can be detected and how.
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13108 #include <ac_nonexistent.h>
13110 if ac_fn_c_try_cpp "$LINENO"; then :
13111 # Broken: success on invalid input.
13114 # Passes both tests.
13118 rm -f conftest.err conftest.$ac_ext
13121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13122 rm -f conftest.err conftest.
$ac_ext
13123 if $ac_preproc_ok; then :
13128 ac_cv_prog_CPP
=$CPP
13131 CPP
=$ac_cv_prog_CPP
13133 ac_cv_prog_CPP
=$CPP
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13136 $as_echo "$CPP" >&6; }
13137 ac_preproc_ok
=false
13138 for ac_c_preproc_warn_flag
in '' yes
13140 # Use a header file that comes with gcc, so configuring glibc
13141 # with a fresh cross-compiler works.
13142 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13143 # <limits.h> exists even on freestanding compilers.
13144 # On the NeXT, cc -E runs the code through the compiler's parser,
13145 # not just through cpp. "Syntax error" is here to catch this case.
13146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13149 # include <limits.h>
13151 # include <assert.h>
13155 if ac_fn_c_try_cpp
"$LINENO"; then :
13158 # Broken: fails on valid input.
13161 rm -f conftest.err conftest.
$ac_ext
13163 # OK, works on sane cases. Now check whether nonexistent headers
13164 # can be detected and how.
13165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13166 /* end confdefs.h. */
13167 #include <ac_nonexistent.h>
13169 if ac_fn_c_try_cpp
"$LINENO"; then :
13170 # Broken: success on invalid input.
13173 # Passes both tests.
13177 rm -f conftest.err conftest.
$ac_ext
13180 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13181 rm -f conftest.err conftest.
$ac_ext
13182 if $ac_preproc_ok; then :
13185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13187 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
13188 See \`config.log' for more details." "$LINENO" 5; }
13192 ac_cpp
='$CPP $CPPFLAGS'
13193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13198 ac_cpp
='$CXXCPP $CPPFLAGS'
13199 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13200 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13201 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13202 if test -z "$CXX"; then
13203 if test -n "$CCC"; then
13206 if test -n "$ac_tool_prefix"; then
13207 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
13209 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13210 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13212 $as_echo_n "checking for $ac_word... " >&6; }
13213 if test "${ac_cv_prog_CXX+set}" = set; then :
13214 $as_echo_n "(cached) " >&6
13216 if test -n "$CXX"; then
13217 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13220 for as_dir
in $PATH
13223 test -z "$as_dir" && as_dir
=.
13224 for ac_exec_ext
in '' $ac_executable_extensions; do
13225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13226 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13236 CXX
=$ac_cv_prog_CXX
13237 if test -n "$CXX"; then
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13239 $as_echo "$CXX" >&6; }
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13242 $as_echo "no" >&6; }
13246 test -n "$CXX" && break
13249 if test -z "$CXX"; then
13251 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
13253 # Extract the first word of "$ac_prog", so it can be a program name with args.
13254 set dummy
$ac_prog; ac_word
=$2
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13256 $as_echo_n "checking for $ac_word... " >&6; }
13257 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13258 $as_echo_n "(cached) " >&6
13260 if test -n "$ac_ct_CXX"; then
13261 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13264 for as_dir
in $PATH
13267 test -z "$as_dir" && as_dir
=.
13268 for ac_exec_ext
in '' $ac_executable_extensions; do
13269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13270 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13280 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13281 if test -n "$ac_ct_CXX"; then
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13283 $as_echo "$ac_ct_CXX" >&6; }
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13286 $as_echo "no" >&6; }
13290 test -n "$ac_ct_CXX" && break
13293 if test "x$ac_ct_CXX" = x
; then
13296 case $cross_compiling:$ac_tool_warned in
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13300 ac_tool_warned
=yes ;;
13308 # Provide some information about the compiler.
13309 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13312 for ac_option
in --version -v -V -qversion; do
13313 { { ac_try
="$ac_compiler $ac_option >&5"
13314 case "(($ac_try" in
13315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13316 *) ac_try_echo=$ac_try;;
13318 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13319 $as_echo "$ac_try_echo"; } >&5
13320 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13322 if test -s conftest.err; then
13324 ... rest of stderr output deleted ...
13325 10q' conftest.err >conftest.er1
13326 cat conftest.er1 >&5
13327 rm -f conftest.er1 conftest.err
13329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13330 test $ac_status = 0; }
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13334 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13335 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13336 $as_echo_n "(cached) " >&6
13338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13352 if ac_fn_cxx_try_compile "$LINENO"; then :
13353 ac_compiler_gnu=yes
13357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13358 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13362 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13363 if test $ac_compiler_gnu = yes; then
13368 ac_test_CXXFLAGS=${CXXFLAGS+set}
13369 ac_save_CXXFLAGS=$CXXFLAGS
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13371 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13372 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13373 $as_echo_n "(cached) " >&6
13375 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13376 ac_cxx_werror_flag=yes
13377 ac_cv_prog_cxx_g=no
13379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h. */
13390 if ac_fn_cxx_try_compile "$LINENO"; then :
13391 ac_cv_prog_cxx_g=yes
13394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13405 if ac_fn_cxx_try_compile "$LINENO"; then :
13408 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13411 /* end confdefs.h. */
13421 if ac_fn_cxx_try_compile "$LINENO"; then :
13422 ac_cv_prog_cxx_g=yes
13424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13429 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13432 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13433 if test "$ac_test_CXXFLAGS" = set; then
13434 CXXFLAGS=$ac_save_CXXFLAGS
13435 elif test $ac_cv_prog_cxx_g = yes; then
13436 if test "$GXX" = yes; then
13442 if test "$GXX" = yes; then
13449 ac_cpp='$CPP $CPPFLAGS'
13450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13454 depcc="$CXX" am_compiler_list=
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13457 $as_echo_n "checking dependency style of $depcc... " >&6; }
13458 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13459 $as_echo_n "(cached) " >&6
13461 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13462 # We make a subdir and do the tests there. Otherwise we can end up
13463 # making bogus files that we don't know about and never remove. For
13464 # instance it was reported that on HP-UX the gcc test will end up
13465 # making a dummy file named `D
' -- because `-MD' means
`put the output
13468 # Copy depcomp to subdir because otherwise we won't find it if we're
13469 # using a relative directory.
13470 cp "$am_depcomp" conftest.dir
13472 # We will build objects and dependencies in a subdirectory because
13473 # it helps to detect inapplicable dependency modes. For instance
13474 # both Tru64's cc and ICC support -MD to output dependencies as a
13475 # side effect of compilation, but ICC will put the dependencies in
13476 # the current directory while Tru64 will put them in the object
13480 am_cv_CXX_dependencies_compiler_type=none
13481 if test "$am_compiler_list" = ""; then
13482 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
13484 am__universal=false
13485 case " $depcc " in #(
13486 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13489 for depmode in $am_compiler_list; do
13490 # Setup a source with many dependencies, because some compilers
13491 # like to wrap large dependency lists on column 80 (with \), and
13492 # we should not choose a depcomp mode which is confused by this.
13494 # We need to recreate these files for each test, as the compiler may
13495 # overwrite some of them when testing with obscure command lines.
13496 # This happens at least with the AIX C compiler.
13498 for i in 1 2 3 4 5 6; do
13499 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13500 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
13501 # Solaris 8's
{/usr
,}/bin
/sh.
13502 touch sub
/conftst
$i.h
13504 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13506 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13507 # mode. It turns out that the SunPro C++ compiler does not properly
13508 # handle `-M -o', and we need to detect this. Also, some Intel
13509 # versions had trouble with output in subdirs
13510 am__obj
=sub
/conftest.
${OBJEXT-o}
13511 am__minus_obj
="-o $am__obj"
13514 # This depmode causes a compiler race in universal mode.
13515 test "$am__universal" = false ||
continue
13518 # after this tag, mechanisms are not by side-effect, so they'll
13519 # only be used when explicitly requested
13520 if test "x$enable_dependency_tracking" = xyes
; then
13526 msvisualcpp | msvcmsys
)
13527 # This compiler won't grok `-c -o', but also, the minuso test has
13528 # not run yet. These depmodes are late enough in the game, and
13529 # so weak that their functioning should not be impacted.
13530 am__obj
=conftest.
${OBJEXT-o}
13535 if depmode
=$depmode \
13536 source=sub
/conftest.c object
=$am__obj \
13537 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13538 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
13539 >/dev
/null
2>conftest.err
&&
13540 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13541 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13542 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
13543 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13544 # icc doesn't choke on unknown options, it will just issue warnings
13545 # or remarks (even with -Werror). So we grep stderr for any message
13546 # that says an option was ignored or not supported.
13547 # When given -MP, icc 7.0 and 7.1 complain thusly:
13548 # icc: Command line warning: ignoring option '-M'; no argument required
13549 # The diagnosis changed in icc 8.0:
13550 # icc: Command line remark: option '-MP' not supported
13551 if (grep 'ignoring option' conftest.err ||
13552 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13553 am_cv_CXX_dependencies_compiler_type
=$depmode
13560 rm -rf conftest.dir
13562 am_cv_CXX_dependencies_compiler_type
=none
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13567 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13568 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
13571 test "x$enable_dependency_tracking" != xno \
13572 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
13573 am__fastdepCXX_TRUE
=
13574 am__fastdepCXX_FALSE
='#'
13576 am__fastdepCXX_TRUE
='#'
13577 am__fastdepCXX_FALSE
=
13581 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13582 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13583 (test "X$CXX" != "Xg++"))) ; then
13585 ac_cpp
='$CXXCPP $CPPFLAGS'
13586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13590 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13591 if test -z "$CXXCPP"; then
13592 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13593 $as_echo_n "(cached) " >&6
13595 # Double quotes because CXXCPP needs to be expanded
13596 for CXXCPP
in "$CXX -E" "/lib/cpp"
13598 ac_preproc_ok
=false
13599 for ac_cxx_preproc_warn_flag
in '' yes
13601 # Use a header file that comes with gcc, so configuring glibc
13602 # with a fresh cross-compiler works.
13603 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13604 # <limits.h> exists even on freestanding compilers.
13605 # On the NeXT, cc -E runs the code through the compiler's parser,
13606 # not just through cpp. "Syntax error" is here to catch this case.
13607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13608 /* end confdefs.h. */
13610 # include <limits.h>
13612 # include <assert.h>
13616 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13619 # Broken: fails on valid input.
13622 rm -f conftest.err conftest.
$ac_ext
13624 # OK, works on sane cases. Now check whether nonexistent headers
13625 # can be detected and how.
13626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13628 #include <ac_nonexistent.h>
13630 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13631 # Broken: success on invalid input.
13634 # Passes both tests.
13638 rm -f conftest.err conftest.
$ac_ext
13641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13642 rm -f conftest.err conftest.
$ac_ext
13643 if $ac_preproc_ok; then :
13648 ac_cv_prog_CXXCPP
=$CXXCPP
13651 CXXCPP
=$ac_cv_prog_CXXCPP
13653 ac_cv_prog_CXXCPP
=$CXXCPP
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13656 $as_echo "$CXXCPP" >&6; }
13657 ac_preproc_ok
=false
13658 for ac_cxx_preproc_warn_flag
in '' yes
13660 # Use a header file that comes with gcc, so configuring glibc
13661 # with a fresh cross-compiler works.
13662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13663 # <limits.h> exists even on freestanding compilers.
13664 # On the NeXT, cc -E runs the code through the compiler's parser,
13665 # not just through cpp. "Syntax error" is here to catch this case.
13666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13667 /* end confdefs.h. */
13669 # include <limits.h>
13671 # include <assert.h>
13675 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13678 # Broken: fails on valid input.
13681 rm -f conftest.err conftest.
$ac_ext
13683 # OK, works on sane cases. Now check whether nonexistent headers
13684 # can be detected and how.
13685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13686 /* end confdefs.h. */
13687 #include <ac_nonexistent.h>
13689 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13690 # Broken: success on invalid input.
13693 # Passes both tests.
13697 rm -f conftest.err conftest.
$ac_ext
13700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13701 rm -f conftest.err conftest.
$ac_ext
13702 if $ac_preproc_ok; then :
13705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13707 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
13708 See \`config.log' for more details." "$LINENO" 5; }
13712 ac_cpp
='$CPP $CPPFLAGS'
13713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13718 _lt_caught_CXX_error
=yes
13722 ac_cpp
='$CXXCPP $CPPFLAGS'
13723 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13724 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13725 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13727 archive_cmds_need_lc_CXX
=no
13728 allow_undefined_flag_CXX
=
13729 always_export_symbols_CXX
=no
13730 archive_expsym_cmds_CXX
=
13731 compiler_needs_object_CXX
=no
13732 export_dynamic_flag_spec_CXX
=
13733 hardcode_direct_CXX
=no
13734 hardcode_direct_absolute_CXX
=no
13735 hardcode_libdir_flag_spec_CXX
=
13736 hardcode_libdir_flag_spec_ld_CXX
=
13737 hardcode_libdir_separator_CXX
=
13738 hardcode_minus_L_CXX
=no
13739 hardcode_shlibpath_var_CXX
=unsupported
13740 hardcode_automatic_CXX
=no
13741 inherit_rpath_CXX
=no
13743 module_expsym_cmds_CXX
=
13744 link_all_deplibs_CXX
=unknown
13745 old_archive_cmds_CXX
=$old_archive_cmds
13746 reload_flag_CXX
=$reload_flag
13747 reload_cmds_CXX
=$reload_cmds
13748 no_undefined_flag_CXX
=
13749 whole_archive_flag_spec_CXX
=
13750 enable_shared_with_static_runtimes_CXX
=no
13752 # Source file extension for C++ test sources.
13755 # Object file extension for compiled C++ test sources.
13759 # No sense in running all these tests if we already determined that
13760 # the CXX compiler isn't working. Some variables (like enable_shared)
13761 # are currently assumed to apply to all compilers on this platform,
13762 # and will be corrupted by setting them based on a non-working compiler.
13763 if test "$_lt_caught_CXX_error" != yes; then
13764 # Code to be used in simple compile tests
13765 lt_simple_compile_test_code
="int some_variable = 0;"
13767 # Code to be used in simple link tests
13768 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13770 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13777 # If no C compiler was specified, use CC.
13780 # If no C compiler flags were specified, use CFLAGS.
13781 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13783 # Allow CC to be a program name with arguments.
13787 # save warnings/boilerplate of simple test code
13788 ac_outfile
=conftest.
$ac_objext
13789 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13790 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13791 _lt_compiler_boilerplate
=`cat conftest.err`
13794 ac_outfile
=conftest.
$ac_objext
13795 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13796 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13797 _lt_linker_boilerplate
=`cat conftest.err`
13801 # Allow CC to be a program name with arguments.
13806 lt_save_with_gnu_ld
=$with_gnu_ld
13807 lt_save_path_LD
=$lt_cv_path_LD
13808 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13809 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13811 $as_unset lt_cv_prog_gnu_ld
13813 if test -n "${lt_cv_path_LDCXX+set}"; then
13814 lt_cv_path_LD
=$lt_cv_path_LDCXX
13816 $as_unset lt_cv_path_LD
13818 test -z "${LDCXX+set}" || LD
=$LDCXX
13822 for cc_temp
in $compiler""; do
13824 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13825 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13830 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13833 if test -n "$compiler"; then
13834 # We don't want -fno-exception when compiling C++ code, so set the
13835 # no_builtin_flag separately
13836 if test "$GXX" = yes; then
13837 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13839 lt_prog_compiler_no_builtin_flag_CXX
=
13842 if test "$GXX" = yes; then
13843 # Set up default GNU C++ configuration
13847 # Check whether --with-gnu-ld was given.
13848 if test "${with_gnu_ld+set}" = set; then :
13849 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13855 if test "$GCC" = yes; then
13856 # Check if gcc -print-prog-name=ld gives a path.
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13858 $as_echo_n "checking for ld used by $CC... " >&6; }
13861 # gcc leaves a trailing carriage return which upsets mingw
13862 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13864 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13867 # Accept absolute paths.
13869 re_direlt
='/[^/][^/]*/\.\./'
13870 # Canonicalize the pathname of ld
13871 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13872 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13873 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13875 test -z "$LD" && LD
="$ac_prog"
13878 # If it fails, then pretend we aren't using GCC.
13882 # If it is relative, then search for the first ld in PATH.
13883 with_gnu_ld
=unknown
13886 elif test "$with_gnu_ld" = yes; then
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13888 $as_echo_n "checking for GNU ld... " >&6; }
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13891 $as_echo_n "checking for non-GNU ld... " >&6; }
13893 if test "${lt_cv_path_LD+set}" = set; then :
13894 $as_echo_n "(cached) " >&6
13896 if test -z "$LD"; then
13897 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13898 for ac_dir
in $PATH; do
13900 test -z "$ac_dir" && ac_dir
=.
13901 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13902 lt_cv_path_LD
="$ac_dir/$ac_prog"
13903 # Check to see if the program is GNU ld. I'd rather use --version,
13904 # but apparently some variants of GNU ld only accept -v.
13905 # Break only if it was the GNU/non-GNU ld that we prefer.
13906 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13907 *GNU
* |
*'with BFD'*)
13908 test "$with_gnu_ld" != no
&& break
13911 test "$with_gnu_ld" != yes && break
13918 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13922 LD
="$lt_cv_path_LD"
13923 if test -n "$LD"; then
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13925 $as_echo "$LD" >&6; }
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13928 $as_echo "no" >&6; }
13930 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13932 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13933 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
13934 $as_echo_n "(cached) " >&6
13936 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13937 case `$LD -v 2>&1 </dev/null` in
13938 *GNU
* |
*'with BFD'*)
13939 lt_cv_prog_gnu_ld
=yes
13942 lt_cv_prog_gnu_ld
=no
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13947 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13948 with_gnu_ld
=$lt_cv_prog_gnu_ld
13956 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13957 # archiving commands below assume that GNU ld is being used.
13958 if test "$with_gnu_ld" = yes; then
13959 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13960 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'
13962 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13963 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13965 # If archive_cmds runs LD, not CC, wlarc should be empty
13966 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13967 # investigate it a little bit more. (MM)
13970 # ancient GNU ld didn't support --whole-archive et. al.
13971 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13972 $GREP 'no-whole-archive' > /dev
/null
; then
13973 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13975 whole_archive_flag_spec_CXX
=
13981 # A generic and very simple default shared library creation
13982 # command for GNU C++ for the case where it uses the native
13983 # linker, instead of GNU ld. If possible, this setting should
13984 # overridden to take advantage of the native linker features on
13985 # the platform it is being used on.
13986 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13989 # Commands to make compiler produce verbose output that lists
13990 # what "hidden" libraries, object files and flags are used when
13991 # linking a shared library.
13992 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14000 # PORTME: fill in a description of your system's C++ link characteristics
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14002 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14006 # FIXME: insert proper C++ library support
14010 if test "$host_cpu" = ia64
; then
14011 # On IA64, the linker does run time linking by default, so we don't
14012 # have to do anything special.
14013 aix_use_runtimelinking
=no
14014 exp_sym_flag
='-Bexport'
14017 aix_use_runtimelinking
=no
14019 # Test if we are trying to use run time linking or normal
14020 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14021 # need to do runtime linking.
14022 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14023 for ld_flag
in $LDFLAGS; do
14026 aix_use_runtimelinking
=yes
14034 exp_sym_flag
='-bexport'
14035 no_entry_flag
='-bnoentry'
14038 # When large executables or shared objects are built, AIX ld can
14039 # have problems creating the table of contents. If linking a library
14040 # or program results in "error TOC overflow" add -mminimal-toc to
14041 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14042 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14044 archive_cmds_CXX
=''
14045 hardcode_direct_CXX
=yes
14046 hardcode_direct_absolute_CXX
=yes
14047 hardcode_libdir_separator_CXX
=':'
14048 link_all_deplibs_CXX
=yes
14049 file_list_spec_CXX
='${wl}-f,'
14051 if test "$GXX" = yes; then
14052 case $host_os in aix4.
[012]|aix4.
[012].
*)
14053 # We only want to do this on AIX 4.2 and lower, the check
14054 # below for broken collect2 doesn't work under 4.3+
14055 collect2name
=`${CC} -print-prog-name=collect2`
14056 if test -f "$collect2name" &&
14057 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14059 # We have reworked collect2
14062 # We have old collect2
14063 hardcode_direct_CXX
=unsupported
14064 # It fails to find uninstalled libraries when the uninstalled
14065 # path is not listed in the libpath. Setting hardcode_minus_L
14066 # to unsupported forces relinking
14067 hardcode_minus_L_CXX
=yes
14068 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14069 hardcode_libdir_separator_CXX
=
14072 shared_flag
='-shared'
14073 if test "$aix_use_runtimelinking" = yes; then
14074 shared_flag
="$shared_flag "'${wl}-G'
14078 if test "$host_cpu" = ia64
; then
14079 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14080 # chokes on -Wl,-G. The following line is correct:
14083 if test "$aix_use_runtimelinking" = yes; then
14084 shared_flag
='${wl}-G'
14086 shared_flag
='${wl}-bM:SRE'
14091 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14092 # It seems that -bexpall does not export symbols beginning with
14093 # underscore (_), so it is better to generate a list of symbols to
14095 always_export_symbols_CXX
=yes
14096 if test "$aix_use_runtimelinking" = yes; then
14097 # Warning - without using the other runtime loading flags (-brtl),
14098 # -berok will link without error, but may produce a broken library.
14099 allow_undefined_flag_CXX
='-berok'
14100 # Determine the default libpath from the value encoded in an empty
14102 if test x
$gcc_no_link = xyes
; then
14103 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14116 if ac_fn_cxx_try_link
"$LINENO"; then :
14118 lt_aix_libpath_sed
='
14119 /Import File Strings/,/^$/ {
14125 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14126 # Check for a 64-bit object if we didn't find anything.
14127 if test -z "$aix_libpath"; then
14128 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14131 rm -f core conftest.err conftest.
$ac_objext \
14132 conftest
$ac_exeext conftest.
$ac_ext
14133 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14135 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14137 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"
14139 if test "$host_cpu" = ia64
; then
14140 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14141 allow_undefined_flag_CXX
="-z nodefs"
14142 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"
14144 # Determine the default libpath from the value encoded in an
14145 # empty executable.
14146 if test x
$gcc_no_link = xyes
; then
14147 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14150 /* end confdefs.h. */
14160 if ac_fn_cxx_try_link
"$LINENO"; then :
14162 lt_aix_libpath_sed
='
14163 /Import File Strings/,/^$/ {
14169 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14170 # Check for a 64-bit object if we didn't find anything.
14171 if test -z "$aix_libpath"; then
14172 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14175 rm -f core conftest.err conftest.
$ac_objext \
14176 conftest
$ac_exeext conftest.
$ac_ext
14177 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14179 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14180 # Warning - without using the other run time loading flags,
14181 # -berok will link without error, but may produce a broken library.
14182 no_undefined_flag_CXX
=' ${wl}-bernotok'
14183 allow_undefined_flag_CXX
=' ${wl}-berok'
14184 if test "$with_gnu_ld" = yes; then
14185 # We only use this code for GNU lds that support --whole-archive.
14186 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14188 # Exported symbols can be pulled into shared objects from archives
14189 whole_archive_flag_spec_CXX
='$convenience'
14191 archive_cmds_need_lc_CXX
=yes
14192 # This is similar to how AIX traditionally builds its shared
14194 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'
14200 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14201 allow_undefined_flag_CXX
=unsupported
14202 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14203 # support --undefined. This deserves some investigation. FIXME
14204 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14211 case $cc_basename in
14213 # FIXME: insert proper C++ library support
14219 cygwin
* | mingw
* | pw32
* | cegcc
*)
14220 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14221 # as there is no search path for DLLs.
14222 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14223 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
14224 allow_undefined_flag_CXX
=unsupported
14225 always_export_symbols_CXX
=no
14226 enable_shared_with_static_runtimes_CXX
=yes
14228 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14229 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'
14230 # If the export-symbols file already is a .def file (1st line
14231 # is EXPORTS), use it as is; otherwise, prepend...
14232 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14233 cp $export_symbols $output_objdir/$soname.def;
14235 echo EXPORTS > $output_objdir/$soname.def;
14236 cat $export_symbols >> $output_objdir/$soname.def;
14238 $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'
14243 darwin
* | rhapsody
*)
14246 archive_cmds_need_lc_CXX
=no
14247 hardcode_direct_CXX
=no
14248 hardcode_automatic_CXX
=yes
14249 hardcode_shlibpath_var_CXX
=unsupported
14250 if test "$lt_cv_ld_force_load" = "yes"; then
14251 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\"`'
14253 whole_archive_flag_spec_CXX
=''
14255 link_all_deplibs_CXX
=yes
14256 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14257 case $cc_basename in
14258 ifort
*) _lt_dar_can_shared
=yes ;;
14259 *) _lt_dar_can_shared
=$GCC ;;
14261 if test "$_lt_dar_can_shared" = "yes"; then
14262 output_verbose_link_cmd
=func_echo_all
14263 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}"
14264 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14265 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}"
14266 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}"
14267 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14268 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}"
14269 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}"
14279 case $cc_basename in
14281 # FIXME: insert proper C++ library support
14285 # Green Hills C++ Compiler
14286 # FIXME: insert proper C++ library support
14290 # FIXME: insert proper C++ library support
14297 # C++ shared libraries reported to be fairly broken before
14303 archive_cmds_need_lc_CXX
=no
14306 freebsd
* | dragonfly
*)
14307 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14316 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14317 link_all_deplibs_CXX
=yes
14321 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14322 hardcode_libdir_separator_CXX
=:
14323 export_dynamic_flag_spec_CXX
='${wl}-E'
14324 hardcode_direct_CXX
=yes
14325 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14326 # but as the default
14327 # location of the library.
14329 case $cc_basename in
14331 # FIXME: insert proper C++ library support
14335 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'
14336 # Commands to make compiler produce verbose output that lists
14337 # what "hidden" libraries, object files and flags are used when
14338 # linking a shared library.
14340 # There doesn't appear to be a way to prevent this compiler from
14341 # explicitly linking system object files so we need to strip them
14342 # from the output so that they don't get included in the library
14344 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"'
14347 if test "$GXX" = yes; then
14348 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'
14350 # FIXME: insert proper C++ library support
14358 if test $with_gnu_ld = no
; then
14359 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14360 hardcode_libdir_separator_CXX
=:
14366 export_dynamic_flag_spec_CXX
='${wl}-E'
14372 hardcode_direct_CXX
=no
14373 hardcode_shlibpath_var_CXX
=no
14376 hardcode_direct_CXX
=yes
14377 hardcode_direct_absolute_CXX
=yes
14378 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14379 # but as the default
14380 # location of the library.
14384 case $cc_basename in
14386 # FIXME: insert proper C++ library support
14392 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14395 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14398 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14401 # Commands to make compiler produce verbose output that lists
14402 # what "hidden" libraries, object files and flags are used when
14403 # linking a shared library.
14405 # There doesn't appear to be a way to prevent this compiler from
14406 # explicitly linking system object files so we need to strip them
14407 # from the output so that they don't get included in the library
14409 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"'
14412 if test "$GXX" = yes; then
14413 if test $with_gnu_ld = no
; then
14416 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14419 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14422 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'
14427 # FIXME: insert proper C++ library support
14435 hardcode_direct_CXX
=no
14436 hardcode_shlibpath_var_CXX
=no
14437 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14438 export_dynamic_flag_spec_CXX
='${wl}-E'
14439 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14440 # Instead, shared libraries are loaded at an image base (0x10000000 by
14441 # default) and relocated if they conflict, which is a slow very memory
14442 # consuming and fragmenting process. To avoid this, we pick a random,
14443 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14444 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14445 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'
14446 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'
14449 case $cc_basename in
14452 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'
14454 # Archives containing C++ object files must be created using
14455 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14456 # necessary to make sure instantiated templates are included
14458 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14461 if test "$GXX" = yes; then
14462 if test "$with_gnu_ld" = no
; then
14463 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'
14465 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'
14468 link_all_deplibs_CXX
=yes
14471 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14472 hardcode_libdir_separator_CXX
=:
14473 inherit_rpath_CXX
=yes
14476 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14477 case $cc_basename in
14479 # Kuck and Associates, Inc. (KAI) C++ Compiler
14481 # KCC will only create a shared library if the output file
14482 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14483 # to its proper name (with version) after linking.
14484 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'
14485 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'
14486 # Commands to make compiler produce verbose output that lists
14487 # what "hidden" libraries, object files and flags are used when
14488 # linking a shared library.
14490 # There doesn't appear to be a way to prevent this compiler from
14491 # explicitly linking system object files so we need to strip them
14492 # from the output so that they don't get included in the library
14494 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"'
14496 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14497 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14499 # Archives containing C++ object files must be created using
14500 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14501 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14506 # version 8.0 and above of icpc choke on multiply defined symbols
14507 # if we add $predep_objects and $postdep_objects, however 7.1 and
14508 # earlier do not add the objects themselves.
14509 case `$CC -V 2>&1` in
14511 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14512 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'
14514 *) # Version 8.0 or newer
14517 ia64
*) tmp_idyn
=' -i_dynamic';;
14519 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14520 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'
14523 archive_cmds_need_lc_CXX
=no
14524 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14525 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14526 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14529 # Portland Group C++ compiler
14531 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
14532 prelink_cmds_CXX
='tpldir=Template.dir~
14534 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14535 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14536 old_archive_cmds_CXX
='tpldir=Template.dir~
14538 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14539 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14541 archive_cmds_CXX
='tpldir=Template.dir~
14543 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14544 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14545 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14547 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14548 $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'
14550 *) # Version 6 and above use weak symbols
14551 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14552 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'
14556 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14557 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14558 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'
14562 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14563 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'
14565 runpath_var
=LD_RUN_PATH
14566 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14567 hardcode_libdir_separator_CXX
=:
14569 # Commands to make compiler produce verbose output that lists
14570 # what "hidden" libraries, object files and flags are used when
14571 # linking a shared library.
14573 # There doesn't appear to be a way to prevent this compiler from
14574 # explicitly linking system object files so we need to strip them
14575 # from the output so that they don't get included in the library
14577 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'
14579 xl
* | mpixl
* | bgxl
*)
14580 # IBM XL 8.0 on PPC, with GNU ld
14581 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14582 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14583 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14584 if test "x$supports_anon_versioning" = xyes
; then
14585 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14586 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14587 echo "local: *; };" >> $output_objdir/$libname.ver~
14588 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14592 case `$CC -V 2>&1 | sed 5q` in
14595 no_undefined_flag_CXX
=' -zdefs'
14596 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14597 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'
14598 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14599 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'
14600 compiler_needs_object_CXX
=yes
14602 # Not sure whether something based on
14603 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14605 output_verbose_link_cmd
='func_echo_all'
14607 # Archives containing C++ object files must be created using
14608 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14609 # necessary to make sure instantiated templates are included
14611 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14619 # FIXME: insert proper C++ library support
14624 # FIXME: insert proper C++ library support
14629 case $cc_basename in
14631 # FIXME: insert proper C++ library support
14635 # FIXME: insert proper C++ library support
14642 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14643 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14645 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14646 hardcode_direct_CXX
=yes
14647 hardcode_shlibpath_var_CXX
=no
14649 # Workaround some broken pre-1.5 toolchains
14650 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14658 # C++ shared libraries are fairly broken
14663 if test -f /usr
/libexec
/ld.so
; then
14664 hardcode_direct_CXX
=yes
14665 hardcode_shlibpath_var_CXX
=no
14666 hardcode_direct_absolute_CXX
=yes
14667 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14668 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14669 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14670 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14671 export_dynamic_flag_spec_CXX
='${wl}-E'
14672 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14674 output_verbose_link_cmd
=func_echo_all
14680 osf3
* | osf4
* | osf5
*)
14681 case $cc_basename in
14683 # Kuck and Associates, Inc. (KAI) C++ Compiler
14685 # KCC will only create a shared library if the output file
14686 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14687 # to its proper name (with version) after linking.
14688 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'
14690 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14691 hardcode_libdir_separator_CXX
=:
14693 # Archives containing C++ object files must be created using
14694 # the KAI C++ compiler.
14696 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14697 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14701 # Rational C++ 2.4.1
14702 # FIXME: insert proper C++ library support
14708 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14709 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'
14710 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14713 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14714 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'
14715 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14716 echo "-hidden">> $lib.exp~
14717 $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~
14719 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14723 hardcode_libdir_separator_CXX
=:
14725 # Commands to make compiler produce verbose output that lists
14726 # what "hidden" libraries, object files and flags are used when
14727 # linking a shared library.
14729 # There doesn't appear to be a way to prevent this compiler from
14730 # explicitly linking system object files so we need to strip them
14731 # from the output so that they don't get included in the library
14733 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"'
14736 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14737 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14740 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'
14743 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'
14747 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14748 hardcode_libdir_separator_CXX
=:
14750 # Commands to make compiler produce verbose output that lists
14751 # what "hidden" libraries, object files and flags are used when
14752 # linking a shared library.
14753 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14756 # FIXME: insert proper C++ library support
14764 # FIXME: insert proper C++ library support
14769 case $cc_basename in
14772 # FIXME: insert proper C++ library support
14777 # FIXME: insert proper C++ library support
14781 # FIXME: insert proper C++ library support
14788 case $cc_basename in
14790 # Sun C++ 4.2, 5.x and Centerline C++
14791 archive_cmds_need_lc_CXX
=yes
14792 no_undefined_flag_CXX
=' -zdefs'
14793 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14794 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14795 $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'
14797 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14798 hardcode_shlibpath_var_CXX
=no
14800 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14802 # The compiler driver will combine and reorder linker options,
14803 # but understands `-z linker_flag'.
14804 # Supported since Solaris 2.6 (maybe 2.5.1?)
14805 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14808 link_all_deplibs_CXX
=yes
14810 output_verbose_link_cmd
='func_echo_all'
14812 # Archives containing C++ object files must be created using
14813 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14814 # necessary to make sure instantiated templates are included
14816 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14819 # Green Hills C++ Compiler
14820 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14822 # The C++ compiler must be used to create the archive.
14823 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14826 # GNU C++ compiler with Solaris linker
14827 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14828 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14829 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14830 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14831 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14832 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14834 # Commands to make compiler produce verbose output that lists
14835 # what "hidden" libraries, object files and flags are used when
14836 # linking a shared library.
14837 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14839 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14841 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14842 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14843 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14845 # Commands to make compiler produce verbose output that lists
14846 # what "hidden" libraries, object files and flags are used when
14847 # linking a shared library.
14848 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14851 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14853 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14855 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14863 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14864 no_undefined_flag_CXX
='${wl}-z,text'
14865 archive_cmds_need_lc_CXX
=no
14866 hardcode_shlibpath_var_CXX
=no
14867 runpath_var
='LD_RUN_PATH'
14869 case $cc_basename in
14871 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14872 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14875 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14876 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14881 sysv5
* | sco3.2v5
* | sco5v6
*)
14882 # Note: We can NOT use -z defs as we might desire, because we do not
14883 # link with -lc, and that would cause any symbols used from libc to
14884 # always be unresolved, which means just about no library would
14885 # ever link correctly. If we're not using GNU ld we use -z text
14886 # though, which does catch some bad symbols but isn't as heavy-handed
14888 no_undefined_flag_CXX
='${wl}-z,text'
14889 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14890 archive_cmds_need_lc_CXX
=no
14891 hardcode_shlibpath_var_CXX
=no
14892 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14893 hardcode_libdir_separator_CXX
=':'
14894 link_all_deplibs_CXX
=yes
14895 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14896 runpath_var
='LD_RUN_PATH'
14898 case $cc_basename in
14900 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14901 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14902 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14903 '"$old_archive_cmds_CXX"
14904 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14905 '"$reload_cmds_CXX"
14908 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14909 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14915 case $cc_basename in
14917 # NonStop-UX NCC 3.20
14918 # FIXME: insert proper C++ library support
14922 # FIXME: insert proper C++ library support
14929 # FIXME: insert proper C++ library support
14934 # FIXME: insert proper C++ library support
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14940 $as_echo "$ld_shlibs_CXX" >&6; }
14941 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14947 ## There is no encapsulation within the following macros, do not change
14948 ## the running order or otherwise move them around unless you know exactly
14949 ## what you are doing...
14950 # Dependencies to place before and after the object being linked:
14951 predep_objects_CXX
=
14952 postdep_objects_CXX
=
14955 compiler_lib_search_path_CXX
=
14957 cat > conftest.
$ac_ext <<_LT_EOF
14961 Foo (void) { a = 0; }
14967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14968 (eval $ac_compile) 2>&5
14970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14971 test $ac_status = 0; }; then
14972 # Parse the compiler output and extract the necessary
14973 # objects, libraries and library flags.
14975 # Sentinel used to keep track of whether or not we are before
14976 # the conftest object file.
14977 pre_test_object_deps_done
=no
14979 for p
in `eval "$output_verbose_link_cmd"`; do
14983 # Some compilers place space between "-{L,R}" and the path.
14984 # Remove the space.
14985 if test $p = "-L" ||
14986 test $p = "-R"; then
14993 if test "$pre_test_object_deps_done" = no
; then
14996 # Internal compiler library paths should come after those
14997 # provided the user. The postdeps already come after the
14998 # user supplied libs so there is no need to process them.
14999 if test -z "$compiler_lib_search_path_CXX"; then
15000 compiler_lib_search_path_CXX
="${prev}${p}"
15002 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
15005 # The "-l" case would never come before the object being
15006 # linked, so don't bother handling this case.
15009 if test -z "$postdeps_CXX"; then
15010 postdeps_CXX
="${prev}${p}"
15012 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
15018 # This assumes that the test object file only shows up
15019 # once in the compiler output.
15020 if test "$p" = "conftest.$objext"; then
15021 pre_test_object_deps_done
=yes
15025 if test "$pre_test_object_deps_done" = no
; then
15026 if test -z "$predep_objects_CXX"; then
15027 predep_objects_CXX
="$p"
15029 predep_objects_CXX
="$predep_objects_CXX $p"
15032 if test -z "$postdep_objects_CXX"; then
15033 postdep_objects_CXX
="$p"
15035 postdep_objects_CXX
="$postdep_objects_CXX $p"
15040 *) ;; # Ignore the rest.
15048 echo "libtool.m4: error: problem compiling CXX test program"
15051 $RM -f confest.
$objext
15053 # PORTME: override above test on systems where it is broken
15056 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15057 # hack all around it, let's just trust "g++" to DTRT.
15058 predep_objects_CXX
=
15059 postdep_objects_CXX
=
15064 case `$CC -V 2>&1 | sed 5q` in
15068 # The more standards-conforming stlport4 library is
15069 # incompatible with the Cstd library. Avoid specifying
15070 # it if it's in CXXFLAGS. Ignore libCrun as
15071 # -library=stlport4 depends on it.
15072 case " $CXX $CXXFLAGS " in
15073 *" -library=stlport4 "*)
15074 solaris_use_stlport4
=yes
15078 if test "$solaris_use_stlport4" != yes; then
15079 postdeps_CXX
='-library=Cstd -library=Crun'
15086 case $cc_basename in
15088 # The more standards-conforming stlport4 library is
15089 # incompatible with the Cstd library. Avoid specifying
15090 # it if it's in CXXFLAGS. Ignore libCrun as
15091 # -library=stlport4 depends on it.
15092 case " $CXX $CXXFLAGS " in
15093 *" -library=stlport4 "*)
15094 solaris_use_stlport4
=yes
15098 # Adding this requires a known-good setup of shared libraries for
15099 # Sun compiler versions before 5.6, else PIC objects from an old
15100 # archive will be linked into the output, leading to subtle bugs.
15101 if test "$solaris_use_stlport4" != yes; then
15102 postdeps_CXX
='-library=Cstd -library=Crun'
15110 case " $postdeps_CXX " in
15111 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15113 compiler_lib_search_dirs_CXX
=
15114 if test -n "${compiler_lib_search_path_CXX}"; then
15115 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15148 lt_prog_compiler_wl_CXX
=
15149 lt_prog_compiler_pic_CXX
=
15150 lt_prog_compiler_static_CXX
=
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15153 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15155 # C++ specific cases for pic, static, wl, etc.
15156 if test "$GXX" = yes; then
15157 lt_prog_compiler_wl_CXX
='-Wl,'
15158 lt_prog_compiler_static_CXX
='-static'
15162 # All AIX code is PIC.
15163 if test "$host_cpu" = ia64
; then
15164 # AIX 5 now supports IA64 processor
15165 lt_prog_compiler_static_CXX
='-Bstatic'
15167 lt_prog_compiler_pic_CXX
='-fPIC'
15173 # see comment about AmigaOS4 .so support
15174 lt_prog_compiler_pic_CXX
='-fPIC'
15177 # FIXME: we need at least 68020 code to build shared libraries, but
15178 # adding the `-m68020' flag to GCC prevents building anything better,
15180 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15185 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15186 # PIC is the default for these OSes.
15188 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15189 # This hack is so that the source file can tell whether it is being
15190 # built for inclusion in a dll (and should export symbols for example).
15191 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15192 # (--disable-auto-import) libraries
15193 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15195 darwin
* | rhapsody
*)
15196 # PIC is the default on this platform
15197 # Common symbols not allowed in MH_DYLIB files
15198 lt_prog_compiler_pic_CXX
='-fno-common'
15201 # DJGPP does not support shared libraries at all
15202 lt_prog_compiler_pic_CXX
=
15205 # PIC is the default for Haiku.
15206 # The "-static" flag exists, but is broken.
15207 lt_prog_compiler_static_CXX
=
15210 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15211 # Instead, we relocate shared libraries at runtime.
15214 if test -d /usr
/nec
; then
15215 lt_prog_compiler_pic_CXX
=-Kconform_pic
15219 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15220 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15221 # sets the default TLS model and affects inlining.
15226 lt_prog_compiler_pic_CXX
='-fPIC'
15231 # QNX uses GNU C++, but need to define -shared option too, otherwise
15232 # it will coredump.
15233 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15236 lt_prog_compiler_pic_CXX
='-fPIC'
15242 # All AIX code is PIC.
15243 if test "$host_cpu" = ia64
; then
15244 # AIX 5 now supports IA64 processor
15245 lt_prog_compiler_static_CXX
='-Bstatic'
15247 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15251 case $cc_basename in
15253 # Green Hills C++ Compiler
15254 # _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"
15259 case $cc_basename in
15261 lt_prog_compiler_pic_CXX
='-KPIC'
15264 # Green Hills C++ Compiler
15265 lt_prog_compiler_pic_CXX
='-pic'
15271 freebsd
* | dragonfly
*)
15272 # FreeBSD uses GNU C++
15274 hpux9
* | hpux10
* | hpux11
*)
15275 case $cc_basename in
15277 lt_prog_compiler_wl_CXX
='-Wl,'
15278 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15279 if test "$host_cpu" != ia64
; then
15280 lt_prog_compiler_pic_CXX
='+Z'
15284 lt_prog_compiler_wl_CXX
='-Wl,'
15285 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15291 lt_prog_compiler_pic_CXX
='+Z'
15300 # This is c89, which is MS Visual C++ (no shared libs)
15301 # Anyone wants to do a port?
15303 irix5
* | irix6
* | nonstopux
*)
15304 case $cc_basename in
15306 lt_prog_compiler_wl_CXX
='-Wl,'
15307 lt_prog_compiler_static_CXX
='-non_shared'
15308 # CC pic flag -KPIC is the default.
15314 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15315 case $cc_basename in
15318 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15319 lt_prog_compiler_pic_CXX
='-fPIC'
15322 # old Intel C++ for x86_64 which still supported -KPIC.
15323 lt_prog_compiler_wl_CXX
='-Wl,'
15324 lt_prog_compiler_pic_CXX
='-KPIC'
15325 lt_prog_compiler_static_CXX
='-static'
15328 # Intel C++, used to be incompatible with GCC.
15329 # ICC 10 doesn't accept -KPIC any more.
15330 lt_prog_compiler_wl_CXX
='-Wl,'
15331 lt_prog_compiler_pic_CXX
='-fPIC'
15332 lt_prog_compiler_static_CXX
='-static'
15335 # Portland Group C++ compiler
15336 lt_prog_compiler_wl_CXX
='-Wl,'
15337 lt_prog_compiler_pic_CXX
='-fpic'
15338 lt_prog_compiler_static_CXX
='-Bstatic'
15342 # Make sure the PIC flag is empty. It appears that all Alpha
15343 # Linux and Compaq Tru64 Unix objects are PIC.
15344 lt_prog_compiler_pic_CXX
=
15345 lt_prog_compiler_static_CXX
='-non_shared'
15347 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15348 # IBM XL 8.0, 9.0 on PPC and BlueGene
15349 lt_prog_compiler_wl_CXX
='-Wl,'
15350 lt_prog_compiler_pic_CXX
='-qpic'
15351 lt_prog_compiler_static_CXX
='-qstaticlink'
15354 case `$CC -V 2>&1 | sed 5q` in
15357 lt_prog_compiler_pic_CXX
='-KPIC'
15358 lt_prog_compiler_static_CXX
='-Bstatic'
15359 lt_prog_compiler_wl_CXX
='-Qoption ld '
15370 case $cc_basename in
15372 lt_prog_compiler_pic_CXX
='-W c,exportall'
15381 # QNX uses GNU C++, but need to define -shared option too, otherwise
15382 # it will coredump.
15383 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15385 osf3
* | osf4
* | osf5
*)
15386 case $cc_basename in
15388 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15391 # Rational C++ 2.4.1
15392 lt_prog_compiler_pic_CXX
='-pic'
15395 # Digital/Compaq C++
15396 lt_prog_compiler_wl_CXX
='-Wl,'
15397 # Make sure the PIC flag is empty. It appears that all Alpha
15398 # Linux and Compaq Tru64 Unix objects are PIC.
15399 lt_prog_compiler_pic_CXX
=
15400 lt_prog_compiler_static_CXX
='-non_shared'
15409 case $cc_basename in
15411 # Sun C++ 4.2, 5.x and Centerline C++
15412 lt_prog_compiler_pic_CXX
='-KPIC'
15413 lt_prog_compiler_static_CXX
='-Bstatic'
15414 lt_prog_compiler_wl_CXX
='-Qoption ld '
15417 # Green Hills C++ Compiler
15418 lt_prog_compiler_pic_CXX
='-PIC'
15425 case $cc_basename in
15428 lt_prog_compiler_pic_CXX
='-pic'
15429 lt_prog_compiler_static_CXX
='-Bstatic'
15433 lt_prog_compiler_pic_CXX
='-pic'
15439 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15440 case $cc_basename in
15442 lt_prog_compiler_wl_CXX
='-Wl,'
15443 lt_prog_compiler_pic_CXX
='-KPIC'
15444 lt_prog_compiler_static_CXX
='-Bstatic'
15449 case $cc_basename in
15451 # NonStop-UX NCC 3.20
15452 lt_prog_compiler_pic_CXX
='-KPIC'
15461 lt_prog_compiler_can_build_shared_CXX
=no
15467 # For platforms which do not support PIC, -DPIC is meaningless:
15469 lt_prog_compiler_pic_CXX
=
15472 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15476 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15481 # Check to make sure the PIC flag actually works.
15483 if test -n "$lt_prog_compiler_pic_CXX"; then
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15485 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15486 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15487 $as_echo_n "(cached) " >&6
15489 lt_cv_prog_compiler_pic_works_CXX
=no
15490 ac_outfile
=conftest.
$ac_objext
15491 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15492 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15493 # Insert the option either (1) after the last *FLAGS variable, or
15494 # (2) before a word containing "conftest.", or (3) at the end.
15495 # Note that $ac_compile itself does not contain backslashes and begins
15496 # with a dollar sign (not a hyphen), so the echo should work correctly.
15497 # The option is referenced via a variable to avoid confusing sed.
15498 lt_compile
=`echo "$ac_compile" | $SED \
15499 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15500 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15501 -e 's:$: $lt_compiler_flag:'`
15502 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15503 (eval "$lt_compile" 2>conftest.err
)
15505 cat conftest.err
>&5
15506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15507 if (exit $ac_status) && test -s "$ac_outfile"; then
15508 # The compiler can only warn and ignore the option if not recognized
15509 # So say no if there are warnings other than the usual output.
15510 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
15511 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15512 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15513 lt_cv_prog_compiler_pic_works_CXX
=yes
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15520 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15522 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15523 case $lt_prog_compiler_pic_CXX in
15525 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15528 lt_prog_compiler_pic_CXX
=
15529 lt_prog_compiler_can_build_shared_CXX
=no
15537 # Check to make sure the static flag actually works.
15539 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15541 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15542 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15543 $as_echo_n "(cached) " >&6
15545 lt_cv_prog_compiler_static_works_CXX
=no
15546 save_LDFLAGS
="$LDFLAGS"
15547 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15548 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15549 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15550 # The linker can only warn and ignore the option if not recognized
15551 # So say no if there are warnings
15552 if test -s conftest.err
; then
15553 # Append any errors to the config.log.
15554 cat conftest.err
1>&5
15555 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15556 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15557 if diff conftest.exp conftest.er2
>/dev
/null
; then
15558 lt_cv_prog_compiler_static_works_CXX
=yes
15561 lt_cv_prog_compiler_static_works_CXX
=yes
15565 LDFLAGS
="$save_LDFLAGS"
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15569 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15571 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15574 lt_prog_compiler_static_CXX
=
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15581 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15582 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15583 $as_echo_n "(cached) " >&6
15585 lt_cv_prog_compiler_c_o_CXX
=no
15586 $RM -r conftest
2>/dev
/null
15590 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15592 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15593 # Insert the option either (1) after the last *FLAGS variable, or
15594 # (2) before a word containing "conftest.", or (3) at the end.
15595 # Note that $ac_compile itself does not contain backslashes and begins
15596 # with a dollar sign (not a hyphen), so the echo should work correctly.
15597 lt_compile
=`echo "$ac_compile" | $SED \
15598 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15599 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15600 -e 's:$: $lt_compiler_flag:'`
15601 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15602 (eval "$lt_compile" 2>out
/conftest.err
)
15604 cat out
/conftest.err
>&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15608 # The compiler can only warn and ignore the option if not recognized
15609 # So say no if there are warnings
15610 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15611 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15612 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15613 lt_cv_prog_compiler_c_o_CXX
=yes
15618 # SGI C++ compiler will create directory out/ii_files/ for
15619 # template instantiation
15620 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15621 $RM out
/* && rmdir out
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15628 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15633 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15634 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15635 $as_echo_n "(cached) " >&6
15637 lt_cv_prog_compiler_c_o_CXX
=no
15638 $RM -r conftest
2>/dev
/null
15642 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15644 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15645 # Insert the option either (1) after the last *FLAGS variable, or
15646 # (2) before a word containing "conftest.", or (3) at the end.
15647 # Note that $ac_compile itself does not contain backslashes and begins
15648 # with a dollar sign (not a hyphen), so the echo should work correctly.
15649 lt_compile
=`echo "$ac_compile" | $SED \
15650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15652 -e 's:$: $lt_compiler_flag:'`
15653 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15654 (eval "$lt_compile" 2>out
/conftest.err
)
15656 cat out
/conftest.err
>&5
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15660 # The compiler can only warn and ignore the option if not recognized
15661 # So say no if there are warnings
15662 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15663 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15664 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15665 lt_cv_prog_compiler_c_o_CXX
=yes
15670 # SGI C++ compiler will create directory out/ii_files/ for
15671 # template instantiation
15672 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15673 $RM out
/* && rmdir out
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15680 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15685 hard_links
="nottested"
15686 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15687 # do not overwrite the value of need_locks provided by the user
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15689 $as_echo_n "checking if we can lock with hard links... " >&6; }
15692 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15694 ln conftest.a conftest.b
2>&5 || hard_links
=no
15695 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15697 $as_echo "$hard_links" >&6; }
15698 if test "$hard_links" = no
; then
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15700 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15710 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15712 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15715 # If we're using GNU nm, then we don't want the "-C" option.
15716 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15717 # Also, AIX nm treats weak defined symbols like other global defined
15718 # symbols, whereas GNU nm marks them as "W".
15719 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15720 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'
15722 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'
15726 export_symbols_cmds_CXX
="$ltdll_cmds"
15728 cygwin
* | mingw
* | cegcc
*)
15729 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'
15732 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15735 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15738 $as_echo "$ld_shlibs_CXX" >&6; }
15739 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15741 with_gnu_ld_CXX
=$with_gnu_ld
15749 # Do we need to explicitly link libc?
15751 case "x$archive_cmds_need_lc_CXX" in
15753 # Assume -lc should be added
15754 archive_cmds_need_lc_CXX
=yes
15756 if test "$enable_shared" = yes && test "$GCC" = yes; then
15757 case $archive_cmds_CXX in
15759 # FIXME: we may have to deal with multi-command sequences.
15762 # Test whether the compiler implicitly links with -lc since on some
15763 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15764 # to ld, don't add -lc before -lgcc.
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15766 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15767 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15768 $as_echo_n "(cached) " >&6
15771 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15774 (eval $ac_compile) 2>&5
15776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15777 test $ac_status = 0; } 2>conftest.err
; then
15780 libobjs
=conftest.
$ac_objext
15782 wl
=$lt_prog_compiler_wl_CXX
15783 pic_flag
=$lt_prog_compiler_pic_CXX
15789 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15790 allow_undefined_flag_CXX
=
15791 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15792 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15795 test $ac_status = 0; }
15797 lt_cv_archive_cmds_need_lc_CXX
=no
15799 lt_cv_archive_cmds_need_lc_CXX
=yes
15801 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15803 cat conftest.err
1>&5
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15809 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15810 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15881 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15883 library_names_spec
=
15884 libname_spec
='lib$name'
15888 postuninstall_cmds
=
15892 shlibpath_overrides_runpath
=unknown
15894 dynamic_linker
="$host_os ld.so"
15895 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15896 need_lib_prefix
=unknown
15897 hardcode_into_libs
=no
15899 # when you set need_version to no, make sure it does not cause -set_version
15900 # flags to be left without arguments
15901 need_version
=unknown
15906 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15907 shlibpath_var
=LIBPATH
15909 # AIX 3 has no versioning support, so we append a major version to the name.
15910 soname_spec
='${libname}${release}${shared_ext}$major'
15917 hardcode_into_libs
=yes
15918 if test "$host_cpu" = ia64
; then
15919 # AIX 5 supports IA64
15920 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15921 shlibpath_var
=LD_LIBRARY_PATH
15923 # With GCC up to 2.95.x, collect2 would create an import file
15924 # for dependence libraries. The import file would start with
15925 # the line `#! .'. This would cause the generated library to
15926 # depend on `.', always an invalid library. This was fixed in
15927 # development snapshots of GCC prior to 3.0.
15929 aix4 | aix4.
[01] | aix4.
[01].
*)
15930 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15932 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15935 can_build_shared
=no
15939 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15940 # soname into executable. Probably we can add versioning support to
15941 # collect2, so additional links can be useful in future.
15942 if test "$aix_use_runtimelinking" = yes; then
15943 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15944 # instead of lib<name>.a to let people know that these are not
15945 # typical AIX shared libraries.
15946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15948 # We preserve .a as extension for shared libraries through AIX4.2
15949 # and later when we are not doing run time linking.
15950 library_names_spec
='${libname}${release}.a $libname.a'
15951 soname_spec
='${libname}${release}${shared_ext}$major'
15953 shlibpath_var
=LIBPATH
15960 # Since July 2007 AmigaOS4 officially supports .so libraries.
15961 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15965 library_names_spec
='$libname.ixlibrary $libname.a'
15966 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15967 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'
15973 library_names_spec
='${libname}${shared_ext}'
15974 dynamic_linker
="$host_os ld.so"
15975 shlibpath_var
=LIBRARY_PATH
15981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15982 soname_spec
='${libname}${release}${shared_ext}$major'
15983 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15984 shlibpath_var
=LD_LIBRARY_PATH
15985 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15986 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15987 # the default ld.so.conf also contains /usr/contrib/lib and
15988 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15989 # libtool to hard-code these into programs
15992 cygwin
* | mingw
* | pw32
* | cegcc
*)
15993 version_type
=windows
15998 case $GCC,$host_os in
15999 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
16000 library_names_spec
='$libname.dll.a'
16001 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16002 postinstall_cmds
='base_file=`basename \${file}`~
16003 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16004 dldir=$destdir/`dirname \$dlpath`~
16005 test -d \$dldir || mkdir -p \$dldir~
16006 $install_prog $dir/$dlname \$dldir/$dlname~
16007 chmod a+x \$dldir/$dlname~
16008 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16009 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16011 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16012 dlpath=$dir/\$dldll~
16014 shlibpath_overrides_runpath
=yes
16018 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16019 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16023 # MinGW DLLs use traditional 'lib' prefix
16024 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16027 # pw32 DLLs use 'pw' prefix rather than 'lib'
16028 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16034 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16037 dynamic_linker
='Win32 ld.exe'
16038 # FIXME: first we should search . and the directory the executable is in
16042 darwin
* | rhapsody
*)
16043 dynamic_linker
="$host_os dyld"
16044 version_type
=darwin
16047 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16048 soname_spec
='${libname}${release}${major}$shared_ext'
16049 shlibpath_overrides_runpath
=yes
16050 shlibpath_var
=DYLD_LIBRARY_PATH
16051 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16053 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
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
16065 freebsd
* | dragonfly
*)
16066 # DragonFly does not have aout. When/if they implement a new
16067 # versioning mechanism, adjust this.
16068 if test -x /usr
/bin
/objformat
; then
16069 objformat
=`/usr/bin/objformat`
16072 freebsd
[23].
*) objformat
=aout
;;
16073 *) objformat
=elf
;;
16076 version_type
=freebsd-
$objformat
16077 case $version_type in
16079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16084 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16088 shlibpath_var
=LD_LIBRARY_PATH
16091 shlibpath_overrides_runpath
=yes
16093 freebsd3.
[01]* | freebsdelf3.
[01]*)
16094 shlibpath_overrides_runpath
=yes
16095 hardcode_into_libs
=yes
16097 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16098 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16099 shlibpath_overrides_runpath
=no
16100 hardcode_into_libs
=yes
16102 *) # from 4.6 on, and DragonFly
16103 shlibpath_overrides_runpath
=yes
16104 hardcode_into_libs
=yes
16113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16114 soname_spec
='${libname}${release}${shared_ext}$major'
16115 shlibpath_var
=LD_LIBRARY_PATH
16116 hardcode_into_libs
=yes
16123 dynamic_linker
="$host_os runtime_loader"
16124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16125 soname_spec
='${libname}${release}${shared_ext}$major'
16126 shlibpath_var
=LIBRARY_PATH
16127 shlibpath_overrides_runpath
=yes
16128 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
16129 hardcode_into_libs
=yes
16132 hpux9
* | hpux10
* | hpux11
*)
16133 # Give a soname corresponding to the major version so that dld.sl refuses to
16134 # link against other versions.
16141 hardcode_into_libs
=yes
16142 dynamic_linker
="$host_os dld.so"
16143 shlibpath_var
=LD_LIBRARY_PATH
16144 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16146 soname_spec
='${libname}${release}${shared_ext}$major'
16147 if test "X$HPUX_IA64_MODE" = X32
; then
16148 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16150 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16152 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16156 hardcode_into_libs
=yes
16157 dynamic_linker
="$host_os dld.sl"
16158 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16159 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16161 soname_spec
='${libname}${release}${shared_ext}$major'
16162 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16163 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16167 dynamic_linker
="$host_os dld.sl"
16168 shlibpath_var
=SHLIB_PATH
16169 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16171 soname_spec
='${libname}${release}${shared_ext}$major'
16174 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16175 postinstall_cmds
='chmod 555 $lib'
16176 # or fails outright, so override atomically:
16177 install_override_mode
=555
16184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16185 soname_spec
='${libname}${release}${shared_ext}$major'
16186 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16187 shlibpath_var
=LD_LIBRARY_PATH
16188 shlibpath_overrides_runpath
=no
16189 hardcode_into_libs
=yes
16192 irix5
* | irix6
* | nonstopux
*)
16194 nonstopux
*) version_type
=nonstopux
;;
16196 if test "$lt_cv_prog_gnu_ld" = yes; then
16204 soname_spec
='${libname}${release}${shared_ext}$major'
16205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16207 irix5
* | nonstopux
*)
16208 libsuff
= shlibsuff
=
16211 case $LD in # libtool.m4 will add one of these switches to LD
16212 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16213 libsuff
= shlibsuff
= libmagic
=32-bit;;
16214 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16215 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16216 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16217 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16218 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16222 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16223 shlibpath_overrides_runpath
=no
16224 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16225 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16226 hardcode_into_libs
=yes
16229 # No shared lib support for Linux oldld, aout, or coff.
16230 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16234 # This must be Linux ELF.
16235 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16240 soname_spec
='${libname}${release}${shared_ext}$major'
16241 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16242 shlibpath_var
=LD_LIBRARY_PATH
16243 shlibpath_overrides_runpath
=no
16245 # Some binutils ld are patched to set DT_RUNPATH
16246 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16247 $as_echo_n "(cached) " >&6
16249 lt_cv_shlibpath_overrides_runpath
=no
16250 save_LDFLAGS
=$LDFLAGS
16251 save_libdir
=$libdir
16252 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16253 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16254 if test x
$gcc_no_link = xyes
; then
16255 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16258 /* end confdefs.h. */
16268 if ac_fn_cxx_try_link
"$LINENO"; then :
16269 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16270 lt_cv_shlibpath_overrides_runpath
=yes
16273 rm -f core conftest.err conftest.
$ac_objext \
16274 conftest
$ac_exeext conftest.
$ac_ext
16275 LDFLAGS
=$save_LDFLAGS
16276 libdir
=$save_libdir
16280 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16282 # This implies no fast_install, which is unacceptable.
16283 # Some rework will be needed to allow for fast_install
16284 # before this can be enabled.
16285 hardcode_into_libs
=yes
16287 # Append ld.so.conf contents to the search path
16288 if test -f /etc
/ld.so.conf
; then
16289 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' ' '`
16290 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16293 # We used to test for /lib/ld.so.1 and disable shared libraries on
16294 # powerpc, because MkLinux only supported shared libraries with the
16295 # GNU dynamic linker. Since this was broken with cross compilers,
16296 # most powerpc-linux boxes support dynamic linking these days and
16297 # people can always --disable-shared, the test was removed, and we
16298 # assume the GNU/Linux dynamic linker is in use.
16299 dynamic_linker
='GNU/Linux ld.so'
16306 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16308 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16309 dynamic_linker
='NetBSD (a.out) ld.so'
16311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16312 soname_spec
='${libname}${release}${shared_ext}$major'
16313 dynamic_linker
='NetBSD ld.elf_so'
16315 shlibpath_var
=LD_LIBRARY_PATH
16316 shlibpath_overrides_runpath
=yes
16317 hardcode_into_libs
=yes
16322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16323 shlibpath_var
=LD_LIBRARY_PATH
16324 shlibpath_overrides_runpath
=yes
16331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16332 soname_spec
='${libname}${release}${shared_ext}$major'
16333 shlibpath_var
=LD_LIBRARY_PATH
16334 shlibpath_overrides_runpath
=no
16335 hardcode_into_libs
=yes
16336 dynamic_linker
='ldqnx.so'
16341 sys_lib_dlsearch_path_spec
="/usr/lib"
16343 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16345 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16346 *) need_version
=no
;;
16348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16349 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16350 shlibpath_var
=LD_LIBRARY_PATH
16351 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16353 openbsd2.
[89] | openbsd2.
[89].
*)
16354 shlibpath_overrides_runpath
=no
16357 shlibpath_overrides_runpath
=yes
16361 shlibpath_overrides_runpath
=yes
16366 libname_spec
='$name'
16369 library_names_spec
='$libname${shared_ext} $libname.a'
16370 dynamic_linker
='OS/2 ld.exe'
16371 shlibpath_var
=LIBPATH
16374 osf3
* | osf4
* | osf5
*)
16378 soname_spec
='${libname}${release}${shared_ext}$major'
16379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16380 shlibpath_var
=LD_LIBRARY_PATH
16381 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16382 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16394 soname_spec
='${libname}${release}${shared_ext}$major'
16395 shlibpath_var
=LD_LIBRARY_PATH
16396 shlibpath_overrides_runpath
=yes
16397 hardcode_into_libs
=yes
16398 # ldd complains unless libraries are executable
16399 postinstall_cmds
='chmod +x $lib'
16404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16405 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16406 shlibpath_var
=LD_LIBRARY_PATH
16407 shlibpath_overrides_runpath
=yes
16408 if test "$with_gnu_ld" = yes; then
16416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16417 soname_spec
='${libname}${release}${shared_ext}$major'
16418 shlibpath_var
=LD_LIBRARY_PATH
16419 case $host_vendor in
16421 shlibpath_overrides_runpath
=no
16423 runpath_var
=LD_RUN_PATH
16431 shlibpath_overrides_runpath
=no
16432 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16438 if test -d /usr
/nec
;then
16440 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16441 soname_spec
='$libname${shared_ext}.$major'
16442 shlibpath_var
=LD_LIBRARY_PATH
16446 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16447 version_type
=freebsd-elf
16450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16451 soname_spec
='${libname}${release}${shared_ext}$major'
16452 shlibpath_var
=LD_LIBRARY_PATH
16453 shlibpath_overrides_runpath
=yes
16454 hardcode_into_libs
=yes
16455 if test "$with_gnu_ld" = yes; then
16456 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16458 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16461 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16465 sys_lib_dlsearch_path_spec
='/usr/lib'
16469 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16474 shlibpath_var
=LD_LIBRARY_PATH
16475 shlibpath_overrides_runpath
=no
16476 hardcode_into_libs
=yes
16481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16482 soname_spec
='${libname}${release}${shared_ext}$major'
16483 shlibpath_var
=LD_LIBRARY_PATH
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16491 $as_echo "$dynamic_linker" >&6; }
16492 test "$dynamic_linker" = no
&& can_build_shared
=no
16494 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16495 if test "$GCC" = yes; then
16496 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16499 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16500 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16502 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16503 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16544 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16545 hardcode_action_CXX
=
16546 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16547 test -n "$runpath_var_CXX" ||
16548 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16550 # We can hardcode non-existent directories.
16551 if test "$hardcode_direct_CXX" != no
&&
16552 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16553 # have to relink, otherwise we might link with an installed library
16554 # when we should be linking with a yet-to-be-installed one
16555 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16556 test "$hardcode_minus_L_CXX" != no
; then
16557 # Linking always hardcodes the temporary library directory.
16558 hardcode_action_CXX
=relink
16560 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16561 hardcode_action_CXX
=immediate
16564 # We cannot hardcode anything, or else we can only hardcode existing
16566 hardcode_action_CXX
=unsupported
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16569 $as_echo "$hardcode_action_CXX" >&6; }
16571 if test "$hardcode_action_CXX" = relink ||
16572 test "$inherit_rpath_CXX" = yes; then
16573 # Fast installation is not supported
16574 enable_fast_install
=no
16575 elif test "$shlibpath_overrides_runpath" = yes ||
16576 test "$enable_shared" = no
; then
16577 # Fast installation is not necessary
16578 enable_fast_install
=needless
16587 fi # test -n "$compiler"
16593 with_gnu_ld
=$lt_save_with_gnu_ld
16594 lt_cv_path_LDCXX
=$lt_cv_path_LD
16595 lt_cv_path_LD
=$lt_save_path_LD
16596 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16597 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16598 fi # test "$_lt_caught_CXX_error" != yes
16601 ac_cpp
='$CPP $CPPFLAGS'
16602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16608 # Handle -Werror default case.
16609 if test "$ENABLE_WERROR" = default
; then
16612 if test "$GCC" = yes; then
16619 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
16620 # Extract the first word of "perl", so it can be a program name with args.
16621 set dummy perl
; ac_word
=$2
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16623 $as_echo_n "checking for $ac_word... " >&6; }
16624 if test "${ac_cv_path_PERL+set}" = set; then :
16625 $as_echo_n "(cached) " >&6
16629 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
16632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16633 for as_dir
in $PATH
16636 test -z "$as_dir" && as_dir
=.
16637 for ac_exec_ext
in '' $ac_executable_extensions; do
16638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16639 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
16640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16650 PERL
=$ac_cv_path_PERL
16651 if test -n "$PERL"; then
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16653 $as_echo "$PERL" >&6; }
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16656 $as_echo "no" >&6; }
16662 ac_config_files
="$ac_config_files lib/mkcollections.pl"
16664 ac_config_commands
="$ac_config_commands mkcollections.pl"
16668 if test "x${COMPILE_JNI}" = xyes
; then
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((,,))" >&5
16673 $as_echo_n "checking __attribute__((,,))... " >&6; }
16674 if test "${gcc_cv_c_gcc_attribute_supported+set}" = set; then :
16675 $as_echo_n "(cached) " >&6
16678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16684 extern int testfunction(int x) __attribute__((,,))
16689 if ac_fn_c_try_compile
"$LINENO"; then :
16690 gcc_cv_c_gcc_attribute_supported
=yes
16692 gcc_cv_c_gcc_attribute_supported
=no
16694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16698 if test "x$gcc_cv_c_gcc_attribute_supported" = xyes
; then
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16701 $as_echo "yes" >&6; }
16703 $as_echo "#define HAVE_GNUC25_ATTRIB /**/" >>confdefs.h
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16709 $as_echo "no" >&6; }
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((unused))" >&5
16722 $as_echo_n "checking __attribute__((unused))... " >&6; }
16723 if test "${gcc_cv_c_gcc_attribute_unused+set}" = set; then :
16724 $as_echo_n "(cached) " >&6
16727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16728 /* end confdefs.h. */
16733 extern int testfunction(int x) __attribute__((unused))
16738 if ac_fn_c_try_compile
"$LINENO"; then :
16739 gcc_cv_c_gcc_attribute_unused
=yes
16741 gcc_cv_c_gcc_attribute_unused
=no
16743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16747 if test "x$gcc_cv_c_gcc_attribute_unused" = xyes
; then
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16750 $as_echo "yes" >&6; }
16752 $as_echo "#define HAVE_GNUC25_UNUSED /**/" >>confdefs.h
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16758 $as_echo "no" >&6; }
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16767 $as_echo_n "checking for ANSI C header files... " >&6; }
16768 if test "${ac_cv_header_stdc+set}" = set; then :
16769 $as_echo_n "(cached) " >&6
16771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16773 #include <stdlib.h>
16774 #include <stdarg.h>
16775 #include <string.h>
16786 if ac_fn_c_try_compile
"$LINENO"; then :
16787 ac_cv_header_stdc
=yes
16789 ac_cv_header_stdc
=no
16791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16793 if test $ac_cv_header_stdc = yes; then
16794 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16797 #include <string.h>
16800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16801 $EGREP "memchr" >/dev
/null
2>&1; then :
16804 ac_cv_header_stdc
=no
16810 if test $ac_cv_header_stdc = yes; then
16811 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16814 #include <stdlib.h>
16817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16818 $EGREP "free" >/dev
/null
2>&1; then :
16821 ac_cv_header_stdc
=no
16827 if test $ac_cv_header_stdc = yes; then
16828 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16829 if test "$cross_compiling" = yes; then :
16832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16835 #include <stdlib.h>
16836 #if ((' ' & 0x0FF) == 0x020)
16837 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16838 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16840 # define ISLOWER(c) \
16841 (('a' <= (c) && (c) <= 'i') \
16842 || ('j' <= (c) && (c) <= 'r') \
16843 || ('s' <= (c) && (c) <= 'z'))
16844 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16847 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16852 for (i = 0; i < 256; i++)
16853 if (XOR (islower (i), ISLOWER (i))
16854 || toupper (i) != TOUPPER (i))
16859 if ac_fn_c_try_run
"$LINENO"; then :
16862 ac_cv_header_stdc
=no
16864 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16865 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16871 $as_echo "$ac_cv_header_stdc" >&6; }
16872 if test $ac_cv_header_stdc = yes; then
16874 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16880 $as_echo_n "checking size of void *... " >&6; }
16881 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16882 $as_echo_n "(cached) " >&6
16884 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
16885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16886 /* end confdefs.h. */
16887 #include "confdefs.h"
16888 #include <sys/types.h>
16894 switch (0) case 0: case (sizeof (void *) == $ac_size):;
16899 if ac_fn_c_try_compile
"$LINENO"; then :
16900 ac_cv_sizeof_void_p
=$ac_size
16902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16903 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
16908 if test x
$ac_cv_sizeof_void_p = x
; then
16909 as_fn_error
"cannot determine a size for void *" "$LINENO" 5
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16912 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16914 cat >>confdefs.h
<<_ACEOF
16915 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16921 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16922 if test "${ac_cv_c_bigendian+set}" = set; then :
16923 $as_echo_n "(cached) " >&6
16925 ac_cv_c_bigendian
=unknown
16926 # See if sys/param.h defines the BYTE_ORDER macro.
16927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16928 /* end confdefs.h. */
16929 #include <sys/types.h>
16930 #include <sys/param.h>
16935 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16936 bogus endian macros
16942 if ac_fn_c_try_compile
"$LINENO"; then :
16943 # It does; now see whether it defined to BIG_ENDIAN or not.
16944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16946 #include <sys/types.h>
16947 #include <sys/param.h>
16952 #if BYTE_ORDER != BIG_ENDIAN
16959 if ac_fn_c_try_compile
"$LINENO"; then :
16960 ac_cv_c_bigendian
=yes
16962 ac_cv_c_bigendian
=no
16964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16967 if test $ac_cv_c_bigendian = unknown
; then
16968 if test "$cross_compiling" = yes; then :
16969 echo $ac_n "cross-compiling... " 2>&6
16971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h. */
16974 /* Are we little or big endian? From Harbison&Steele. */
16978 char c[sizeof (long)];
16981 exit (u.c[sizeof (long) - 1] == 1);
16984 if ac_fn_c_try_run
"$LINENO"; then :
16985 ac_cv_c_bigendian
=no
16987 ac_cv_c_bigendian
=yes
16989 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16990 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16996 $as_echo "$ac_cv_c_bigendian" >&6; }
16997 if test $ac_cv_c_bigendian = unknown
; then
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to probe for byte ordering" >&5
16999 $as_echo_n "checking to probe for byte ordering... " >&6; }
17001 cat >conftest.c
<<EOF
17002 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17003 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17004 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
17005 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17006 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17007 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
17008 int main() { _ascii (); _ebcdic (); return 0; }
17010 if test -f conftest.c
; then
17011 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
17012 if test `grep -l BIGenDianSyS conftest.o` ; then
17013 echo $ac_n ' big endian probe OK, ' 1>&6
17014 ac_cv_c_bigendian
=yes
17016 if test `grep -l LiTTleEnDian conftest.o` ; then
17017 echo $ac_n ' little endian probe OK, ' 1>&6
17018 if test $ac_cv_c_bigendian = yes ; then
17019 ac_cv_c_bigendian
=unknown
;
17021 ac_cv_c_bigendian
=no
17024 echo $ac_n 'guessing bigendian ... ' >&6
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
17028 $as_echo "$ac_cv_c_bigendian" >&6; }
17030 if test $ac_cv_c_bigendian = yes; then
17032 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
17035 $as_echo "#define HOST_WORDS_BIG_ENDIAN 1" >>confdefs.h
17042 cat >>confdefs.h
<<_ACEOF
17043 #define BYTEORDER $BYTEORDER
17046 if test $ac_cv_c_bigendian = unknown
; then
17047 as_fn_error
"unknown endianess - sorry, please pre-set ac_cv_c_bigendian" "$LINENO" 5
17051 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
17053 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
17060 sys
/event.h sys
/epoll.h \
17062 netinet
/in_systm.h netinet
/ip.h net
/if.h \
17063 sys
/loadavg.h sys
/sockio.h
17065 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17066 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17067 eval as_val
=\$
$as_ac_Header
17068 if test "x$as_val" = x
""yes; then :
17069 cat >>confdefs.h
<<_ACEOF
17070 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17080 #include <stdint.h>
17083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17084 $EGREP "uint32_t" >/dev
/null
2>&1; then :
17086 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17092 /* end confdefs.h. */
17093 #include <inttypes.h>
17096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17097 $EGREP "uint32_t" >/dev
/null
2>&1; then :
17099 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17105 /* end confdefs.h. */
17106 #include <sys/types.h>
17109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17110 $EGREP "u_int32_t" >/dev
/null
2>&1; then :
17112 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h. */
17119 #include <sys/config.h>
17122 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17123 $EGREP "u_int32_t" >/dev
/null
2>&1; then :
17125 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17132 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17133 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17134 $as_echo_n "(cached) " >&6
17136 ac_func_search_save_LIBS
=$LIBS
17137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17140 /* Override any GCC internal prototype to avoid an error.
17141 Use char because int might match the return type of a GCC
17142 builtin and then its argument prototype would still apply. */
17146 char clock_gettime ();
17150 return clock_gettime ();
17155 for ac_lib
in '' rt
; do
17156 if test -z "$ac_lib"; then
17157 ac_res
="none required"
17160 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17162 if test x
$gcc_no_link = xyes
; then
17163 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17165 if ac_fn_c_try_link
"$LINENO"; then :
17166 ac_cv_search_clock_gettime
=$ac_res
17168 rm -f core conftest.err conftest.
$ac_objext \
17170 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17174 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17177 ac_cv_search_clock_gettime
=no
17179 rm conftest.
$ac_ext
17180 LIBS
=$ac_func_search_save_LIBS
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17183 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17184 ac_res
=$ac_cv_search_clock_gettime
17185 if test "$ac_res" != no
; then :
17186 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
17191 $as_echo_n "checking for library containing inet_pton... " >&6; }
17192 if test "${ac_cv_search_inet_pton+set}" = set; then :
17193 $as_echo_n "(cached) " >&6
17195 ac_func_search_save_LIBS
=$LIBS
17196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17197 /* end confdefs.h. */
17199 /* Override any GCC internal prototype to avoid an error.
17200 Use char because int might match the return type of a GCC
17201 builtin and then its argument prototype would still apply. */
17209 return inet_pton ();
17214 for ac_lib
in '' nsl
; do
17215 if test -z "$ac_lib"; then
17216 ac_res
="none required"
17219 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17221 if test x
$gcc_no_link = xyes
; then
17222 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17224 if ac_fn_c_try_link
"$LINENO"; then :
17225 ac_cv_search_inet_pton
=$ac_res
17227 rm -f core conftest.err conftest.
$ac_objext \
17229 if test "${ac_cv_search_inet_pton+set}" = set; then :
17233 if test "${ac_cv_search_inet_pton+set}" = set; then :
17236 ac_cv_search_inet_pton
=no
17238 rm conftest.
$ac_ext
17239 LIBS
=$ac_func_search_save_LIBS
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
17242 $as_echo "$ac_cv_search_inet_pton" >&6; }
17243 ac_res
=$ac_cv_search_inet_pton
17244 if test "$ac_res" != no
; then :
17245 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lsocket" >&5
17250 $as_echo_n "checking for gethostname in -lsocket... " >&6; }
17251 if test "${ac_cv_lib_socket_gethostname+set}" = set; then :
17252 $as_echo_n "(cached) " >&6
17254 ac_check_lib_save_LIBS
=$LIBS
17255 LIBS
="-lsocket $LIBS"
17256 if test x
$gcc_no_link = xyes
; then
17257 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17262 /* Override any GCC internal prototype to avoid an error.
17263 Use char because int might match the return type of a GCC
17264 builtin and then its argument prototype would still apply. */
17268 char gethostname ();
17272 return gethostname ();
17277 if ac_fn_c_try_link
"$LINENO"; then :
17278 ac_cv_lib_socket_gethostname
=yes
17280 ac_cv_lib_socket_gethostname
=no
17282 rm -f core conftest.err conftest.
$ac_objext \
17283 conftest
$ac_exeext conftest.
$ac_ext
17284 LIBS
=$ac_check_lib_save_LIBS
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostname" >&5
17287 $as_echo "$ac_cv_lib_socket_gethostname" >&6; }
17288 if test "x$ac_cv_lib_socket_gethostname" = x
""yes; then :
17289 cat >>confdefs.h
<<_ACEOF
17290 #define HAVE_LIBSOCKET 1
17293 LIBS
="-lsocket $LIBS"
17298 for ac_func
in ftruncate fsync
select \
17299 gethostname socket strerror fork pipe execve open close \
17300 lseek fstat
read readv
write writev htonl memset htons connect \
17301 getsockname getpeername
bind listen accept \
17302 recvfrom send sendto setsockopt getsockopt
time mktime clock_gettime \
17303 gethostbyname_r localtime_r \
17307 mmap munmap mincore msync madvise getpagesize sysconf \
17309 inet_aton inet_addr inet_pton \
17310 getifaddrs kqueue kevent epoll_create \
17313 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17314 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17315 eval as_val
=\$
$as_ac_var
17316 if test "x$as_val" = x
""yes; then :
17317 cat >>confdefs.h
<<_ACEOF
17318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
17327 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
17328 if test "${ac_cv_lib_magic_magic_open+set}" = set; then :
17329 $as_echo_n "(cached) " >&6
17331 ac_check_lib_save_LIBS
=$LIBS
17332 LIBS
="-lmagic $LIBS"
17333 if test x
$gcc_no_link = xyes
; then
17334 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17337 /* end confdefs.h. */
17339 /* Override any GCC internal prototype to avoid an error.
17340 Use char because int might match the return type of a GCC
17341 builtin and then its argument prototype would still apply. */
17345 char magic_open ();
17349 return magic_open ();
17354 if ac_fn_c_try_link
"$LINENO"; then :
17355 ac_cv_lib_magic_magic_open
=yes
17357 ac_cv_lib_magic_magic_open
=no
17359 rm -f core conftest.err conftest.
$ac_objext \
17360 conftest
$ac_exeext conftest.
$ac_ext
17361 LIBS
=$ac_check_lib_save_LIBS
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
17364 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
17365 if test "x$ac_cv_lib_magic_magic_open" = x
""yes; then :
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
17372 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
17373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17375 #include <netinet/in.h>
17379 struct sockaddr_in6 addr6;
17384 if ac_fn_c_try_compile
"$LINENO"; then :
17386 $as_echo "#define HAVE_INET6 1" >>confdefs.h
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17389 $as_echo "yes" >&6; }
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17392 $as_echo "no" >&6; }
17394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
17397 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
17398 if test "${ac_cv_header_time+set}" = set; then :
17399 $as_echo_n "(cached) " >&6
17401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17402 /* end confdefs.h. */
17403 #include <sys/types.h>
17404 #include <sys/time.h>
17410 if ((struct tm *) 0)
17416 if ac_fn_c_try_compile
"$LINENO"; then :
17417 ac_cv_header_time
=yes
17419 ac_cv_header_time
=no
17421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
17424 $as_echo "$ac_cv_header_time" >&6; }
17425 if test $ac_cv_header_time = yes; then
17427 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
17432 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
17433 if test "${ac_cv_struct_tm+set}" = set; then :
17434 $as_echo_n "(cached) " >&6
17436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17437 /* end confdefs.h. */
17438 #include <sys/types.h>
17445 int *p = &tm.tm_sec;
17451 if ac_fn_c_try_compile
"$LINENO"; then :
17452 ac_cv_struct_tm
=time.h
17454 ac_cv_struct_tm
=sys
/time.h
17456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
17459 $as_echo "$ac_cv_struct_tm" >&6; }
17460 if test $ac_cv_struct_tm = sys
/time.h
; then
17462 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
17466 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
17467 #include <$ac_cv_struct_tm>
17470 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
17472 cat >>confdefs.h
<<_ACEOF
17473 #define HAVE_STRUCT_TM_TM_ZONE 1
17479 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
17481 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
17484 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
17486 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
17492 cat >>confdefs.h
<<_ACEOF
17493 #define HAVE_DECL_TZNAME $ac_have_decl
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
17497 $as_echo_n "checking for tzname... " >&6; }
17498 if test "${ac_cv_var_tzname+set}" = set; then :
17499 $as_echo_n "(cached) " >&6
17501 if test x
$gcc_no_link = xyes
; then
17502 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17507 #if !HAVE_DECL_TZNAME
17508 extern char *tzname[];
17514 return tzname[0][0];
17519 if ac_fn_c_try_link
"$LINENO"; then :
17520 ac_cv_var_tzname
=yes
17522 ac_cv_var_tzname
=no
17524 rm -f core conftest.err conftest.
$ac_objext \
17525 conftest
$ac_exeext conftest.
$ac_ext
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
17528 $as_echo "$ac_cv_var_tzname" >&6; }
17529 if test $ac_cv_var_tzname = yes; then
17531 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
17538 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
17539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17540 /* end confdefs.h. */
17545 struct tm tim; tim.tm_gmtoff = 0;
17550 if ac_fn_c_try_compile
"$LINENO"; then :
17552 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17555 $as_echo "yes" >&6; }
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17558 $as_echo "no" >&6; }
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
17560 $as_echo_n "checking for global timezone variable... " >&6; }
17561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17567 void i(){long z2 = 2*timezone;}
17572 if ac_fn_c_try_compile
"$LINENO"; then :
17574 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17577 $as_echo "yes" >&6; }
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17580 $as_echo "no" >&6; }
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
17582 $as_echo_n "checking for global _timezone variable... " >&6; }
17583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17589 long z2 = _timezone;
17594 if ac_fn_c_try_compile
"$LINENO"; then :
17596 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17599 $as_echo "yes" >&6; }
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17602 $as_echo "no" >&6; }
17604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17611 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17612 if test "${ac_cv_c_const+set}" = set; then :
17613 $as_echo_n "(cached) " >&6
17615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17616 /* end confdefs.h. */
17621 /* FIXME: Include the comments suggested by Paul. */
17622 #ifndef __cplusplus
17623 /* Ultrix mips cc rejects this. */
17624 typedef int charset[2];
17626 /* SunOS 4.1.1 cc rejects this. */
17627 char const *const *pcpcc;
17629 /* NEC SVR4.0.2 mips cc rejects this. */
17630 struct point {int x, y;};
17631 static struct point const zero = {0,0};
17632 /* AIX XL C 1.02.0.0 rejects this.
17633 It does not let you subtract one const X* pointer from another in
17634 an arm of an if-expression whose if-part is not a constant
17636 const char *g = "string";
17637 pcpcc = &g + (g ? g-g : 0);
17638 /* HPUX 7.0 cc rejects these. */
17640 ppc = (char**) pcpcc;
17641 pcpcc = (char const *const *) ppc;
17642 { /* SCO 3.2v4 cc rejects this. */
17644 char const *s = 0 ? (char *) 0 : (char const *) 0;
17649 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17650 int x[] = {25, 17};
17651 const int *foo = &x[0];
17654 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17655 typedef const int *iptr;
17659 { /* AIX XL C 1.02.0.0 rejects this saying
17660 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17661 struct s { int j; const int *ap[3]; };
17662 struct s *b; b->j = 5;
17664 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17665 const int foo = 10;
17666 if (!foo) return 0;
17668 return !cs[0] && !zero.x;
17675 if ac_fn_c_try_compile
"$LINENO"; then :
17680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17683 $as_echo "$ac_cv_c_const" >&6; }
17684 if test $ac_cv_c_const = no
; then
17686 $as_echo "#define const /**/" >>confdefs.h
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17691 $as_echo_n "checking for inline... " >&6; }
17692 if test "${ac_cv_c_inline+set}" = set; then :
17693 $as_echo_n "(cached) " >&6
17696 for ac_kw
in inline __inline__ __inline
; do
17697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h. */
17699 #ifndef __cplusplus
17701 static $ac_kw foo_t static_foo () {return 0; }
17702 $ac_kw foo_t foo () {return 0; }
17706 if ac_fn_c_try_compile
"$LINENO"; then :
17707 ac_cv_c_inline
=$ac_kw
17709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17710 test "$ac_cv_c_inline" != no
&& break
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17715 $as_echo "$ac_cv_c_inline" >&6; }
17717 case $ac_cv_c_inline in
17720 case $ac_cv_c_inline in
17722 *) ac_val
=$ac_cv_c_inline;;
17724 cat >>confdefs.h
<<_ACEOF
17725 #ifndef __cplusplus
17726 #define inline $ac_val
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
17733 $as_echo_n "checking for __attribute__... " >&6; }
17734 if test "${ac_cv_c_attribute+set}" = set; then :
17735 $as_echo_n "(cached) " >&6
17738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 void foo(void) __attribute__ ((__noreturn__));
17743 if ac_fn_c_try_compile
"$LINENO"; then :
17744 ac_cv_c_attribute
=yes
17746 ac_cv_c_attribute
=no
17749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_attribute" >&5
17753 $as_echo "$ac_cv_c_attribute" >&6; }
17755 case $ac_cv_c_attribute in
17758 cat >>confdefs.h
<<_ACEOF
17759 #define __attribute__(x) /* nothing */
17767 ac_cpp
='$CPP $CPPFLAGS'
17768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
17773 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
17775 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
17776 $as_echo_n "(cached) " >&6
17780 ################################################################
17782 ac_cv_func_which_gethostbyname_r
=unknown
17785 # ONE ARGUMENT (sanity check)
17788 # This should fail, as there is no variant of gethostbyname_r() that takes
17789 # a single argument. If it actually compiles, then we can assume that
17790 # netdb.h is not declaring the function, and the compiler is thereby
17791 # assuming an implicit prototype. In which case, we're out of luck.
17793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17801 char *name = "www.gnu.org";
17802 (void)gethostbyname_r(name) /* ; */
17808 if ac_fn_c_try_compile
"$LINENO"; then :
17809 ac_cv_func_which_gethostbyname_r
=no
17811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17818 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17828 char *name = "www.gnu.org";
17829 struct hostent ret, *retp;
17833 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
17839 if ac_fn_c_try_compile
"$LINENO"; then :
17840 ac_cv_func_which_gethostbyname_r
=six
17842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17851 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17861 char *name = "www.gnu.org";
17862 struct hostent ret;
17866 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
17872 if ac_fn_c_try_compile
"$LINENO"; then :
17873 ac_cv_func_which_gethostbyname_r
=five
17875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17881 # (e.g. AIX, HP-UX, Tru64)
17884 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17894 char *name = "www.gnu.org";
17895 struct hostent ret;
17896 struct hostent_data data;
17897 (void)gethostbyname_r(name, &ret, &data) /* ; */
17903 if ac_fn_c_try_compile
"$LINENO"; then :
17904 ac_cv_func_which_gethostbyname_r
=three
17906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17910 ################################################################
17915 case "$ac_cv_func_which_gethostbyname_r" in
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
17918 $as_echo "three" >&6; }
17920 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
17926 $as_echo "five" >&6; }
17928 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
17934 $as_echo "six" >&6; }
17936 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
17942 $as_echo "cannot find function declaration in netdb.h" >&6; }
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
17947 $as_echo "can't tell" >&6; }
17951 as_fn_error
"internal error" "$LINENO" 5
17956 ac_cpp
='$CPP $CPPFLAGS'
17957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17965 if test "X$prefix" = "XNONE"; then
17966 acl_final_prefix
="$ac_default_prefix"
17968 acl_final_prefix
="$prefix"
17970 if test "X$exec_prefix" = "XNONE"; then
17971 acl_final_exec_prefix
='${prefix}'
17973 acl_final_exec_prefix
="$exec_prefix"
17975 acl_save_prefix
="$prefix"
17976 prefix
="$acl_final_prefix"
17977 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
17978 prefix
="$acl_save_prefix"
17981 # Check whether --with-gnu-ld was given.
17982 if test "${with_gnu_ld+set}" = set; then :
17983 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
17988 # Prepare PATH_SEPARATOR.
17989 # The user is always right.
17990 if test "${PATH_SEPARATOR+set}" != set; then
17991 echo "#! /bin/sh" >conf$$.sh
17992 echo "exit 0" >>conf$$.sh
17994 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
18002 if test "$GCC" = yes; then
18003 # Check if gcc -print-prog-name=ld gives a path.
18004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
18005 $as_echo_n "checking for ld used by GCC... " >&6; }
18008 # gcc leaves a trailing carriage return which upsets mingw
18009 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18011 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
18014 # Accept absolute paths.
18015 [\\/]* |
[A-Za-z
]:[\\/]*)
18016 re_direlt
='/[^/][^/]*/\.\./'
18017 # Canonicalize the path of ld
18018 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
18019 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
18020 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
18022 test -z "$LD" && LD
="$ac_prog"
18025 # If it fails, then pretend we aren't using GCC.
18029 # If it is relative, then search for the first ld in PATH.
18030 with_gnu_ld
=unknown
18033 elif test "$with_gnu_ld" = yes; then
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18035 $as_echo_n "checking for GNU ld... " >&6; }
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18038 $as_echo_n "checking for non-GNU ld... " >&6; }
18040 if test "${acl_cv_path_LD+set}" = set; then :
18041 $as_echo_n "(cached) " >&6
18043 if test -z "$LD"; then
18044 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
18045 for ac_dir
in $PATH; do
18046 test -z "$ac_dir" && ac_dir
=.
18047 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
18048 acl_cv_path_LD
="$ac_dir/$ac_prog"
18049 # Check to see if the program is GNU ld. I'd rather use --version,
18050 # but apparently some GNU ld's only accept -v.
18051 # Break only if it was the GNU/non-GNU ld that we prefer.
18052 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
18053 *GNU
* |
*'with BFD'*)
18054 test "$with_gnu_ld" != no
&& break ;;
18056 test "$with_gnu_ld" != yes && break ;;
18062 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
18066 LD
="$acl_cv_path_LD"
18067 if test -n "$LD"; then
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18069 $as_echo "$LD" >&6; }
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18072 $as_echo "no" >&6; }
18074 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18076 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18077 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
18078 $as_echo_n "(cached) " >&6
18080 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
18081 case `$LD -v 2>&1 </dev/null` in
18082 *GNU
* |
*'with BFD'*)
18083 acl_cv_prog_gnu_ld
=yes ;;
18085 acl_cv_prog_gnu_ld
=no
;;
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
18089 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
18090 with_gnu_ld
=$acl_cv_prog_gnu_ld
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
18096 $as_echo_n "checking for shared library run path origin... " >&6; }
18097 if test "${acl_cv_rpath+set}" = set; then :
18098 $as_echo_n "(cached) " >&6
18101 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
18102 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18104 rm -f .
/conftest.sh
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
18109 $as_echo "$acl_cv_rpath" >&6; }
18111 acl_libext
="$acl_cv_libext"
18112 acl_shlibext
="$acl_cv_shlibext"
18113 acl_libname_spec
="$acl_cv_libname_spec"
18114 acl_library_names_spec
="$acl_cv_library_names_spec"
18115 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
18116 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
18117 acl_hardcode_direct
="$acl_cv_hardcode_direct"
18118 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
18119 # Check whether --enable-rpath was given.
18120 if test "${enable_rpath+set}" = set; then :
18121 enableval
=$enable_rpath; :
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
18134 $as_echo_n "checking for 64-bit host... " >&6; }
18135 if test "${gl_cv_solaris_64bit+set}" = set; then :
18136 $as_echo_n "(cached) " >&6
18138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18139 /* end confdefs.h. */
18146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18147 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
18148 gl_cv_solaris_64bit
=yes
18150 gl_cv_solaris_64bit
=no
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
18157 $as_echo "$gl_cv_solaris_64bit" >&6; }
18158 if test $gl_cv_solaris_64bit = yes; then
18159 acl_libdirstem
=lib
/64
18160 case "$host_cpu" in
18161 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
18162 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
18167 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
18168 if test -n "$searchpath"; then
18169 acl_save_IFS
="${IFS= }"; IFS
=":"
18170 for searchdir
in $searchpath; do
18171 if test -d "$searchdir"; then
18172 case "$searchdir" in
18173 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
18175 # Better ignore directories of this form. They are misleading.
18177 *) searchdir
=`cd "$searchdir" && pwd`
18178 case "$searchdir" in
18179 */lib64
) acl_libdirstem
=lib64
;;
18184 IFS
="$acl_save_IFS"
18188 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
18203 acl_save_prefix
="$prefix"
18204 prefix
="$acl_final_prefix"
18205 acl_save_exec_prefix
="$exec_prefix"
18206 exec_prefix
="$acl_final_exec_prefix"
18208 eval additional_includedir
=\"$includedir\"
18209 eval additional_libdir
=\"$libdir\"
18211 exec_prefix
="$acl_save_exec_prefix"
18212 prefix
="$acl_save_prefix"
18215 # Check whether --with-libiconv-prefix was given.
18216 if test "${with_libiconv_prefix+set}" = set; then :
18217 withval
=$with_libiconv_prefix;
18218 if test "X$withval" = "Xno"; then
18221 if test "X$withval" = "X"; then
18223 acl_save_prefix
="$prefix"
18224 prefix
="$acl_final_prefix"
18225 acl_save_exec_prefix
="$exec_prefix"
18226 exec_prefix
="$acl_final_exec_prefix"
18228 eval additional_includedir
=\"$includedir\"
18229 eval additional_libdir
=\"$libdir\"
18231 exec_prefix
="$acl_save_exec_prefix"
18232 prefix
="$acl_save_prefix"
18235 additional_includedir
="$withval/include"
18236 additional_libdir
="$withval/$acl_libdirstem"
18237 if test "$acl_libdirstem2" != "$acl_libdirstem" \
18238 && ! test -d "$withval/$acl_libdirstem"; then
18239 additional_libdir
="$withval/$acl_libdirstem2"
18253 names_already_handled
=
18254 names_next_round
='iconv '
18255 while test -n "$names_next_round"; do
18256 names_this_round
="$names_next_round"
18258 for name
in $names_this_round; do
18260 for n
in $names_already_handled; do
18261 if test "$n" = "$name"; then
18262 already_handled
=yes
18266 if test -z "$already_handled"; then
18267 names_already_handled
="$names_already_handled $name"
18268 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18269 eval value
=\"\
$HAVE_LIB$uppername\"
18270 if test -n "$value"; then
18271 if test "$value" = yes; then
18272 eval value
=\"\
$LIB$uppername\"
18273 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
18274 eval value
=\"\
$LTLIB$uppername\"
18275 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
18284 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
18285 if test -n "$acl_shlibext"; then
18286 shrext
=".$acl_shlibext" # typically: shrext=.so
18290 if test $use_additional = yes; then
18291 dir
="$additional_libdir"
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"
18331 if test "X$found_dir" = "X"; then
18332 for x
in $LDFLAGS $LTLIBICONV; do
18334 acl_save_prefix
="$prefix"
18335 prefix
="$acl_final_prefix"
18336 acl_save_exec_prefix
="$exec_prefix"
18337 exec_prefix
="$acl_final_exec_prefix"
18339 exec_prefix
="$acl_save_exec_prefix"
18340 prefix
="$acl_save_prefix"
18344 dir
=`echo "X$x" | sed -e 's/^X-L//'`
18345 if test -n "$acl_shlibext"; then
18346 if test -f "$dir/$libname$shrext"; then
18348 found_so
="$dir/$libname$shrext"
18350 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18351 ver
=`(cd "$dir" && \
18352 for f in "$libname$shrext".*; do echo "$f"; done \
18353 | sed -e "s,^$libname$shrext\\\\.,," \
18354 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18355 | sed 1q ) 2>/dev/null`
18356 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18358 found_so
="$dir/$libname$shrext.$ver"
18361 eval library_names
=\"$acl_library_names_spec\"
18362 for f
in $library_names; do
18363 if test -f "$dir/$f"; then
18372 if test "X$found_dir" = "X"; then
18373 if test -f "$dir/$libname.$acl_libext"; then
18375 found_a
="$dir/$libname.$acl_libext"
18378 if test "X$found_dir" != "X"; then
18379 if test -f "$dir/$libname.la"; then
18380 found_la
="$dir/$libname.la"
18385 if test "X$found_dir" != "X"; then
18390 if test "X$found_dir" != "X"; then
18391 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18392 if test "X$found_so" != "X"; then
18393 if test "$enable_rpath" = no \
18394 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
18395 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18396 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18399 for x
in $ltrpathdirs; do
18400 if test "X$x" = "X$found_dir"; then
18405 if test -z "$haveit"; then
18406 ltrpathdirs
="$ltrpathdirs $found_dir"
18408 if test "$acl_hardcode_direct" = yes; then
18409 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18411 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
18412 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18414 for x
in $rpathdirs; do
18415 if test "X$x" = "X$found_dir"; then
18420 if test -z "$haveit"; then
18421 rpathdirs
="$rpathdirs $found_dir"
18425 for x
in $LDFLAGS $LIBICONV; do
18427 acl_save_prefix
="$prefix"
18428 prefix
="$acl_final_prefix"
18429 acl_save_exec_prefix
="$exec_prefix"
18430 exec_prefix
="$acl_final_exec_prefix"
18432 exec_prefix
="$acl_save_exec_prefix"
18433 prefix
="$acl_save_prefix"
18435 if test "X$x" = "X-L$found_dir"; then
18440 if test -z "$haveit"; then
18441 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18443 if test "$acl_hardcode_minus_L" != no
; then
18444 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18446 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18452 if test "X$found_a" != "X"; then
18453 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
18455 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18458 additional_includedir
=
18459 case "$found_dir" in
18460 */$acl_libdirstem |
*/$acl_libdirstem/)
18461 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18462 if test "$name" = 'iconv'; then
18463 LIBICONV_PREFIX
="$basedir"
18465 additional_includedir
="$basedir/include"
18467 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
18468 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
18469 if test "$name" = 'iconv'; then
18470 LIBICONV_PREFIX
="$basedir"
18472 additional_includedir
="$basedir/include"
18475 if test "X$additional_includedir" != "X"; then
18476 if test "X$additional_includedir" != "X/usr/include"; then
18478 if test "X$additional_includedir" = "X/usr/local/include"; then
18479 if test -n "$GCC"; then
18481 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
18485 if test -z "$haveit"; then
18486 for x
in $CPPFLAGS $INCICONV; do
18488 acl_save_prefix
="$prefix"
18489 prefix
="$acl_final_prefix"
18490 acl_save_exec_prefix
="$exec_prefix"
18491 exec_prefix
="$acl_final_exec_prefix"
18493 exec_prefix
="$acl_save_exec_prefix"
18494 prefix
="$acl_save_prefix"
18496 if test "X$x" = "X-I$additional_includedir"; then
18501 if test -z "$haveit"; then
18502 if test -d "$additional_includedir"; then
18503 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18509 if test -n "$found_la"; then
18510 save_libdir
="$libdir"
18511 case "$found_la" in
18512 */* |
*\\*) .
"$found_la" ;;
18513 *) .
"./$found_la" ;;
18515 libdir
="$save_libdir"
18516 for dep
in $dependency_libs; do
18519 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
18520 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
18521 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
18523 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
18524 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
18525 if test -n "$GCC"; then
18527 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
18531 if test -z "$haveit"; then
18533 for x
in $LDFLAGS $LIBICONV; do
18535 acl_save_prefix
="$prefix"
18536 prefix
="$acl_final_prefix"
18537 acl_save_exec_prefix
="$exec_prefix"
18538 exec_prefix
="$acl_final_exec_prefix"
18540 exec_prefix
="$acl_save_exec_prefix"
18541 prefix
="$acl_save_prefix"
18543 if test "X$x" = "X-L$additional_libdir"; then
18548 if test -z "$haveit"; then
18549 if test -d "$additional_libdir"; then
18550 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18554 for x
in $LDFLAGS $LTLIBICONV; do
18556 acl_save_prefix
="$prefix"
18557 prefix
="$acl_final_prefix"
18558 acl_save_exec_prefix
="$exec_prefix"
18559 exec_prefix
="$acl_final_exec_prefix"
18561 exec_prefix
="$acl_save_exec_prefix"
18562 prefix
="$acl_save_prefix"
18564 if test "X$x" = "X-L$additional_libdir"; then
18569 if test -z "$haveit"; then
18570 if test -d "$additional_libdir"; then
18571 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18578 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
18579 if test "$enable_rpath" != no
; then
18581 for x
in $rpathdirs; do
18582 if test "X$x" = "X$dir"; then
18587 if test -z "$haveit"; then
18588 rpathdirs
="$rpathdirs $dir"
18591 for x
in $ltrpathdirs; do
18592 if test "X$x" = "X$dir"; then
18597 if test -z "$haveit"; then
18598 ltrpathdirs
="$ltrpathdirs $dir"
18603 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18606 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18609 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
18610 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18616 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18617 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18623 if test "X$rpathdirs" != "X"; then
18624 if test -n "$acl_hardcode_libdir_separator"; then
18626 for found_dir
in $rpathdirs; do
18627 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18629 acl_save_libdir
="$libdir"
18631 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
18632 libdir
="$acl_save_libdir"
18633 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
18635 for found_dir
in $rpathdirs; do
18636 acl_save_libdir
="$libdir"
18637 libdir
="$found_dir"
18638 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
18639 libdir
="$acl_save_libdir"
18640 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
18644 if test "X$ltrpathdirs" != "X"; then
18645 for found_dir
in $ltrpathdirs; do
18646 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18661 am_save_CPPFLAGS
="$CPPFLAGS"
18663 for element
in $INCICONV; do
18665 for x
in $CPPFLAGS; do
18667 acl_save_prefix
="$prefix"
18668 prefix
="$acl_final_prefix"
18669 acl_save_exec_prefix
="$exec_prefix"
18670 exec_prefix
="$acl_final_exec_prefix"
18672 exec_prefix
="$acl_save_exec_prefix"
18673 prefix
="$acl_save_prefix"
18675 if test "X$x" = "X$element"; then
18680 if test -z "$haveit"; then
18681 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18687 $as_echo_n "checking for iconv... " >&6; }
18688 if test "${am_cv_func_iconv+set}" = set; then :
18689 $as_echo_n "(cached) " >&6
18692 am_cv_func_iconv
="no, consider installing GNU libiconv"
18694 if test x
$gcc_no_link = xyes
; then
18695 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18699 #include <stdlib.h>
18704 iconv_t cd = iconv_open("","");
18705 iconv(cd,NULL,NULL,NULL,NULL);
18711 if ac_fn_c_try_link
"$LINENO"; then :
18712 am_cv_func_iconv
=yes
18714 rm -f core conftest.err conftest.
$ac_objext \
18715 conftest
$ac_exeext conftest.
$ac_ext
18716 if test "$am_cv_func_iconv" != yes; then
18717 am_save_LIBS
="$LIBS"
18718 LIBS
="$LIBS $LIBICONV"
18719 if test x
$gcc_no_link = xyes
; then
18720 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18723 /* end confdefs.h. */
18724 #include <stdlib.h>
18729 iconv_t cd = iconv_open("","");
18730 iconv(cd,NULL,NULL,NULL,NULL);
18736 if ac_fn_c_try_link
"$LINENO"; then :
18737 am_cv_lib_iconv
=yes
18738 am_cv_func_iconv
=yes
18740 rm -f core conftest.err conftest.
$ac_objext \
18741 conftest
$ac_exeext conftest.
$ac_ext
18742 LIBS
="$am_save_LIBS"
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18747 $as_echo "$am_cv_func_iconv" >&6; }
18748 if test "$am_cv_func_iconv" = yes; then
18750 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18753 if test "$am_cv_lib_iconv" = yes; then
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18755 $as_echo_n "checking how to link with libiconv... " >&6; }
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18757 $as_echo "$LIBICONV" >&6; }
18759 CPPFLAGS
="$am_save_CPPFLAGS"
18766 if test "$am_cv_func_iconv" = yes; then
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
18768 $as_echo_n "checking for iconv declaration... " >&6; }
18769 if test "${am_cv_proto_iconv+set}" = set; then :
18770 $as_echo_n "(cached) " >&6
18773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h. */
18776 #include <stdlib.h>
18782 #if defined(__STDC__) || defined(__cplusplus)
18783 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
18796 if ac_fn_c_try_compile
"$LINENO"; then :
18797 am_cv_proto_iconv_arg1
=""
18799 am_cv_proto_iconv_arg1
="const"
18801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18802 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);"
18805 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
18807 }$am_cv_proto_iconv" >&5
18809 }$am_cv_proto_iconv" >&6; }
18811 cat >>confdefs.h
<<_ACEOF
18812 #define ICONV_CONST $am_cv_proto_iconv_arg1
18818 if test "x${GCC}" = xyes
; then
18820 WARNING_CFLAGS
='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
18823 EXTRA_CFLAGS
='-fexceptions -fasynchronous-unwind-tables'
18826 STRICT_WARNING_CFLAGS
='-Wstrict-prototypes -pedantic'
18830 if test "x${ENABLE_WERROR}" = xyes
; then
18831 ERROR_CFLAGS
='-Werror'
18836 if test "x${COMPILE_XMLJ}" = xyes
; then
18840 if test -z "$PKG_CONFIG"; then
18841 if test -n "$ac_tool_prefix"; then
18842 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18843 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18845 $as_echo_n "checking for $ac_word... " >&6; }
18846 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18847 $as_echo_n "(cached) " >&6
18849 case $PKG_CONFIG in
18851 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18855 for as_dir
in $PATH
18858 test -z "$as_dir" && as_dir
=.
18859 for ac_exec_ext
in '' $ac_executable_extensions; do
18860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18861 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18872 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18873 if test -n "$PKG_CONFIG"; then
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18875 $as_echo "$PKG_CONFIG" >&6; }
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18878 $as_echo "no" >&6; }
18883 if test -z "$ac_cv_path_PKG_CONFIG"; then
18884 ac_pt_PKG_CONFIG
=$PKG_CONFIG
18885 # Extract the first word of "pkg-config", so it can be a program name with args.
18886 set dummy pkg-config
; ac_word
=$2
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18888 $as_echo_n "checking for $ac_word... " >&6; }
18889 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
18890 $as_echo_n "(cached) " >&6
18892 case $ac_pt_PKG_CONFIG in
18894 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18898 for as_dir
in $PATH
18901 test -z "$as_dir" && as_dir
=.
18902 for ac_exec_ext
in '' $ac_executable_extensions; do
18903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18904 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18915 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
18916 if test -n "$ac_pt_PKG_CONFIG"; then
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18918 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18921 $as_echo "no" >&6; }
18924 if test "x$ac_pt_PKG_CONFIG" = x
; then
18927 case $cross_compiling:$ac_tool_warned in
18929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18931 ac_tool_warned
=yes ;;
18933 PKG_CONFIG
=$ac_pt_PKG_CONFIG
18936 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
18941 if test "$PKG_CONFIG" = "no" ; then
18942 echo "*** The pkg-config script could not be found. Make sure it is"
18943 echo "*** in your path, or set the PKG_CONFIG environment variable"
18944 echo "*** to the full path to pkg-config."
18945 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18947 PKG_CONFIG_MIN_VERSION
=0.9.0
18948 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.6.8" >&5
18950 $as_echo_n "checking for libxml-2.0 >= 2.6.8... " >&6; }
18952 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18954 $as_echo "yes" >&6; }
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_CFLAGS" >&5
18958 $as_echo_n "checking XML_CFLAGS... " >&6; }
18959 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CFLAGS" >&5
18961 $as_echo "$XML_CFLAGS" >&6; }
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_LIBS" >&5
18964 $as_echo_n "checking XML_LIBS... " >&6; }
18965 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_LIBS" >&5
18967 $as_echo "$XML_LIBS" >&6; }
18971 ## If we have a custom action on failure, don't print errors, but
18972 ## do set a variable so people can do so.
18973 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
18974 echo $XML_PKG_ERRORS
18980 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18981 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18985 if test $succeeded = yes; then
18988 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
18994 if test -z "$PKG_CONFIG"; then
18995 if test -n "$ac_tool_prefix"; then
18996 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18997 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
18998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18999 $as_echo_n "checking for $ac_word... " >&6; }
19000 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19001 $as_echo_n "(cached) " >&6
19003 case $PKG_CONFIG in
19005 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19009 for as_dir
in $PATH
19012 test -z "$as_dir" && as_dir
=.
19013 for ac_exec_ext
in '' $ac_executable_extensions; do
19014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19015 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19026 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19027 if test -n "$PKG_CONFIG"; then
19028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19029 $as_echo "$PKG_CONFIG" >&6; }
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19032 $as_echo "no" >&6; }
19037 if test -z "$ac_cv_path_PKG_CONFIG"; then
19038 ac_pt_PKG_CONFIG
=$PKG_CONFIG
19039 # Extract the first word of "pkg-config", so it can be a program name with args.
19040 set dummy pkg-config
; ac_word
=$2
19041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19042 $as_echo_n "checking for $ac_word... " >&6; }
19043 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
19044 $as_echo_n "(cached) " >&6
19046 case $ac_pt_PKG_CONFIG in
19048 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19052 for as_dir
in $PATH
19055 test -z "$as_dir" && as_dir
=.
19056 for ac_exec_ext
in '' $ac_executable_extensions; do
19057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19058 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19069 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
19070 if test -n "$ac_pt_PKG_CONFIG"; then
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19072 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19075 $as_echo "no" >&6; }
19078 if test "x$ac_pt_PKG_CONFIG" = x
; then
19081 case $cross_compiling:$ac_tool_warned in
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19085 ac_tool_warned
=yes ;;
19087 PKG_CONFIG
=$ac_pt_PKG_CONFIG
19090 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
19095 if test "$PKG_CONFIG" = "no" ; then
19096 echo "*** The pkg-config script could not be found. Make sure it is"
19097 echo "*** in your path, or set the PKG_CONFIG environment variable"
19098 echo "*** to the full path to pkg-config."
19099 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19101 PKG_CONFIG_MIN_VERSION
=0.9.0
19102 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxslt >= 1.1.11" >&5
19104 $as_echo_n "checking for libxslt >= 1.1.11... " >&6; }
19106 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
19107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19108 $as_echo "yes" >&6; }
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_CFLAGS" >&5
19112 $as_echo_n "checking XSLT_CFLAGS... " >&6; }
19113 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_CFLAGS" >&5
19115 $as_echo "$XSLT_CFLAGS" >&6; }
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_LIBS" >&5
19118 $as_echo_n "checking XSLT_LIBS... " >&6; }
19119 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_LIBS" >&5
19121 $as_echo "$XSLT_LIBS" >&6; }
19125 ## If we have a custom action on failure, don't print errors, but
19126 ## do set a variable so people can do so.
19127 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
19128 echo $XSLT_PKG_ERRORS
19134 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19135 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19139 if test $succeeded = yes; then
19142 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
19151 if test "x${COMPILE_GTK_PEER}" = xyes
; then
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19153 $as_echo_n "checking for X... " >&6; }
19156 # Check whether --with-x was given.
19157 if test "${with_x+set}" = set; then :
19161 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19162 if test "x$with_x" = xno
; then
19163 # The user explicitly disabled X.
19166 case $x_includes,$x_libraries in #(
19167 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
19168 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
19169 $as_echo_n "(cached) " >&6
19171 # One or both of the vars are not set, and there is no cached value.
19172 ac_x_includes
=no ac_x_libraries
=no
19173 rm -f -r conftest.dir
19174 if mkdir conftest.dir
; then
19176 cat >Imakefile
<<'_ACEOF'
19178 @echo incroot='${INCROOT}'
19180 @echo usrlibdir='${USRLIBDIR}'
19182 @echo libdir='${LIBDIR}'
19184 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
19185 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19186 for ac_var
in incroot usrlibdir libdir
; do
19187 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
19189 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19190 for ac_extension
in a so sl dylib la dll
; do
19191 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19192 test -f "$ac_im_libdir/libX11.$ac_extension"; then
19193 ac_im_usrlibdir
=$ac_im_libdir; break
19196 # Screen out bogus values from the imake configuration. They are
19197 # bogus both because they are the default anyway, and because
19198 # using them would break gcc on systems where it needs fixed includes.
19199 case $ac_im_incroot in
19200 /usr
/include
) ac_x_includes
= ;;
19201 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
19203 case $ac_im_usrlibdir in
19204 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
19205 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
19209 rm -f -r conftest.dir
19212 # Standard set of common directories for X headers.
19213 # Check X11 before X11Rn because it is often a symlink to the current release.
19227 /usr/local/X11/include
19228 /usr/local/X11R7/include
19229 /usr/local/X11R6/include
19230 /usr/local/X11R5/include
19231 /usr/local/X11R4/include
19233 /usr/local/include/X11
19234 /usr/local/include/X11R7
19235 /usr/local/include/X11R6
19236 /usr/local/include/X11R5
19237 /usr/local/include/X11R4
19241 /usr/XFree86/include/X11
19245 /usr/unsupported/include
19246 /usr/athena/include
19247 /usr/local/x11r5/include
19248 /usr/lpp/Xamples/include
19250 /usr/openwin/include
19251 /usr/openwin/share/include'
19253 if test "$ac_x_includes" = no
; then
19254 # Guess where to find include files, by looking for Xlib.h.
19255 # First, try using that file with no special directory specified.
19256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19257 /* end confdefs.h. */
19258 #include <X11/Xlib.h>
19260 if ac_fn_c_try_cpp
"$LINENO"; then :
19261 # We can compile using X headers with no special include directory.
19264 for ac_dir
in $ac_x_header_dirs; do
19265 if test -r "$ac_dir/X11/Xlib.h"; then
19266 ac_x_includes
=$ac_dir
19271 rm -f conftest.err conftest.
$ac_ext
19272 fi # $ac_x_includes = no
19274 if test "$ac_x_libraries" = no
; then
19275 # Check for the libraries.
19276 # See if we find them without any special options.
19277 # Don't add to $LIBS permanently.
19280 if test x
$gcc_no_link = xyes
; then
19281 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19284 /* end confdefs.h. */
19285 #include <X11/Xlib.h>
19294 if ac_fn_c_try_link
"$LINENO"; then :
19296 # We can link X programs with no special library path.
19300 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19302 # Don't even attempt the hair of trying to link an X program!
19303 for ac_extension
in a so sl dylib la dll
; do
19304 if test -r "$ac_dir/libX11.$ac_extension"; then
19305 ac_x_libraries
=$ac_dir
19311 rm -f core conftest.err conftest.
$ac_objext \
19312 conftest
$ac_exeext conftest.
$ac_ext
19313 fi # $ac_x_libraries = no
19315 case $ac_x_includes,$ac_x_libraries in #(
19316 no
,* |
*,no |
*\'*)
19317 # Didn't find X, or a directory has "'" in its name.
19318 ac_cv_have_x
="have_x=no";; #(
19320 # Record where we found X for the cache.
19321 ac_cv_have_x
="have_x=yes\
19322 ac_x_includes='$ac_x_includes'\
19323 ac_x_libraries='$ac_x_libraries'"
19329 eval "$ac_cv_have_x"
19332 if test "$have_x" != yes; then
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19334 $as_echo "$have_x" >&6; }
19337 # If each of the values was on the command line, it overrides each guess.
19338 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19339 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19340 # Update the cache value to reflect the command line values.
19341 ac_cv_have_x
="have_x=yes\
19342 ac_x_includes='$x_includes'\
19343 ac_x_libraries='$x_libraries'"
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
19345 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19348 if test "$no_x" = yes; then
19349 # Not all programs may use this symbol, but it does not hurt to define it.
19351 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
19353 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19355 if test -n "$x_includes"; then
19356 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19359 # It would also be nice to do this for all -L options, not just this one.
19360 if test -n "$x_libraries"; then
19361 X_LIBS
="$X_LIBS -L$x_libraries"
19362 # For Solaris; some versions of Sun CC require a space after -R and
19363 # others require no space. Words are not sufficient . . . .
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
19365 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
19366 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19367 ac_xsave_c_werror_flag
=$ac_c_werror_flag
19368 ac_c_werror_flag
=yes
19369 if test x
$gcc_no_link = xyes
; then
19370 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19383 if ac_fn_c_try_link
"$LINENO"; then :
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19385 $as_echo "no" >&6; }
19386 X_LIBS
="$X_LIBS -R$x_libraries"
19388 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19389 if test x
$gcc_no_link = xyes
; then
19390 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19393 /* end confdefs.h. */
19403 if ac_fn_c_try_link
"$LINENO"; then :
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19405 $as_echo "yes" >&6; }
19406 X_LIBS
="$X_LIBS -R $x_libraries"
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
19409 $as_echo "neither works" >&6; }
19411 rm -f core conftest.err conftest.
$ac_objext \
19412 conftest
$ac_exeext conftest.
$ac_ext
19414 rm -f core conftest.err conftest.
$ac_objext \
19415 conftest
$ac_exeext conftest.
$ac_ext
19416 ac_c_werror_flag
=$ac_xsave_c_werror_flag
19417 LIBS
=$ac_xsave_LIBS
19420 # Check for system-dependent libraries X programs must link with.
19421 # Do this before checking for the system-independent R6 libraries
19422 # (-lICE), since we may need -lsocket or whatever for X linking.
19424 if test "$ISC" = yes; then
19425 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19427 # Martyn Johnson says this is needed for Ultrix, if the X
19428 # libraries were built with DECnet support. And Karl Berry says
19429 # the Alpha needs dnet_stub (dnet does not exist).
19430 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19431 if test x
$gcc_no_link = xyes
; then
19432 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19437 /* Override any GCC internal prototype to avoid an error.
19438 Use char because int might match the return type of a GCC
19439 builtin and then its argument prototype would still apply. */
19443 char XOpenDisplay ();
19447 return XOpenDisplay ();
19452 if ac_fn_c_try_link
"$LINENO"; then :
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
19456 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
19457 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
19458 $as_echo_n "(cached) " >&6
19460 ac_check_lib_save_LIBS
=$LIBS
19461 LIBS
="-ldnet $LIBS"
19462 if test x
$gcc_no_link = xyes
; then
19463 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19466 /* end confdefs.h. */
19468 /* Override any GCC internal prototype to avoid an error.
19469 Use char because int might match the return type of a GCC
19470 builtin and then its argument prototype would still apply. */
19478 return dnet_ntoa ();
19483 if ac_fn_c_try_link
"$LINENO"; then :
19484 ac_cv_lib_dnet_dnet_ntoa
=yes
19486 ac_cv_lib_dnet_dnet_ntoa
=no
19488 rm -f core conftest.err conftest.
$ac_objext \
19489 conftest
$ac_exeext conftest.
$ac_ext
19490 LIBS
=$ac_check_lib_save_LIBS
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19493 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19494 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
19495 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19498 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
19500 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
19501 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
19502 $as_echo_n "(cached) " >&6
19504 ac_check_lib_save_LIBS
=$LIBS
19505 LIBS
="-ldnet_stub $LIBS"
19506 if test x
$gcc_no_link = xyes
; then
19507 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19512 /* Override any GCC internal prototype to avoid an error.
19513 Use char because int might match the return type of a GCC
19514 builtin and then its argument prototype would still apply. */
19522 return dnet_ntoa ();
19527 if ac_fn_c_try_link
"$LINENO"; then :
19528 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19530 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19532 rm -f core conftest.err conftest.
$ac_objext \
19533 conftest
$ac_exeext conftest.
$ac_ext
19534 LIBS
=$ac_check_lib_save_LIBS
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19537 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19538 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
19539 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19544 rm -f core conftest.err conftest.
$ac_objext \
19545 conftest
$ac_exeext conftest.
$ac_ext
19546 LIBS
="$ac_xsave_LIBS"
19548 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19549 # to get the SysV transport functions.
19550 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19552 # The nsl library prevents programs from opening the X display
19553 # on Irix 5.2, according to T.E. Dickey.
19554 # The functions gethostbyname, getservbyname, and inet_addr are
19555 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19556 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
19557 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
19561 if test $ac_cv_func_gethostbyname = no
; then
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
19563 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
19564 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
19565 $as_echo_n "(cached) " >&6
19567 ac_check_lib_save_LIBS
=$LIBS
19569 if test x
$gcc_no_link = xyes
; then
19570 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19573 /* end confdefs.h. */
19575 /* Override any GCC internal prototype to avoid an error.
19576 Use char because int might match the return type of a GCC
19577 builtin and then its argument prototype would still apply. */
19581 char gethostbyname ();
19585 return gethostbyname ();
19590 if ac_fn_c_try_link
"$LINENO"; then :
19591 ac_cv_lib_nsl_gethostbyname
=yes
19593 ac_cv_lib_nsl_gethostbyname
=no
19595 rm -f core conftest.err conftest.
$ac_objext \
19596 conftest
$ac_exeext conftest.
$ac_ext
19597 LIBS
=$ac_check_lib_save_LIBS
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
19600 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
19601 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
19602 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19605 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
19607 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
19608 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
19609 $as_echo_n "(cached) " >&6
19611 ac_check_lib_save_LIBS
=$LIBS
19613 if test x
$gcc_no_link = xyes
; then
19614 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19617 /* end confdefs.h. */
19619 /* Override any GCC internal prototype to avoid an error.
19620 Use char because int might match the return type of a GCC
19621 builtin and then its argument prototype would still apply. */
19625 char gethostbyname ();
19629 return gethostbyname ();
19634 if ac_fn_c_try_link
"$LINENO"; then :
19635 ac_cv_lib_bsd_gethostbyname
=yes
19637 ac_cv_lib_bsd_gethostbyname
=no
19639 rm -f core conftest.err conftest.
$ac_objext \
19640 conftest
$ac_exeext conftest.
$ac_ext
19641 LIBS
=$ac_check_lib_save_LIBS
19643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
19644 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
19645 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
19646 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19652 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19653 # socket/setsockopt and other routines are undefined under SCO ODT
19654 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19655 # on later versions), says Simon Leinen: it contains gethostby*
19656 # variants that don't use the name server (or something). -lsocket
19657 # must be given before -lnsl if both are needed. We assume that
19658 # if connect needs -lnsl, so does gethostbyname.
19659 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
19660 if test "x$ac_cv_func_connect" = x
""yes; then :
19664 if test $ac_cv_func_connect = no
; then
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
19666 $as_echo_n "checking for connect in -lsocket... " >&6; }
19667 if test "${ac_cv_lib_socket_connect+set}" = set; then :
19668 $as_echo_n "(cached) " >&6
19670 ac_check_lib_save_LIBS
=$LIBS
19671 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19672 if test x
$gcc_no_link = xyes
; then
19673 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19676 /* end confdefs.h. */
19678 /* Override any GCC internal prototype to avoid an error.
19679 Use char because int might match the return type of a GCC
19680 builtin and then its argument prototype would still apply. */
19693 if ac_fn_c_try_link
"$LINENO"; then :
19694 ac_cv_lib_socket_connect
=yes
19696 ac_cv_lib_socket_connect
=no
19698 rm -f core conftest.err conftest.
$ac_objext \
19699 conftest
$ac_exeext conftest.
$ac_ext
19700 LIBS
=$ac_check_lib_save_LIBS
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
19703 $as_echo "$ac_cv_lib_socket_connect" >&6; }
19704 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
19705 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
19710 # Guillermo Gomez says -lposix is necessary on A/UX.
19711 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
19712 if test "x$ac_cv_func_remove" = x
""yes; then :
19716 if test $ac_cv_func_remove = no
; then
19717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
19718 $as_echo_n "checking for remove in -lposix... " >&6; }
19719 if test "${ac_cv_lib_posix_remove+set}" = set; then :
19720 $as_echo_n "(cached) " >&6
19722 ac_check_lib_save_LIBS
=$LIBS
19723 LIBS
="-lposix $LIBS"
19724 if test x
$gcc_no_link = xyes
; then
19725 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19728 /* end confdefs.h. */
19730 /* Override any GCC internal prototype to avoid an error.
19731 Use char because int might match the return type of a GCC
19732 builtin and then its argument prototype would still apply. */
19745 if ac_fn_c_try_link
"$LINENO"; then :
19746 ac_cv_lib_posix_remove
=yes
19748 ac_cv_lib_posix_remove
=no
19750 rm -f core conftest.err conftest.
$ac_objext \
19751 conftest
$ac_exeext conftest.
$ac_ext
19752 LIBS
=$ac_check_lib_save_LIBS
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
19755 $as_echo "$ac_cv_lib_posix_remove" >&6; }
19756 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
19757 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
19762 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
19763 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
19764 if test "x$ac_cv_func_shmat" = x
""yes; then :
19768 if test $ac_cv_func_shmat = no
; then
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
19770 $as_echo_n "checking for shmat in -lipc... " >&6; }
19771 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
19772 $as_echo_n "(cached) " >&6
19774 ac_check_lib_save_LIBS
=$LIBS
19776 if test x
$gcc_no_link = xyes
; then
19777 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19780 /* end confdefs.h. */
19782 /* Override any GCC internal prototype to avoid an error.
19783 Use char because int might match the return type of a GCC
19784 builtin and then its argument prototype would still apply. */
19797 if ac_fn_c_try_link
"$LINENO"; then :
19798 ac_cv_lib_ipc_shmat
=yes
19800 ac_cv_lib_ipc_shmat
=no
19802 rm -f core conftest.err conftest.
$ac_objext \
19803 conftest
$ac_exeext conftest.
$ac_ext
19804 LIBS
=$ac_check_lib_save_LIBS
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
19807 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
19808 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
19809 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
19815 # Check for libraries that X11R6 Xt/Xaw programs need.
19816 ac_save_LDFLAGS
=$LDFLAGS
19817 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
19818 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
19819 # check for ICE first), but we must link in the order -lSM -lICE or
19820 # we get undefined symbols. So assume we have SM if we have ICE.
19821 # These have to be linked with before -lX11, unlike the other
19822 # libraries we check for below, so use a different variable.
19823 # John Interrante, Karl Berry
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
19825 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
19826 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
19827 $as_echo_n "(cached) " >&6
19829 ac_check_lib_save_LIBS
=$LIBS
19830 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
19831 if test x
$gcc_no_link = xyes
; then
19832 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19835 /* end confdefs.h. */
19837 /* Override any GCC internal prototype to avoid an error.
19838 Use char because int might match the return type of a GCC
19839 builtin and then its argument prototype would still apply. */
19843 char IceConnectionNumber ();
19847 return IceConnectionNumber ();
19852 if ac_fn_c_try_link
"$LINENO"; then :
19853 ac_cv_lib_ICE_IceConnectionNumber
=yes
19855 ac_cv_lib_ICE_IceConnectionNumber
=no
19857 rm -f core conftest.err conftest.
$ac_objext \
19858 conftest
$ac_exeext conftest.
$ac_ext
19859 LIBS
=$ac_check_lib_save_LIBS
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
19862 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
19863 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
19864 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
19867 LDFLAGS
=$ac_save_LDFLAGS
19871 if test "$no_x" = yes; then
19872 as_fn_error
"GTK+ peers requested but no X library available" "$LINENO" 5
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
19875 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
19876 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
19877 $as_echo_n "(cached) " >&6
19879 ac_check_lib_save_LIBS
=$LIBS
19880 LIBS
="-lXtst ${X_LIBS} $LIBS"
19881 if test x
$gcc_no_link = xyes
; then
19882 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19885 /* end confdefs.h. */
19887 /* Override any GCC internal prototype to avoid an error.
19888 Use char because int might match the return type of a GCC
19889 builtin and then its argument prototype would still apply. */
19893 char XTestQueryExtension ();
19897 return XTestQueryExtension ();
19902 if ac_fn_c_try_link
"$LINENO"; then :
19903 ac_cv_lib_Xtst_XTestQueryExtension
=yes
19905 ac_cv_lib_Xtst_XTestQueryExtension
=no
19907 rm -f core conftest.err conftest.
$ac_objext \
19908 conftest
$ac_exeext conftest.
$ac_ext
19909 LIBS
=$ac_check_lib_save_LIBS
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
19912 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
19913 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x
""yes; then :
19915 $as_echo "#define HAVE_XTEST 1" >>confdefs.h
19916 XTEST_LIBS
="$XTEST_LIBS -X11 -lXtst"
19926 if test -z "$PKG_CONFIG"; then
19927 if test -n "$ac_tool_prefix"; then
19928 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19929 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19931 $as_echo_n "checking for $ac_word... " >&6; }
19932 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19933 $as_echo_n "(cached) " >&6
19935 case $PKG_CONFIG in
19937 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19941 for as_dir
in $PATH
19944 test -z "$as_dir" && as_dir
=.
19945 for ac_exec_ext
in '' $ac_executable_extensions; do
19946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19947 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19958 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19959 if test -n "$PKG_CONFIG"; then
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19961 $as_echo "$PKG_CONFIG" >&6; }
19963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19964 $as_echo "no" >&6; }
19969 if test -z "$ac_cv_path_PKG_CONFIG"; then
19970 ac_pt_PKG_CONFIG
=$PKG_CONFIG
19971 # Extract the first word of "pkg-config", so it can be a program name with args.
19972 set dummy pkg-config
; ac_word
=$2
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19974 $as_echo_n "checking for $ac_word... " >&6; }
19975 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
19976 $as_echo_n "(cached) " >&6
19978 case $ac_pt_PKG_CONFIG in
19980 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19984 for as_dir
in $PATH
19987 test -z "$as_dir" && as_dir
=.
19988 for ac_exec_ext
in '' $ac_executable_extensions; do
19989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19990 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20001 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20002 if test -n "$ac_pt_PKG_CONFIG"; then
20003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20004 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20007 $as_echo "no" >&6; }
20010 if test "x$ac_pt_PKG_CONFIG" = x
; then
20013 case $cross_compiling:$ac_tool_warned in
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20017 ac_tool_warned
=yes ;;
20019 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20022 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20027 if test "$PKG_CONFIG" = "no" ; then
20028 echo "*** The pkg-config script could not be found. Make sure it is"
20029 echo "*** in your path, or set the PKG_CONFIG environment variable"
20030 echo "*** to the full path to pkg-config."
20031 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20033 PKG_CONFIG_MIN_VERSION
=0.9.0
20034 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
20036 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
20038 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
20039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20040 $as_echo "yes" >&6; }
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
20044 $as_echo_n "checking GTK_CFLAGS... " >&6; }
20045 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
20046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
20047 $as_echo "$GTK_CFLAGS" >&6; }
20049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
20050 $as_echo_n "checking GTK_LIBS... " >&6; }
20051 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
20052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
20053 $as_echo "$GTK_LIBS" >&6; }
20057 ## If we have a custom action on failure, don't print errors, but
20058 ## do set a variable so people can do so.
20059 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
20060 echo $GTK_PKG_ERRORS
20066 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20067 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20071 if test $succeeded = yes; then
20074 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
20080 if test -z "$PKG_CONFIG"; then
20081 if test -n "$ac_tool_prefix"; then
20082 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20083 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20085 $as_echo_n "checking for $ac_word... " >&6; }
20086 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20087 $as_echo_n "(cached) " >&6
20089 case $PKG_CONFIG in
20091 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20095 for as_dir
in $PATH
20098 test -z "$as_dir" && as_dir
=.
20099 for ac_exec_ext
in '' $ac_executable_extensions; do
20100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20101 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20112 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20113 if test -n "$PKG_CONFIG"; then
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20115 $as_echo "$PKG_CONFIG" >&6; }
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20118 $as_echo "no" >&6; }
20123 if test -z "$ac_cv_path_PKG_CONFIG"; then
20124 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20125 # Extract the first word of "pkg-config", so it can be a program name with args.
20126 set dummy pkg-config
; ac_word
=$2
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20128 $as_echo_n "checking for $ac_word... " >&6; }
20129 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20130 $as_echo_n "(cached) " >&6
20132 case $ac_pt_PKG_CONFIG in
20134 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20138 for as_dir
in $PATH
20141 test -z "$as_dir" && as_dir
=.
20142 for ac_exec_ext
in '' $ac_executable_extensions; do
20143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20144 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20155 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20156 if test -n "$ac_pt_PKG_CONFIG"; then
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20158 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20161 $as_echo "no" >&6; }
20164 if test "x$ac_pt_PKG_CONFIG" = x
; then
20167 case $cross_compiling:$ac_tool_warned in
20169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20171 ac_tool_warned
=yes ;;
20173 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20176 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20181 if test "$PKG_CONFIG" = "no" ; then
20182 echo "*** The pkg-config script could not be found. Make sure it is"
20183 echo "*** in your path, or set the PKG_CONFIG environment variable"
20184 echo "*** to the full path to pkg-config."
20185 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20187 PKG_CONFIG_MIN_VERSION
=0.9.0
20188 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
20190 $as_echo_n "checking for freetype2... " >&6; }
20192 if $PKG_CONFIG --exists "freetype2" ; then
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20194 $as_echo "yes" >&6; }
20197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_CFLAGS" >&5
20198 $as_echo_n "checking FREETYPE2_CFLAGS... " >&6; }
20199 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_CFLAGS" >&5
20201 $as_echo "$FREETYPE2_CFLAGS" >&6; }
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_LIBS" >&5
20204 $as_echo_n "checking FREETYPE2_LIBS... " >&6; }
20205 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_LIBS" >&5
20207 $as_echo "$FREETYPE2_LIBS" >&6; }
20209 FREETYPE2_CFLAGS
=""
20211 ## If we have a custom action on failure, don't print errors, but
20212 ## do set a variable so people can do so.
20213 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
20214 echo $FREETYPE2_PKG_ERRORS
20220 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20221 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20225 if test $succeeded = yes; then
20228 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
20234 if test -z "$PKG_CONFIG"; then
20235 if test -n "$ac_tool_prefix"; then
20236 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20237 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20239 $as_echo_n "checking for $ac_word... " >&6; }
20240 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20241 $as_echo_n "(cached) " >&6
20243 case $PKG_CONFIG in
20245 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20249 for as_dir
in $PATH
20252 test -z "$as_dir" && as_dir
=.
20253 for ac_exec_ext
in '' $ac_executable_extensions; do
20254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20255 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20266 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20267 if test -n "$PKG_CONFIG"; then
20268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20269 $as_echo "$PKG_CONFIG" >&6; }
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20272 $as_echo "no" >&6; }
20277 if test -z "$ac_cv_path_PKG_CONFIG"; then
20278 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20279 # Extract the first word of "pkg-config", so it can be a program name with args.
20280 set dummy pkg-config
; ac_word
=$2
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20282 $as_echo_n "checking for $ac_word... " >&6; }
20283 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20284 $as_echo_n "(cached) " >&6
20286 case $ac_pt_PKG_CONFIG in
20288 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20292 for as_dir
in $PATH
20295 test -z "$as_dir" && as_dir
=.
20296 for ac_exec_ext
in '' $ac_executable_extensions; do
20297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20298 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20309 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20310 if test -n "$ac_pt_PKG_CONFIG"; then
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20312 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20315 $as_echo "no" >&6; }
20318 if test "x$ac_pt_PKG_CONFIG" = x
; then
20321 case $cross_compiling:$ac_tool_warned in
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20325 ac_tool_warned
=yes ;;
20327 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20330 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20335 if test "$PKG_CONFIG" = "no" ; then
20336 echo "*** The pkg-config script could not be found. Make sure it is"
20337 echo "*** in your path, or set the PKG_CONFIG environment variable"
20338 echo "*** to the full path to pkg-config."
20339 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20341 PKG_CONFIG_MIN_VERSION
=0.9.0
20342 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pangoft2" >&5
20344 $as_echo_n "checking for pangoft2... " >&6; }
20346 if $PKG_CONFIG --exists "pangoft2" ; then
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20348 $as_echo "yes" >&6; }
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_CFLAGS" >&5
20352 $as_echo_n "checking PANGOFT2_CFLAGS... " >&6; }
20353 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_CFLAGS" >&5
20355 $as_echo "$PANGOFT2_CFLAGS" >&6; }
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_LIBS" >&5
20358 $as_echo_n "checking PANGOFT2_LIBS... " >&6; }
20359 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_LIBS" >&5
20361 $as_echo "$PANGOFT2_LIBS" >&6; }
20365 ## If we have a custom action on failure, don't print errors, but
20366 ## do set a variable so people can do so.
20367 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20368 echo $PANGOFT2_PKG_ERRORS
20374 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20375 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20379 if test $succeeded = yes; then
20382 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
20388 if test -z "$PKG_CONFIG"; then
20389 if test -n "$ac_tool_prefix"; then
20390 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20391 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20393 $as_echo_n "checking for $ac_word... " >&6; }
20394 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20395 $as_echo_n "(cached) " >&6
20397 case $PKG_CONFIG in
20399 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20403 for as_dir
in $PATH
20406 test -z "$as_dir" && as_dir
=.
20407 for ac_exec_ext
in '' $ac_executable_extensions; do
20408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20409 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20420 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20421 if test -n "$PKG_CONFIG"; then
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20423 $as_echo "$PKG_CONFIG" >&6; }
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20426 $as_echo "no" >&6; }
20431 if test -z "$ac_cv_path_PKG_CONFIG"; then
20432 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20433 # Extract the first word of "pkg-config", so it can be a program name with args.
20434 set dummy pkg-config
; ac_word
=$2
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20436 $as_echo_n "checking for $ac_word... " >&6; }
20437 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20438 $as_echo_n "(cached) " >&6
20440 case $ac_pt_PKG_CONFIG in
20442 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20446 for as_dir
in $PATH
20449 test -z "$as_dir" && as_dir
=.
20450 for ac_exec_ext
in '' $ac_executable_extensions; do
20451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20452 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20463 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20464 if test -n "$ac_pt_PKG_CONFIG"; then
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20466 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20469 $as_echo "no" >&6; }
20472 if test "x$ac_pt_PKG_CONFIG" = x
; then
20475 case $cross_compiling:$ac_tool_warned in
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20479 ac_tool_warned
=yes ;;
20481 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20484 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20489 if test "$PKG_CONFIG" = "no" ; then
20490 echo "*** The pkg-config script could not be found. Make sure it is"
20491 echo "*** in your path, or set the PKG_CONFIG environment variable"
20492 echo "*** to the full path to pkg-config."
20493 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20495 PKG_CONFIG_MIN_VERSION
=0.9.0
20496 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.1.8" >&5
20498 $as_echo_n "checking for cairo >= 1.1.8... " >&6; }
20500 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20502 $as_echo "yes" >&6; }
20505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_CFLAGS" >&5
20506 $as_echo_n "checking CAIRO_CFLAGS... " >&6; }
20507 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_CFLAGS" >&5
20509 $as_echo "$CAIRO_CFLAGS" >&6; }
20511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_LIBS" >&5
20512 $as_echo_n "checking CAIRO_LIBS... " >&6; }
20513 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_LIBS" >&5
20515 $as_echo "$CAIRO_LIBS" >&6; }
20519 ## If we have a custom action on failure, don't print errors, but
20520 ## do set a variable so people can do so.
20521 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
20522 echo $CAIRO_PKG_ERRORS
20528 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20529 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20533 if test $succeeded = yes; then
20536 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
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
20540 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
20541 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then :
20542 $as_echo_n "(cached) " >&6
20544 ac_check_lib_save_LIBS
=$LIBS
20545 LIBS
="-lXrender ${X_LIBS} $LIBS"
20546 if test x
$gcc_no_link = xyes
; then
20547 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20550 /* end confdefs.h. */
20552 /* Override any GCC internal prototype to avoid an error.
20553 Use char because int might match the return type of a GCC
20554 builtin and then its argument prototype would still apply. */
20558 char XRenderQueryExtension ();
20562 return XRenderQueryExtension ();
20567 if ac_fn_c_try_link
"$LINENO"; then :
20568 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
20570 ac_cv_lib_Xrender_XRenderQueryExtension
=no
20572 rm -f core conftest.err conftest.
$ac_objext \
20573 conftest
$ac_exeext conftest.
$ac_ext
20574 LIBS
=$ac_check_lib_save_LIBS
20576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
20577 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
20578 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x
""yes; then :
20580 $as_echo "#define HAVE_XRENDER 1" >>confdefs.h
20581 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRQueryExtension in -lXrandr" >&5
20588 $as_echo_n "checking for XRRQueryExtension in -lXrandr... " >&6; }
20589 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then :
20590 $as_echo_n "(cached) " >&6
20592 ac_check_lib_save_LIBS
=$LIBS
20593 LIBS
="-lXrandr ${X_LIBS} $LIBS"
20594 if test x
$gcc_no_link = xyes
; then
20595 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20598 /* end confdefs.h. */
20600 /* Override any GCC internal prototype to avoid an error.
20601 Use char because int might match the return type of a GCC
20602 builtin and then its argument prototype would still apply. */
20606 char XRRQueryExtension ();
20610 return XRRQueryExtension ();
20615 if ac_fn_c_try_link
"$LINENO"; then :
20616 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
20618 ac_cv_lib_Xrandr_XRRQueryExtension
=no
20620 rm -f core conftest.err conftest.
$ac_objext \
20621 conftest
$ac_exeext conftest.
$ac_ext
20622 LIBS
=$ac_check_lib_save_LIBS
20624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
20625 $as_echo "$ac_cv_lib_Xrandr_XRRQueryExtension" >&6; }
20626 if test "x$ac_cv_lib_Xrandr_XRRQueryExtension" = x
""yes; then :
20628 $as_echo "#define HAVE_XRANDR 1" >>confdefs.h
20629 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
20644 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
20648 if test -z "$PKG_CONFIG"; then
20649 if test -n "$ac_tool_prefix"; then
20650 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20651 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20653 $as_echo_n "checking for $ac_word... " >&6; }
20654 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20655 $as_echo_n "(cached) " >&6
20657 case $PKG_CONFIG in
20659 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20663 for as_dir
in $PATH
20666 test -z "$as_dir" && as_dir
=.
20667 for ac_exec_ext
in '' $ac_executable_extensions; do
20668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20669 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20680 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20681 if test -n "$PKG_CONFIG"; then
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20683 $as_echo "$PKG_CONFIG" >&6; }
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20686 $as_echo "no" >&6; }
20691 if test -z "$ac_cv_path_PKG_CONFIG"; then
20692 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20693 # Extract the first word of "pkg-config", so it can be a program name with args.
20694 set dummy pkg-config
; ac_word
=$2
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20696 $as_echo_n "checking for $ac_word... " >&6; }
20697 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20698 $as_echo_n "(cached) " >&6
20700 case $ac_pt_PKG_CONFIG in
20702 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20706 for as_dir
in $PATH
20709 test -z "$as_dir" && as_dir
=.
20710 for ac_exec_ext
in '' $ac_executable_extensions; do
20711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20712 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20723 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20724 if test -n "$ac_pt_PKG_CONFIG"; then
20725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20726 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20729 $as_echo "no" >&6; }
20732 if test "x$ac_pt_PKG_CONFIG" = x
; then
20735 case $cross_compiling:$ac_tool_warned in
20737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20739 ac_tool_warned
=yes ;;
20741 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20744 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20749 if test "$PKG_CONFIG" = "no" ; then
20750 echo "*** The pkg-config script could not be found. Make sure it is"
20751 echo "*** in your path, or set the PKG_CONFIG environment variable"
20752 echo "*** to the full path to pkg-config."
20753 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20755 PKG_CONFIG_MIN_VERSION
=0.9.0
20756 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.6.0" >&5
20758 $as_echo_n "checking for gconf-2.0 >= 2.6.0... " >&6; }
20760 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20762 $as_echo "yes" >&6; }
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5
20766 $as_echo_n "checking GCONF_CFLAGS... " >&6; }
20767 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5
20769 $as_echo "$GCONF_CFLAGS" >&6; }
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5
20772 $as_echo_n "checking GCONF_LIBS... " >&6; }
20773 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
20774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5
20775 $as_echo "$GCONF_LIBS" >&6; }
20779 ## If we have a custom action on failure, don't print errors, but
20780 ## do set a variable so people can do so.
20781 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
20782 echo $GCONF_PKG_ERRORS
20788 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20789 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20793 if test $succeeded = yes; then
20796 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
20804 if test -z "$PKG_CONFIG"; then
20805 if test -n "$ac_tool_prefix"; then
20806 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20807 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20809 $as_echo_n "checking for $ac_word... " >&6; }
20810 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20811 $as_echo_n "(cached) " >&6
20813 case $PKG_CONFIG in
20815 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20819 for as_dir
in $PATH
20822 test -z "$as_dir" && as_dir
=.
20823 for ac_exec_ext
in '' $ac_executable_extensions; do
20824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20825 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20836 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20837 if test -n "$PKG_CONFIG"; then
20838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20839 $as_echo "$PKG_CONFIG" >&6; }
20841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20842 $as_echo "no" >&6; }
20847 if test -z "$ac_cv_path_PKG_CONFIG"; then
20848 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20849 # Extract the first word of "pkg-config", so it can be a program name with args.
20850 set dummy pkg-config
; ac_word
=$2
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20852 $as_echo_n "checking for $ac_word... " >&6; }
20853 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20854 $as_echo_n "(cached) " >&6
20856 case $ac_pt_PKG_CONFIG in
20858 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20862 for as_dir
in $PATH
20865 test -z "$as_dir" && as_dir
=.
20866 for ac_exec_ext
in '' $ac_executable_extensions; do
20867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20868 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20879 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20880 if test -n "$ac_pt_PKG_CONFIG"; then
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20882 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20885 $as_echo "no" >&6; }
20888 if test "x$ac_pt_PKG_CONFIG" = x
; then
20891 case $cross_compiling:$ac_tool_warned in
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20895 ac_tool_warned
=yes ;;
20897 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20900 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20905 if test "$PKG_CONFIG" = "no" ; then
20906 echo "*** The pkg-config script could not be found. Make sure it is"
20907 echo "*** in your path, or set the PKG_CONFIG environment variable"
20908 echo "*** to the full path to pkg-config."
20909 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20911 PKG_CONFIG_MIN_VERSION
=0.9.0
20912 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
20914 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
20916 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
20917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20918 $as_echo "yes" >&6; }
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
20922 $as_echo_n "checking GDK_CFLAGS... " >&6; }
20923 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
20924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
20925 $as_echo "$GDK_CFLAGS" >&6; }
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
20928 $as_echo_n "checking GDK_LIBS... " >&6; }
20929 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
20931 $as_echo "$GDK_LIBS" >&6; }
20935 ## If we have a custom action on failure, don't print errors, but
20936 ## do set a variable so people can do so.
20937 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
20938 echo $GDK_PKG_ERRORS
20944 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20945 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20949 if test $succeeded = yes; then
20952 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
20957 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
20958 if test "$USE_GCONF_PREFS_PEER" = ""; then
20959 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
20963 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
20964 GST_MAJORMINOR
=0.10
20965 GST_REQUIRED
=0.10.10
20970 if test -z "$PKG_CONFIG"; then
20971 if test -n "$ac_tool_prefix"; then
20972 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20973 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20975 $as_echo_n "checking for $ac_word... " >&6; }
20976 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20977 $as_echo_n "(cached) " >&6
20979 case $PKG_CONFIG in
20981 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20985 for as_dir
in $PATH
20988 test -z "$as_dir" && as_dir
=.
20989 for ac_exec_ext
in '' $ac_executable_extensions; do
20990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20991 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21002 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21003 if test -n "$PKG_CONFIG"; then
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21005 $as_echo "$PKG_CONFIG" >&6; }
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21008 $as_echo "no" >&6; }
21013 if test -z "$ac_cv_path_PKG_CONFIG"; then
21014 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21015 # Extract the first word of "pkg-config", so it can be a program name with args.
21016 set dummy pkg-config
; ac_word
=$2
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21018 $as_echo_n "checking for $ac_word... " >&6; }
21019 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21020 $as_echo_n "(cached) " >&6
21022 case $ac_pt_PKG_CONFIG in
21024 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21028 for as_dir
in $PATH
21031 test -z "$as_dir" && as_dir
=.
21032 for ac_exec_ext
in '' $ac_executable_extensions; do
21033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21034 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21045 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21046 if test -n "$ac_pt_PKG_CONFIG"; then
21047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21048 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21051 $as_echo "no" >&6; }
21054 if test "x$ac_pt_PKG_CONFIG" = x
; then
21057 case $cross_compiling:$ac_tool_warned in
21059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21061 ac_tool_warned
=yes ;;
21063 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21066 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21071 if test "$PKG_CONFIG" = "no" ; then
21072 echo "*** The pkg-config script could not be found. Make sure it is"
21073 echo "*** in your path, or set the PKG_CONFIG environment variable"
21074 echo "*** to the full path to pkg-config."
21075 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21077 PKG_CONFIG_MIN_VERSION
=0.9.0
21078 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
21080 $as_echo_n "checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
21082 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21084 $as_echo "yes" >&6; }
21087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_CFLAGS" >&5
21088 $as_echo_n "checking GSTREAMER_CFLAGS... " >&6; }
21089 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_CFLAGS" >&5
21091 $as_echo "$GSTREAMER_CFLAGS" >&6; }
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_LIBS" >&5
21094 $as_echo_n "checking GSTREAMER_LIBS... " >&6; }
21095 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_LIBS" >&5
21097 $as_echo "$GSTREAMER_LIBS" >&6; }
21099 GSTREAMER_CFLAGS
=""
21101 ## If we have a custom action on failure, don't print errors, but
21102 ## do set a variable so people can do so.
21103 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
21104 echo $GSTREAMER_PKG_ERRORS
21110 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21111 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21115 if test $succeeded = yes; then
21118 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
21127 if test -z "$PKG_CONFIG"; then
21128 if test -n "$ac_tool_prefix"; then
21129 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21130 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21132 $as_echo_n "checking for $ac_word... " >&6; }
21133 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21134 $as_echo_n "(cached) " >&6
21136 case $PKG_CONFIG in
21138 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21142 for as_dir
in $PATH
21145 test -z "$as_dir" && as_dir
=.
21146 for ac_exec_ext
in '' $ac_executable_extensions; do
21147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21148 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21159 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21160 if test -n "$PKG_CONFIG"; then
21161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21162 $as_echo "$PKG_CONFIG" >&6; }
21164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21165 $as_echo "no" >&6; }
21170 if test -z "$ac_cv_path_PKG_CONFIG"; then
21171 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21172 # Extract the first word of "pkg-config", so it can be a program name with args.
21173 set dummy pkg-config
; ac_word
=$2
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21175 $as_echo_n "checking for $ac_word... " >&6; }
21176 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21177 $as_echo_n "(cached) " >&6
21179 case $ac_pt_PKG_CONFIG in
21181 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21185 for as_dir
in $PATH
21188 test -z "$as_dir" && as_dir
=.
21189 for ac_exec_ext
in '' $ac_executable_extensions; do
21190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21191 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21202 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21203 if test -n "$ac_pt_PKG_CONFIG"; then
21204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21205 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21208 $as_echo "no" >&6; }
21211 if test "x$ac_pt_PKG_CONFIG" = x
; then
21214 case $cross_compiling:$ac_tool_warned in
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21218 ac_tool_warned
=yes ;;
21220 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21223 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21228 if test "$PKG_CONFIG" = "no" ; then
21229 echo "*** The pkg-config script could not be found. Make sure it is"
21230 echo "*** in your path, or set the PKG_CONFIG environment variable"
21231 echo "*** to the full path to pkg-config."
21232 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21234 PKG_CONFIG_MIN_VERSION
=0.9.0
21235 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
21237 $as_echo_n "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
21239 if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
21240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21241 $as_echo "yes" >&6; }
21244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_CFLAGS" >&5
21245 $as_echo_n "checking GSTREAMER_BASE_CFLAGS... " >&6; }
21246 GSTREAMER_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_CFLAGS" >&5
21248 $as_echo "$GSTREAMER_BASE_CFLAGS" >&6; }
21250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_LIBS" >&5
21251 $as_echo_n "checking GSTREAMER_BASE_LIBS... " >&6; }
21252 GSTREAMER_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_LIBS" >&5
21254 $as_echo "$GSTREAMER_BASE_LIBS" >&6; }
21256 GSTREAMER_BASE_CFLAGS
=""
21257 GSTREAMER_BASE_LIBS
=""
21258 ## If we have a custom action on failure, don't print errors, but
21259 ## do set a variable so people can do so.
21260 GSTREAMER_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21261 echo $GSTREAMER_BASE_PKG_ERRORS
21267 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21268 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21272 if test $succeeded = yes; then
21275 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
21284 if test -z "$PKG_CONFIG"; then
21285 if test -n "$ac_tool_prefix"; then
21286 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21287 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21289 $as_echo_n "checking for $ac_word... " >&6; }
21290 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21291 $as_echo_n "(cached) " >&6
21293 case $PKG_CONFIG in
21295 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21299 for as_dir
in $PATH
21302 test -z "$as_dir" && as_dir
=.
21303 for ac_exec_ext
in '' $ac_executable_extensions; do
21304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21305 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21316 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21317 if test -n "$PKG_CONFIG"; then
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21319 $as_echo "$PKG_CONFIG" >&6; }
21321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21322 $as_echo "no" >&6; }
21327 if test -z "$ac_cv_path_PKG_CONFIG"; then
21328 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21329 # Extract the first word of "pkg-config", so it can be a program name with args.
21330 set dummy pkg-config
; ac_word
=$2
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21332 $as_echo_n "checking for $ac_word... " >&6; }
21333 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21334 $as_echo_n "(cached) " >&6
21336 case $ac_pt_PKG_CONFIG in
21338 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21342 for as_dir
in $PATH
21345 test -z "$as_dir" && as_dir
=.
21346 for ac_exec_ext
in '' $ac_executable_extensions; do
21347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21348 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21359 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21360 if test -n "$ac_pt_PKG_CONFIG"; then
21361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21362 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21365 $as_echo "no" >&6; }
21368 if test "x$ac_pt_PKG_CONFIG" = x
; then
21371 case $cross_compiling:$ac_tool_warned in
21373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21375 ac_tool_warned
=yes ;;
21377 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21380 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21385 if test "$PKG_CONFIG" = "no" ; then
21386 echo "*** The pkg-config script could not be found. Make sure it is"
21387 echo "*** in your path, or set the PKG_CONFIG environment variable"
21388 echo "*** to the full path to pkg-config."
21389 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21391 PKG_CONFIG_MIN_VERSION
=0.9.0
21392 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
21394 $as_echo_n "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
21396 if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
21397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21398 $as_echo "yes" >&6; }
21401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
21402 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_CFLAGS... " >&6; }
21403 GSTREAMER_PLUGINS_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
21405 $as_echo "$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6; }
21407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
21408 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_LIBS... " >&6; }
21409 GSTREAMER_PLUGINS_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
21411 $as_echo "$GSTREAMER_PLUGINS_BASE_LIBS" >&6; }
21413 GSTREAMER_PLUGINS_BASE_CFLAGS
=""
21414 GSTREAMER_PLUGINS_BASE_LIBS
=""
21415 ## If we have a custom action on failure, don't print errors, but
21416 ## do set a variable so people can do so.
21417 GSTREAMER_PLUGINS_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21418 echo $GSTREAMER_PLUGINS_BASE_PKG_ERRORS
21424 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21425 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21429 if test $succeeded = yes; then
21432 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
21438 GST_PLUGIN_LDFLAGS
='-module -avoid-version -Wno-unused-parameter -no-undefined'
21444 if test -z "$PKG_CONFIG"; then
21445 if test -n "$ac_tool_prefix"; then
21446 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21447 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21449 $as_echo_n "checking for $ac_word... " >&6; }
21450 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21451 $as_echo_n "(cached) " >&6
21453 case $PKG_CONFIG in
21455 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21459 for as_dir
in $PATH
21462 test -z "$as_dir" && as_dir
=.
21463 for ac_exec_ext
in '' $ac_executable_extensions; do
21464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21465 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21476 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21477 if test -n "$PKG_CONFIG"; then
21478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21479 $as_echo "$PKG_CONFIG" >&6; }
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21482 $as_echo "no" >&6; }
21487 if test -z "$ac_cv_path_PKG_CONFIG"; then
21488 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21489 # Extract the first word of "pkg-config", so it can be a program name with args.
21490 set dummy pkg-config
; ac_word
=$2
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21492 $as_echo_n "checking for $ac_word... " >&6; }
21493 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21494 $as_echo_n "(cached) " >&6
21496 case $ac_pt_PKG_CONFIG in
21498 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21502 for as_dir
in $PATH
21505 test -z "$as_dir" && as_dir
=.
21506 for ac_exec_ext
in '' $ac_executable_extensions; do
21507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21508 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21519 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21520 if test -n "$ac_pt_PKG_CONFIG"; then
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21522 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21525 $as_echo "no" >&6; }
21528 if test "x$ac_pt_PKG_CONFIG" = x
; then
21531 case $cross_compiling:$ac_tool_warned in
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21535 ac_tool_warned
=yes ;;
21537 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21540 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21545 if test "$PKG_CONFIG" = "no" ; then
21546 echo "*** The pkg-config script could not be found. Make sure it is"
21547 echo "*** in your path, or set the PKG_CONFIG environment variable"
21548 echo "*** to the full path to pkg-config."
21549 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21551 PKG_CONFIG_MIN_VERSION
=0.9.0
21552 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
21554 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
21556 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
21557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21558 $as_echo "yes" >&6; }
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
21562 $as_echo_n "checking GDK_CFLAGS... " >&6; }
21563 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
21565 $as_echo "$GDK_CFLAGS" >&6; }
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
21568 $as_echo_n "checking GDK_LIBS... " >&6; }
21569 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
21571 $as_echo "$GDK_LIBS" >&6; }
21575 ## If we have a custom action on failure, don't print errors, but
21576 ## do set a variable so people can do so.
21577 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
21578 echo $GDK_PKG_ERRORS
21584 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21585 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21589 if test $succeeded = yes; then
21592 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
21598 GSTREAMER_FILE_READER
=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader
21599 GSTREAMER_MIXER_PROVIDER
=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider
21604 if test "x${COMPILE_QT_PEER}" = xyes
; then
21608 if test -z "$PKG_CONFIG"; then
21609 if test -n "$ac_tool_prefix"; then
21610 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21611 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21613 $as_echo_n "checking for $ac_word... " >&6; }
21614 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21615 $as_echo_n "(cached) " >&6
21617 case $PKG_CONFIG in
21619 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21623 for as_dir
in $PATH
21626 test -z "$as_dir" && as_dir
=.
21627 for ac_exec_ext
in '' $ac_executable_extensions; do
21628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21629 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21640 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21641 if test -n "$PKG_CONFIG"; then
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21643 $as_echo "$PKG_CONFIG" >&6; }
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21646 $as_echo "no" >&6; }
21651 if test -z "$ac_cv_path_PKG_CONFIG"; then
21652 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21653 # Extract the first word of "pkg-config", so it can be a program name with args.
21654 set dummy pkg-config
; ac_word
=$2
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21656 $as_echo_n "checking for $ac_word... " >&6; }
21657 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21658 $as_echo_n "(cached) " >&6
21660 case $ac_pt_PKG_CONFIG in
21662 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21666 for as_dir
in $PATH
21669 test -z "$as_dir" && as_dir
=.
21670 for ac_exec_ext
in '' $ac_executable_extensions; do
21671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21672 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21683 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21684 if test -n "$ac_pt_PKG_CONFIG"; then
21685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21686 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21689 $as_echo "no" >&6; }
21692 if test "x$ac_pt_PKG_CONFIG" = x
; then
21695 case $cross_compiling:$ac_tool_warned in
21697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21699 ac_tool_warned
=yes ;;
21701 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21704 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21709 if test "$PKG_CONFIG" = "no" ; then
21710 echo "*** The pkg-config script could not be found. Make sure it is"
21711 echo "*** in your path, or set the PKG_CONFIG environment variable"
21712 echo "*** to the full path to pkg-config."
21713 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21715 PKG_CONFIG_MIN_VERSION
=0.9.0
21716 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QtCore QtGui >= 4.1.0" >&5
21718 $as_echo_n "checking for QtCore QtGui >= 4.1.0... " >&6; }
21720 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
21721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21722 $as_echo "yes" >&6; }
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_CFLAGS" >&5
21726 $as_echo_n "checking QT_CFLAGS... " >&6; }
21727 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CFLAGS" >&5
21729 $as_echo "$QT_CFLAGS" >&6; }
21731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_LIBS" >&5
21732 $as_echo_n "checking QT_LIBS... " >&6; }
21733 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_LIBS" >&5
21735 $as_echo "$QT_LIBS" >&6; }
21739 ## If we have a custom action on failure, don't print errors, but
21740 ## do set a variable so people can do so.
21741 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
21748 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21749 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21753 if test $succeeded = yes; then
21759 if test "x$HAVE_QT4" = "xyes"; then
21760 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
21761 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
21762 as_ac_File
=`$as_echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $QT_INCLUDE_DIR/QWidget" >&5
21764 $as_echo_n "checking for $QT_INCLUDE_DIR/QWidget... " >&6; }
21765 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
21766 $as_echo_n "(cached) " >&6
21768 test "$cross_compiling" = yes &&
21769 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
21770 if test -r "$QT_INCLUDE_DIR/QWidget"; then
21771 eval "$as_ac_File=yes"
21773 eval "$as_ac_File=no"
21776 eval ac_res
=\$
$as_ac_File
21777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21778 $as_echo "$ac_res" >&6; }
21779 eval as_val
=\$
$as_ac_File
21780 if test "x$as_val" = x
""yes; then :
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: No extra QT_INCLUDE_DIR needed" >&5
21782 $as_echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
21784 as_ac_File
=`$as_echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
21786 $as_echo_n "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... " >&6; }
21787 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
21788 $as_echo_n "(cached) " >&6
21790 test "$cross_compiling" = yes &&
21791 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
21792 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
21793 eval "$as_ac_File=yes"
21795 eval "$as_ac_File=no"
21798 eval ac_res
=\$
$as_ac_File
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21800 $as_echo "$ac_res" >&6; }
21801 eval as_val
=\$
$as_ac_File
21802 if test "x$as_val" = x
""yes; then :
21803 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: QWidget not found" >&5
21806 $as_echo "$as_me: WARNING: QWidget not found" >&2;}
21811 # Extract the first word of "moc", so it can be a program name with args.
21812 set dummy moc
; ac_word
=$2
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21814 $as_echo_n "checking for $ac_word... " >&6; }
21815 if test "${ac_cv_prog_MOC+set}" = set; then :
21816 $as_echo_n "(cached) " >&6
21818 if test -n "$MOC"; then
21819 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
21821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21822 for as_dir
in $PATH
21825 test -z "$as_dir" && as_dir
=.
21826 for ac_exec_ext
in '' $ac_executable_extensions; do
21827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21828 ac_cv_prog_MOC
="moc"
21829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21838 MOC
=$ac_cv_prog_MOC
21839 if test -n "$MOC"; then
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
21841 $as_echo "$MOC" >&6; }
21843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21844 $as_echo "no" >&6; }
21848 # Extract the first word of "moc-qt4", so it can be a program name with args.
21849 set dummy moc-qt4
; ac_word
=$2
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21851 $as_echo_n "checking for $ac_word... " >&6; }
21852 if test "${ac_cv_prog_MOC4+set}" = set; then :
21853 $as_echo_n "(cached) " >&6
21855 if test -n "$MOC4"; then
21856 ac_cv_prog_MOC4
="$MOC4" # Let the user override the test.
21858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21859 for as_dir
in $PATH
21862 test -z "$as_dir" && as_dir
=.
21863 for ac_exec_ext
in '' $ac_executable_extensions; do
21864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21865 ac_cv_prog_MOC4
="moc-qt4"
21866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21875 MOC4
=$ac_cv_prog_MOC4
21876 if test -n "$MOC4"; then
21877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC4" >&5
21878 $as_echo "$MOC4" >&6; }
21880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21881 $as_echo "no" >&6; }
21885 if test x
"$MOC4" != x
; then
21886 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $MOC4 as moc" >&5
21887 $as_echo "$as_me: Using $MOC4 as moc" >&6;}
21891 if test "x$HAVE_QT4" = "xno"; then
21892 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
21893 $as_echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
21897 # Check whether --with-qt4dir was given.
21898 if test "${with_qt4dir+set}" = set; then :
21899 withval
=$with_qt4dir; QT4DIR
=$withval
21903 if test x
"$QT4DIR" = x
; then
21904 as_fn_error
"*** No path for Qt4 --with-qt4dir option given" "$LINENO" 5
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: QT4DIR... $QT4DIR" >&5
21907 $as_echo "QT4DIR... $QT4DIR" >&6; }
21908 # Extract the first word of "moc", so it can be a program name with args.
21909 set dummy moc
; ac_word
=$2
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21911 $as_echo_n "checking for $ac_word... " >&6; }
21912 if test "${ac_cv_prog_MOC+set}" = set; then :
21913 $as_echo_n "(cached) " >&6
21915 if test -n "$MOC"; then
21916 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
21918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21919 for as_dir
in $QT4DIR/bin
21922 test -z "$as_dir" && as_dir
=.
21923 for ac_exec_ext
in '' $ac_executable_extensions; do
21924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21925 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
21926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21935 MOC
=$ac_cv_prog_MOC
21936 if test -n "$MOC"; then
21937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
21938 $as_echo "$MOC" >&6; }
21940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21941 $as_echo "no" >&6; }
21945 if test x
"$MOC" = x
; then
21946 as_fn_error
"*** This is not the right Qt installation" "$LINENO" 5
21948 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
21949 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
21950 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
21951 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
21954 as_fn_error
"*** Please check PKG_CONFIG_PATH or the version
21955 of your installed Qt4 installation." "$LINENO" 5
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: Set QT_CFLAGS... $QT_CFLAGS" >&5
21960 $as_echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
21964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
21965 $as_echo_n "checking for MSG_NOSIGNAL... " >&6; }
21966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21967 /* end confdefs.h. */
21968 #include <sys/socket.h>
21972 int f = MSG_NOSIGNAL;
21977 if ac_fn_c_try_compile
"$LINENO"; then :
21978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21979 $as_echo "yes" >&6; }
21981 $as_echo "#define HAVE_MSG_NOSIGNAL 1" >>confdefs.h
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21985 $as_echo "no" >&6; }
21988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SO_NOSIGPIPE " >&5
21990 $as_echo_n "checking for SO_NOSIGPIPE ... " >&6; }
21991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21992 /* end confdefs.h. */
21993 #include <sys/socket.h>
21997 int f = SO_NOSIGPIPE;
22002 if ac_fn_c_try_compile
"$LINENO"; then :
22003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22004 $as_echo "yes" >&6; }
22006 $as_echo "#define HAVE_SO_NOSIGPIPE 1" >>confdefs.h
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22010 $as_echo "no" >&6; }
22013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_WAITALL" >&5
22015 $as_echo_n "checking for MSG_WAITALL... " >&6; }
22016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22017 /* end confdefs.h. */
22018 #include <sys/socket.h>
22022 int f = MSG_WAITALL;
22027 if ac_fn_c_try_compile
"$LINENO"; then :
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22029 $as_echo "yes" >&6; }
22031 $as_echo "#define HAVE_MSG_WAITALL 1" >>confdefs.h
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22035 $as_echo "no" >&6; }
22038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22040 if test "x${COMPILE_PLUGIN}" = xyes
; then
22044 if test -z "$PKG_CONFIG"; then
22045 if test -n "$ac_tool_prefix"; then
22046 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22047 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22049 $as_echo_n "checking for $ac_word... " >&6; }
22050 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22051 $as_echo_n "(cached) " >&6
22053 case $PKG_CONFIG in
22055 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22059 for as_dir
in $PATH
22062 test -z "$as_dir" && as_dir
=.
22063 for ac_exec_ext
in '' $ac_executable_extensions; do
22064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22065 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22076 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22077 if test -n "$PKG_CONFIG"; then
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22079 $as_echo "$PKG_CONFIG" >&6; }
22081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22082 $as_echo "no" >&6; }
22087 if test -z "$ac_cv_path_PKG_CONFIG"; then
22088 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22089 # Extract the first word of "pkg-config", so it can be a program name with args.
22090 set dummy pkg-config
; ac_word
=$2
22091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22092 $as_echo_n "checking for $ac_word... " >&6; }
22093 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22094 $as_echo_n "(cached) " >&6
22096 case $ac_pt_PKG_CONFIG in
22098 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22102 for as_dir
in $PATH
22105 test -z "$as_dir" && as_dir
=.
22106 for ac_exec_ext
in '' $ac_executable_extensions; do
22107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22108 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22119 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22120 if test -n "$ac_pt_PKG_CONFIG"; then
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22122 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22125 $as_echo "no" >&6; }
22128 if test "x$ac_pt_PKG_CONFIG" = x
; then
22131 case $cross_compiling:$ac_tool_warned in
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22135 ac_tool_warned
=yes ;;
22137 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22140 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22145 if test "$PKG_CONFIG" = "no" ; then
22146 echo "*** The pkg-config script could not be found. Make sure it is"
22147 echo "*** in your path, or set the PKG_CONFIG environment variable"
22148 echo "*** to the full path to pkg-config."
22149 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22151 PKG_CONFIG_MIN_VERSION
=0.9.0
22152 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin libxul-unstable" >&5
22154 $as_echo_n "checking for mozilla-plugin libxul-unstable... " >&6; }
22156 if $PKG_CONFIG --exists "mozilla-plugin libxul-unstable" ; then
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22158 $as_echo "yes" >&6; }
22161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22162 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22163 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin libxul-unstable"`
22164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22165 $as_echo "$MOZILLA_CFLAGS" >&6; }
22167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22168 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22169 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin libxul-unstable"`
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22171 $as_echo "$MOZILLA_LIBS" >&6; }
22175 ## If we have a custom action on failure, don't print errors, but
22176 ## do set a variable so people can do so.
22177 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin libxul-unstable"`
22184 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22185 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22189 if test $succeeded = yes; then
22195 if test "x${MOZILLA_FOUND}" = xno
; then
22199 if test -z "$PKG_CONFIG"; then
22200 if test -n "$ac_tool_prefix"; then
22201 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22202 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22204 $as_echo_n "checking for $ac_word... " >&6; }
22205 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22206 $as_echo_n "(cached) " >&6
22208 case $PKG_CONFIG in
22210 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22214 for as_dir
in $PATH
22217 test -z "$as_dir" && as_dir
=.
22218 for ac_exec_ext
in '' $ac_executable_extensions; do
22219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22220 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22231 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22232 if test -n "$PKG_CONFIG"; then
22233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22234 $as_echo "$PKG_CONFIG" >&6; }
22236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22237 $as_echo "no" >&6; }
22242 if test -z "$ac_cv_path_PKG_CONFIG"; then
22243 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22244 # Extract the first word of "pkg-config", so it can be a program name with args.
22245 set dummy pkg-config
; ac_word
=$2
22246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22247 $as_echo_n "checking for $ac_word... " >&6; }
22248 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22249 $as_echo_n "(cached) " >&6
22251 case $ac_pt_PKG_CONFIG in
22253 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22257 for as_dir
in $PATH
22260 test -z "$as_dir" && as_dir
=.
22261 for ac_exec_ext
in '' $ac_executable_extensions; do
22262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22263 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22274 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22275 if test -n "$ac_pt_PKG_CONFIG"; then
22276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22277 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22280 $as_echo "no" >&6; }
22283 if test "x$ac_pt_PKG_CONFIG" = x
; then
22286 case $cross_compiling:$ac_tool_warned in
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22290 ac_tool_warned
=yes ;;
22292 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22295 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22300 if test "$PKG_CONFIG" = "no" ; then
22301 echo "*** The pkg-config script could not be found. Make sure it is"
22302 echo "*** in your path, or set the PKG_CONFIG environment variable"
22303 echo "*** to the full path to pkg-config."
22304 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22306 PKG_CONFIG_MIN_VERSION
=0.9.0
22307 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin" >&5
22309 $as_echo_n "checking for mozilla-plugin... " >&6; }
22311 if $PKG_CONFIG --exists "mozilla-plugin" ; then
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22313 $as_echo "yes" >&6; }
22316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22317 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22318 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
22319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22320 $as_echo "$MOZILLA_CFLAGS" >&6; }
22322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22323 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22324 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22326 $as_echo "$MOZILLA_LIBS" >&6; }
22330 ## If we have a custom action on failure, don't print errors, but
22331 ## do set a variable so people can do so.
22332 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
22339 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22340 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22344 if test $succeeded = yes; then
22351 if test "x${MOZILLA_FOUND}" = xno
; then
22355 if test -z "$PKG_CONFIG"; then
22356 if test -n "$ac_tool_prefix"; then
22357 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22358 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22360 $as_echo_n "checking for $ac_word... " >&6; }
22361 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22362 $as_echo_n "(cached) " >&6
22364 case $PKG_CONFIG in
22366 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22370 for as_dir
in $PATH
22373 test -z "$as_dir" && as_dir
=.
22374 for ac_exec_ext
in '' $ac_executable_extensions; do
22375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22376 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22387 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22388 if test -n "$PKG_CONFIG"; then
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22390 $as_echo "$PKG_CONFIG" >&6; }
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22393 $as_echo "no" >&6; }
22398 if test -z "$ac_cv_path_PKG_CONFIG"; then
22399 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22400 # Extract the first word of "pkg-config", so it can be a program name with args.
22401 set dummy pkg-config
; ac_word
=$2
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22403 $as_echo_n "checking for $ac_word... " >&6; }
22404 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22405 $as_echo_n "(cached) " >&6
22407 case $ac_pt_PKG_CONFIG in
22409 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22413 for as_dir
in $PATH
22416 test -z "$as_dir" && as_dir
=.
22417 for ac_exec_ext
in '' $ac_executable_extensions; do
22418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22419 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22430 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22431 if test -n "$ac_pt_PKG_CONFIG"; then
22432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22433 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22436 $as_echo "no" >&6; }
22439 if test "x$ac_pt_PKG_CONFIG" = x
; then
22442 case $cross_compiling:$ac_tool_warned in
22444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22446 ac_tool_warned
=yes ;;
22448 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22451 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22456 if test "$PKG_CONFIG" = "no" ; then
22457 echo "*** The pkg-config script could not be found. Make sure it is"
22458 echo "*** in your path, or set the PKG_CONFIG environment variable"
22459 echo "*** to the full path to pkg-config."
22460 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22462 PKG_CONFIG_MIN_VERSION
=0.9.0
22463 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for firefox-plugin firefox-xpcom" >&5
22465 $as_echo_n "checking for firefox-plugin firefox-xpcom... " >&6; }
22467 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
22468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22469 $as_echo "yes" >&6; }
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22473 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22474 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
22475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22476 $as_echo "$MOZILLA_CFLAGS" >&6; }
22478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22479 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22480 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22482 $as_echo "$MOZILLA_LIBS" >&6; }
22486 ## If we have a custom action on failure, don't print errors, but
22487 ## do set a variable so people can do so.
22488 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
22495 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22496 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22500 if test $succeeded = yes; then
22507 if test "x${MOZILLA_FOUND}" = xno
; then
22511 if test -z "$PKG_CONFIG"; then
22512 if test -n "$ac_tool_prefix"; then
22513 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22514 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22516 $as_echo_n "checking for $ac_word... " >&6; }
22517 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22518 $as_echo_n "(cached) " >&6
22520 case $PKG_CONFIG in
22522 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22526 for as_dir
in $PATH
22529 test -z "$as_dir" && as_dir
=.
22530 for ac_exec_ext
in '' $ac_executable_extensions; do
22531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22532 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22543 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22544 if test -n "$PKG_CONFIG"; then
22545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22546 $as_echo "$PKG_CONFIG" >&6; }
22548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22549 $as_echo "no" >&6; }
22554 if test -z "$ac_cv_path_PKG_CONFIG"; then
22555 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22556 # Extract the first word of "pkg-config", so it can be a program name with args.
22557 set dummy pkg-config
; ac_word
=$2
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22559 $as_echo_n "checking for $ac_word... " >&6; }
22560 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22561 $as_echo_n "(cached) " >&6
22563 case $ac_pt_PKG_CONFIG in
22565 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22569 for as_dir
in $PATH
22572 test -z "$as_dir" && as_dir
=.
22573 for ac_exec_ext
in '' $ac_executable_extensions; do
22574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22575 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22586 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22587 if test -n "$ac_pt_PKG_CONFIG"; then
22588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22589 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22592 $as_echo "no" >&6; }
22595 if test "x$ac_pt_PKG_CONFIG" = x
; then
22598 case $cross_compiling:$ac_tool_warned in
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22602 ac_tool_warned
=yes ;;
22604 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22607 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22612 if test "$PKG_CONFIG" = "no" ; then
22613 echo "*** The pkg-config script could not be found. Make sure it is"
22614 echo "*** in your path, or set the PKG_CONFIG environment variable"
22615 echo "*** to the full path to pkg-config."
22616 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22618 PKG_CONFIG_MIN_VERSION
=0.9.0
22619 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xulrunner-plugin xulrunner-xpcom" >&5
22621 $as_echo_n "checking for xulrunner-plugin xulrunner-xpcom... " >&6; }
22623 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22625 $as_echo "yes" >&6; }
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22629 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22630 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22632 $as_echo "$MOZILLA_CFLAGS" >&6; }
22634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22635 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22636 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22638 $as_echo "$MOZILLA_LIBS" >&6; }
22642 ## If we have a custom action on failure, don't print errors, but
22643 ## do set a variable so people can do so.
22644 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
22651 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22652 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22656 if test $succeeded = yes; then
22663 if test "x${MOZILLA_FOUND}" = xno
; then
22667 if test -z "$PKG_CONFIG"; then
22668 if test -n "$ac_tool_prefix"; then
22669 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22670 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22672 $as_echo_n "checking for $ac_word... " >&6; }
22673 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22674 $as_echo_n "(cached) " >&6
22676 case $PKG_CONFIG in
22678 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22682 for as_dir
in $PATH
22685 test -z "$as_dir" && as_dir
=.
22686 for ac_exec_ext
in '' $ac_executable_extensions; do
22687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22688 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22699 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22700 if test -n "$PKG_CONFIG"; then
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22702 $as_echo "$PKG_CONFIG" >&6; }
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22705 $as_echo "no" >&6; }
22710 if test -z "$ac_cv_path_PKG_CONFIG"; then
22711 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22712 # Extract the first word of "pkg-config", so it can be a program name with args.
22713 set dummy pkg-config
; ac_word
=$2
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22715 $as_echo_n "checking for $ac_word... " >&6; }
22716 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22717 $as_echo_n "(cached) " >&6
22719 case $ac_pt_PKG_CONFIG in
22721 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22725 for as_dir
in $PATH
22728 test -z "$as_dir" && as_dir
=.
22729 for ac_exec_ext
in '' $ac_executable_extensions; do
22730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22731 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22742 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22743 if test -n "$ac_pt_PKG_CONFIG"; then
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22745 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22748 $as_echo "no" >&6; }
22751 if test "x$ac_pt_PKG_CONFIG" = x
; then
22754 case $cross_compiling:$ac_tool_warned in
22756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22758 ac_tool_warned
=yes ;;
22760 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22763 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22768 if test "$PKG_CONFIG" = "no" ; then
22769 echo "*** The pkg-config script could not be found. Make sure it is"
22770 echo "*** in your path, or set the PKG_CONFIG environment variable"
22771 echo "*** to the full path to pkg-config."
22772 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22774 PKG_CONFIG_MIN_VERSION
=0.9.0
22775 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
22777 $as_echo_n "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... " >&6; }
22779 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22781 $as_echo "yes" >&6; }
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22785 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22786 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22788 $as_echo "$MOZILLA_CFLAGS" >&6; }
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22791 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22792 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22794 $as_echo "$MOZILLA_LIBS" >&6; }
22798 ## If we have a custom action on failure, don't print errors, but
22799 ## do set a variable so people can do so.
22800 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22807 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22808 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22812 if test $succeeded = yes; then
22819 if test "x${MOZILLA_FOUND}" = xno
; then
22823 if test -z "$PKG_CONFIG"; then
22824 if test -n "$ac_tool_prefix"; then
22825 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22826 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22828 $as_echo_n "checking for $ac_word... " >&6; }
22829 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22830 $as_echo_n "(cached) " >&6
22832 case $PKG_CONFIG in
22834 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22838 for as_dir
in $PATH
22841 test -z "$as_dir" && as_dir
=.
22842 for ac_exec_ext
in '' $ac_executable_extensions; do
22843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22844 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22855 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22856 if test -n "$PKG_CONFIG"; then
22857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22858 $as_echo "$PKG_CONFIG" >&6; }
22860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22861 $as_echo "no" >&6; }
22866 if test -z "$ac_cv_path_PKG_CONFIG"; then
22867 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22868 # Extract the first word of "pkg-config", so it can be a program name with args.
22869 set dummy pkg-config
; ac_word
=$2
22870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22871 $as_echo_n "checking for $ac_word... " >&6; }
22872 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22873 $as_echo_n "(cached) " >&6
22875 case $ac_pt_PKG_CONFIG in
22877 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22881 for as_dir
in $PATH
22884 test -z "$as_dir" && as_dir
=.
22885 for ac_exec_ext
in '' $ac_executable_extensions; do
22886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22887 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22898 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22899 if test -n "$ac_pt_PKG_CONFIG"; then
22900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22901 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22904 $as_echo "no" >&6; }
22907 if test "x$ac_pt_PKG_CONFIG" = x
; then
22910 case $cross_compiling:$ac_tool_warned in
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22914 ac_tool_warned
=yes ;;
22916 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22919 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22924 if test "$PKG_CONFIG" = "no" ; then
22925 echo "*** The pkg-config script could not be found. Make sure it is"
22926 echo "*** in your path, or set the PKG_CONFIG environment variable"
22927 echo "*** to the full path to pkg-config."
22928 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22930 PKG_CONFIG_MIN_VERSION
=0.9.0
22931 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for seamonkey-plugin seamonkey-xpcom" >&5
22933 $as_echo_n "checking for seamonkey-plugin seamonkey-xpcom... " >&6; }
22935 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
22936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22937 $as_echo "yes" >&6; }
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22941 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22942 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
22943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22944 $as_echo "$MOZILLA_CFLAGS" >&6; }
22946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22947 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22948 MOZILLA_LIBS
=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22950 $as_echo "$MOZILLA_LIBS" >&6; }
22954 ## If we have a custom action on failure, don't print errors, but
22955 ## do set a variable so people can do so.
22956 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
22963 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22964 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22968 if test $succeeded = yes; then
22975 if test "x${MOZILLA_FOUND}" = xno
; then
22979 if test -z "$PKG_CONFIG"; then
22980 if test -n "$ac_tool_prefix"; then
22981 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22982 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22984 $as_echo_n "checking for $ac_word... " >&6; }
22985 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22986 $as_echo_n "(cached) " >&6
22988 case $PKG_CONFIG in
22990 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22994 for as_dir
in $PATH
22997 test -z "$as_dir" && as_dir
=.
22998 for ac_exec_ext
in '' $ac_executable_extensions; do
22999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23000 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23011 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23012 if test -n "$PKG_CONFIG"; then
23013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23014 $as_echo "$PKG_CONFIG" >&6; }
23016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23017 $as_echo "no" >&6; }
23022 if test -z "$ac_cv_path_PKG_CONFIG"; then
23023 ac_pt_PKG_CONFIG
=$PKG_CONFIG
23024 # Extract the first word of "pkg-config", so it can be a program name with args.
23025 set dummy pkg-config
; ac_word
=$2
23026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23027 $as_echo_n "checking for $ac_word... " >&6; }
23028 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
23029 $as_echo_n "(cached) " >&6
23031 case $ac_pt_PKG_CONFIG in
23033 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23037 for as_dir
in $PATH
23040 test -z "$as_dir" && as_dir
=.
23041 for ac_exec_ext
in '' $ac_executable_extensions; do
23042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23043 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23054 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
23055 if test -n "$ac_pt_PKG_CONFIG"; then
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23057 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23060 $as_echo "no" >&6; }
23063 if test "x$ac_pt_PKG_CONFIG" = x
; then
23066 case $cross_compiling:$ac_tool_warned in
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23070 ac_tool_warned
=yes ;;
23072 PKG_CONFIG
=$ac_pt_PKG_CONFIG
23075 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
23080 if test "$PKG_CONFIG" = "no" ; then
23081 echo "*** The pkg-config script could not be found. Make sure it is"
23082 echo "*** in your path, or set the PKG_CONFIG environment variable"
23083 echo "*** to the full path to pkg-config."
23084 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23086 PKG_CONFIG_MIN_VERSION
=0.9.0
23087 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iceape-plugin iceape-xpcom" >&5
23089 $as_echo_n "checking for iceape-plugin iceape-xpcom... " >&6; }
23091 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
23092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23093 $as_echo "yes" >&6; }
23096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
23097 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
23098 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
23099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
23100 $as_echo "$MOZILLA_CFLAGS" >&6; }
23102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
23103 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
23104 MOZILLA_LIBS
=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
23105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
23106 $as_echo "$MOZILLA_LIBS" >&6; }
23110 ## If we have a custom action on failure, don't print errors, but
23111 ## do set a variable so people can do so.
23112 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
23119 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23120 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23124 if test $succeeded = yes; then
23131 if test "x${MOZILLA_FOUND}" = xno
; then
23132 as_fn_error
"Couldn't find plugin support headers and libraries, try --disable-plugin" "$LINENO" 5
23138 if test -z "$PKG_CONFIG"; then
23139 if test -n "$ac_tool_prefix"; then
23140 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23141 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
23142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23143 $as_echo_n "checking for $ac_word... " >&6; }
23144 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23145 $as_echo_n "(cached) " >&6
23147 case $PKG_CONFIG in
23149 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23153 for as_dir
in $PATH
23156 test -z "$as_dir" && as_dir
=.
23157 for ac_exec_ext
in '' $ac_executable_extensions; do
23158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23159 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23170 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23171 if test -n "$PKG_CONFIG"; then
23172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23173 $as_echo "$PKG_CONFIG" >&6; }
23175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23176 $as_echo "no" >&6; }
23181 if test -z "$ac_cv_path_PKG_CONFIG"; then
23182 ac_pt_PKG_CONFIG
=$PKG_CONFIG
23183 # Extract the first word of "pkg-config", so it can be a program name with args.
23184 set dummy pkg-config
; ac_word
=$2
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23186 $as_echo_n "checking for $ac_word... " >&6; }
23187 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
23188 $as_echo_n "(cached) " >&6
23190 case $ac_pt_PKG_CONFIG in
23192 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23196 for as_dir
in $PATH
23199 test -z "$as_dir" && as_dir
=.
23200 for ac_exec_ext
in '' $ac_executable_extensions; do
23201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23202 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23213 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
23214 if test -n "$ac_pt_PKG_CONFIG"; then
23215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23216 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23219 $as_echo "no" >&6; }
23222 if test "x$ac_pt_PKG_CONFIG" = x
; then
23225 case $cross_compiling:$ac_tool_warned in
23227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23229 ac_tool_warned
=yes ;;
23231 PKG_CONFIG
=$ac_pt_PKG_CONFIG
23234 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
23239 if test "$PKG_CONFIG" = "no" ; then
23240 echo "*** The pkg-config script could not be found. Make sure it is"
23241 echo "*** in your path, or set the PKG_CONFIG environment variable"
23242 echo "*** to the full path to pkg-config."
23243 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23245 PKG_CONFIG_MIN_VERSION
=0.9.0
23246 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0" >&5
23248 $as_echo_n "checking for glib-2.0... " >&6; }
23250 if $PKG_CONFIG --exists "glib-2.0" ; then
23251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23252 $as_echo "yes" >&6; }
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
23256 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
23257 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
23258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
23259 $as_echo "$GLIB_CFLAGS" >&6; }
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
23262 $as_echo_n "checking GLIB_LIBS... " >&6; }
23263 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
23265 $as_echo "$GLIB_LIBS" >&6; }
23269 ## If we have a custom action on failure, don't print errors, but
23270 ## do set a variable so people can do so.
23271 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
23272 echo $GLIB_PKG_ERRORS
23278 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23279 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23283 if test $succeeded = yes; then
23286 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
23292 if test -z "$PKG_CONFIG"; then
23293 if test -n "$ac_tool_prefix"; then
23294 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23295 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
23296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23297 $as_echo_n "checking for $ac_word... " >&6; }
23298 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23299 $as_echo_n "(cached) " >&6
23301 case $PKG_CONFIG in
23303 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23307 for as_dir
in $PATH
23310 test -z "$as_dir" && as_dir
=.
23311 for ac_exec_ext
in '' $ac_executable_extensions; do
23312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23313 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23324 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23325 if test -n "$PKG_CONFIG"; then
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23327 $as_echo "$PKG_CONFIG" >&6; }
23329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23330 $as_echo "no" >&6; }
23335 if test -z "$ac_cv_path_PKG_CONFIG"; then
23336 ac_pt_PKG_CONFIG
=$PKG_CONFIG
23337 # Extract the first word of "pkg-config", so it can be a program name with args.
23338 set dummy pkg-config
; ac_word
=$2
23339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23340 $as_echo_n "checking for $ac_word... " >&6; }
23341 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
23342 $as_echo_n "(cached) " >&6
23344 case $ac_pt_PKG_CONFIG in
23346 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23350 for as_dir
in $PATH
23353 test -z "$as_dir" && as_dir
=.
23354 for ac_exec_ext
in '' $ac_executable_extensions; do
23355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23356 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23367 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
23368 if test -n "$ac_pt_PKG_CONFIG"; then
23369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23370 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23373 $as_echo "no" >&6; }
23376 if test "x$ac_pt_PKG_CONFIG" = x
; then
23379 case $cross_compiling:$ac_tool_warned in
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23383 ac_tool_warned
=yes ;;
23385 PKG_CONFIG
=$ac_pt_PKG_CONFIG
23388 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
23393 if test "$PKG_CONFIG" = "no" ; then
23394 echo "*** The pkg-config script could not be found. Make sure it is"
23395 echo "*** in your path, or set the PKG_CONFIG environment variable"
23396 echo "*** to the full path to pkg-config."
23397 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23399 PKG_CONFIG_MIN_VERSION
=0.9.0
23400 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
23402 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
23404 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23406 $as_echo "yes" >&6; }
23409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
23410 $as_echo_n "checking GTK_CFLAGS... " >&6; }
23411 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
23413 $as_echo "$GTK_CFLAGS" >&6; }
23415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
23416 $as_echo_n "checking GTK_LIBS... " >&6; }
23417 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
23419 $as_echo "$GTK_LIBS" >&6; }
23423 ## If we have a custom action on failure, don't print errors, but
23424 ## do set a variable so people can do so.
23425 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23426 echo $GTK_PKG_ERRORS
23432 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23433 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23437 if test $succeeded = yes; then
23440 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
23451 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
23456 # Check whether --with-gmp was given.
23457 if test "${with_gmp+set}" = set; then :
23462 # Check whether --with-gmp_include was given.
23463 if test "${with_gmp_include+set}" = set; then :
23464 withval
=$with_gmp_include;
23468 # Check whether --with-gmp_lib was given.
23469 if test "${with_gmp_lib+set}" = set; then :
23470 withval
=$with_gmp_lib;
23474 if test "x$with_gmp" != x
; then
23477 gmplibs
="-L$with_gmp/lib $gmplibs"
23478 gmpinc
="-I$with_gmp/include $gmpinc"
23479 if test "x$with_gmp_include" != x
; then
23480 gmpinc
="-I$with_gmp_include $gmpinc"
23482 if test "x$with_gmp_lib" != x
; then
23483 gmplibs
="-L$with_gmp_lib $gmplibs"
23487 gmpinc
="-I/usr/include"
23490 if test "x${COMPILE_GMP}" = xyes
; then
23491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMP directories" >&5
23492 $as_echo_n "checking for GMP directories... " >&6; }
23493 if test "x$with_gmp" != x
; then
23494 gmplibs
="-L$with_gmp/lib -lgmp"
23495 gmpinc
="-I$with_gmp/include"
23496 if test "x$with_gmp_include" != x
; then
23497 gmpinc
="-I$with_gmp_include $gmpinc"
23499 if test "x$with_gmp_lib" != x
; then
23500 gmplibs
="-L$with_gmp_lib $gmplibs"
23505 gmpinc
="-I/usr/include"
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: prefix=$with_gmp, libs=$gmplibs, inc=$gmpinc" >&5
23508 $as_echo "prefix=$with_gmp, libs=$gmplibs, inc=$gmpinc" >&6; }
23509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_mul_si in -lgmp" >&5
23510 $as_echo_n "checking for __gmpz_mul_si in -lgmp... " >&6; }
23511 if test "${ac_cv_lib_gmp___gmpz_mul_si+set}" = set; then :
23512 $as_echo_n "(cached) " >&6
23514 ac_check_lib_save_LIBS
=$LIBS
23516 if test x
$gcc_no_link = xyes
; then
23517 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23520 /* end confdefs.h. */
23522 /* Override any GCC internal prototype to avoid an error.
23523 Use char because int might match the return type of a GCC
23524 builtin and then its argument prototype would still apply. */
23528 char __gmpz_mul_si ();
23532 return __gmpz_mul_si ();
23537 if ac_fn_c_try_link
"$LINENO"; then :
23538 ac_cv_lib_gmp___gmpz_mul_si
=yes
23540 ac_cv_lib_gmp___gmpz_mul_si
=no
23542 rm -f core conftest.err conftest.
$ac_objext \
23543 conftest
$ac_exeext conftest.
$ac_ext
23544 LIBS
=$ac_check_lib_save_LIBS
23546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_mul_si" >&5
23547 $as_echo "$ac_cv_lib_gmp___gmpz_mul_si" >&6; }
23548 if test "x$ac_cv_lib_gmp___gmpz_mul_si" = x
""yes; then :
23549 GMP_CFLAGS
="$gmpinc"
23550 GMP_LIBS
="$gmplibs"
23559 for ac_header
in gmp.h
23561 ac_fn_c_check_header_mongrel
"$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
23562 if test "x$ac_cv_header_gmp_h" = x
""yes; then :
23563 cat >>confdefs.h
<<_ACEOF
23564 #define HAVE_GMP_H 1
23577 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
23580 # Check whether --with-javah was given.
23581 if test "${with_javah+set}" = set; then :
23582 withval
=$with_javah;
23583 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
23585 if test "x${withval}" != x
; then
23586 if test -f "${withval}"; then
23587 USER_JAVAH
="${withval}"
23589 # Extract the first word of ""${withval}"", so it can be a program name with args.
23590 set dummy
"${withval}"; ac_word
=$2
23591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23592 $as_echo_n "checking for $ac_word... " >&6; }
23593 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23594 $as_echo_n "(cached) " >&6
23596 case $USER_JAVAH in
23598 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23602 for as_dir
in $PATH
23605 test -z "$as_dir" && as_dir
=.
23606 for ac_exec_ext
in '' $ac_executable_extensions; do
23607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23608 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23619 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23620 if test -n "$USER_JAVAH"; then
23621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23622 $as_echo "$USER_JAVAH" >&6; }
23624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23625 $as_echo "no" >&6; }
23631 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
23633 # Extract the first word of "$ac_prog", so it can be a program name with args.
23634 set dummy
$ac_prog; ac_word
=$2
23635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23636 $as_echo_n "checking for $ac_word... " >&6; }
23637 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23638 $as_echo_n "(cached) " >&6
23640 case $USER_JAVAH in
23642 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23646 for as_dir
in $PATH
23649 test -z "$as_dir" && as_dir
=.
23650 for ac_exec_ext
in '' $ac_executable_extensions; do
23651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23652 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23663 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23664 if test -n "$USER_JAVAH"; then
23665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23666 $as_echo "$USER_JAVAH" >&6; }
23668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23669 $as_echo "no" >&6; }
23673 test -n "$USER_JAVAH" && break
23678 if test "x${USER_JAVAH}" = x
; then
23679 as_fn_error
"can not find javah" "$LINENO" 5
23684 if test "x" != x
; then
23685 if test -f ""; then
23688 # Extract the first word of """", so it can be a program name with args.
23689 set dummy
""; ac_word
=$2
23690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23691 $as_echo_n "checking for $ac_word... " >&6; }
23692 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23693 $as_echo_n "(cached) " >&6
23695 case $USER_JAVAH in
23697 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23701 for as_dir
in $PATH
23704 test -z "$as_dir" && as_dir
=.
23705 for ac_exec_ext
in '' $ac_executable_extensions; do
23706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23707 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23718 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23719 if test -n "$USER_JAVAH"; then
23720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23721 $as_echo "$USER_JAVAH" >&6; }
23723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23724 $as_echo "no" >&6; }
23730 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
23732 # Extract the first word of "$ac_prog", so it can be a program name with args.
23733 set dummy
$ac_prog; ac_word
=$2
23734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23735 $as_echo_n "checking for $ac_word... " >&6; }
23736 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23737 $as_echo_n "(cached) " >&6
23739 case $USER_JAVAH in
23741 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23745 for as_dir
in $PATH
23748 test -z "$as_dir" && as_dir
=.
23749 for ac_exec_ext
in '' $ac_executable_extensions; do
23750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23751 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23762 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23763 if test -n "$USER_JAVAH"; then
23764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23765 $as_echo "$USER_JAVAH" >&6; }
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23768 $as_echo "no" >&6; }
23772 test -n "$USER_JAVAH" && break
23777 if test "x${USER_JAVAH}" = x
; then
23778 as_fn_error
"can not find javah" "$LINENO" 5
23786 if test "x" != x
; then
23787 if test -f ""; then
23790 # Extract the first word of """", so it can be a program name with args.
23791 set dummy
""; ac_word
=$2
23792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23793 $as_echo_n "checking for $ac_word... " >&6; }
23794 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23795 $as_echo_n "(cached) " >&6
23797 case $USER_JAVAH in
23799 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23803 for as_dir
in $PATH
23806 test -z "$as_dir" && as_dir
=.
23807 for ac_exec_ext
in '' $ac_executable_extensions; do
23808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23809 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23820 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23821 if test -n "$USER_JAVAH"; then
23822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23823 $as_echo "$USER_JAVAH" >&6; }
23825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23826 $as_echo "no" >&6; }
23832 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
23834 # Extract the first word of "$ac_prog", so it can be a program name with args.
23835 set dummy
$ac_prog; ac_word
=$2
23836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23837 $as_echo_n "checking for $ac_word... " >&6; }
23838 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23839 $as_echo_n "(cached) " >&6
23841 case $USER_JAVAH in
23843 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23847 for as_dir
in $PATH
23850 test -z "$as_dir" && as_dir
=.
23851 for ac_exec_ext
in '' $ac_executable_extensions; do
23852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23853 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23864 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23865 if test -n "$USER_JAVAH"; then
23866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23867 $as_echo "$USER_JAVAH" >&6; }
23869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23870 $as_echo "no" >&6; }
23874 test -n "$USER_JAVAH" && break
23879 if test "x${USER_JAVAH}" = x
; then
23880 as_fn_error
"can not find javah" "$LINENO" 5
23890 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
23893 if test "x${COMPILE_JNI}" = xyes
; then
23894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking jni_md.h support" >&5
23895 $as_echo_n "checking jni_md.h support... " >&6; }
23896 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
23897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23898 $as_echo "yes" >&6; }
23901 target_os
=linux-gnu
23902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no" >&5
23903 $as_echo "$as_me: WARNING: no" >&2;}
23905 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
23906 ac_dests
="include/jni_md.h"
23907 while test -n "$ac_sources"; do
23908 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
23909 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
23910 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
23912 ac_config_links
="$ac_config_links $ac_config_links_1"
23918 # Check whether --with-vm-classes was given.
23919 if test "${with_vm_classes+set}" = set; then :
23920 withval
=$with_vm_classes; vm_classes
="$with_vm_classes"
23922 vm_classes
='${top_srcdir}/vm/reference'
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
23930 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
23931 # Check whether --enable-maintainer-mode was given.
23932 if test "${enable_maintainer_mode+set}" = set; then :
23933 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
23935 USE_MAINTAINER_MODE
=no
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
23939 $as_echo "$USE_MAINTAINER_MODE" >&6; }
23940 if test $USE_MAINTAINER_MODE = yes; then
23941 MAINTAINER_MODE_TRUE
=
23942 MAINTAINER_MODE_FALSE
='#'
23944 MAINTAINER_MODE_TRUE
='#'
23945 MAINTAINER_MODE_FALSE
=
23948 MAINT
=$MAINTAINER_MODE_TRUE
23952 # Check whether --enable-debug was given.
23953 if test "${enable_debug+set}" = set; then :
23954 enableval
=$enable_debug; case "${enableval}" in
23958 $as_echo "#define DEBUG 1" >>confdefs.h
23961 no
) LIBDEBUG
="false" ;;
23962 *) as_fn_error
"bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
23970 # Check whether --enable-load-library was given.
23971 if test "${enable_load_library+set}" = set; then :
23972 enableval
=$enable_load_library; case "${enableval}" in
23973 yes) INIT_LOAD_LIBRARY
="true" ;;
23974 no
) INIT_LOAD_LIBRARY
="false" ;;
23975 *) as_fn_error
"bad value ${enableval} for --enable-load-library" "$LINENO" 5 ;;
23978 INIT_LOAD_LIBRARY
="true"
23985 # Check whether --with-ecj-jar was given.
23986 if test "${with_ecj_jar+set}" = set; then :
23987 withval
=$with_ecj_jar; ECJ_JAR
=$withval
23989 if test -f $multi_basedir/ecj.jar
; then
23990 ECJ_JAR
='$(jardir)/ecj.jar'
23996 # Check whether --enable-java-lang-system-explicit-initialization was given.
23997 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then :
23998 enableval
=$enable_java_lang_system_explicit_initialization; case "${enableval}" in
23999 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
24000 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
24001 *) as_fn_error
"bad value ${enableval} for --enable-java-lang-system-explicit-initialization" "$LINENO" 5 ;;
24004 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
24013 # Extract the first word of "mkdir", so it can be a program name with args.
24014 set dummy mkdir
; ac_word
=$2
24015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24016 $as_echo_n "checking for $ac_word... " >&6; }
24017 if test "${ac_cv_path_MKDIR+set}" = set; then :
24018 $as_echo_n "(cached) " >&6
24022 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
24025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24026 for as_dir
in $PATH
24029 test -z "$as_dir" && as_dir
=.
24030 for ac_exec_ext
in '' $ac_executable_extensions; do
24031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24032 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
24033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24043 MKDIR
=$ac_cv_path_MKDIR
24044 if test -n "$MKDIR"; then
24045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
24046 $as_echo "$MKDIR" >&6; }
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24049 $as_echo "no" >&6; }
24053 # Extract the first word of "cp", so it can be a program name with args.
24054 set dummy
cp; ac_word
=$2
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24056 $as_echo_n "checking for $ac_word... " >&6; }
24057 if test "${ac_cv_path_CP+set}" = set; then :
24058 $as_echo_n "(cached) " >&6
24062 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
24065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24066 for as_dir
in $PATH
24069 test -z "$as_dir" && as_dir
=.
24070 for ac_exec_ext
in '' $ac_executable_extensions; do
24071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24072 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
24073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24084 if test -n "$CP"; then
24085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
24086 $as_echo "$CP" >&6; }
24088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24089 $as_echo "no" >&6; }
24093 # Extract the first word of "date", so it can be a program name with args.
24094 set dummy
date; ac_word
=$2
24095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24096 $as_echo_n "checking for $ac_word... " >&6; }
24097 if test "${ac_cv_path_DATE+set}" = set; then :
24098 $as_echo_n "(cached) " >&6
24102 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
24105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24106 for as_dir
in $PATH
24109 test -z "$as_dir" && as_dir
=.
24110 for ac_exec_ext
in '' $ac_executable_extensions; do
24111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24112 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
24113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24123 DATE
=$ac_cv_path_DATE
24124 if test -n "$DATE"; then
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
24126 $as_echo "$DATE" >&6; }
24128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24129 $as_echo "no" >&6; }
24134 # Extract the first word of "find", so it can be a program name with args.
24135 set dummy
find; ac_word
=$2
24136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24137 $as_echo_n "checking for $ac_word... " >&6; }
24138 if test "${ac_cv_path_FIND+set}" = set; then :
24139 $as_echo_n "(cached) " >&6
24143 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
24146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24147 for as_dir
in $PATH
24150 test -z "$as_dir" && as_dir
=.
24151 for ac_exec_ext
in '' $ac_executable_extensions; do
24152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24153 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
24154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24164 FIND
=$ac_cv_path_FIND
24165 if test -n "$FIND"; then
24166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
24167 $as_echo "$FIND" >&6; }
24169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24170 $as_echo "no" >&6; }
24176 # Extract the first word of "zip", so it can be a program name with args.
24177 set dummy
zip; ac_word
=$2
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24179 $as_echo_n "checking for $ac_word... " >&6; }
24180 if test "${ac_cv_path_ZIP+set}" = set; then :
24181 $as_echo_n "(cached) " >&6
24185 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
24188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24189 for as_dir
in $PATH
24192 test -z "$as_dir" && as_dir
=.
24193 for ac_exec_ext
in '' $ac_executable_extensions; do
24194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24195 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
24196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24206 ZIP
=$ac_cv_path_ZIP
24207 if test -n "$ZIP"; then
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
24209 $as_echo "$ZIP" >&6; }
24211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24212 $as_echo "no" >&6; }
24217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a jar-like tool" >&5
24218 $as_echo_n "checking for a jar-like tool... " >&6; }
24220 # Check whether --with-jar was given.
24221 if test "${with_jar+set}" = set; then :
24223 case "${withval}" in
24229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
24230 $as_echo "${JAR}" >&6; }
24233 if test -f "${withval}"; 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: not found" >&5
24239 $as_echo "not found" >&6; }
24240 as_fn_error
"The jar tool ${withval} was not found." "$LINENO" 5
24251 if test x
"${JAR}" = "xyes"; then
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: trying fastjar, gjar and jar" >&5
24253 $as_echo "trying fastjar, gjar and jar" >&6; }
24254 for ac_prog
in fastjar gjar jar
24256 # Extract the first word of "$ac_prog", so it can be a program name with args.
24257 set dummy
$ac_prog; ac_word
=$2
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24259 $as_echo_n "checking for $ac_word... " >&6; }
24260 if test "${ac_cv_path_JAR+set}" = set; then :
24261 $as_echo_n "(cached) " >&6
24265 ac_cv_path_JAR
="$JAR" # Let the user override the test with a path.
24268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24269 for as_dir
in $PATH
24272 test -z "$as_dir" && as_dir
=.
24273 for ac_exec_ext
in '' $ac_executable_extensions; do
24274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24275 ac_cv_path_JAR
="$as_dir/$ac_word$ac_exec_ext"
24276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24286 JAR
=$ac_cv_path_JAR
24287 if test -n "$JAR"; then
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
24289 $as_echo "$JAR" >&6; }
24291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24292 $as_echo "no" >&6; }
24296 test -n "$JAR" && break
24299 if test x
"${RHINO_JAR}" = "xyes"; then
24300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24301 $as_echo "not found" >&6; }
24304 if test x
"${JAR}" = "xno" && test x
"${ZIP}" = ""; then
24305 as_fn_error
"No zip or jar tool found." "$LINENO" 5
24307 if test x
"${JAR}" != "xno" && test x
"${JAR}" != "xyes"; then
24318 # Check whether --with-glibj was given.
24319 if test "${with_glibj+set}" = set; then :
24320 withval
=$with_glibj;
24321 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
24322 install_class_files
=no
24323 build_class_files
=yes
24325 elif test "x${withval}" = xboth
; then
24326 install_class_files
=yes
24327 build_class_files
=yes
24329 elif test "x${withval}" = xflat
; then
24330 install_class_files
=yes
24331 build_class_files
=yes
24333 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
24334 install_class_files
=no
24335 build_class_files
=no
24337 elif test "x${withval}" = xbuild
; then
24338 install_class_files
=no
24339 build_class_files
=yes
24342 as_fn_error
"unknown value given to --with-glibj" "$LINENO" 5
24347 install_class_files
=no
24352 if test "x${use_zip}" = xyes
; then
24353 INSTALL_GLIBJ_ZIP_TRUE
=
24354 INSTALL_GLIBJ_ZIP_FALSE
='#'
24356 INSTALL_GLIBJ_ZIP_TRUE
='#'
24357 INSTALL_GLIBJ_ZIP_FALSE
=
24360 if test "x${install_class_files}" = xyes
; then
24361 INSTALL_CLASS_FILES_TRUE
=
24362 INSTALL_CLASS_FILES_FALSE
='#'
24364 INSTALL_CLASS_FILES_TRUE
='#'
24365 INSTALL_CLASS_FILES_FALSE
=
24368 if test "x${build_class_files}" = xyes
; then
24369 BUILD_CLASS_FILES_TRUE
=
24370 BUILD_CLASS_FILES_FALSE
='#'
24372 BUILD_CLASS_FILES_TRUE
='#'
24373 BUILD_CLASS_FILES_FALSE
=
24377 # Check whether --enable-examples was given.
24378 if test "${enable_examples+set}" = set; then :
24379 enableval
=$enable_examples; case "${enableval}" in
24380 yes) EXAMPLESDIR
="examples" ;;
24381 no
) EXAMPLESDIR
="" ;;
24382 *) as_fn_error
"bad value ${enableval} for --enable-examples" "$LINENO" 5 ;;
24385 EXAMPLESDIR
="examples"
24388 if test "x${build_class_files}" = xno
; then
24393 # Check whether --enable-tools was given.
24394 if test "${enable_tools+set}" = set; then :
24395 enableval
=$enable_tools; case "${enableval}" in
24396 yes) TOOLSDIR
="tools" ;;
24398 *) as_fn_error
"bad value ${enableval} for --enable-tools" "$LINENO" 5 ;;
24404 if test "x${build_class_files}" = xno
; then
24412 # Check whether --with-gjdoc was given.
24413 if test "${with_gjdoc+set}" = set; then :
24414 withval
=$with_gjdoc; if test "x${withval}" = xno
; then
24416 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
24418 # Extract the first word of "gjdoc", so it can be a program name with args.
24419 set dummy gjdoc
; ac_word
=$2
24420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24421 $as_echo_n "checking for $ac_word... " >&6; }
24422 if test "${ac_cv_path_GJDOC+set}" = set; then :
24423 $as_echo_n "(cached) " >&6
24427 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
24430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24431 for as_dir
in $PATH
24434 test -z "$as_dir" && as_dir
=.
24435 for ac_exec_ext
in '' $ac_executable_extensions; do
24436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24437 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
24438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24445 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
24449 GJDOC
=$ac_cv_path_GJDOC
24450 if test -n "$GJDOC"; then
24451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GJDOC" >&5
24452 $as_echo "$GJDOC" >&6; }
24454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24455 $as_echo "no" >&6; }
24459 if test "x${GJDOC}" = xno
; then
24460 as_fn_error
"\"gjdoc executable not found\"" "$LINENO" 5;
24465 as_ac_File
=`$as_echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
24466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${GJDOC}" >&5
24467 $as_echo_n "checking for ${GJDOC}... " >&6; }
24468 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
24469 $as_echo_n "(cached) " >&6
24471 test "$cross_compiling" = yes &&
24472 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
24473 if test -r "${GJDOC}"; then
24474 eval "$as_ac_File=yes"
24476 eval "$as_ac_File=no"
24479 eval ac_res
=\$
$as_ac_File
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24481 $as_echo "$ac_res" >&6; }
24482 eval as_val
=\$
$as_ac_File
24483 if test "x$as_val" = x
""yes; then :
24486 as_fn_error
"\"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" "$LINENO" 5
24494 if test "x${WITH_GJDOC}" = xyes
; then
24495 CREATE_API_DOCS_TRUE
=
24496 CREATE_API_DOCS_FALSE
='#'
24498 CREATE_API_DOCS_TRUE
='#'
24499 CREATE_API_DOCS_FALSE
=
24502 if test "x${WITH_GJDOC}" = xyes
; then
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of GJDoc" >&5
24504 $as_echo_n "checking version of GJDoc... " >&6; }
24505 gjdoc_version
=$
(${GJDOC} --version|cut
-d ' ' -f2)
24506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gjdoc_version}" >&5
24507 $as_echo "${gjdoc_version}" >&6; }
24508 case ${gjdoc_version} in
24513 *) as_fn_error
"Building documentation requires GJDoc >= 0.7.9, ${gjdoc_version} found." "$LINENO" 5 ;;
24520 # Check whether --with-jay was given.
24521 if test "${with_jay+set}" = set; then :
24523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
24524 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
24527 if test "x${withval}" = xno
; then
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24529 $as_echo "no" >&6; }
24530 elif test "x${withval}" = xyes
; then
24531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24532 $as_echo "yes" >&6; }
24533 JAY_DIR_PATH
="/usr/share/jay"
24534 elif test -d "${withval}"; then
24535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24536 $as_echo "yes" >&6; }
24537 JAY_DIR_PATH
="${withval}"
24538 elif test -f "${withval}"; then
24539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24540 $as_echo "yes" >&6; }
24541 JAY_DIR_PATH
=`dirname "${withval}"`
24544 as_fn_error
"jay not found at ${withval}" "$LINENO" 5
24547 if test "x${JAY_DIR_PATH}" != x
; then
24548 # Extract the first word of "jay", so it can be a program name with args.
24549 set dummy jay
; ac_word
=$2
24550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24551 $as_echo_n "checking for $ac_word... " >&6; }
24552 if test "${ac_cv_path_JAY+set}" = set; then :
24553 $as_echo_n "(cached) " >&6
24557 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
24560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24561 as_dummy
="${JAY_DIR_PATH}:${PATH}"
24562 for as_dir
in $as_dummy
24565 test -z "$as_dir" && as_dir
=.
24566 for ac_exec_ext
in '' $ac_executable_extensions; do
24567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24568 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
24569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24576 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
24580 JAY
=$ac_cv_path_JAY
24581 if test -n "$JAY"; then
24582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAY" >&5
24583 $as_echo "$JAY" >&6; }
24585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24586 $as_echo "no" >&6; }
24590 if test "x${JAY}" = xno
; then
24591 as_fn_error
"jay executable not found" "$LINENO" 5;
24593 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
24594 as_ac_File
=`$as_echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
24595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${JAY_SKELETON}" >&5
24596 $as_echo_n "checking for ${JAY_SKELETON}... " >&6; }
24597 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
24598 $as_echo_n "(cached) " >&6
24600 test "$cross_compiling" = yes &&
24601 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
24602 if test -r "${JAY_SKELETON}"; then
24603 eval "$as_ac_File=yes"
24605 eval "$as_ac_File=no"
24608 eval ac_res
=\$
$as_ac_File
24609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24610 $as_echo "$ac_res" >&6; }
24611 eval as_val
=\$
$as_ac_File
24612 if test "x$as_val" = x
""yes; then :
24615 as_fn_error
"Expected skeleton file in ${JAY_DIR_PATH}" "$LINENO" 5
24623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
24624 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
24625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24626 $as_echo "no" >&6; }
24631 if test "x${JAY_FOUND}" = xyes
; then
24632 REGEN_PARSERS_TRUE
=
24633 REGEN_PARSERS_FALSE
='#'
24635 REGEN_PARSERS_TRUE
='#'
24636 REGEN_PARSERS_FALSE
=
24641 # Check whether --enable-portable-native-sync was given.
24642 if test "${enable_portable_native_sync+set}" = set; then :
24643 enableval
=$enable_portable_native_sync; case "${enableval}" in
24646 $as_echo "#define PORTABLE_NATIVE_SYNC 1" >>confdefs.h
24651 as_fn_error
"bad value ${enableval} for --enable-portable-native-sync" "$LINENO" 5
24657 # ------ AX CREATE STDINT H -------------------------------------
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
24659 $as_echo_n "checking for stdint types... " >&6; }
24660 ac_stdint_h
=`echo include/config-int.h`
24661 # try to shortcircuit - if the default include path of the compiler
24662 # can find a "stdint.h" header then we assume that all compilers can.
24663 if test "${ac_cv_header_stdint_t+set}" = set; then :
24664 $as_echo_n "(cached) " >&6
24667 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
24668 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
24669 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
24670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24671 /* end confdefs.h. */
24672 #include <stdint.h>
24676 int_least32_t v = 0;
24681 if ac_fn_c_try_compile
"$LINENO"; then :
24682 ac_cv_stdint_result
="(assuming C99 compatible system)"
24683 ac_cv_header_stdint_t
="stdint.h";
24685 ac_cv_header_stdint_t
=""
24687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24688 CXXFLAGS
="$old_CXXFLAGS"
24689 CPPFLAGS
="$old_CPPFLAGS"
24690 CFLAGS
="$old_CFLAGS"
24694 v
="... $ac_cv_header_stdint_h"
24695 if test "$ac_stdint_h" = "stdint.h" ; then
24696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
24697 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
24698 elif test "$ac_stdint_h" = "inttypes.h" ; then
24699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
24700 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
24701 elif test "_$ac_cv_header_stdint_t" = "_" ; then
24702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
24703 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
24705 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
24707 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
24710 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
24713 inttype_headers
=`echo | sed -e 's/,/ /g'`
24715 ac_cv_stdint_result
="(no helpful system typedefs seen)"
24717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
24718 $as_echo_n "checking for stdint uintptr_t... " >&6; }
24719 if test "${ac_cv_header_stdint_x+set}" = set; then :
24720 $as_echo_n "(cached) " >&6
24723 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
24724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24725 $as_echo "(..)" >&6; }
24726 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
24727 unset ac_cv_type_uintptr_t
24728 unset ac_cv_type_uint64_t
24729 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
24731 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
24732 ac_cv_header_stdint_x
=$i
24737 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
24739 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
24745 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
24748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
24749 $as_echo_n "checking for stdint uintptr_t... " >&6; }
24752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
24753 $as_echo "$ac_cv_header_stdint_x" >&6; }
24756 if test "_$ac_cv_header_stdint_x" = "_" ; then
24758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
24759 $as_echo_n "checking for stdint uint32_t... " >&6; }
24760 if test "${ac_cv_header_stdint_o+set}" = set; then :
24761 $as_echo_n "(cached) " >&6
24764 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
24765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24766 $as_echo "(..)" >&6; }
24767 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
24768 unset ac_cv_type_uint32_t
24769 unset ac_cv_type_uint64_t
24770 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
24772 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
24773 ac_cv_header_stdint_o
=$i
24778 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
24780 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
24786 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
24790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
24791 $as_echo_n "checking for stdint uint32_t... " >&6; }
24794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
24795 $as_echo "$ac_cv_header_stdint_o" >&6; }
24799 if test "_$ac_cv_header_stdint_x" = "_" ; then
24800 if test "_$ac_cv_header_stdint_o" = "_" ; then
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
24803 $as_echo_n "checking for stdint u_int32_t... " >&6; }
24804 if test "${ac_cv_header_stdint_u+set}" = set; then :
24805 $as_echo_n "(cached) " >&6
24808 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
24809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24810 $as_echo "(..)" >&6; }
24811 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
24812 unset ac_cv_type_u_int32_t
24813 unset ac_cv_type_u_int64_t
24814 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
24816 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
24817 ac_cv_header_stdint_u
=$i
24822 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
24824 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
24830 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
24834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
24835 $as_echo_n "checking for stdint u_int32_t... " >&6; }
24838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
24839 $as_echo "$ac_cv_header_stdint_u" >&6; }
24843 if test "_$ac_cv_header_stdint_x" = "_" ; then
24844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
24845 $as_echo_n "checking for stdint datatype model... " >&6; }
24846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24847 $as_echo "(..)" >&6; }
24849 # The cast to long int works around a bug in the HP C Compiler
24850 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24851 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24852 # This bug is HP SR number 8606223364.
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
24854 $as_echo_n "checking size of char... " >&6; }
24855 if test "${ac_cv_sizeof_char+set}" = set; then :
24856 $as_echo_n "(cached) " >&6
24858 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
24861 if test "$ac_cv_type_char" = yes; then
24862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24864 { as_fn_set_status
77
24865 as_fn_error
"cannot compute sizeof (char)
24866 See \`config.log' for more details." "$LINENO" 5; }; }
24868 ac_cv_sizeof_char
=0
24873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
24874 $as_echo "$ac_cv_sizeof_char" >&6; }
24878 cat >>confdefs.h
<<_ACEOF
24879 #define SIZEOF_CHAR $ac_cv_sizeof_char
24883 # The cast to long int works around a bug in the HP C Compiler
24884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24886 # This bug is HP SR number 8606223364.
24887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
24888 $as_echo_n "checking size of short... " >&6; }
24889 if test "${ac_cv_sizeof_short+set}" = set; then :
24890 $as_echo_n "(cached) " >&6
24892 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
24895 if test "$ac_cv_type_short" = yes; then
24896 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24898 { as_fn_set_status
77
24899 as_fn_error
"cannot compute sizeof (short)
24900 See \`config.log' for more details." "$LINENO" 5; }; }
24902 ac_cv_sizeof_short
=0
24907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
24908 $as_echo "$ac_cv_sizeof_short" >&6; }
24912 cat >>confdefs.h
<<_ACEOF
24913 #define SIZEOF_SHORT $ac_cv_sizeof_short
24917 # The cast to long int works around a bug in the HP C Compiler
24918 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24919 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24920 # This bug is HP SR number 8606223364.
24921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
24922 $as_echo_n "checking size of int... " >&6; }
24923 if test "${ac_cv_sizeof_int+set}" = set; then :
24924 $as_echo_n "(cached) " >&6
24926 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
24929 if test "$ac_cv_type_int" = yes; then
24930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24932 { as_fn_set_status
77
24933 as_fn_error
"cannot compute sizeof (int)
24934 See \`config.log' for more details." "$LINENO" 5; }; }
24941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
24942 $as_echo "$ac_cv_sizeof_int" >&6; }
24946 cat >>confdefs.h
<<_ACEOF
24947 #define SIZEOF_INT $ac_cv_sizeof_int
24951 # The cast to long int works around a bug in the HP C Compiler
24952 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24953 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24954 # This bug is HP SR number 8606223364.
24955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
24956 $as_echo_n "checking size of long... " >&6; }
24957 if test "${ac_cv_sizeof_long+set}" = set; then :
24958 $as_echo_n "(cached) " >&6
24960 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
24963 if test "$ac_cv_type_long" = yes; then
24964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24966 { as_fn_set_status
77
24967 as_fn_error
"cannot compute sizeof (long)
24968 See \`config.log' for more details." "$LINENO" 5; }; }
24970 ac_cv_sizeof_long
=0
24975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
24976 $as_echo "$ac_cv_sizeof_long" >&6; }
24980 cat >>confdefs.h
<<_ACEOF
24981 #define SIZEOF_LONG $ac_cv_sizeof_long
24985 # The cast to long int works around a bug in the HP C Compiler
24986 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24987 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24988 # This bug is HP SR number 8606223364.
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
24990 $as_echo_n "checking size of void*... " >&6; }
24991 if test "${ac_cv_sizeof_voidp+set}" = set; then :
24992 $as_echo_n "(cached) " >&6
24994 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
24997 if test "$ac_cv_type_voidp" = yes; then
24998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25000 { as_fn_set_status
77
25001 as_fn_error
"cannot compute sizeof (void*)
25002 See \`config.log' for more details." "$LINENO" 5; }; }
25004 ac_cv_sizeof_voidp
=0
25009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
25010 $as_echo "$ac_cv_sizeof_voidp" >&6; }
25014 cat >>confdefs.h
<<_ACEOF
25015 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
25019 ac_cv_char_data_model
=""
25020 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
25021 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
25022 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
25023 ac_cv_long_data_model
=""
25024 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
25025 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
25026 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
25027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
25028 $as_echo_n "checking data model... " >&6; }
25029 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
25030 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
25031 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
25032 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
25033 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
25034 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
25035 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
25036 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
25037 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
25038 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
25039 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
25040 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
25041 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
25042 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
25043 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
25044 222/*|
333/*|
444/*|
666/*|
888/*) :
25045 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
25046 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
25048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
25049 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
25053 if test "_$ac_cv_header_stdint_x" != "_" ; then
25054 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
25055 elif test "_$ac_cv_header_stdint_o" != "_" ; then
25056 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
25057 elif test "_$ac_cv_header_stdint_u" != "_" ; then
25058 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
25060 ac_cv_header_stdint
="stddef.h"
25063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
25064 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
25066 $as_echo "($ac_cv_header_stdint)" >&6; }
25067 unset ac_cv_type_int_least32_t
25068 unset ac_cv_type_int_fast32_t
25069 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
25071 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
25075 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
25077 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
25081 ac_fn_c_check_type
"$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
25083 if test "x$ac_cv_type_intmax_t" = x
""yes; then :
25088 fi # shortcircut to system "stdint.h"
25089 # ------------------ PREPARE VARIABLES ------------------------------
25090 if test "$GCC" = "yes" ; then
25091 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
25093 ac_cv_stdint_message
="using $CC"
25096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
25097 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
25099 # ----------------- DONE inttypes.h checks START header -------------
25100 ac_config_commands
="$ac_config_commands $ac_stdint_h"
25105 # Check whether --with-glibj_zip was given.
25106 if test "${with_glibj_zip+set}" = set; then :
25107 withval
=$with_glibj_zip;
25111 case "$with_glibj_zip" in
25113 use_glibj_zip
=false
25116 use_glibj_zip
=false
25119 as_fn_error
"Please suply an absolute path to a prebuilt glibj.zip" "$LINENO" 5
25123 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
25127 if test x
$use_glibj_zip = xtrue
; then
25128 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
25129 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
25131 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
25132 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
25137 if test "x${TOOLSDIR}" != x
; then
25138 if test "x${COMPILE_WRAPPERS}" = xno
&& test "x${enable_java_maintainer_mode}" = xyes
; then
25141 if test "x$JAVAPREFIX" = x
; then
25142 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
25144 # Extract the first word of "$ac_prog", so it can be a program name with args.
25145 set dummy
$ac_prog; ac_word
=$2
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25147 $as_echo_n "checking for $ac_word... " >&6; }
25148 if test "${ac_cv_prog_JAVA+set}" = set; then :
25149 $as_echo_n "(cached) " >&6
25151 if test -n "$JAVA"; then
25152 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
25154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25155 for as_dir
in $PATH
25158 test -z "$as_dir" && as_dir
=.
25159 for ac_exec_ext
in '' $ac_executable_extensions; do
25160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25161 ac_cv_prog_JAVA
="$ac_prog"
25162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25171 JAVA
=$ac_cv_prog_JAVA
25172 if test -n "$JAVA"; then
25173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
25174 $as_echo "$JAVA" >&6; }
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25177 $as_echo "no" >&6; }
25181 test -n "$JAVA" && break
25185 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
25187 # Extract the first word of "$ac_prog", so it can be a program name with args.
25188 set dummy
$ac_prog; ac_word
=$2
25189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25190 $as_echo_n "checking for $ac_word... " >&6; }
25191 if test "${ac_cv_prog_JAVA+set}" = set; then :
25192 $as_echo_n "(cached) " >&6
25194 if test -n "$JAVA"; then
25195 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
25197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25198 for as_dir
in $PATH
25201 test -z "$as_dir" && as_dir
=.
25202 for ac_exec_ext
in '' $ac_executable_extensions; do
25203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25204 ac_cv_prog_JAVA
="$ac_prog"
25205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25214 JAVA
=$ac_cv_prog_JAVA
25215 if test -n "$JAVA"; then
25216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
25217 $as_echo "$JAVA" >&6; }
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25220 $as_echo "no" >&6; }
25224 test -n "$JAVA" && break
25226 test -n "$JAVA" || JAVA
="$JAVAPREFIX"
25229 test "x$JAVA" = x
&& as_fn_error
"no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
25232 ECJ_OPTS
="-warn:-deprecation,serial,unusedImport,unusedPrivate,resource"
25233 JAVAC_OPTS
="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
25235 if test "x$JAVAPREFIX" = x
; then
25236 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"
25238 # Extract the first word of "$ac_prog", so it can be a program name with args.
25239 set dummy
$ac_prog; ac_word
=$2
25240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25241 $as_echo_n "checking for $ac_word... " >&6; }
25242 if test "${ac_cv_prog_JAVAC+set}" = set; then :
25243 $as_echo_n "(cached) " >&6
25245 if test -n "$JAVAC"; then
25246 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
25248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25249 for as_dir
in $PATH
25252 test -z "$as_dir" && as_dir
=.
25253 for ac_exec_ext
in '' $ac_executable_extensions; do
25254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25255 ac_cv_prog_JAVAC
="$ac_prog"
25256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25265 JAVAC
=$ac_cv_prog_JAVAC
25266 if test -n "$JAVAC"; then
25267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
25268 $as_echo "$JAVAC" >&6; }
25270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25271 $as_echo "no" >&6; }
25275 test -n "$JAVAC" && break
25279 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"
25281 # Extract the first word of "$ac_prog", so it can be a program name with args.
25282 set dummy
$ac_prog; ac_word
=$2
25283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25284 $as_echo_n "checking for $ac_word... " >&6; }
25285 if test "${ac_cv_prog_JAVAC+set}" = set; then :
25286 $as_echo_n "(cached) " >&6
25288 if test -n "$JAVAC"; then
25289 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
25291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25292 for as_dir
in $PATH
25295 test -z "$as_dir" && as_dir
=.
25296 for ac_exec_ext
in '' $ac_executable_extensions; do
25297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25298 ac_cv_prog_JAVAC
="$ac_prog"
25299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25308 JAVAC
=$ac_cv_prog_JAVAC
25309 if test -n "$JAVAC"; then
25310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
25311 $as_echo "$JAVAC" >&6; }
25313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25314 $as_echo "no" >&6; }
25318 test -n "$JAVAC" && break
25320 test -n "$JAVAC" || JAVAC
="$JAVAPREFIX"
25323 test "x$JAVAC" = x
&& as_fn_error
"no acceptable Java compiler found in \$PATH" "$LINENO" 5
25324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC is a version of gcj" >&5
25325 $as_echo_n "checking if $JAVAC is a version of gcj... " >&6; }
25326 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then :
25327 $as_echo_n "(cached) " >&6
25330 if $JAVAC --version 2>&1 |
grep gcj
>&5 ; then
25331 ac_cv_prog_javac_is_gcj
=yes;
25332 JAVAC
="$JAVAC $GCJ_OPTS";
25334 ac_cv_prog_javac_is_gcj
=no
;
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_is_gcj" >&5
25339 $as_echo "$ac_cv_prog_javac_is_gcj" >&6; }
25340 JAVAC_IS_GCJ
=$ac_cv_prog_javac_is_gcj
25342 if test x
"${JAVAC_IS_GCJ}" = xyes
; then
25344 GCJ_JAVAC_FALSE
='#'
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
25354 $as_echo_n "checking if $JAVAC works... " >&6; }
25355 if test "${ac_cv_prog_javac_works+set}" = set; then :
25356 $as_echo_n "(cached) " >&6
25359 JAVA_TEST
=Object.java
25360 CLASS_TEST
=Object.class
25361 cat << \EOF
> $JAVA_TEST
25362 /* #line 25362 "configure" */
25365 public class Object
25367 static
<T
> void doStuff
()
25372 if test x
$JAVAC_IS_GCJ = xyes
; then
25373 CMD
="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
25375 CMD
="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
25378 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
25379 (eval $ac_try) 2>&5
25381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25382 test $ac_status = 0; }; } >/dev
/null
2>&1; then
25383 ac_cv_prog_javac_works
=yes
25385 as_fn_error
"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
25386 echo "configure: failed program was:" >&5
25389 rm -f $JAVA_TEST $CLASS_TEST
25392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
25393 $as_echo "$ac_cv_prog_javac_works" >&6; }
25397 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
25398 set dummy
uudecode$EXEEXT; ac_word
=$2
25399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25400 $as_echo_n "checking for $ac_word... " >&6; }
25401 if test "${ac_cv_prog_uudecode+set}" = set; then :
25402 $as_echo_n "(cached) " >&6
25404 if test -n "$uudecode"; then
25405 ac_cv_prog_uudecode
="$uudecode" # Let the user override the test.
25407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25408 for as_dir
in $PATH
25411 test -z "$as_dir" && as_dir
=.
25412 for ac_exec_ext
in '' $ac_executable_extensions; do
25413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25414 ac_cv_prog_uudecode
="yes"
25415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25424 uudecode=$ac_cv_prog_uudecode
25425 if test -n "$uudecode"; then
25426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
25427 $as_echo "$uudecode" >&6; }
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25430 $as_echo "no" >&6; }
25434 if test x
$uudecode = xyes
; then
25435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
25436 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
25437 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :
25438 $as_echo_n "(cached) " >&6
25441 cat << \EOF
> Test.uue
25442 begin-base64
644 Test.class
25443 yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
25444 bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
25445 bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
25446 YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
25447 aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
25448 AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
25449 AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ
=
25452 if uudecode$EXEEXT Test.uue
; then
25453 ac_cv_prog_uudecode_base64
=yes
25455 echo "configure: 25455: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
25456 echo "configure: failed file was:" >&5
25458 ac_cv_prog_uudecode_base64
=no
25462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
25463 $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
25465 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
25467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
25468 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
25469 if test x
$ac_cv_prog_javac_works = xno
; then
25470 as_fn_error
"Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
25473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
25474 $as_echo_n "checking if $JAVA works... " >&6; }
25475 if test "${ac_cv_prog_java_works+set}" = set; then :
25476 $as_echo_n "(cached) " >&6
25479 JAVA_TEST
=Test.java
25480 CLASS_TEST
=Test.class
25482 cat << \EOF
> $JAVA_TEST
25483 /* [#]line 25483 "configure" */
25484 public class Test
{
25485 public static void main
(String args
[]) {
25489 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
25491 if { ac_try
='$JAVAC $JAVACFLAGS $JAVA_TEST'
25492 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
25493 (eval $ac_try) 2>&5
25495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25496 test $ac_status = 0; }; } && test -s $CLASS_TEST; then
25499 echo "configure: failed program was:" >&5
25501 as_fn_error
"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
25504 if { ac_try
='CLASSPATH=.:$CLASSPATH $JAVA $JAVAFLAGS $TEST'
25505 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
25506 (eval $ac_try) 2>&5
25508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25509 test $ac_status = 0; }; } >/dev
/null
2>&1; then
25510 ac_cv_prog_java_works
=yes
25512 echo "configure: failed program was:" >&5
25514 as_fn_error
"The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
25516 rm -fr $JAVA_TEST $CLASS_TEST Test.uue
25519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
25520 $as_echo "$ac_cv_prog_java_works" >&6; }
25524 if test "x${COMPILE_GJDOC}" = xyes
; then
25526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the ANTLR parser generator JAR file" >&5
25527 $as_echo_n "checking for the ANTLR parser generator JAR file... " >&6; }
25528 if test -z "$ANTLR_JAR"; then
25529 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
25530 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
25532 if test -f "$antlr_lib_home/antlr.jar"; then
25533 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
25538 test -f $ANTLR_JAR || as_fn_error
"specified ANTLR jar file $ANTLR_JAR not found." "$LINENO" 5 \
25539 && { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
25540 $as_echo "$ANTLR_JAR" >&6; }
25543 if test "x${REGENERATE_GJDOC_PARSER}" = xyes
&& test "x${enable_java_maintainer_mode}" = xyes
; then
25545 if test -n "$ac_tool_prefix"; then
25546 for ac_prog
in cantlr runantlr antlr
25548 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
25549 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
25550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25551 $as_echo_n "checking for $ac_word... " >&6; }
25552 if test "${ac_cv_prog_ANTLR+set}" = set; then :
25553 $as_echo_n "(cached) " >&6
25555 if test -n "$ANTLR"; then
25556 ac_cv_prog_ANTLR
="$ANTLR" # Let the user override the test.
25558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25559 for as_dir
in $PATH
25562 test -z "$as_dir" && as_dir
=.
25563 for ac_exec_ext
in '' $ac_executable_extensions; do
25564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25565 ac_cv_prog_ANTLR
="$ac_tool_prefix$ac_prog"
25566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25575 ANTLR
=$ac_cv_prog_ANTLR
25576 if test -n "$ANTLR"; then
25577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR" >&5
25578 $as_echo "$ANTLR" >&6; }
25580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25581 $as_echo "no" >&6; }
25585 test -n "$ANTLR" && break
25588 if test -z "$ANTLR"; then
25590 for ac_prog
in cantlr runantlr antlr
25592 # Extract the first word of "$ac_prog", so it can be a program name with args.
25593 set dummy
$ac_prog; ac_word
=$2
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25595 $as_echo_n "checking for $ac_word... " >&6; }
25596 if test "${ac_cv_prog_ac_ct_ANTLR+set}" = set; then :
25597 $as_echo_n "(cached) " >&6
25599 if test -n "$ac_ct_ANTLR"; then
25600 ac_cv_prog_ac_ct_ANTLR
="$ac_ct_ANTLR" # Let the user override the test.
25602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25603 for as_dir
in $PATH
25606 test -z "$as_dir" && as_dir
=.
25607 for ac_exec_ext
in '' $ac_executable_extensions; do
25608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25609 ac_cv_prog_ac_ct_ANTLR
="$ac_prog"
25610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25619 ac_ct_ANTLR
=$ac_cv_prog_ac_ct_ANTLR
25620 if test -n "$ac_ct_ANTLR"; then
25621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ANTLR" >&5
25622 $as_echo "$ac_ct_ANTLR" >&6; }
25624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25625 $as_echo "no" >&6; }
25629 test -n "$ac_ct_ANTLR" && break
25632 if test "x$ac_ct_ANTLR" = x
; then
25635 case $cross_compiling:$ac_tool_warned in
25637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25639 ac_tool_warned
=yes ;;
25645 if test "x$ANTLR" = x
; then
25646 if test -z "$JAVA"; then
25647 as_fn_error
"Failed to find either an antlr binary or a suitable Java runtime for ANTLR." "$LINENO" 5
25649 if test -z "$ANTLR_JAR"; then
25650 as_fn_error
"Failed to find either an antlr binary or a suitable antlr jar file." "$LINENO" 5
25652 ANTLR
="$JAVA -classpath $ANTLR_JAR antlr.Tool"
25657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr 2.7.1 or better" >&5
25658 $as_echo_n "checking for antlr 2.7.1 or better... " >&6; }
25659 antlr_version_str
=`$ANTLR 2>&1 | head -n 1 | sed '/.*Version */!d; s///;q'`
25660 if test "$antlr_version_str"; then
25661 antlr_version_regex
='s/\([[:digit:]]\+\)\.\([[:digit:]]\+\)\.\([[:digit:]]\+\).*$/'
25662 antlr_version_major
=`echo $antlr_version_str | sed "$antlr_version_regex\\1/"`
25663 antlr_version_minor
=`echo $antlr_version_str | sed "$antlr_version_regex\\2/"`
25664 antlr_version_micro
=`echo $antlr_version_str | sed "$antlr_version_regex\\3/"`
25665 (test $antlr_version_major -gt 2 || \
25666 (test $antlr_version_major -eq 2 && \
25667 test $antlr_version_minor -gt 7) || \
25668 (test $antlr_version_major -eq 2 && \
25669 test $antlr_version_minor -eq 7 && \
25670 test $antlr_version_micro -ge 1))
25672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&5
25673 $as_echo "$antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&6; }
25680 # Check for javac if we need to build either the class library,
25681 # the examples or the tools
25682 if test "x${use_glibj_zip}" = xfalse || \
25683 test "x${EXAMPLESDIR}" != x || \
25684 test "x${TOOLSDIR}" != x
&& \
25685 test "x${build_class_files}" != xno
&& \
25686 test "${enable_java_maintainer_mode}" = yes; then
25688 JAVA_TEST
=Test.java
25689 CLASS_TEST
=Test.class
25690 cat << \EOF
> $JAVA_TEST
25691 /* #line 25691 "configure" */
25694 public static void main
(String args
)
25696 System.out.println
("Hello World");
25700 if test x
$JAVAC_IS_GCJ != xyes
; then
25701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether javac supports -J" >&5
25702 $as_echo_n "checking whether javac supports -J... " >&6; }
25703 $JAVAC $JAVACFLAGS -J-Xmx768M -sourcepath '' $JAVA_TEST
25705 if test "x$javac_result" = "x0"; then
25706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25707 $as_echo "yes" >&6; }
25708 JAVAC_MEM_OPT
="-J-Xmx768M"
25710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25711 $as_echo "no" >&6; }
25714 rm -f $JAVA_TEST $CLASS_TEST
25720 GCJ_JAVAC_FALSE
='#'
25729 # Check whether --with-escher was given.
25730 if test "${with_escher+set}" = set; then :
25731 withval
=$with_escher;
25734 case "$with_escher" in
25742 as_fn_error
"Please supply an absolute path to Escher library" "$LINENO" 5
25746 PATH_TO_ESCHER
=$with_escher
25750 if test x
$use_escher = xtrue
; then
25752 USE_ESCHER_FALSE
='#'
25754 USE_ESCHER_TRUE
='#'
25760 # Check whether --enable-local-sockets was given.
25761 if test "${enable_local_sockets+set}" = set; then :
25762 enableval
=$enable_local_sockets; case "${enableval}" in
25764 ENABLE_LOCAL_SOCKETS
=yes
25767 ENABLE_LOCAL_SOCKETS
=no
25772 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
25774 ac_fn_c_check_header_mongrel
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
25775 if test "x$ac_cv_header_sys_un_h" = x
""yes; then :
25780 for ac_func
in read write bind listen accept shutdown
25782 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25783 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
25784 eval as_val
=\$
$as_ac_var
25785 if test "x$as_val" = x
""yes; then :
25786 cat >>confdefs.h
<<_ACEOF
25787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25791 as_fn_error
"networking support not available" "$LINENO" 5
25796 $as_echo "#define ENABLE_LOCAL_SOCKETS 1" >>confdefs.h
25799 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
25800 ENABLE_LOCAL_SOCKETS_TRUE
=
25801 ENABLE_LOCAL_SOCKETS_FALSE
='#'
25803 ENABLE_LOCAL_SOCKETS_TRUE
='#'
25804 ENABLE_LOCAL_SOCKETS_FALSE
=
25810 WANT_NATIVE_BIG_INTEGER
=false
25811 if test "x${COMPILE_GMP}" = xyes
; then
25812 if test "x${ac_cv_lib_gmp___gmpz_mul_si}" = xyes
; then
25813 if test "x${ac_cv_header_gmp_h}" = xyes
; then
25814 WANT_NATIVE_BIG_INTEGER
=true
25816 $as_echo "#define WITH_GNU_MP 1" >>confdefs.h
25826 if test "x${COMPILE_GMP}" = xyes
; then
25827 CREATE_GMPBI_LIBRARY_TRUE
=
25828 CREATE_GMPBI_LIBRARY_FALSE
='#'
25830 CREATE_GMPBI_LIBRARY_TRUE
='#'
25831 CREATE_GMPBI_LIBRARY_FALSE
=
25835 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"
25838 if test "x${COMPILE_WRAPPERS}" = xyes
; then
25841 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"
25844 ac_config_commands
="$ac_config_commands gappletviewer"
25846 ac_config_commands
="$ac_config_commands gjarsigner"
25848 ac_config_commands
="$ac_config_commands gkeytool"
25850 ac_config_commands
="$ac_config_commands gjar"
25852 ac_config_commands
="$ac_config_commands gnative2ascii"
25854 ac_config_commands
="$ac_config_commands gserialver"
25856 ac_config_commands
="$ac_config_commands grmiregistry"
25858 ac_config_commands
="$ac_config_commands gtnameserv"
25860 ac_config_commands
="$ac_config_commands gorbd"
25862 ac_config_commands
="$ac_config_commands grmid"
25864 ac_config_commands
="$ac_config_commands grmic"
25866 ac_config_commands
="$ac_config_commands gjavah"
25871 if test "x${COMPILE_GJDOC}" = xyes
25873 ac_config_files
="$ac_config_files tools/gjdoc"
25875 ac_config_commands
="$ac_config_commands gjdoc"
25879 ac_config_commands
="$ac_config_commands gen-classlist"
25881 ac_config_commands
="$ac_config_commands copy-vmresources"
25883 cat >confcache
<<\_ACEOF
25884 # This file is a shell script that caches the results of configure
25885 # tests run on this system so they can be shared between configure
25886 # scripts and configure runs, see configure's option --config-cache.
25887 # It is not useful on other systems. If it contains results you don't
25888 # want to keep, you may remove or edit it.
25890 # config.status only pays attention to the cache file if you give it
25891 # the --recheck option to rerun configure.
25893 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25894 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25895 # following values.
25899 # The following way of writing the cache mishandles newlines in values,
25900 # but we know of no workaround that is simple, portable, and efficient.
25901 # So, we kill variables containing newlines.
25902 # Ultrix sh set writes to stderr and can't be redirected directly,
25903 # and sets the high bit in the cache file unless we assign to the vars.
25905 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25906 eval ac_val
=\$
$ac_var
25910 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25911 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25914 _ | IFS | as_nl
) ;; #(
25915 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
25916 *) { eval $ac_var=; unset $ac_var;} ;;
25922 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25923 *${as_nl}ac_space
=\
*)
25924 # `set' does not quote correctly, so add quotes: double-quote
25925 # substitution turns \\\\ into \\, and sed turns \\ into \.
25928 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25931 # `set' quotes correctly as required by POSIX, so do not add quotes.
25932 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25941 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25943 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25945 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25946 if test -w "$cache_file"; then
25947 test "x$cache_file" != "x/dev/null" &&
25948 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25949 $as_echo "$as_me: updating cache $cache_file" >&6;}
25950 cat confcache
>$cache_file
25952 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25953 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25958 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25959 # Let make expand exec_prefix.
25960 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25962 DEFS
=-DHAVE_CONFIG_H
25966 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25967 # 1. Remove the extension, and $U if already installed.
25968 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
25969 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
25970 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25971 # will be set to the directory where LIBOBJS objects are built.
25972 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25973 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
25975 LIBOBJS
=$ac_libobjs
25977 LTLIBOBJS
=$ac_ltlibobjs
25980 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
25981 as_fn_error
"conditional \"JAVA_MAINTAINER_MODE\" was never defined.
25982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25984 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
25985 as_fn_error
"conditional \"GENINSRC\" was never defined.
25986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25988 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
25989 as_fn_error
"conditional \"INSTALL_BINARIES\" was never defined.
25990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25992 if test -n "$EXEEXT"; then
25994 am__EXEEXT_FALSE
='#'
25996 am__EXEEXT_TRUE
='#'
26000 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
26001 as_fn_error
"conditional \"CREATE_COLLECTIONS\" was never defined.
26002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26004 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
26005 as_fn_error
"conditional \"CREATE_JNI_LIBRARIES\" was never defined.
26006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26008 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
26009 as_fn_error
"conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
26010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26012 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
26013 as_fn_error
"conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
26014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26016 if test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_FALSE}"; then
26017 as_fn_error
"conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
26018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26020 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
26021 as_fn_error
"conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
26022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26024 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26025 as_fn_error
"conditional \"AMDEP\" was never defined.
26026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26028 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26029 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26032 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
26033 as_fn_error
"conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
26034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26036 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
26037 as_fn_error
"conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
26038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26040 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
26041 as_fn_error
"conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
26042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26044 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
26045 as_fn_error
"conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
26046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26048 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
26049 as_fn_error
"conditional \"CREATE_PLUGIN\" was never defined.
26050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26052 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
26053 as_fn_error
"conditional \"CREATE_GJDOC\" was never defined.
26054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26056 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
26057 as_fn_error
"conditional \"CREATE_JNI_HEADERS\" was never defined.
26058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26060 if test -z "${CREATE_GJDOC_PARSER_TRUE}" && test -z "${CREATE_GJDOC_PARSER_FALSE}"; then
26061 as_fn_error
"conditional \"CREATE_GJDOC_PARSER\" was never defined.
26062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26064 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
26065 as_fn_error
"conditional \"CREATE_WRAPPERS\" was never defined.
26066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26068 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26069 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26072 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26073 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
26074 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26076 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26077 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26080 if test -z "${WITH_JAR_TRUE}" && test -z "${WITH_JAR_FALSE}"; then
26081 as_fn_error
"conditional \"WITH_JAR\" was never defined.
26082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26084 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
26085 as_fn_error
"conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
26086 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26088 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
26089 as_fn_error
"conditional \"INSTALL_CLASS_FILES\" was never defined.
26090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26092 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
26093 as_fn_error
"conditional \"BUILD_CLASS_FILES\" was never defined.
26094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26096 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
26097 as_fn_error
"conditional \"CREATE_API_DOCS\" was never defined.
26098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26100 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
26101 as_fn_error
"conditional \"REGEN_PARSERS\" was never defined.
26102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26104 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
26105 as_fn_error
"conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
26106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26108 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
26109 as_fn_error
"conditional \"GCJ_JAVAC\" was never defined.
26110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26112 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
26113 as_fn_error
"conditional \"GCJ_JAVAC\" was never defined.
26114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26116 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
26117 as_fn_error
"conditional \"USE_ESCHER\" was never defined.
26118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26120 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
26121 as_fn_error
"conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
26122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26124 if test -z "${CREATE_GMPBI_LIBRARY_TRUE}" && test -z "${CREATE_GMPBI_LIBRARY_FALSE}"; then
26125 as_fn_error
"conditional \"CREATE_GMPBI_LIBRARY\" was never defined.
26126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26129 : ${CONFIG_STATUS=./config.status}
26131 ac_clean_files_save
=$ac_clean_files
26132 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26133 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26134 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26136 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26138 # Generated by $as_me.
26139 # Run this file to recreate the current configuration.
26140 # Compiler output produced by configure, useful for debugging
26141 # configure, is in config.log if it exists.
26144 ac_cs_recheck=false
26147 SHELL=\${CONFIG_SHELL-$SHELL}
26150 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26151 ## -------------------- ##
26152 ## M4sh Initialization. ##
26153 ## -------------------- ##
26155 # Be more Bourne compatible
26156 DUALCASE
=1; export DUALCASE
# for MKS sh
26157 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26160 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26161 # is contrary to our usage. Disable this feature.
26162 alias -g '${1+"$@"}'='"$@"'
26163 setopt NO_GLOB_SUBST
26165 case `(set -o) 2>/dev/null` in #(
26177 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26178 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26179 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26180 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26181 # Prefer a ksh shell builtin over an external printf program on Solaris,
26182 # but without wasting forks for bash or zsh.
26183 if test -z "$BASH_VERSION$ZSH_VERSION" \
26184 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26185 as_echo='print
-r --'
26186 as_echo_n='print
-rn --'
26187 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26188 as_echo='printf %s
\n'
26189 as_echo_n='printf %s
'
26191 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26192 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26193 as_echo_n='/usr
/ucb
/echo -n'
26195 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26196 as_echo_n_body='eval
26200 expr "X$arg" : "X\\(.*\\)$as_nl";
26201 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26203 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26205 export as_echo_n_body
26206 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26208 export as_echo_body
26209 as_echo='sh
-c $as_echo_body as_echo
'
26212 # The user is always right.
26213 if test "${PATH_SEPARATOR+set}" != set; then
26215 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26216 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26223 # We need space, tab and new line, in precisely that order. Quoting is
26224 # there to prevent editors from complaining about space-tab.
26225 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26226 # splitting by setting IFS to empty value.)
26229 # Find who we are. Look in the path if we contain no directory separator.
26231 *[\\/]* ) as_myself=$0 ;;
26232 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26233 for as_dir in $PATH
26236 test -z "$as_dir" && as_dir=.
26237 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26243 # We did not find ourselves, most probably we were run as `sh COMMAND'
26244 # in which case we are not to be found in the path.
26245 if test "x$as_myself" = x
; then
26248 if test ! -f "$as_myself"; then
26249 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26253 # Unset variables that we do not need and which cause bugs (e.g. in
26254 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26255 # suppresses any "Segmentation fault" message there. '((' could
26256 # trigger a bug in pdksh 5.2.14.
26257 for as_var
in BASH_ENV ENV MAIL MAILPATH
26258 do eval test x\
${$as_var+set} = xset \
26259 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26272 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26275 # as_fn_error ERROR [LINENO LOG_FD]
26276 # ---------------------------------
26277 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26278 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26279 # script with status $?, using 1 if that was 0.
26282 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26284 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26285 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26287 $as_echo "$as_me: error: $1" >&2
26288 as_fn_exit
$as_status
26292 # as_fn_set_status STATUS
26293 # -----------------------
26294 # Set $? to STATUS, without forking.
26295 as_fn_set_status
()
26298 } # as_fn_set_status
26300 # as_fn_exit STATUS
26301 # -----------------
26302 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26306 as_fn_set_status
$1
26312 # Portably unset VAR.
26315 { eval $1=; unset $1;}
26317 as_unset
=as_fn_unset
26318 # as_fn_append VAR VALUE
26319 # ----------------------
26320 # Append the text in VALUE to the end of the definition contained in VAR. Take
26321 # advantage of any shell optimizations that allow amortized linear growth over
26322 # repeated appends, instead of the typical quadratic growth present in naive
26324 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26325 eval 'as_fn_append ()
26336 # as_fn_arith ARG...
26337 # ------------------
26338 # Perform arithmetic evaluation on the ARGs, and store the result in the
26339 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26340 # must be portable across $(()) and expr.
26341 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
26342 eval 'as_fn_arith ()
26349 as_val
=`expr "$@" || test $? -eq 1`
26354 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26355 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26361 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26362 as_basename
=basename
26367 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26373 as_me
=`$as_basename -- "$0" ||
26374 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26375 X"$0" : 'X\(//\)$' \| \
26376 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26378 sed '/^.*\/\([^/][^/]*\)\/*$/{
26392 # Avoid depending upon Character Ranges.
26393 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26394 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26395 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26396 as_cr_digits
='0123456789'
26397 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26399 ECHO_C
= ECHO_N
= ECHO_T
=
26400 case `echo -n x` in #(((((
26402 case `echo 'xy\c'` in
26403 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
26405 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
26412 rm -f conf$$ conf$$.exe conf$$.
file
26413 if test -d conf$$.dir
; then
26414 rm -f conf$$.dir
/conf$$.
file
26417 mkdir conf$$.dir
2>/dev
/null
26419 if (echo >conf$$.
file) 2>/dev
/null
; then
26420 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26422 # ... but there are two gotchas:
26423 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26424 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26425 # In both cases, we have to default to `cp -p'.
26426 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
26428 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26436 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
26437 rmdir conf$$.dir
2>/dev
/null
26442 # Create "$as_dir" as a directory, including parents if necessary.
26447 -*) as_dir
=.
/$as_dir;;
26449 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
26453 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26454 *) as_qdir
=$as_dir;;
26456 as_dirs
="'$as_qdir' $as_dirs"
26457 as_dir
=`$as_dirname -- "$as_dir" ||
26458 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26459 X"$as_dir" : 'X\(//\)[^/]' \| \
26460 X"$as_dir" : 'X\(//\)$' \| \
26461 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26462 $as_echo X"$as_dir" |
26463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26467 /^X\(\/\/\)[^/].*/{
26480 test -d "$as_dir" && break
26482 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
26483 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
26487 if mkdir
-p .
2>/dev
/null
; then
26488 as_mkdir_p
='mkdir -p "$as_dir"'
26490 test -d .
/-p && rmdir .
/-p
26494 if test -x / >/dev
/null
2>&1; then
26495 as_test_x
='test -x'
26497 if ls -dL / >/dev
/null
2>&1; then
26504 if test -d "$1"; then
26510 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26511 ???[sx]*):;;*)false;;esac;fi
26515 as_executable_p
=$as_test_x
26517 # Sed expression to map a string onto a valid CPP name.
26518 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26520 # Sed expression to map a string onto a valid variable name.
26521 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26525 ## ----------------------------------- ##
26526 ## Main body of $CONFIG_STATUS script. ##
26527 ## ----------------------------------- ##
26529 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
26531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26532 # Save the log message, to keep $0 and so on meaningful, and to
26533 # report actual input values of CONFIG_FILES etc. instead of their
26534 # values after options handling.
26536 This file was extended by GNU Classpath $as_me 0.99.1-pre, which was
26537 generated by GNU Autoconf 2.64. Invocation command line was
26539 CONFIG_FILES = $CONFIG_FILES
26540 CONFIG_HEADERS = $CONFIG_HEADERS
26541 CONFIG_LINKS = $CONFIG_LINKS
26542 CONFIG_COMMANDS = $CONFIG_COMMANDS
26545 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26550 case $ac_config_files in *"
26551 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
26554 case $ac_config_headers in *"
26555 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
26559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26560 # Files that config.status was made for.
26561 config_files="$ac_config_files"
26562 config_headers="$ac_config_headers"
26563 config_links="$ac_config_links"
26564 config_commands="$ac_config_commands"
26568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26570 \`$as_me' instantiates files and other configuration actions
26571 from templates according to the current configuration. Unless the files
26572 and actions are specified as TAGs, all are instantiated by default.
26574 Usage: $0 [OPTION]... [TAG]...
26576 -h, --help print this help, then exit
26577 -V, --version print version number and configuration settings, then exit
26578 -q, --quiet, --silent
26579 do not print progress messages
26580 -d, --debug don't remove temporary files
26581 --recheck update $as_me by reconfiguring in the same conditions
26582 --file=FILE[:TEMPLATE]
26583 instantiate the configuration file FILE
26584 --header=FILE[:TEMPLATE]
26585 instantiate the configuration header FILE
26587 Configuration files:
26590 Configuration headers:
26593 Configuration links:
26596 Configuration commands:
26599 Report bugs to <classpath@gnu.org>.
26600 GNU Classpath home page: <http://www.gnu.org/software/classpath/>.
26601 General help using GNU software: <http://www.gnu.org/gethelp/>."
26604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26606 GNU Classpath config.status 0.99.1-pre
26607 configured by $0, generated by GNU Autoconf 2.64,
26608 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26610 Copyright (C) 2009 Free Software Foundation, Inc.
26611 This config.status script is free software; the Free Software Foundation
26612 gives unlimited permission to copy, distribute and modify it."
26619 test -n "\$AWK" || AWK=awk
26622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26623 # The default lists apply if the user does not specify any file.
26629 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
26630 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
26641 # Handling of the options.
26642 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
26644 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
26645 $as_echo "$ac_cs_version"; exit ;;
26646 --debug |
--debu |
--deb |
--de |
--d |
-d )
26648 --file |
--fil |
--fi |
--f )
26651 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26653 as_fn_append CONFIG_FILES
" '$ac_optarg'"
26654 ac_need_defaults
=false
;;
26655 --header |
--heade |
--head |
--hea )
26658 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26660 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
26661 ac_need_defaults
=false
;;
26663 # Conflict between --help and --header
26664 as_fn_error
"ambiguous option: \`$1'
26665 Try \`$0 --help' for more information.";;
26666 --help |
--hel |
-h )
26667 $as_echo "$ac_cs_usage"; exit ;;
26668 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
26669 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
26672 # This is an error.
26673 -*) as_fn_error
"unrecognized option: \`$1'
26674 Try \`$0 --help' for more information." ;;
26676 *) as_fn_append ac_config_targets
" $1"
26677 ac_need_defaults
=false
;;
26683 ac_configure_extra_args
=
26685 if $ac_cs_silent; then
26687 ac_configure_extra_args
="$ac_configure_extra_args --silent"
26691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26692 if \$ac_cs_recheck; then
26693 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26695 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26696 CONFIG_SHELL='$SHELL'
26697 export CONFIG_SHELL
26702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26706 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26707 ## Running $as_me. ##
26713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26721 with_multisubdir="$with_multisubdir"
26722 with_multisrctop="$with_multisrctop"
26723 with_target_subdir="$with_target_subdir"
26724 ac_configure_args="${multilib_arg} ${ac_configure_args}"
26725 multi_basedir="$multi_basedir"
26726 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
26729 GFORTRAN="$GFORTRAN"
26731 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26734 # The HP-UX ksh and POSIX shell print the target directory to stdout
26735 # if CDPATH is set.
26736 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26738 sed_quote_subst='$sed_quote_subst'
26739 double_quote_subst='$double_quote_subst'
26740 delay_variable_subst='$delay_variable_subst'
26741 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26742 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26743 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26744 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26745 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26746 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26747 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26748 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26749 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26750 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26751 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26752 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26753 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26754 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26755 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26756 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26757 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26758 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26759 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26760 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26761 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26762 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26763 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26764 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26765 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26766 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26767 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26768 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26769 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26770 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26771 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26772 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26773 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26774 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26775 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26776 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26777 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26778 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26779 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26780 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26781 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26782 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26783 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26784 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26785 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26786 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26787 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26788 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26789 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"`'
26790 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26791 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26792 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26793 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26794 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26795 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26796 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26797 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26798 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26799 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26800 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26801 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26802 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26803 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26804 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26805 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26806 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26807 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26808 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26809 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26810 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26811 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26812 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26813 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26814 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26815 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26816 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26817 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26818 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26819 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26820 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26821 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
26822 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26823 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26824 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26825 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26826 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26827 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26828 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26829 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26830 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
26831 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26832 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26833 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26834 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26835 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26836 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26837 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26838 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26839 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26840 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26841 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26842 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26843 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26844 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26845 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26846 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26847 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26848 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26849 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26850 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26851 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26852 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26853 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26854 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26855 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26856 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26857 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26858 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26859 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26860 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26861 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26862 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26863 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26864 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26865 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26866 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26867 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
26868 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
26869 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26870 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26871 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
26872 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
26873 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
26874 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
26875 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
26876 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
26877 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
26878 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
26879 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
26880 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26881 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26882 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
26883 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26884 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26885 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26886 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26887 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26888 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26889 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
26890 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26891 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26892 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26893 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
26894 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
26895 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
26896 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
26897 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
26898 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
26899 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
26900 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
26901 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
26902 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
26903 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
26904 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26905 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26906 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26907 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26908 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
26909 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
26910 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
26911 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26912 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26913 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
26914 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
26915 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26918 LTCFLAGS='$LTCFLAGS'
26919 compiler='$compiler_DEFAULT'
26921 # A function that is used when there is no print builtin or printf.
26922 func_fallback_echo ()
26924 eval 'cat <<_LTECHO_EOF
26929 # Quote evaled strings.
26943 deplibs_check_method \
26952 lt_cv_sys_global_symbol_pipe \
26953 lt_cv_sys_global_symbol_to_cdecl \
26954 lt_cv_sys_global_symbol_to_c_name_address \
26955 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26956 lt_prog_compiler_no_builtin_flag \
26957 lt_prog_compiler_wl \
26958 lt_prog_compiler_pic \
26959 lt_prog_compiler_static \
26960 lt_cv_prog_compiler_c_o \
26968 export_dynamic_flag_spec \
26969 whole_archive_flag_spec \
26970 compiler_needs_object \
26972 allow_undefined_flag \
26973 no_undefined_flag \
26974 hardcode_libdir_flag_spec \
26975 hardcode_libdir_flag_spec_ld \
26976 hardcode_libdir_separator \
26981 variables_saved_for_relink \
26983 library_names_spec \
26985 install_override_mode \
26989 compiler_lib_search_dirs \
26994 compiler_lib_search_path \
26998 lt_prog_compiler_no_builtin_flag_CXX \
26999 lt_prog_compiler_wl_CXX \
27000 lt_prog_compiler_pic_CXX \
27001 lt_prog_compiler_static_CXX \
27002 lt_cv_prog_compiler_c_o_CXX \
27003 export_dynamic_flag_spec_CXX \
27004 whole_archive_flag_spec_CXX \
27005 compiler_needs_object_CXX \
27007 allow_undefined_flag_CXX \
27008 no_undefined_flag_CXX \
27009 hardcode_libdir_flag_spec_CXX \
27010 hardcode_libdir_flag_spec_ld_CXX \
27011 hardcode_libdir_separator_CXX \
27012 fix_srcfile_path_CXX \
27013 exclude_expsyms_CXX \
27014 include_expsyms_CXX \
27015 file_list_spec_CXX \
27016 compiler_lib_search_dirs_CXX \
27017 predep_objects_CXX \
27018 postdep_objects_CXX \
27021 compiler_lib_search_path_CXX; do
27022 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27023 *[\\\\\\\`\\"\\\$]*)
27024 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27027 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27032 # Double-quote double-evaled strings.
27033 for var in reload_cmds \
27034 old_postinstall_cmds \
27035 old_postuninstall_cmds \
27037 extract_expsyms_cmds \
27038 old_archive_from_new_cmds \
27039 old_archive_from_expsyms_cmds \
27041 archive_expsym_cmds \
27043 module_expsym_cmds \
27044 export_symbols_cmds \
27047 postuninstall_cmds \
27049 sys_lib_search_path_spec \
27050 sys_lib_dlsearch_path_spec \
27052 old_archive_cmds_CXX \
27053 old_archive_from_new_cmds_CXX \
27054 old_archive_from_expsyms_cmds_CXX \
27056 archive_expsym_cmds_CXX \
27058 module_expsym_cmds_CXX \
27059 export_symbols_cmds_CXX \
27060 prelink_cmds_CXX; do
27061 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27062 *[\\\\\\\`\\"\\\$]*)
27063 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27066 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27071 ac_aux_dir='$ac_aux_dir'
27072 xsi_shell='$xsi_shell'
27073 lt_shell_append='$lt_shell_append'
27075 # See if we are running on zsh, and set the options which allow our
27076 # commands through without removal of \ escapes INIT.
27077 if test -n "\${ZSH_VERSION+set}" ; then
27078 setopt NO_GLOB_SUBST
27084 TIMESTAMP='$TIMESTAMP'
27092 # variables for create stdint.h replacement
27095 ac_stdint_h="$ac_stdint_h"
27096 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
27097 ac_cv_stdint_message="$ac_cv_stdint_message"
27098 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
27099 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
27100 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
27101 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
27102 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27103 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27104 ac_cv_char_data_model="$ac_cv_char_data_model"
27105 ac_cv_long_data_model="$ac_cv_long_data_model"
27106 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27107 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27108 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
27113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27115 # Handling of arguments.
27116 for ac_config_target
in $ac_config_targets
27118 case $ac_config_target in
27119 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27120 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
27121 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27122 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27123 "lib/mkcollections.pl") CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
27124 "mkcollections.pl") CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
27125 "$ac_config_links_1") CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
27126 "$ac_stdint_h") CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
27127 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27128 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
27129 "doc/api/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
27130 "external/Makefile") CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
27131 "external/sax/Makefile") CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
27132 "external/w3c_dom/Makefile") CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
27133 "external/relaxngDatatype/Makefile") CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
27134 "external/jsr166/Makefile") CONFIG_FILES
="$CONFIG_FILES external/jsr166/Makefile" ;;
27135 "gnu/classpath/Configuration.java") CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
27136 "gnu/java/security/Configuration.java") CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
27137 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
27138 "native/Makefile") CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
27139 "native/fdlibm/Makefile") CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
27140 "native/jawt/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
27141 "native/jni/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
27142 "native/jni/classpath/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
27143 "native/jni/java-io/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
27144 "native/jni/java-lang/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
27145 "native/jni/java-math/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-math/Makefile" ;;
27146 "native/jni/java-net/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
27147 "native/jni/java-nio/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
27148 "native/jni/java-util/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
27149 "native/jni/gtk-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
27150 "native/jni/gconf-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
27151 "native/jni/gstreamer-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gstreamer-peer/Makefile" ;;
27152 "native/jni/qt-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
27153 "native/jni/xmlj/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
27154 "native/jni/midi-alsa/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
27155 "native/jni/midi-dssi/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
27156 "native/jni/native-lib/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
27157 "native/plugin/Makefile") CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
27158 "resource/Makefile") CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
27159 "resource/META-INF/services/java.util.prefs.PreferencesFactory") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
27160 "resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ;;
27161 "resource/META-INF/services/javax.sound.sampled.spi.MixerProvider") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ;;
27162 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
27163 "scripts/classpath.spec") CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
27164 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
27165 "lib/gen-classlist.sh") CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
27166 "lib/copy-vmresources.sh") CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
27167 "scripts/check_jni_methods.sh") CONFIG_FILES
="$CONFIG_FILES scripts/check_jni_methods.sh" ;;
27168 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
27169 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
27170 "examples/Makefile.jawt") CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
27171 "examples/Makefile.java2d") CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
27172 "tools/gappletviewer") CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
27173 "tools/gjarsigner") CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
27174 "tools/gkeytool") CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
27175 "tools/gjar") CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
27176 "tools/gnative2ascii") CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
27177 "tools/gserialver") CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
27178 "tools/grmiregistry") CONFIG_FILES
="$CONFIG_FILES tools/grmiregistry" ;;
27179 "tools/gtnameserv") CONFIG_FILES
="$CONFIG_FILES tools/gtnameserv" ;;
27180 "tools/gorbd") CONFIG_FILES
="$CONFIG_FILES tools/gorbd" ;;
27181 "tools/grmid") CONFIG_FILES
="$CONFIG_FILES tools/grmid" ;;
27182 "tools/grmic") CONFIG_FILES
="$CONFIG_FILES tools/grmic" ;;
27183 "tools/gjavah") CONFIG_FILES
="$CONFIG_FILES tools/gjavah" ;;
27184 "gappletviewer") CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
27185 "gjarsigner") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
27186 "gkeytool") CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
27187 "gjar") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
27188 "gnative2ascii") CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
27189 "gserialver") CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
27190 "grmiregistry") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmiregistry" ;;
27191 "gtnameserv") CONFIG_COMMANDS
="$CONFIG_COMMANDS gtnameserv" ;;
27192 "gorbd") CONFIG_COMMANDS
="$CONFIG_COMMANDS gorbd" ;;
27193 "grmid") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmid" ;;
27194 "grmic") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmic" ;;
27195 "gjavah") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjavah" ;;
27196 "tools/gjdoc") CONFIG_FILES
="$CONFIG_FILES tools/gjdoc" ;;
27197 "gjdoc") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjdoc" ;;
27198 "gen-classlist") CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
27199 "copy-vmresources") CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
27201 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27206 # If the user did not use the arguments to specify the items to instantiate,
27207 # then the envvar interface is used. Set only those that are not.
27208 # We use the long form for the default assignment because of an extremely
27209 # bizarre bug on SunOS 4.1.3.
27210 if $ac_need_defaults; then
27211 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27212 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27213 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
27214 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27217 # Have a temporary directory for convenience. Make it in the build tree
27218 # simply because there is no reason against having it here, and in addition,
27219 # creating and moving files from /tmp can sometimes cause problems.
27220 # Hook for its removal unless debugging.
27221 # Note that there is a small window in which the directory will not be cleaned:
27222 # after its creation but before its name has been assigned to `$tmp'.
27226 trap 'exit_status=$?
27227 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27229 trap 'as_fn_exit 1' 1 2 13 15
27231 # Create a (secure) tmp directory for tmp files.
27234 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27235 test -n "$tmp" && test -d "$tmp"
27238 tmp
=.
/conf$$
-$RANDOM
27239 (umask 077 && mkdir
"$tmp")
27240 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27242 # Set up the scripts for CONFIG_FILES section.
27243 # No need to generate them if there are no CONFIG_FILES.
27244 # This happens for instance with `./config.status config.h'.
27245 if test -n "$CONFIG_FILES"; then
27248 ac_cr
=`echo X | tr X '\015'`
27249 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27250 # But we know of no other shell where ac_cr would be empty at this
27251 # point, so we can use a bashism as a fallback.
27252 if test "x$ac_cr" = x
; then
27253 eval ac_cr
=\$
\'\\r
\'
27255 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27256 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27259 ac_cs_awk_cr
=$ac_cr
27262 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27267 echo "cat >conf$$subs.awk <<_ACEOF" &&
27268 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27270 } >conf$$subs.sh ||
27271 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27272 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27274 for ac_last_try in false false false false false :; do
27275 . ./conf$$subs.sh ||
27276 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27278 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27279 if test $ac_delim_n = $ac_delim_num; then
27281 elif $ac_last_try; then
27282 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27284 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27287 rm -f conf$$subs.sh
27289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27290 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27294 s/^/S["/; s
/!.
*/"]=/
27304 s/\(.\{148\}\).*/\1/
27306 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27311 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27318 s/\(.\{148\}\).*/\1/
27320 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27324 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27329 ' <conf$$subs.awk | sed '
27334 ' >>$CONFIG_STATUS || ac_write_fail=1
27335 rm -f conf$$subs.awk
27336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27338 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27339 for (key in S) S_is_set[key] = 1
27345 nfields = split(line, field, "@
")
27347 len = length(field[1])
27348 for (i = 2; i < nfields; i++) {
27350 keylen = length(key)
27351 if (S_is_set[key]) {
27353 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27354 len += length(value) + length(field[++i])
27365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27366 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27367 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27370 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27371 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27374 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27375 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27376 # trailing colons and then remove the whole line if VPATH becomes empty
27377 # (actually we leave an empty line to preserve line numbers).
27378 if test "x
$srcdir" = x.; then
27379 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27380 s/:*\$(srcdir):*/:/
27381 s/:*\${srcdir}:*/:/
27383 s/^\([^=]*=[ ]*\):*/\1/
27389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27390 fi # test -n "$CONFIG_FILES"
27392 # Set up the scripts for CONFIG_HEADERS section.
27393 # No need to generate them if there are no CONFIG_HEADERS.
27394 # This happens for instance with `./config.status Makefile'.
27395 if test -n "$CONFIG_HEADERS"; then
27396 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27400 # Transform confdefs.h into an awk script `defines.awk', embedded as
27401 # here-document in config.status, that substitutes the proper values into
27402 # config.h.in to produce config.h.
27404 # Create a delimiter string that does not exist in confdefs.h, to ease
27405 # handling of long lines.
27407 for ac_last_try in false false :; do
27408 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
27409 if test -z "$ac_t"; then
27411 elif $ac_last_try; then
27412 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
27414 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27418 # For the awk script, D is an array of macro values keyed by name,
27419 # likewise P contains macro parameters if any. Preserve backslash
27420 # newline sequences.
27422 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27424 s/.\{148\}/&'"$ac_delim"'/g
27427 s/^[ ]*#[ ]*define[ ][ ]*/ /
27434 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27436 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
27440 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
27441 D["\
1"]=" \
3\\\\\\n
"\\/p
27443 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
27448 s/.\{148\}/&'"$ac_delim"'/g
27453 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
27456 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
27458 ' <confdefs.h | sed '
27459 s/'"$ac_delim"'/"\\\
27460 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27463 for (key in D) D_is_set[key] = 1
27466 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27468 split(line, arg, " ")
27469 if (arg[1] == "#") {
27473 defundef
= substr
(arg
[1], 2)
27476 split(mac1
, mac2
, "(") #)
27478 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
27479 if (D_is_set
[macro
]) {
27480 # Preserve the white space surrounding the "#".
27481 print prefix
"define", macro P
[macro
] D
[macro
]
27484 # Replace #undef with comments. This is necessary, for example,
27485 # in the case of _POSIX_SOURCE, which is predefined and required
27486 # on some systems where configure will not decide to define it.
27487 if (defundef
== "undef") {
27488 print
"/*", prefix defundef
, macro
, "*/"
27496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27497 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
27498 fi # test -n "$CONFIG_HEADERS"
27501 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
27506 :[FHLC
]) ac_mode
=$ac_tag; continue;;
27508 case $ac_mode$ac_tag in
27510 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
27511 :[FH
]-) ac_tag
=-:-;;
27512 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
27529 -) ac_f
="$tmp/stdin";;
27530 *) # Look for the file first in the build tree, then in the source tree
27531 # (if the path is not absolute). The absolute path cannot be DOS-style,
27532 # because $ac_f cannot contain `:'.
27536 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
27538 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
27540 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27541 as_fn_append ac_file_inputs
" '$ac_f'"
27544 # Let's still pretend it is `configure' which instantiates (i.e., don't
27545 # use $as_me), people would be surprised to read:
27546 # /* config.h. Generated by config.status. */
27547 configure_input
='Generated from '`
27548 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27550 if test x
"$ac_file" != x-
; then
27551 configure_input
="$ac_file. $configure_input"
27552 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27553 $as_echo "$as_me: creating $ac_file" >&6;}
27555 # Neutralize special characters interpreted by sed in replacement strings.
27556 case $configure_input in #(
27557 *\
&* |
*\|
* |
*\\* )
27558 ac_sed_conf_input
=`$as_echo "$configure_input" |
27559 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27560 *) ac_sed_conf_input
=$configure_input;;
27564 *:-:* |
*:-) cat >"$tmp/stdin" \
27565 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
27570 ac_dir
=`$as_dirname -- "$ac_file" ||
27571 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27572 X"$ac_file" : 'X\(//\)[^/]' \| \
27573 X"$ac_file" : 'X\(//\)$' \| \
27574 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27575 $as_echo X"$ac_file" |
27576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27580 /^X\(\/\/\)[^/].*/{
27593 as_dir
="$ac_dir"; as_fn_mkdir_p
27597 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27599 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27600 # A ".." for each directory in $ac_dir_suffix.
27601 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27602 case $ac_top_builddir_sub in
27603 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27604 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27607 ac_abs_top_builddir
=$ac_pwd
27608 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27609 # for backward compatibility:
27610 ac_top_builddir
=$ac_top_build_prefix
27613 .
) # We are building in place.
27615 ac_top_srcdir
=$ac_top_builddir_sub
27616 ac_abs_top_srcdir
=$ac_pwd ;;
27617 [\\/]* | ?
:[\\/]* ) # Absolute name.
27618 ac_srcdir
=$srcdir$ac_dir_suffix;
27619 ac_top_srcdir
=$srcdir
27620 ac_abs_top_srcdir
=$srcdir ;;
27621 *) # Relative name.
27622 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27623 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27624 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27626 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27636 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
27637 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
27639 ac_MKDIR_P
=$MKDIR_P
27641 [\\/$
]* | ?
:[\\/]* ) ;;
27642 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
27646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27647 # If the template does not know about datarootdir, expand it.
27648 # FIXME: This hack should be removed a few years after 2.60.
27649 ac_datarootdir_hack
=; ac_datarootdir_seen
=
27660 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27661 *datarootdir
*) ac_datarootdir_seen
=yes;;
27662 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
27663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27664 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27667 ac_datarootdir_hack='
27668 s&@datadir@&$datadir&g
27669 s&@docdir@&$docdir&g
27670 s&@infodir@&$infodir&g
27671 s&@localedir@&$localedir&g
27672 s&@mandir@&$mandir&g
27673 s&\\\${datarootdir}&$datarootdir&g' ;;
27677 # Neutralize VPATH when `$srcdir' = `.'.
27678 # Shell code in configure.ac might set extrasub.
27679 # FIXME: do we really want to maintain this feature?
27680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27681 ac_sed_extra="$ac_vpsub
27684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27686 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
27687 s|@configure_input@|
$ac_sed_conf_input|
;t t
27688 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
27689 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
27690 s
&@srcdir@
&$ac_srcdir&;t t
27691 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
27692 s
&@top_srcdir@
&$ac_top_srcdir&;t t
27693 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
27694 s
&@builddir@
&$ac_builddir&;t t
27695 s
&@abs_builddir@
&$ac_abs_builddir&;t t
27696 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
27697 s
&@INSTALL@
&$ac_INSTALL&;t t
27698 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
27699 $ac_datarootdir_hack
27701 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
27702 || as_fn_error "could not create
$ac_file" "$LINENO" 5
27704 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27705 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
27706 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
27707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
27708 which seems to be undefined. Please make sure it is defined." >&5
27709 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
27710 which seems to be undefined. Please make sure it is defined." >&2;}
27714 -) cat "$tmp/out" && rm -f "$tmp/out";;
27715 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27717 || as_fn_error "could not create $ac_file" "$LINENO" 5
27723 if test x"$ac_file" != x-; then
27725 $as_echo "/* $configure_input */" \
27726 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27727 } >"$tmp/config.h" \
27728 || as_fn_error "could not create $ac_file" "$LINENO" 5
27729 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27730 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27731 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27734 mv "$tmp/config.h" "$ac_file" \
27735 || as_fn_error "could not create $ac_file" "$LINENO" 5
27738 $as_echo "/* $configure_input */" \
27739 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27740 || as_fn_error "could not create -" "$LINENO" 5
27742 # Compute "$ac_file"'s index
in $config_headers.
27745 for _am_header
in $config_headers :; do
27746 case $_am_header in
27747 $_am_arg |
$_am_arg:* )
27750 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
27753 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27754 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27755 X"$_am_arg" : 'X\(//\)[^/]' \| \
27756 X"$_am_arg" : 'X\(//\)$' \| \
27757 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27758 $as_echo X"$_am_arg" |
27759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27763 /^X\(\/\/\)[^/].*/{
27775 s/.*/./; q'`/stamp-h
$_am_stamp_count
27782 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
27785 # Prefer the file from the source tree if names are identical.
27786 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
27787 ac_source
=$srcdir/$ac_source
27790 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
27791 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
27793 if test ! -r "$ac_source"; then
27794 as_fn_error
"$ac_source: file not found" "$LINENO" 5
27798 # Try a relative symlink, then a hard link, then a copy.
27800 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
27801 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
27803 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
27804 ln "$ac_source" "$ac_file" 2>/dev
/null ||
27805 cp -p "$ac_source" "$ac_file" ||
27806 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
27809 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27810 $as_echo "$as_me: executing $ac_file commands" >&6;}
27815 case $ac_file$ac_mode in
27817 # Only add multilib support code if we just rebuilt the top-level
27819 case " $CONFIG_FILES " in
27821 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
27824 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
27825 # Autoconf 2.62 quotes --file arguments for eval, but not when files
27826 # are listed without --file. Let's play safe and only enable the eval
27827 # if we detect the quoting.
27828 case $CONFIG_FILES in
27829 *\'*) eval set x
"$CONFIG_FILES" ;;
27830 *) set x
$CONFIG_FILES ;;
27835 # Strip MF so we end up with the name of the file.
27836 mf
=`echo "$mf" | sed -e 's/:.*$//'`
27837 # Check whether this is an Automake generated Makefile or not.
27838 # We used to match only the files named `Makefile.in', but
27839 # some people rename them; so instead we look at the file content.
27840 # Grep'ing the first line is not enough: some people post-process
27841 # each Makefile.in and add a new line on top of each file to say so.
27842 # Grep'ing the whole file is not good either: AIX grep has a line
27843 # limit of 2048, but all sed's we know have understand at least 4000.
27844 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
27845 dirpart
=`$as_dirname -- "$mf" ||
27846 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27847 X"$mf" : 'X\(//\)[^/]' \| \
27848 X"$mf" : 'X\(//\)$' \| \
27849 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27855 /^X\(\/\/\)[^/].*/{
27871 # Extract the definition of DEPDIR, am__include, and am__quote
27872 # from the Makefile without running `make'.
27873 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
27874 test -z "$DEPDIR" && continue
27875 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
27876 test -z "am__include" && continue
27877 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
27878 # When using ansi2knr, U may be empty or an underscore; expand it
27879 U
=`sed -n 's/^U = //p' < "$mf"`
27880 # Find all dependency output files, they are included files with
27881 # $(DEPDIR) in their names. We invoke sed twice because it is the
27882 # simplest approach to changing $(DEPDIR) to its actual value in the
27884 for file in `sed -n "
27885 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27886 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27887 # Make sure the directory exists.
27888 test -f "$dirpart/$file" && continue
27889 fdir
=`$as_dirname -- "$file" ||
27890 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27891 X"$file" : 'X\(//\)[^/]' \| \
27892 X"$file" : 'X\(//\)$' \| \
27893 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27894 $as_echo X"$file" |
27895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27899 /^X\(\/\/\)[^/].*/{
27912 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
27913 # echo "creating $dirpart/$file"
27914 echo '# dummy' > "$dirpart/$file"
27921 # See if we are running on zsh, and set the options which allow our
27922 # commands through without removal of \ escapes.
27923 if test -n "${ZSH_VERSION+set}" ; then
27924 setopt NO_GLOB_SUBST
27927 cfgfile
="${ofile}T"
27928 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27931 cat <<_LT_EOF >> "$cfgfile"
27934 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27935 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27936 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27937 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27939 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27940 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
27941 # Written by Gordon Matzigkeit, 1996
27943 # This file is part of GNU Libtool.
27945 # GNU Libtool is free software; you can redistribute it and/or
27946 # modify it under the terms of the GNU General Public License as
27947 # published by the Free Software Foundation; either version 2 of
27948 # the License, or (at your option) any later version.
27950 # As a special exception to the GNU General Public License,
27951 # if you distribute this file as part of a program or library that
27952 # is built using GNU Libtool, you may include this file under the
27953 # same distribution terms that you use for the rest of that program.
27955 # GNU Libtool is distributed in the hope that it will be useful,
27956 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27957 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27958 # GNU General Public License for more details.
27960 # You should have received a copy of the GNU General Public License
27961 # along with GNU Libtool; see the file COPYING. If not, a copy
27962 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27963 # obtained by writing to the Free Software Foundation, Inc.,
27964 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27967 # The names of the tagged configurations supported by this script.
27968 available_tags="CXX "
27970 # ### BEGIN LIBTOOL CONFIG
27972 # Whether or not to build static libraries.
27973 build_old_libs=$enable_static
27975 # Which release of libtool.m4 was used?
27976 macro_version=$macro_version
27977 macro_revision=$macro_revision
27979 # Whether or not to build shared libraries.
27980 build_libtool_libs=$enable_shared
27982 # What type of objects to build.
27985 # Whether or not to optimize for fast installation.
27986 fast_install=$enable_fast_install
27988 # Shell to use when invoking shell scripts.
27991 # An echo program that protects backslashes.
27995 host_alias=$host_alias
27999 # The build system.
28000 build_alias=$build_alias
28004 # A sed program that does not truncate output.
28007 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28008 Xsed="\$SED -e 1s/^X//"
28010 # A grep program that handles long lines.
28016 # A literal string matcher.
28019 # A BSD- or MS-compatible name lister.
28022 # Whether we need soft or hard links.
28025 # What is the maximum length of a command?
28026 max_cmd_len=$max_cmd_len
28028 # Object file suffix (normally "o").
28031 # Executable file suffix (normally "").
28034 # whether the shell understands "unset".
28037 # turn spaces into newlines.
28040 # turn newlines into spaces.
28043 # An object symbol dumper.
28044 OBJDUMP=$lt_OBJDUMP
28046 # Method to check whether dependent libraries are shared objects.
28047 deplibs_check_method=$lt_deplibs_check_method
28049 # Command to use when deplibs_check_method == "file_magic".
28050 file_magic_cmd=$lt_file_magic_cmd
28054 AR_FLAGS=$lt_AR_FLAGS
28056 # A symbol stripping program.
28059 # Commands used to install an old-style archive.
28061 old_postinstall_cmds=$lt_old_postinstall_cmds
28062 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28064 # Whether to use a lock for old archive extraction.
28065 lock_old_archive_extraction=$lock_old_archive_extraction
28070 # LTCC compiler flags.
28071 LTCFLAGS=$lt_CFLAGS
28073 # Take the output of nm and produce a listing of raw symbols and C names.
28074 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28076 # Transform the output of nm in a proper C declaration.
28077 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28079 # Transform the output of nm in a C name address pair.
28080 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28082 # Transform the output of nm in a C name address pair when lib prefix is needed.
28083 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28085 # The name of the directory that contains temporary libtool files.
28088 # Used to examine libraries when file_magic_cmd begins with "file".
28089 MAGIC_CMD=$MAGIC_CMD
28091 # Must we lock files when doing compilation?
28092 need_locks=$lt_need_locks
28094 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28095 DSYMUTIL=$lt_DSYMUTIL
28097 # Tool to change global to local symbols on Mac OS X.
28100 # Tool to manipulate fat objects and archives on Mac OS X.
28103 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28106 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28107 OTOOL64=$lt_OTOOL64
28109 # Old archive suffix (normally "a").
28112 # Shared library suffix (normally ".so").
28113 shrext_cmds=$lt_shrext_cmds
28115 # The commands to extract the exported symbol list from a shared archive.
28116 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28118 # Variables whose values should be saved in libtool wrapper scripts and
28119 # restored at link time.
28120 variables_saved_for_relink=$lt_variables_saved_for_relink
28122 # Do we need the "lib" prefix for modules?
28123 need_lib_prefix=$need_lib_prefix
28125 # Do we need a version for libraries?
28126 need_version=$need_version
28128 # Library versioning type.
28129 version_type=$version_type
28131 # Shared library runtime path variable.
28132 runpath_var=$runpath_var
28134 # Shared library path variable.
28135 shlibpath_var=$shlibpath_var
28137 # Is shlibpath searched before the hard-coded library search path?
28138 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28140 # Format of library name prefix.
28141 libname_spec=$lt_libname_spec
28143 # List of archive names. First name is the real one, the rest are links.
28144 # The last name is the one that the linker finds with -lNAME
28145 library_names_spec=$lt_library_names_spec
28147 # The coded name of the library, if different from the real name.
28148 soname_spec=$lt_soname_spec
28150 # Permission mode override for installation of shared libraries.
28151 install_override_mode=$lt_install_override_mode
28153 # Command to use after installation of a shared archive.
28154 postinstall_cmds=$lt_postinstall_cmds
28156 # Command to use after uninstallation of a shared archive.
28157 postuninstall_cmds=$lt_postuninstall_cmds
28159 # Commands used to finish a libtool library installation in a directory.
28160 finish_cmds=$lt_finish_cmds
28162 # As "finish_cmds", except a single script fragment to be evaled but
28164 finish_eval=$lt_finish_eval
28166 # Whether we should hardcode library paths into libraries.
28167 hardcode_into_libs=$hardcode_into_libs
28169 # Compile-time system search path for libraries.
28170 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28172 # Run-time system search path for libraries.
28173 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28175 # Whether dlopen is supported.
28176 dlopen_support=$enable_dlopen
28178 # Whether dlopen of programs is supported.
28179 dlopen_self=$enable_dlopen_self
28181 # Whether dlopen of statically linked programs is supported.
28182 dlopen_self_static=$enable_dlopen_self_static
28184 # Commands to strip libraries.
28185 old_striplib=$lt_old_striplib
28186 striplib=$lt_striplib
28189 # The linker used to build libraries.
28192 # How to create reloadable object files.
28193 reload_flag=$lt_reload_flag
28194 reload_cmds=$lt_reload_cmds
28196 # Commands used to build an old-style archive.
28197 old_archive_cmds=$lt_old_archive_cmds
28199 # A language specific compiler.
28202 # Is the compiler the GNU compiler?
28205 # Compiler flag to turn off builtin functions.
28206 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28208 # How to pass a linker flag through the compiler.
28209 wl=$lt_lt_prog_compiler_wl
28211 # Additional compiler flags for building library objects.
28212 pic_flag=$lt_lt_prog_compiler_pic
28214 # Compiler flag to prevent dynamic linking.
28215 link_static_flag=$lt_lt_prog_compiler_static
28217 # Does compiler simultaneously support -c and -o options?
28218 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28220 # Whether or not to add -lc for building shared libraries.
28221 build_libtool_need_lc=$archive_cmds_need_lc
28223 # Whether or not to disallow shared libs when runtime libs are static.
28224 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28226 # Compiler flag to allow reflexive dlopens.
28227 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28229 # Compiler flag to generate shared objects directly from archives.
28230 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28232 # Whether the compiler copes with passing no objects directly.
28233 compiler_needs_object=$lt_compiler_needs_object
28235 # Create an old-style archive from a shared archive.
28236 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28238 # Create a temporary old-style archive to link instead of a shared archive.
28239 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28241 # Commands used to build a shared archive.
28242 archive_cmds=$lt_archive_cmds
28243 archive_expsym_cmds=$lt_archive_expsym_cmds
28245 # Commands used to build a loadable module if different from building
28246 # a shared archive.
28247 module_cmds=$lt_module_cmds
28248 module_expsym_cmds=$lt_module_expsym_cmds
28250 # Whether we are building with GNU ld or not.
28251 with_gnu_ld=$lt_with_gnu_ld
28253 # Flag that allows shared libraries with undefined symbols to be built.
28254 allow_undefined_flag=$lt_allow_undefined_flag
28256 # Flag that enforces no undefined symbols.
28257 no_undefined_flag=$lt_no_undefined_flag
28259 # Flag to hardcode \$libdir into a binary during linking.
28260 # This must work even if \$libdir does not exist
28261 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28263 # If ld is used when linking, flag to hardcode \$libdir into a binary
28264 # during linking. This must work even if \$libdir does not exist.
28265 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28267 # Whether we need a single "-rpath" flag with a separated argument.
28268 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28270 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28271 # DIR into the resulting binary.
28272 hardcode_direct=$hardcode_direct
28274 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28275 # DIR into the resulting binary and the resulting library dependency is
28276 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28277 # library is relocated.
28278 hardcode_direct_absolute=$hardcode_direct_absolute
28280 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28281 # into the resulting binary.
28282 hardcode_minus_L=$hardcode_minus_L
28284 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28285 # into the resulting binary.
28286 hardcode_shlibpath_var=$hardcode_shlibpath_var
28288 # Set to "yes" if building a shared library automatically hardcodes DIR
28289 # into the library and all subsequent libraries and executables linked
28291 hardcode_automatic=$hardcode_automatic
28293 # Set to yes if linker adds runtime paths of dependent libraries
28294 # to runtime path list.
28295 inherit_rpath=$inherit_rpath
28297 # Whether libtool must link a program against all its dependency libraries.
28298 link_all_deplibs=$link_all_deplibs
28300 # Fix the shell variable \$srcfile for the compiler.
28301 fix_srcfile_path=$lt_fix_srcfile_path
28303 # Set to "yes" if exported symbols are required.
28304 always_export_symbols=$always_export_symbols
28306 # The commands to list exported symbols.
28307 export_symbols_cmds=$lt_export_symbols_cmds
28309 # Symbols that should not be listed in the preloaded symbols.
28310 exclude_expsyms=$lt_exclude_expsyms
28312 # Symbols that must always be exported.
28313 include_expsyms=$lt_include_expsyms
28315 # Commands necessary for linking programs (against libraries) with templates.
28316 prelink_cmds=$lt_prelink_cmds
28318 # Specify filename containing input files.
28319 file_list_spec=$lt_file_list_spec
28321 # How to hardcode a shared library path into an executable.
28322 hardcode_action=$hardcode_action
28324 # The directories searched by this compiler when creating a shared library.
28325 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28327 # Dependencies to place before and after the objects being linked to
28328 # create a shared library.
28329 predep_objects=$lt_predep_objects
28330 postdep_objects=$lt_postdep_objects
28331 predeps=$lt_predeps
28332 postdeps=$lt_postdeps
28334 # The library search path used internally by the compiler when linking
28335 # a shared library.
28336 compiler_lib_search_path=$lt_compiler_lib_search_path
28338 # ### END LIBTOOL CONFIG
28344 cat <<\_LT_EOF
>> "$cfgfile"
28345 # AIX sometimes has problems with the GCC collect2 program. For some
28346 # reason, if we set the COLLECT_NAMES environment variable, the problems
28347 # vanish in a puff of smoke.
28348 if test "X${COLLECT_NAMES+set}" != Xset
; then
28350 export COLLECT_NAMES
28357 ltmain
="$ac_aux_dir/ltmain.sh"
28360 # We use sed instead of cat because bash on DJGPP gets confused if
28361 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28362 # text mode, it properly converts lines to CR/LF. This bash problem
28363 # is reportedly fixed, but why not run on old versions too?
28364 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28365 ||
(rm -f "$cfgfile"; exit 1)
28369 cat << \_LT_EOF
>> "$cfgfile"
28371 # func_dirname file append nondir_replacement
28372 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28373 # otherwise set result to NONDIR_REPLACEMENT.
28377 */*) func_dirname_result
="${1%/*}${2}" ;;
28378 * ) func_dirname_result
="${3}" ;;
28382 # func_basename file
28385 func_basename_result
="${1##*/}"
28388 # func_dirname_and_basename file append nondir_replacement
28389 # perform func_basename and func_dirname in a single function
28391 # dirname: Compute the dirname of FILE. If nonempty,
28392 # add APPEND to the result, otherwise set result
28393 # to NONDIR_REPLACEMENT.
28394 # value returned in "$func_dirname_result"
28395 # basename: Compute filename of FILE.
28396 # value retuned in "$func_basename_result"
28397 # Implementation must be kept synchronized with func_dirname
28398 # and func_basename. For efficiency, we do not delegate to
28399 # those functions but instead duplicate the functionality here.
28400 func_dirname_and_basename
()
28403 */*) func_dirname_result
="${1%/*}${2}" ;;
28404 * ) func_dirname_result
="${3}" ;;
28406 func_basename_result
="${1##*/}"
28409 # func_stripname prefix suffix name
28410 # strip PREFIX and SUFFIX off of NAME.
28411 # PREFIX and SUFFIX must not contain globbing or regex special
28412 # characters, hashes, percent signs, but SUFFIX may contain a leading
28413 # dot (in which case that matches only a dot).
28416 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28417 # positional parameters, so assign one to ordinary parameter first.
28418 func_stripname_result
=${3}
28419 func_stripname_result
=${func_stripname_result#"${1}"}
28420 func_stripname_result
=${func_stripname_result%"${2}"}
28426 func_opt_split_opt
=${1%%=*}
28427 func_opt_split_arg
=${1#*=}
28434 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28435 *) func_lo2o_result
=${1} ;;
28439 # func_xform libobj-or-source
28442 func_xform_result
=${1%.*}.lo
28445 # func_arith arithmetic-term...
28448 func_arith_result
=$
(( $
* ))
28452 # STRING may not start with a hyphen.
28455 func_len_result
=${#1}
28460 *) # Bourne compatible functions.
28461 cat << \_LT_EOF
>> "$cfgfile"
28463 # func_dirname file append nondir_replacement
28464 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28465 # otherwise set result to NONDIR_REPLACEMENT.
28468 # Extract subdirectory from the argument.
28469 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
28470 if test "X$func_dirname_result" = "X${1}"; then
28471 func_dirname_result
="${3}"
28473 func_dirname_result
="$func_dirname_result${2}"
28477 # func_basename file
28480 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
28484 # func_stripname prefix suffix name
28485 # strip PREFIX and SUFFIX off of NAME.
28486 # PREFIX and SUFFIX must not contain globbing or regex special
28487 # characters, hashes, percent signs, but SUFFIX may contain a leading
28488 # dot (in which case that matches only a dot).
28489 # func_strip_suffix prefix name
28493 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28494 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28499 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
28500 my_sed_long_arg
='1s/^-[^=]*=//'
28505 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28506 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28512 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
28515 # func_xform libobj-or-source
28518 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28521 # func_arith arithmetic-term...
28524 func_arith_result
=`expr "$@"`
28528 # STRING may not start with a hyphen.
28531 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28537 case $lt_shell_append in
28539 cat << \_LT_EOF
>> "$cfgfile"
28541 # func_append var value
28542 # Append VALUE to the end of shell variable VAR.
28550 cat << \_LT_EOF
>> "$cfgfile"
28552 # func_append var value
28553 # Append VALUE to the end of shell variable VAR.
28564 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28565 ||
(rm -f "$cfgfile"; exit 1)
28567 mv -f "$cfgfile" "$ofile" ||
28568 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28572 cat <<_LT_EOF >> "$ofile"
28574 # ### BEGIN LIBTOOL TAG CONFIG: CXX
28576 # The linker used to build libraries.
28579 # How to create reloadable object files.
28580 reload_flag=$lt_reload_flag_CXX
28581 reload_cmds=$lt_reload_cmds_CXX
28583 # Commands used to build an old-style archive.
28584 old_archive_cmds=$lt_old_archive_cmds_CXX
28586 # A language specific compiler.
28587 CC=$lt_compiler_CXX
28589 # Is the compiler the GNU compiler?
28592 # Compiler flag to turn off builtin functions.
28593 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
28595 # How to pass a linker flag through the compiler.
28596 wl=$lt_lt_prog_compiler_wl_CXX
28598 # Additional compiler flags for building library objects.
28599 pic_flag=$lt_lt_prog_compiler_pic_CXX
28601 # Compiler flag to prevent dynamic linking.
28602 link_static_flag=$lt_lt_prog_compiler_static_CXX
28604 # Does compiler simultaneously support -c and -o options?
28605 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
28607 # Whether or not to add -lc for building shared libraries.
28608 build_libtool_need_lc=$archive_cmds_need_lc_CXX
28610 # Whether or not to disallow shared libs when runtime libs are static.
28611 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
28613 # Compiler flag to allow reflexive dlopens.
28614 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
28616 # Compiler flag to generate shared objects directly from archives.
28617 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
28619 # Whether the compiler copes with passing no objects directly.
28620 compiler_needs_object=$lt_compiler_needs_object_CXX
28622 # Create an old-style archive from a shared archive.
28623 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
28625 # Create a temporary old-style archive to link instead of a shared archive.
28626 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
28628 # Commands used to build a shared archive.
28629 archive_cmds=$lt_archive_cmds_CXX
28630 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
28632 # Commands used to build a loadable module if different from building
28633 # a shared archive.
28634 module_cmds=$lt_module_cmds_CXX
28635 module_expsym_cmds=$lt_module_expsym_cmds_CXX
28637 # Whether we are building with GNU ld or not.
28638 with_gnu_ld=$lt_with_gnu_ld_CXX
28640 # Flag that allows shared libraries with undefined symbols to be built.
28641 allow_undefined_flag=$lt_allow_undefined_flag_CXX
28643 # Flag that enforces no undefined symbols.
28644 no_undefined_flag=$lt_no_undefined_flag_CXX
28646 # Flag to hardcode \$libdir into a binary during linking.
28647 # This must work even if \$libdir does not exist
28648 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
28650 # If ld is used when linking, flag to hardcode \$libdir into a binary
28651 # during linking. This must work even if \$libdir does not exist.
28652 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
28654 # Whether we need a single "-rpath" flag with a separated argument.
28655 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
28657 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28658 # DIR into the resulting binary.
28659 hardcode_direct=$hardcode_direct_CXX
28661 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28662 # DIR into the resulting binary and the resulting library dependency is
28663 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28664 # library is relocated.
28665 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
28667 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28668 # into the resulting binary.
28669 hardcode_minus_L=$hardcode_minus_L_CXX
28671 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28672 # into the resulting binary.
28673 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
28675 # Set to "yes" if building a shared library automatically hardcodes DIR
28676 # into the library and all subsequent libraries and executables linked
28678 hardcode_automatic=$hardcode_automatic_CXX
28680 # Set to yes if linker adds runtime paths of dependent libraries
28681 # to runtime path list.
28682 inherit_rpath=$inherit_rpath_CXX
28684 # Whether libtool must link a program against all its dependency libraries.
28685 link_all_deplibs=$link_all_deplibs_CXX
28687 # Fix the shell variable \$srcfile for the compiler.
28688 fix_srcfile_path=$lt_fix_srcfile_path_CXX
28690 # Set to "yes" if exported symbols are required.
28691 always_export_symbols=$always_export_symbols_CXX
28693 # The commands to list exported symbols.
28694 export_symbols_cmds=$lt_export_symbols_cmds_CXX
28696 # Symbols that should not be listed in the preloaded symbols.
28697 exclude_expsyms=$lt_exclude_expsyms_CXX
28699 # Symbols that must always be exported.
28700 include_expsyms=$lt_include_expsyms_CXX
28702 # Commands necessary for linking programs (against libraries) with templates.
28703 prelink_cmds=$lt_prelink_cmds_CXX
28705 # Specify filename containing input files.
28706 file_list_spec=$lt_file_list_spec_CXX
28708 # How to hardcode a shared library path into an executable.
28709 hardcode_action=$hardcode_action_CXX
28711 # The directories searched by this compiler when creating a shared library.
28712 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
28714 # Dependencies to place before and after the objects being linked to
28715 # create a shared library.
28716 predep_objects=$lt_predep_objects_CXX
28717 postdep_objects=$lt_postdep_objects_CXX
28718 predeps=$lt_predeps_CXX
28719 postdeps=$lt_postdeps_CXX
28721 # The library search path used internally by the compiler when linking
28722 # a shared library.
28723 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
28725 # ### END LIBTOOL TAG CONFIG: CXX
28729 "mkcollections.pl":C
) chmod 755 lib
/mkcollections.pl
;;
28731 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
28732 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
28733 ac_stdint
=$tmp/_stdint.h
28735 echo "#ifndef" $_ac_stdint_h >$ac_stdint
28736 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
28737 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
28738 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
28739 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
28740 if test "_$ac_cv_header_stdint_t" != "_" ; then
28741 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
28742 echo "#include <stdint.h>" >>$ac_stdint
28743 echo "#endif" >>$ac_stdint
28744 echo "#endif" >>$ac_stdint
28747 cat >>$ac_stdint <<STDINT_EOF
28749 /* ................... shortcircuit part ........................... */
28751 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
28752 #include <stdint.h>
28754 #include <stddef.h>
28756 /* .................... configured part ............................ */
28760 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
28761 if test "_$ac_cv_header_stdint_x" != "_" ; then
28762 ac_header
="$ac_cv_header_stdint_x"
28763 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
28765 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
28768 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
28769 if test "_$ac_cv_header_stdint_o" != "_" ; then
28770 ac_header
="$ac_cv_header_stdint_o"
28771 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
28773 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
28776 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
28777 if test "_$ac_cv_header_stdint_u" != "_" ; then
28778 ac_header
="$ac_cv_header_stdint_u"
28779 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
28781 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
28784 echo "" >>$ac_stdint
28786 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
28787 echo "#include <$ac_header>" >>$ac_stdint
28788 echo "" >>$ac_stdint
28791 echo "/* which 64bit typedef has been found */" >>$ac_stdint
28792 if test "$ac_cv_type_uint64_t" = "yes" ; then
28793 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
28795 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
28797 if test "$ac_cv_type_u_int64_t" = "yes" ; then
28798 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
28800 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
28802 echo "" >>$ac_stdint
28804 echo "/* which type model has been detected */" >>$ac_stdint
28805 if test "_$ac_cv_char_data_model" != "_" ; then
28806 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
28807 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
28809 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
28810 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
28812 echo "" >>$ac_stdint
28814 echo "/* whether int_least types were detected */" >>$ac_stdint
28815 if test "$ac_cv_type_int_least32_t" = "yes"; then
28816 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
28818 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
28820 echo "/* whether int_fast types were detected */" >>$ac_stdint
28821 if test "$ac_cv_type_int_fast32_t" = "yes"; then
28822 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
28824 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
28826 echo "/* whether intmax_t type was detected */" >>$ac_stdint
28827 if test "$ac_cv_type_intmax_t" = "yes"; then
28828 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
28830 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
28832 echo "" >>$ac_stdint
28834 cat >>$ac_stdint <<STDINT_EOF
28835 /* .................... detections part ............................ */
28837 /* whether we need to define bitspecific types from compiler base types */
28838 #ifndef _STDINT_HEADER_INTPTR
28839 #ifndef _STDINT_HEADER_UINT32
28840 #ifndef _STDINT_HEADER_U_INT32
28841 #define _STDINT_NEED_INT_MODEL_T
28843 #define _STDINT_HAVE_U_INT_TYPES
28848 #ifdef _STDINT_HAVE_U_INT_TYPES
28849 #undef _STDINT_NEED_INT_MODEL_T
28852 #ifdef _STDINT_CHAR_MODEL
28853 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
28854 #ifndef _STDINT_BYTE_MODEL
28855 #define _STDINT_BYTE_MODEL 12
28860 #ifndef _STDINT_HAVE_INT_LEAST32_T
28861 #define _STDINT_NEED_INT_LEAST_T
28864 #ifndef _STDINT_HAVE_INT_FAST32_T
28865 #define _STDINT_NEED_INT_FAST_T
28868 #ifndef _STDINT_HEADER_INTPTR
28869 #define _STDINT_NEED_INTPTR_T
28870 #ifndef _STDINT_HAVE_INTMAX_T
28871 #define _STDINT_NEED_INTMAX_T
28876 /* .................... definition part ............................ */
28878 /* some system headers have good uint64_t */
28879 #ifndef _HAVE_UINT64_T
28880 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
28881 #define _HAVE_UINT64_T
28882 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
28883 #define _HAVE_UINT64_T
28884 typedef u_int64_t uint64_t;
28888 #ifndef _HAVE_UINT64_T
28889 /* .. here are some common heuristics using compiler runtime specifics */
28890 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
28891 #define _HAVE_UINT64_T
28892 #define _HAVE_LONGLONG_UINT64_T
28893 typedef long long int64_t;
28894 typedef unsigned long long uint64_t;
28896 #elif !defined __STRICT_ANSI__
28897 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
28898 #define _HAVE_UINT64_T
28899 typedef __int64 int64_t;
28900 typedef unsigned __int64 uint64_t;
28902 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
28903 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
28904 #if !defined _NO_LONGLONG
28905 #define _HAVE_UINT64_T
28906 #define _HAVE_LONGLONG_UINT64_T
28907 typedef long long int64_t;
28908 typedef unsigned long long uint64_t;
28911 #elif defined __alpha || (defined __mips && defined _ABIN32)
28912 #if !defined _NO_LONGLONG
28913 typedef long int64_t;
28914 typedef unsigned long uint64_t;
28916 /* compiler/cpu type to define int64_t */
28921 #if defined _STDINT_HAVE_U_INT_TYPES
28922 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
28923 typedef u_int8_t uint8_t;
28924 typedef u_int16_t uint16_t;
28925 typedef u_int32_t uint32_t;
28927 /* glibc compatibility */
28928 #ifndef __int8_t_defined
28929 #define __int8_t_defined
28933 #ifdef _STDINT_NEED_INT_MODEL_T
28934 /* we must guess all the basic types. Apart from byte-adressable system, */
28935 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
28936 /* (btw, those nibble-addressable systems are way off, or so we assume) */
28939 #if defined _STDINT_BYTE_MODEL
28940 #if _STDINT_LONG_MODEL+0 == 242
28941 /* 2:4:2 = IP16 = a normal 16-bit system */
28942 typedef unsigned char uint8_t;
28943 typedef unsigned short uint16_t;
28944 typedef unsigned long uint32_t;
28945 #ifndef __int8_t_defined
28946 #define __int8_t_defined
28947 typedef char int8_t;
28948 typedef short int16_t;
28949 typedef long int32_t;
28951 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
28952 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
28953 /* 4:4:4 = ILP32 = a normal 32-bit system */
28954 typedef unsigned char uint8_t;
28955 typedef unsigned short uint16_t;
28956 typedef unsigned int uint32_t;
28957 #ifndef __int8_t_defined
28958 #define __int8_t_defined
28959 typedef char int8_t;
28960 typedef short int16_t;
28961 typedef int int32_t;
28963 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
28964 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
28965 /* 4:8:8 = LP64 = a normal 64-bit system */
28966 typedef unsigned char uint8_t;
28967 typedef unsigned short uint16_t;
28968 typedef unsigned int uint32_t;
28969 #ifndef __int8_t_defined
28970 #define __int8_t_defined
28971 typedef char int8_t;
28972 typedef short int16_t;
28973 typedef int int32_t;
28975 /* this system has a "long" of 64bit */
28976 #ifndef _HAVE_UINT64_T
28977 #define _HAVE_UINT64_T
28978 typedef unsigned long uint64_t;
28979 typedef long int64_t;
28981 #elif _STDINT_LONG_MODEL+0 == 448
28982 /* LLP64 a 64-bit system derived from a 32-bit system */
28983 typedef unsigned char uint8_t;
28984 typedef unsigned short uint16_t;
28985 typedef unsigned int uint32_t;
28986 #ifndef __int8_t_defined
28987 #define __int8_t_defined
28988 typedef char int8_t;
28989 typedef short int16_t;
28990 typedef int int32_t;
28992 /* assuming the system has a "long long" */
28993 #ifndef _HAVE_UINT64_T
28994 #define _HAVE_UINT64_T
28995 #define _HAVE_LONGLONG_UINT64_T
28996 typedef unsigned long long uint64_t;
28997 typedef long long int64_t;
29000 #define _STDINT_NO_INT32_T
29003 #define _STDINT_NO_INT8_T
29004 #define _STDINT_NO_INT32_T
29009 * quote from SunOS-5.8 sys/inttypes.h:
29010 * Use at your own risk. As of February 1996, the committee is squarely
29011 * behind the fixed sized types; the "least" and "fast" types are still being
29012 * discussed. The probability that the "fast" types may be removed before
29013 * the standard is finalized is high enough that they are not currently
29017 #if defined _STDINT_NEED_INT_LEAST_T
29018 typedef int8_t int_least8_t;
29019 typedef int16_t int_least16_t;
29020 typedef int32_t int_least32_t;
29021 #ifdef _HAVE_UINT64_T
29022 typedef int64_t int_least64_t;
29025 typedef uint8_t uint_least8_t;
29026 typedef uint16_t uint_least16_t;
29027 typedef uint32_t uint_least32_t;
29028 #ifdef _HAVE_UINT64_T
29029 typedef uint64_t uint_least64_t;
29034 #if defined _STDINT_NEED_INT_FAST_T
29035 typedef int8_t int_fast8_t;
29036 typedef int int_fast16_t;
29037 typedef int32_t int_fast32_t;
29038 #ifdef _HAVE_UINT64_T
29039 typedef int64_t int_fast64_t;
29042 typedef uint8_t uint_fast8_t;
29043 typedef unsigned uint_fast16_t;
29044 typedef uint32_t uint_fast32_t;
29045 #ifdef _HAVE_UINT64_T
29046 typedef uint64_t uint_fast64_t;
29051 #ifdef _STDINT_NEED_INTMAX_T
29052 #ifdef _HAVE_UINT64_T
29053 typedef int64_t intmax_t;
29054 typedef uint64_t uintmax_t;
29056 typedef long intmax_t;
29057 typedef unsigned long uintmax_t;
29061 #ifdef _STDINT_NEED_INTPTR_T
29062 #ifndef __intptr_t_defined
29063 #define __intptr_t_defined
29064 /* we encourage using "long" to store pointer values, never use "int" ! */
29065 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
29066 typedef unsigned int uintptr_t;
29067 typedef int intptr_t;
29068 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
29069 typedef unsigned long uintptr_t;
29070 typedef long intptr_t;
29071 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
29072 typedef uint64_t uintptr_t;
29073 typedef int64_t intptr_t;
29074 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
29075 typedef unsigned long uintptr_t;
29076 typedef long intptr_t;
29081 /* The ISO C99 standard specifies that in C++ implementations these
29082 should only be defined if explicitly requested. */
29083 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
29087 # define INT8_C(c) c
29088 # define INT16_C(c) c
29089 # define INT32_C(c) c
29090 # ifdef _HAVE_LONGLONG_UINT64_T
29091 # define INT64_C(c) c ## L
29093 # define INT64_C(c) c ## LL
29097 # define UINT8_C(c) c ## U
29098 # define UINT16_C(c) c ## U
29099 # define UINT32_C(c) c ## U
29100 # ifdef _HAVE_LONGLONG_UINT64_T
29101 # define UINT64_C(c) c ## UL
29103 # define UINT64_C(c) c ## ULL
29106 /* Maximal type. */
29107 # ifdef _HAVE_LONGLONG_UINT64_T
29108 # define INTMAX_C(c) c ## L
29109 # define UINTMAX_C(c) c ## UL
29111 # define INTMAX_C(c) c ## LL
29112 # define UINTMAX_C(c) c ## ULL
29115 /* literalnumbers */
29119 /* These limits are merily those of a two complement byte-oriented system */
29121 /* Minimum of signed integral types. */
29123 # define INT8_MIN (-128)
29126 # define INT16_MIN (-32767-1)
29129 # define INT32_MIN (-2147483647-1)
29132 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
29135 /* Maximum of signed integral types. */
29137 # define INT8_MAX (127)
29140 # define INT16_MAX (32767)
29143 # define INT32_MAX (2147483647)
29146 # define INT64_MAX (__INT64_C(9223372036854775807))
29149 /* Maximum of unsigned integral types. */
29151 # define UINT8_MAX (255)
29154 # define UINT16_MAX (65535)
29157 # define UINT32_MAX (4294967295U)
29160 # define UINT64_MAX (__UINT64_C(18446744073709551615))
29163 /* Minimum of signed integral types having a minimum size. */
29164 # define INT_LEAST8_MIN INT8_MIN
29165 # define INT_LEAST16_MIN INT16_MIN
29166 # define INT_LEAST32_MIN INT32_MIN
29167 # define INT_LEAST64_MIN INT64_MIN
29168 /* Maximum of signed integral types having a minimum size. */
29169 # define INT_LEAST8_MAX INT8_MAX
29170 # define INT_LEAST16_MAX INT16_MAX
29171 # define INT_LEAST32_MAX INT32_MAX
29172 # define INT_LEAST64_MAX INT64_MAX
29174 /* Maximum of unsigned integral types having a minimum size. */
29175 # define UINT_LEAST8_MAX UINT8_MAX
29176 # define UINT_LEAST16_MAX UINT16_MAX
29177 # define UINT_LEAST32_MAX UINT32_MAX
29178 # define UINT_LEAST64_MAX UINT64_MAX
29187 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
29188 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
29189 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
29191 ac_dir
=`$as_dirname -- "$ac_stdint_h" ||
29192 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29193 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
29194 X"$ac_stdint_h" : 'X\(//\)$' \| \
29195 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
29196 $as_echo X"$ac_stdint_h" |
29197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29201 /^X\(\/\/\)[^/].*/{
29214 as_dir
="$ac_dir"; as_fn_mkdir_p
29216 mv $ac_stdint $ac_stdint_h
29219 "gappletviewer":C
) chmod 755 tools
/gappletviewer
;;
29220 "gjarsigner":C
) chmod 755 tools
/gjarsigner
;;
29221 "gkeytool":C
) chmod 755 tools
/gkeytool
;;
29222 "gjar":C
) chmod 755 tools
/gjar
;;
29223 "gnative2ascii":C
) chmod 755 tools
/gnative2ascii
;;
29224 "gserialver":C
) chmod 755 tools
/gserialver
;;
29225 "grmiregistry":C
) chmod 755 tools
/grmiregistry
;;
29226 "gtnameserv":C
) chmod 755 tools
/gtnameserv
;;
29227 "gorbd":C
) chmod 755 tools
/gorbd
;;
29228 "grmid":C
) chmod 755 tools
/grmid
;;
29229 "grmic":C
) chmod 755 tools
/grmic
;;
29230 "gjavah":C
) chmod 755 tools
/gjavah
;;
29231 "gjdoc":C
) chmod 755 tools
/gjdoc
;;
29232 "gen-classlist":C
) chmod 755 lib
/gen-classlist.sh
;;
29233 "copy-vmresources":C
) chmod 755 lib
/copy-vmresources.sh
;;
29241 ac_clean_files
=$ac_clean_files_save
29243 test $ac_write_fail = 0 ||
29244 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29247 # configure is writing to config.log, and then calls config.status.
29248 # config.status does its own redirection, appending to config.log.
29249 # Unfortunately, on DOS this fails, as config.log is still kept open
29250 # by configure, so config.status won't be able to write to it; its
29251 # output is simply discarded. So we exec the FD to /dev/null,
29252 # effectively closing config.log, so it can be properly (re)opened and
29253 # appended to by config.status. When coming back to configure, we
29254 # need to make the FD available again.
29255 if test "$no_create" != yes; then
29257 ac_config_status_args
=
29258 test "$silent" = yes &&
29259 ac_config_status_args
="$ac_config_status_args --quiet"
29261 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29263 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29264 # would make configure fail if this is the last instruction.
29265 $ac_cs_success || as_fn_exit $?
29267 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29269 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
29273 # Create standard.omit based on decisions we just made.
29274 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
29275 if test x
$use_escher != xtrue
; then
29276 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit
29279 if test "x${COMPILE_PLUGIN}" = "xyes" ; then
29280 { $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
29281 $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;}