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
*|ppc
*-*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 ppc64-
*linux
*|powerpc64-
*linux
*)
7659 LD
="${LD-ld} -m elf32ppclinux"
7662 LD
="${LD-ld} -m elf_s390"
7665 LD
="${LD-ld} -m elf32_sparc"
7671 x86_64-
*kfreebsd
*-gnu)
7672 LD
="${LD-ld} -m elf_x86_64_fbsd"
7675 LD
="${LD-ld} -m elf_x86_64"
7677 ppc
*-*linux
*|powerpc
*-*linux
*)
7678 LD
="${LD-ld} -m elf64ppc"
7680 s390
*-*linux
*|s390
*-*tpf
*)
7681 LD
="${LD-ld} -m elf64_s390"
7684 LD
="${LD-ld} -m elf64_sparc"
7694 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7695 SAVE_CFLAGS
="$CFLAGS"
7696 CFLAGS
="$CFLAGS -belf"
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7698 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7699 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7700 $as_echo_n "(cached) " >&6
7703 ac_cpp
='$CPP $CPPFLAGS'
7704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7708 if test x
$gcc_no_link = xyes
; then
7709 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7712 /* end confdefs.h. */
7722 if ac_fn_c_try_link
"$LINENO"; then :
7723 lt_cv_cc_needs_belf
=yes
7725 lt_cv_cc_needs_belf
=no
7727 rm -f core conftest.err conftest.
$ac_objext \
7728 conftest
$ac_exeext conftest.
$ac_ext
7730 ac_cpp
='$CPP $CPPFLAGS'
7731 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7732 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7733 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7737 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7738 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7739 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7740 CFLAGS
="$SAVE_CFLAGS"
7744 # Find out which ABI we are using.
7745 echo 'int i;' > conftest.
$ac_ext
7746 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7747 (eval $ac_compile) 2>&5
7749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7750 test $ac_status = 0; }; then
7751 case `/usr/bin/file conftest.o` in
7753 case $lt_cv_prog_gnu_ld in
7754 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7756 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7768 need_locks
="$enable_libtool_lock"
7772 rhapsody
* | darwin
*)
7773 if test -n "$ac_tool_prefix"; then
7774 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7775 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7777 $as_echo_n "checking for $ac_word... " >&6; }
7778 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7779 $as_echo_n "(cached) " >&6
7781 if test -n "$DSYMUTIL"; then
7782 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7788 test -z "$as_dir" && as_dir
=.
7789 for ac_exec_ext
in '' $ac_executable_extensions; do
7790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7791 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7801 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7802 if test -n "$DSYMUTIL"; then
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7804 $as_echo "$DSYMUTIL" >&6; }
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7807 $as_echo "no" >&6; }
7812 if test -z "$ac_cv_prog_DSYMUTIL"; then
7813 ac_ct_DSYMUTIL
=$DSYMUTIL
7814 # Extract the first word of "dsymutil", so it can be a program name with args.
7815 set dummy dsymutil
; ac_word
=$2
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7817 $as_echo_n "checking for $ac_word... " >&6; }
7818 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7819 $as_echo_n "(cached) " >&6
7821 if test -n "$ac_ct_DSYMUTIL"; then
7822 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7828 test -z "$as_dir" && as_dir
=.
7829 for ac_exec_ext
in '' $ac_executable_extensions; do
7830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7831 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7841 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7842 if test -n "$ac_ct_DSYMUTIL"; then
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7844 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7847 $as_echo "no" >&6; }
7850 if test "x$ac_ct_DSYMUTIL" = x
; then
7853 case $cross_compiling:$ac_tool_warned in
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7857 ac_tool_warned
=yes ;;
7859 DSYMUTIL
=$ac_ct_DSYMUTIL
7862 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7865 if test -n "$ac_tool_prefix"; then
7866 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7867 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7869 $as_echo_n "checking for $ac_word... " >&6; }
7870 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7871 $as_echo_n "(cached) " >&6
7873 if test -n "$NMEDIT"; then
7874 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7880 test -z "$as_dir" && as_dir
=.
7881 for ac_exec_ext
in '' $ac_executable_extensions; do
7882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7883 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7893 NMEDIT
=$ac_cv_prog_NMEDIT
7894 if test -n "$NMEDIT"; then
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7896 $as_echo "$NMEDIT" >&6; }
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7899 $as_echo "no" >&6; }
7904 if test -z "$ac_cv_prog_NMEDIT"; then
7905 ac_ct_NMEDIT
=$NMEDIT
7906 # Extract the first word of "nmedit", so it can be a program name with args.
7907 set dummy nmedit
; ac_word
=$2
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7909 $as_echo_n "checking for $ac_word... " >&6; }
7910 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7911 $as_echo_n "(cached) " >&6
7913 if test -n "$ac_ct_NMEDIT"; then
7914 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7920 test -z "$as_dir" && as_dir
=.
7921 for ac_exec_ext
in '' $ac_executable_extensions; do
7922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7923 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7933 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7934 if test -n "$ac_ct_NMEDIT"; then
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7936 $as_echo "$ac_ct_NMEDIT" >&6; }
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7939 $as_echo "no" >&6; }
7942 if test "x$ac_ct_NMEDIT" = x
; then
7945 case $cross_compiling:$ac_tool_warned in
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7949 ac_tool_warned
=yes ;;
7951 NMEDIT
=$ac_ct_NMEDIT
7954 NMEDIT
="$ac_cv_prog_NMEDIT"
7957 if test -n "$ac_tool_prefix"; then
7958 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7959 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961 $as_echo_n "checking for $ac_word... " >&6; }
7962 if test "${ac_cv_prog_LIPO+set}" = set; then :
7963 $as_echo_n "(cached) " >&6
7965 if test -n "$LIPO"; then
7966 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7972 test -z "$as_dir" && as_dir
=.
7973 for ac_exec_ext
in '' $ac_executable_extensions; do
7974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7975 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7985 LIPO
=$ac_cv_prog_LIPO
7986 if test -n "$LIPO"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7988 $as_echo "$LIPO" >&6; }
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7996 if test -z "$ac_cv_prog_LIPO"; then
7998 # Extract the first word of "lipo", so it can be a program name with args.
7999 set dummy lipo
; ac_word
=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8001 $as_echo_n "checking for $ac_word... " >&6; }
8002 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8003 $as_echo_n "(cached) " >&6
8005 if test -n "$ac_ct_LIPO"; then
8006 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8012 test -z "$as_dir" && as_dir
=.
8013 for ac_exec_ext
in '' $ac_executable_extensions; do
8014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8015 ac_cv_prog_ac_ct_LIPO
="lipo"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8025 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8026 if test -n "$ac_ct_LIPO"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8028 $as_echo "$ac_ct_LIPO" >&6; }
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031 $as_echo "no" >&6; }
8034 if test "x$ac_ct_LIPO" = x
; then
8037 case $cross_compiling:$ac_tool_warned in
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8041 ac_tool_warned
=yes ;;
8046 LIPO
="$ac_cv_prog_LIPO"
8049 if test -n "$ac_tool_prefix"; then
8050 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8051 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8055 $as_echo_n "(cached) " >&6
8057 if test -n "$OTOOL"; then
8058 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8064 test -z "$as_dir" && as_dir
=.
8065 for ac_exec_ext
in '' $ac_executable_extensions; do
8066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8067 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8077 OTOOL
=$ac_cv_prog_OTOOL
8078 if test -n "$OTOOL"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8080 $as_echo "$OTOOL" >&6; }
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8088 if test -z "$ac_cv_prog_OTOOL"; then
8090 # Extract the first word of "otool", so it can be a program name with args.
8091 set dummy otool
; ac_word
=$2
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8093 $as_echo_n "checking for $ac_word... " >&6; }
8094 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8095 $as_echo_n "(cached) " >&6
8097 if test -n "$ac_ct_OTOOL"; then
8098 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8104 test -z "$as_dir" && as_dir
=.
8105 for ac_exec_ext
in '' $ac_executable_extensions; do
8106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8107 ac_cv_prog_ac_ct_OTOOL
="otool"
8108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8117 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8118 if test -n "$ac_ct_OTOOL"; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8120 $as_echo "$ac_ct_OTOOL" >&6; }
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8123 $as_echo "no" >&6; }
8126 if test "x$ac_ct_OTOOL" = x
; then
8129 case $cross_compiling:$ac_tool_warned in
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8133 ac_tool_warned
=yes ;;
8138 OTOOL
="$ac_cv_prog_OTOOL"
8141 if test -n "$ac_tool_prefix"; then
8142 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8143 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8145 $as_echo_n "checking for $ac_word... " >&6; }
8146 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8147 $as_echo_n "(cached) " >&6
8149 if test -n "$OTOOL64"; then
8150 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8156 test -z "$as_dir" && as_dir
=.
8157 for ac_exec_ext
in '' $ac_executable_extensions; do
8158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8159 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8169 OTOOL64
=$ac_cv_prog_OTOOL64
8170 if test -n "$OTOOL64"; then
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8172 $as_echo "$OTOOL64" >&6; }
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8175 $as_echo "no" >&6; }
8180 if test -z "$ac_cv_prog_OTOOL64"; then
8181 ac_ct_OTOOL64
=$OTOOL64
8182 # Extract the first word of "otool64", so it can be a program name with args.
8183 set dummy otool64
; ac_word
=$2
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8185 $as_echo_n "checking for $ac_word... " >&6; }
8186 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8187 $as_echo_n "(cached) " >&6
8189 if test -n "$ac_ct_OTOOL64"; then
8190 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8196 test -z "$as_dir" && as_dir
=.
8197 for ac_exec_ext
in '' $ac_executable_extensions; do
8198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8199 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8209 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8210 if test -n "$ac_ct_OTOOL64"; then
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8212 $as_echo "$ac_ct_OTOOL64" >&6; }
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8215 $as_echo "no" >&6; }
8218 if test "x$ac_ct_OTOOL64" = x
; then
8221 case $cross_compiling:$ac_tool_warned in
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8225 ac_tool_warned
=yes ;;
8227 OTOOL64
=$ac_ct_OTOOL64
8230 OTOOL64
="$ac_cv_prog_OTOOL64"
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8260 $as_echo_n "checking for -single_module linker flag... " >&6; }
8261 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8262 $as_echo_n "(cached) " >&6
8264 lt_cv_apple_cc_single_mod
=no
8265 if test -z "${LT_MULTI_MODULE}"; then
8266 # By default we will add the -single_module flag. You can override
8267 # by either setting the environment variable LT_MULTI_MODULE
8268 # non-empty at configure time, or by adding -multi_module to the
8270 rm -rf libconftest.dylib
*
8271 echo "int foo(void){return 1;}" > conftest.c
8272 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8273 -dynamiclib -Wl,-single_module conftest.c" >&5
8274 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8275 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8277 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8278 lt_cv_apple_cc_single_mod
=yes
8280 cat conftest.err
>&5
8282 rm -rf libconftest.dylib
*
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8287 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8289 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8290 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8291 $as_echo_n "(cached) " >&6
8293 lt_cv_ld_exported_symbols_list
=no
8294 save_LDFLAGS
=$LDFLAGS
8295 echo "_main" > conftest.sym
8296 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8297 if test x
$gcc_no_link = xyes
; then
8298 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8301 /* end confdefs.h. */
8311 if ac_fn_c_try_link
"$LINENO"; then :
8312 lt_cv_ld_exported_symbols_list
=yes
8314 lt_cv_ld_exported_symbols_list
=no
8316 rm -f core conftest.err conftest.
$ac_objext \
8317 conftest
$ac_exeext conftest.
$ac_ext
8318 LDFLAGS
="$save_LDFLAGS"
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8322 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8324 $as_echo_n "checking for -force_load linker flag... " >&6; }
8325 if test "${lt_cv_ld_force_load+set}" = set; then :
8326 $as_echo_n "(cached) " >&6
8328 lt_cv_ld_force_load
=no
8329 cat > conftest.c
<< _LT_EOF
8330 int forced_loaded() { return 2;}
8332 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8333 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8334 echo "$AR cru libconftest.a conftest.o" >&5
8335 $AR cru libconftest.a conftest.o
2>&5
8336 cat > conftest.c
<< _LT_EOF
8337 int main() { return 0;}
8339 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8340 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8342 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8343 lt_cv_ld_force_load
=yes
8345 cat conftest.err
>&5
8347 rm -f conftest.err libconftest.a conftest conftest.c
8348 rm -rf conftest.dSYM
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8352 $as_echo "$lt_cv_ld_force_load" >&6; }
8354 rhapsody
* | darwin1.
[012])
8355 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8357 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8358 darwin
*) # darwin 5.x on
8359 # if running on 10.5 or later, the deployment target defaults
8360 # to the OS version, if on x86, and 10.4, the deployment
8361 # target defaults to 10.4. Don't you love it?
8362 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8363 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8364 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8366 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8368 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8372 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8373 _lt_dar_single_mod
='$single_module'
8375 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8376 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8378 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8380 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8381 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8388 for ac_header
in dlfcn.h
8390 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8392 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8393 cat >>confdefs.h
<<_ACEOF
8394 #define HAVE_DLFCN_H 1
8415 # Check whether --enable-shared was given.
8416 if test "${enable_shared+set}" = set; then :
8417 enableval
=$enable_shared; p
=${PACKAGE-default}
8419 yes) enable_shared
=yes ;;
8420 no
) enable_shared
=no
;;
8423 # Look at the argument we got. We use all the common list separators.
8424 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8425 for pkg
in $enableval; do
8427 if test "X$pkg" = "X$p"; then
8448 # Check whether --with-pic was given.
8449 if test "${with_pic+set}" = set; then :
8450 withval
=$with_pic; pic_mode
="$withval"
8456 test -z "$pic_mode" && pic_mode
=default
8464 # Check whether --enable-fast-install was given.
8465 if test "${enable_fast_install+set}" = set; then :
8466 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8468 yes) enable_fast_install
=yes ;;
8469 no
) enable_fast_install
=no
;;
8471 enable_fast_install
=no
8472 # Look at the argument we got. We use all the common list separators.
8473 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8474 for pkg
in $enableval; do
8476 if test "X$pkg" = "X$p"; then
8477 enable_fast_install
=yes
8484 enable_fast_install
=yes
8497 # This can be used to rebuild libtool when needed
8498 LIBTOOL_DEPS
="$ltmain"
8500 # Always use our own libtool.
8501 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8528 test -z "$LN_S" && LN_S
="ln -s"
8543 if test -n "${ZSH_VERSION+set}" ; then
8544 setopt NO_GLOB_SUBST
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8548 $as_echo_n "checking for objdir... " >&6; }
8549 if test "${lt_cv_objdir+set}" = set; then :
8550 $as_echo_n "(cached) " >&6
8552 rm -f .libs
2>/dev
/null
8553 mkdir .libs
2>/dev
/null
8554 if test -d .libs
; then
8557 # MS-DOS does not allow filenames that begin with a dot.
8560 rmdir .libs
2>/dev
/null
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8563 $as_echo "$lt_cv_objdir" >&6; }
8564 objdir
=$lt_cv_objdir
8570 cat >>confdefs.h
<<_ACEOF
8571 #define LT_OBJDIR "$lt_cv_objdir/"
8579 # AIX sometimes has problems with the GCC collect2 program. For some
8580 # reason, if we set the COLLECT_NAMES environment variable, the problems
8581 # vanish in a puff of smoke.
8582 if test "X${COLLECT_NAMES+set}" != Xset
; then
8584 export COLLECT_NAMES
8591 can_build_shared
=yes
8593 # All known linkers require a `.a' archive for static linking (except MSVC,
8594 # which needs '.lib').
8597 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8600 old_CFLAGS
="$CFLAGS"
8602 # Set sane defaults for various variables
8603 test -z "$CC" && CC
=cc
8604 test -z "$LTCC" && LTCC
=$CC
8605 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8606 test -z "$LD" && LD
=ld
8607 test -z "$ac_objext" && ac_objext
=o
8609 for cc_temp
in $compiler""; do
8611 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8612 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8617 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8620 # Only perform the check for file, if the check method requires it
8621 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8622 case $deplibs_check_method in
8624 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8626 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8627 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8628 $as_echo_n "(cached) " >&6
8632 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8635 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8636 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8637 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8638 for ac_dir
in $ac_dummy; do
8640 test -z "$ac_dir" && ac_dir
=.
8641 if test -f $ac_dir/${ac_tool_prefix}file; then
8642 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8643 if test -n "$file_magic_test_file"; then
8644 case $deplibs_check_method in
8646 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8647 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8648 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8649 $EGREP "$file_magic_regex" > /dev
/null
; then
8654 *** Warning: the command libtool uses to detect shared libraries,
8655 *** $file_magic_cmd, produces output that libtool cannot recognize.
8656 *** The result is that libtool may fail to recognize shared libraries
8657 *** as such. This will affect the creation of libtool libraries that
8658 *** depend on shared libraries, but programs linked with such libtool
8659 *** libraries will work regardless of this problem. Nevertheless, you
8660 *** may want to report the problem to your system manager and/or to
8661 *** bug-libtool@gnu.org
8671 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8676 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8677 if test -n "$MAGIC_CMD"; then
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8679 $as_echo "$MAGIC_CMD" >&6; }
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8682 $as_echo "no" >&6; }
8689 if test -z "$lt_cv_path_MAGIC_CMD"; then
8690 if test -n "$ac_tool_prefix"; then
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8692 $as_echo_n "checking for file... " >&6; }
8693 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8694 $as_echo_n "(cached) " >&6
8698 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8701 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8702 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8703 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8704 for ac_dir
in $ac_dummy; do
8706 test -z "$ac_dir" && ac_dir
=.
8707 if test -f $ac_dir/file; then
8708 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8709 if test -n "$file_magic_test_file"; then
8710 case $deplibs_check_method in
8712 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8713 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8714 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8715 $EGREP "$file_magic_regex" > /dev
/null
; then
8720 *** Warning: the command libtool uses to detect shared libraries,
8721 *** $file_magic_cmd, produces output that libtool cannot recognize.
8722 *** The result is that libtool may fail to recognize shared libraries
8723 *** as such. This will affect the creation of libtool libraries that
8724 *** depend on shared libraries, but programs linked with such libtool
8725 *** libraries will work regardless of this problem. Nevertheless, you
8726 *** may want to report the problem to your system manager and/or to
8727 *** bug-libtool@gnu.org
8737 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8742 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8743 if test -n "$MAGIC_CMD"; then
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8745 $as_echo "$MAGIC_CMD" >&6; }
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8748 $as_echo "no" >&6; }
8761 # Use C for the default configuration in the libtool script
8765 ac_cpp
='$CPP $CPPFLAGS'
8766 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8767 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8768 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8771 # Source file extension for C test sources.
8774 # Object file extension for compiled C test sources.
8778 # Code to be used in simple compile tests
8779 lt_simple_compile_test_code
="int some_variable = 0;"
8781 # Code to be used in simple link tests
8782 lt_simple_link_test_code
='int main(){return(0);}'
8790 # If no C compiler was specified, use CC.
8793 # If no C compiler flags were specified, use CFLAGS.
8794 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8796 # Allow CC to be a program name with arguments.
8799 # Save the default compiler, since it gets overwritten when the other
8800 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8801 compiler_DEFAULT
=$CC
8803 # save warnings/boilerplate of simple test code
8804 ac_outfile
=conftest.
$ac_objext
8805 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8806 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8807 _lt_compiler_boilerplate
=`cat conftest.err`
8810 ac_outfile
=conftest.
$ac_objext
8811 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8812 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8813 _lt_linker_boilerplate
=`cat conftest.err`
8818 ## There is no encapsulation within the following macros, do not change
8819 ## the running order or otherwise move them around unless you know exactly
8820 ## what you are doing...
8821 if test -n "$compiler"; then
8823 lt_prog_compiler_no_builtin_flag
=
8825 if test "$GCC" = yes; then
8826 case $cc_basename in
8828 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8830 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8834 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8835 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8836 $as_echo_n "(cached) " >&6
8838 lt_cv_prog_compiler_rtti_exceptions
=no
8839 ac_outfile
=conftest.
$ac_objext
8840 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8841 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8842 # Insert the option either (1) after the last *FLAGS variable, or
8843 # (2) before a word containing "conftest.", or (3) at the end.
8844 # Note that $ac_compile itself does not contain backslashes and begins
8845 # with a dollar sign (not a hyphen), so the echo should work correctly.
8846 # The option is referenced via a variable to avoid confusing sed.
8847 lt_compile
=`echo "$ac_compile" | $SED \
8848 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8849 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8850 -e 's:$: $lt_compiler_flag:'`
8851 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8852 (eval "$lt_compile" 2>conftest.err
)
8854 cat conftest.err
>&5
8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 if (exit $ac_status) && test -s "$ac_outfile"; then
8857 # The compiler can only warn and ignore the option if not recognized
8858 # So say no if there are warnings other than the usual output.
8859 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8860 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8861 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8862 lt_cv_prog_compiler_rtti_exceptions
=yes
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8869 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8871 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8872 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8884 lt_prog_compiler_wl
=
8885 lt_prog_compiler_pic
=
8886 lt_prog_compiler_static
=
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8889 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8891 if test "$GCC" = yes; then
8892 lt_prog_compiler_wl
='-Wl,'
8893 lt_prog_compiler_static
='-static'
8897 # All AIX code is PIC.
8898 if test "$host_cpu" = ia64
; then
8899 # AIX 5 now supports IA64 processor
8900 lt_prog_compiler_static
='-Bstatic'
8902 lt_prog_compiler_pic
='-fPIC'
8908 # see comment about AmigaOS4 .so support
8909 lt_prog_compiler_pic
='-fPIC'
8912 # FIXME: we need at least 68020 code to build shared libraries, but
8913 # adding the `-m68020' flag to GCC prevents building anything better,
8915 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8920 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8921 # PIC is the default for these OSes.
8924 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8925 # This hack is so that the source file can tell whether it is being
8926 # built for inclusion in a dll (and should export symbols for example).
8927 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8928 # (--disable-auto-import) libraries
8929 lt_prog_compiler_pic
='-DDLL_EXPORT'
8932 darwin
* | rhapsody
*)
8933 # PIC is the default on this platform
8934 # Common symbols not allowed in MH_DYLIB files
8935 lt_prog_compiler_pic
='-fno-common'
8939 # PIC is the default for Haiku.
8940 # The "-static" flag exists, but is broken.
8941 lt_prog_compiler_static
=
8945 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8946 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8947 # sets the default TLS model and affects inlining.
8953 lt_prog_compiler_pic
='-fPIC'
8959 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8960 # Instead, we relocate shared libraries at runtime.
8964 # Just because we use GCC doesn't mean we suddenly get shared libraries
8965 # on systems that don't support them.
8966 lt_prog_compiler_can_build_shared
=no
8971 # QNX uses GNU C++, but need to define -shared option too, otherwise
8973 lt_prog_compiler_pic
='-fPIC -shared'
8977 if test -d /usr
/nec
; then
8978 lt_prog_compiler_pic
=-Kconform_pic
8983 lt_prog_compiler_pic
='-fPIC'
8987 case $cc_basename in
8988 nvcc
*) # Cuda Compiler Driver 2.2
8989 lt_prog_compiler_wl
='-Xlinker '
8990 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8994 # PORTME Check for flag to pass linker flags through the system compiler.
8997 lt_prog_compiler_wl
='-Wl,'
8998 if test "$host_cpu" = ia64
; then
8999 # AIX 5 now supports IA64 processor
9000 lt_prog_compiler_static
='-Bstatic'
9002 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9006 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9007 # This hack is so that the source file can tell whether it is being
9008 # built for inclusion in a dll (and should export symbols for example).
9009 lt_prog_compiler_pic
='-DDLL_EXPORT'
9012 hpux9
* | hpux10
* | hpux11
*)
9013 lt_prog_compiler_wl
='-Wl,'
9014 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9021 lt_prog_compiler_pic
='+Z'
9024 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9025 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9028 irix5
* | irix6
* | nonstopux
*)
9029 lt_prog_compiler_wl
='-Wl,'
9030 # PIC (with -KPIC) is the default.
9031 lt_prog_compiler_static
='-non_shared'
9034 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9035 case $cc_basename in
9036 # old Intel for x86_64 which still supported -KPIC.
9038 lt_prog_compiler_wl
='-Wl,'
9039 lt_prog_compiler_pic
='-KPIC'
9040 lt_prog_compiler_static
='-static'
9042 # icc used to be incompatible with GCC.
9043 # ICC 10 doesn't accept -KPIC any more.
9045 lt_prog_compiler_wl
='-Wl,'
9046 lt_prog_compiler_pic
='-fPIC'
9047 lt_prog_compiler_static
='-static'
9049 # Lahey Fortran 8.1.
9051 lt_prog_compiler_wl
='-Wl,'
9052 lt_prog_compiler_pic
='--shared'
9053 lt_prog_compiler_static
='--static'
9055 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9056 # Portland Group compilers (*not* the Pentium gcc compiler,
9057 # which looks to be a dead project)
9058 lt_prog_compiler_wl
='-Wl,'
9059 lt_prog_compiler_pic
='-fpic'
9060 lt_prog_compiler_static
='-Bstatic'
9063 lt_prog_compiler_wl
='-Wl,'
9064 # All Alpha code is PIC.
9065 lt_prog_compiler_static
='-non_shared'
9067 xl
* | bgxl
* | bgf
* | mpixl
*)
9068 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9069 lt_prog_compiler_wl
='-Wl,'
9070 lt_prog_compiler_pic
='-qpic'
9071 lt_prog_compiler_static
='-qstaticlink'
9074 case `$CC -V 2>&1 | sed 5q` in
9075 *Sun\ F
* |
*Sun
*Fortran
*)
9076 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9077 lt_prog_compiler_pic
='-KPIC'
9078 lt_prog_compiler_static
='-Bstatic'
9079 lt_prog_compiler_wl
=''
9083 lt_prog_compiler_pic
='-KPIC'
9084 lt_prog_compiler_static
='-Bstatic'
9085 lt_prog_compiler_wl
='-Wl,'
9093 lt_prog_compiler_pic
='-KPIC'
9094 lt_prog_compiler_static
='-Bstatic'
9098 # QNX uses GNU C++, but need to define -shared option too, otherwise
9100 lt_prog_compiler_pic
='-fPIC -shared'
9103 osf3
* | osf4
* | osf5
*)
9104 lt_prog_compiler_wl
='-Wl,'
9105 # All OSF/1 code is PIC.
9106 lt_prog_compiler_static
='-non_shared'
9110 lt_prog_compiler_static
='-non_shared'
9114 lt_prog_compiler_pic
='-KPIC'
9115 lt_prog_compiler_static
='-Bstatic'
9116 case $cc_basename in
9118 lt_prog_compiler_wl
='-Qoption ld ';;
9120 lt_prog_compiler_wl
='-Wl,';;
9125 lt_prog_compiler_wl
='-Qoption ld '
9126 lt_prog_compiler_pic
='-PIC'
9127 lt_prog_compiler_static
='-Bstatic'
9130 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9131 lt_prog_compiler_wl
='-Wl,'
9132 lt_prog_compiler_pic
='-KPIC'
9133 lt_prog_compiler_static
='-Bstatic'
9137 if test -d /usr
/nec
;then
9138 lt_prog_compiler_pic
='-Kconform_pic'
9139 lt_prog_compiler_static
='-Bstatic'
9143 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9144 lt_prog_compiler_wl
='-Wl,'
9145 lt_prog_compiler_pic
='-KPIC'
9146 lt_prog_compiler_static
='-Bstatic'
9150 lt_prog_compiler_wl
='-Wl,'
9151 lt_prog_compiler_can_build_shared
=no
9155 lt_prog_compiler_pic
='-pic'
9156 lt_prog_compiler_static
='-Bstatic'
9160 lt_prog_compiler_can_build_shared
=no
9166 # For platforms which do not support PIC, -DPIC is meaningless:
9168 lt_prog_compiler_pic
=
9171 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9175 $as_echo "$lt_prog_compiler_pic" >&6; }
9183 # Check to make sure the PIC flag actually works.
9185 if test -n "$lt_prog_compiler_pic"; then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9187 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9188 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9189 $as_echo_n "(cached) " >&6
9191 lt_cv_prog_compiler_pic_works
=no
9192 ac_outfile
=conftest.
$ac_objext
9193 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9194 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9195 # Insert the option either (1) after the last *FLAGS variable, or
9196 # (2) before a word containing "conftest.", or (3) at the end.
9197 # Note that $ac_compile itself does not contain backslashes and begins
9198 # with a dollar sign (not a hyphen), so the echo should work correctly.
9199 # The option is referenced via a variable to avoid confusing sed.
9200 lt_compile
=`echo "$ac_compile" | $SED \
9201 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9202 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9203 -e 's:$: $lt_compiler_flag:'`
9204 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9205 (eval "$lt_compile" 2>conftest.err
)
9207 cat conftest.err
>&5
9208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9209 if (exit $ac_status) && test -s "$ac_outfile"; then
9210 # The compiler can only warn and ignore the option if not recognized
9211 # So say no if there are warnings other than the usual output.
9212 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9213 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9214 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9215 lt_cv_prog_compiler_pic_works
=yes
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9222 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9224 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9225 case $lt_prog_compiler_pic in
9227 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9230 lt_prog_compiler_pic
=
9231 lt_prog_compiler_can_build_shared
=no
9242 # Check to make sure the static flag actually works.
9244 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9246 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9247 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9248 $as_echo_n "(cached) " >&6
9250 lt_cv_prog_compiler_static_works
=no
9251 save_LDFLAGS
="$LDFLAGS"
9252 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9253 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9254 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9255 # The linker can only warn and ignore the option if not recognized
9256 # So say no if there are warnings
9257 if test -s conftest.err
; then
9258 # Append any errors to the config.log.
9259 cat conftest.err
1>&5
9260 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9261 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9262 if diff conftest.exp conftest.er2
>/dev
/null
; then
9263 lt_cv_prog_compiler_static_works
=yes
9266 lt_cv_prog_compiler_static_works
=yes
9270 LDFLAGS
="$save_LDFLAGS"
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9274 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9276 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9279 lt_prog_compiler_static
=
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9289 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9290 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9291 $as_echo_n "(cached) " >&6
9293 lt_cv_prog_compiler_c_o
=no
9294 $RM -r conftest
2>/dev
/null
9298 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9300 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9301 # Insert the option either (1) after the last *FLAGS variable, or
9302 # (2) before a word containing "conftest.", or (3) at the end.
9303 # Note that $ac_compile itself does not contain backslashes and begins
9304 # with a dollar sign (not a hyphen), so the echo should work correctly.
9305 lt_compile
=`echo "$ac_compile" | $SED \
9306 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9307 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9308 -e 's:$: $lt_compiler_flag:'`
9309 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9310 (eval "$lt_compile" 2>out
/conftest.err
)
9312 cat out
/conftest.err
>&5
9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9316 # The compiler can only warn and ignore the option if not recognized
9317 # So say no if there are warnings
9318 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9319 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9320 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9321 lt_cv_prog_compiler_c_o
=yes
9326 # SGI C++ compiler will create directory out/ii_files/ for
9327 # template instantiation
9328 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9329 $RM out
/* && rmdir out
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9336 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9344 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9345 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9346 $as_echo_n "(cached) " >&6
9348 lt_cv_prog_compiler_c_o
=no
9349 $RM -r conftest
2>/dev
/null
9353 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9355 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9356 # Insert the option either (1) after the last *FLAGS variable, or
9357 # (2) before a word containing "conftest.", or (3) at the end.
9358 # Note that $ac_compile itself does not contain backslashes and begins
9359 # with a dollar sign (not a hyphen), so the echo should work correctly.
9360 lt_compile
=`echo "$ac_compile" | $SED \
9361 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9362 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9363 -e 's:$: $lt_compiler_flag:'`
9364 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9365 (eval "$lt_compile" 2>out
/conftest.err
)
9367 cat out
/conftest.err
>&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9371 # The compiler can only warn and ignore the option if not recognized
9372 # So say no if there are warnings
9373 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9374 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9375 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9376 lt_cv_prog_compiler_c_o
=yes
9381 # SGI C++ compiler will create directory out/ii_files/ for
9382 # template instantiation
9383 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9384 $RM out
/* && rmdir out
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9391 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9396 hard_links
="nottested"
9397 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9398 # do not overwrite the value of need_locks provided by the user
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9400 $as_echo_n "checking if we can lock with hard links... " >&6; }
9403 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9405 ln conftest.a conftest.b
2>&5 || hard_links
=no
9406 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9408 $as_echo "$hard_links" >&6; }
9409 if test "$hard_links" = no
; then
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9411 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9424 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9427 allow_undefined_flag
=
9428 always_export_symbols
=no
9430 archive_expsym_cmds
=
9431 compiler_needs_object
=no
9432 enable_shared_with_static_runtimes
=no
9433 export_dynamic_flag_spec
=
9434 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9435 hardcode_automatic
=no
9437 hardcode_direct_absolute
=no
9438 hardcode_libdir_flag_spec
=
9439 hardcode_libdir_flag_spec_ld
=
9440 hardcode_libdir_separator
=
9442 hardcode_shlibpath_var
=unsupported
9444 link_all_deplibs
=unknown
9447 old_archive_from_new_cmds
=
9448 old_archive_from_expsyms_cmds
=
9449 thread_safe_flag_spec
=
9450 whole_archive_flag_spec
=
9451 # include_expsyms should be a list of space-separated symbols to be *always*
9452 # included in the symbol list
9454 # exclude_expsyms can be an extended regexp of symbols to exclude
9455 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9456 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9457 # as well as any symbol that contains `d'.
9458 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9459 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9460 # platforms (ab)use it in PIC code, but their linkers get confused if
9461 # the symbol is explicitly referenced. Since portable code cannot
9462 # rely on this symbol name, it's probably fine to never include it in
9463 # preloaded symbol tables.
9464 # Exclude shared library initialization/finalization symbols.
9465 extract_expsyms_cmds
=
9468 cygwin
* | mingw
* | pw32
* | cegcc
*)
9469 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9470 # When not using gcc, we currently assume that we are using
9471 # Microsoft Visual C++.
9472 if test "$GCC" != yes; then
9477 # we just hope/assume this is gcc and not c89 (= MSVC++)
9487 # On some targets, GNU ld is compatible enough with the native linker
9488 # that we're better off using the native interface for both.
9489 lt_use_gnu_ld_interface
=no
9490 if test "$with_gnu_ld" = yes; then
9493 # The AIX port of GNU ld has always aspired to compatibility
9494 # with the native linker. However, as the warning in the GNU ld
9495 # block says, versions before 2.19.5* couldn't really create working
9496 # shared libraries, regardless of the interface used.
9497 case `$LD -v 2>&1` in
9498 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9499 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9500 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9502 lt_use_gnu_ld_interface
=yes
9507 lt_use_gnu_ld_interface
=yes
9512 if test "$lt_use_gnu_ld_interface" = yes; then
9513 # If archive_cmds runs LD, not CC, wlarc should be empty
9516 # Set some defaults for GNU ld with shared library support. These
9517 # are reset later if shared libraries are not supported. Putting them
9518 # here allows them to be overridden if necessary.
9519 runpath_var
=LD_RUN_PATH
9520 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9521 export_dynamic_flag_spec
='${wl}--export-dynamic'
9522 # ancient GNU ld didn't support --whole-archive et. al.
9523 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9524 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9526 whole_archive_flag_spec
=
9528 supports_anon_versioning
=no
9529 case `$LD -v 2>&1` in
9530 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9531 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9532 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9533 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9534 *\
2.11.
*) ;; # other 2.11 versions
9535 *) supports_anon_versioning
=yes ;;
9538 # See if GNU ld supports shared libraries.
9541 # On AIX/PPC, the GNU linker is very broken
9542 if test "$host_cpu" != ia64
; then
9546 *** Warning: the GNU linker, at least up to release 2.19, is reported
9547 *** to be unable to reliably create shared libraries on AIX.
9548 *** Therefore, libtool is disabling shared libraries support. If you
9549 *** really care for shared libraries, you may want to install binutils
9550 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9551 *** You will then need to restart the configuration process.
9560 # see comment about AmigaOS4 .so support
9561 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9562 archive_expsym_cmds
=''
9565 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)'
9566 hardcode_libdir_flag_spec
='-L$libdir'
9567 hardcode_minus_L
=yes
9573 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9574 allow_undefined_flag
=unsupported
9575 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9576 # support --undefined. This deserves some investigation. FIXME
9577 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9583 cygwin
* | mingw
* | pw32
* | cegcc
*)
9584 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9585 # as there is no search path for DLLs.
9586 hardcode_libdir_flag_spec
='-L$libdir'
9587 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9588 allow_undefined_flag
=unsupported
9589 always_export_symbols
=no
9590 enable_shared_with_static_runtimes
=yes
9591 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9593 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9594 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9595 # If the export-symbols file already is a .def file (1st line
9596 # is EXPORTS), use it as is; otherwise, prepend...
9597 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9598 cp $export_symbols $output_objdir/$soname.def;
9600 echo EXPORTS > $output_objdir/$soname.def;
9601 cat $export_symbols >> $output_objdir/$soname.def;
9603 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9610 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9611 link_all_deplibs
=yes
9616 hardcode_shlibpath_var
=no
9617 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9618 export_dynamic_flag_spec
='${wl}-E'
9619 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9620 # Instead, shared libraries are loaded at an image base (0x10000000 by
9621 # default) and relocated if they conflict, which is a slow very memory
9622 # consuming and fragmenting process. To avoid this, we pick a random,
9623 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9624 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9625 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9626 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'
9629 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9631 if test "$host_os" = linux-dietlibc
; then
9632 case $cc_basename in
9633 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9636 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9637 && test "$tmp_diet" = no
9640 tmp_sharedflag
='-shared'
9641 case $cc_basename,$host_cpu in
9642 pgcc
*) # Portland Group C compiler
9643 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'
9644 tmp_addflag
=' $pic_flag'
9646 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9647 # Portland Group f77 and f90 compilers
9648 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'
9649 tmp_addflag
=' $pic_flag -Mnomain' ;;
9650 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9651 tmp_addflag
=' -i_dynamic' ;;
9652 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9653 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9654 ifc
* | ifort
*) # Intel Fortran compiler
9655 tmp_addflag
=' -nofor_main' ;;
9656 lf95
*) # Lahey Fortran 8.1
9657 whole_archive_flag_spec
=
9658 tmp_sharedflag
='--shared' ;;
9659 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9660 tmp_sharedflag
='-qmkshrobj'
9662 nvcc
*) # Cuda Compiler Driver 2.2
9663 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'
9664 compiler_needs_object
=yes
9667 case `$CC -V 2>&1 | sed 5q` in
9668 *Sun\ C
*) # Sun C 5.9
9669 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'
9670 compiler_needs_object
=yes
9671 tmp_sharedflag
='-G' ;;
9672 *Sun\ F
*) # Sun Fortran 8.3
9673 tmp_sharedflag
='-G' ;;
9675 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9677 if test "x$supports_anon_versioning" = xyes
; then
9678 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9679 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9680 echo "local: *; };" >> $output_objdir/$libname.ver~
9681 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9684 case $cc_basename in
9685 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9686 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9687 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9688 hardcode_libdir_flag_spec
=
9689 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9690 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9691 if test "x$supports_anon_versioning" = xyes
; then
9692 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9693 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9694 echo "local: *; };" >> $output_objdir/$libname.ver~
9695 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9705 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9706 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9709 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9710 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9715 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9719 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9720 *** create shared libraries on Solaris systems. Therefore, libtool
9721 *** is disabling shared libraries support. We urge you to upgrade GNU
9722 *** binutils to release 2.9.1 or newer. Another option is to modify
9723 *** your PATH or compiler configuration so that the native linker is
9724 *** used, and then restart.
9727 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9728 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9729 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9735 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9736 case `$LD -v 2>&1` in
9737 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9741 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9742 *** reliably create shared libraries on SCO systems. Therefore, libtool
9743 *** is disabling shared libraries support. We urge you to upgrade GNU
9744 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9745 *** your PATH or compiler configuration so that the native linker is
9746 *** used, and then restart.
9751 # For security reasons, it is highly recommended that you always
9752 # use absolute paths for naming shared libraries, and exclude the
9753 # DT_RUNPATH tag from executables and libraries. But doing so
9754 # requires that you compile everything twice, which is a pain.
9755 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9756 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9757 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9758 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9767 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9770 hardcode_shlibpath_var
=no
9774 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9775 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9776 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9783 if test "$ld_shlibs" = no
; then
9785 hardcode_libdir_flag_spec
=
9786 export_dynamic_flag_spec
=
9787 whole_archive_flag_spec
=
9790 # PORTME fill in a description of your system's linker (not GNU ld)
9793 allow_undefined_flag
=unsupported
9794 always_export_symbols
=yes
9795 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'
9796 # Note: this linker hardcodes the directories in LIBPATH if there
9797 # are no directories specified by -L.
9798 hardcode_minus_L
=yes
9799 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9800 # Neither direct hardcoding nor static linking is supported with a
9802 hardcode_direct
=unsupported
9807 if test "$host_cpu" = ia64
; then
9808 # On IA64, the linker does run time linking by default, so we don't
9809 # have to do anything special.
9810 aix_use_runtimelinking
=no
9811 exp_sym_flag
='-Bexport'
9814 # If we're using GNU nm, then we don't want the "-C" option.
9815 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9816 # Also, AIX nm treats weak defined symbols like other global
9817 # defined symbols, whereas GNU nm marks them as "W".
9818 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9819 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'
9821 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'
9823 aix_use_runtimelinking
=no
9825 # Test if we are trying to use run time linking or normal
9826 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9827 # need to do runtime linking.
9828 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9829 for ld_flag
in $LDFLAGS; do
9830 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9831 aix_use_runtimelinking
=yes
9838 exp_sym_flag
='-bexport'
9839 no_entry_flag
='-bnoentry'
9842 # When large executables or shared objects are built, AIX ld can
9843 # have problems creating the table of contents. If linking a library
9844 # or program results in "error TOC overflow" add -mminimal-toc to
9845 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9846 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9850 hardcode_direct_absolute
=yes
9851 hardcode_libdir_separator
=':'
9852 link_all_deplibs
=yes
9853 file_list_spec
='${wl}-f,'
9855 if test "$GCC" = yes; then
9856 case $host_os in aix4.
[012]|aix4.
[012].
*)
9857 # We only want to do this on AIX 4.2 and lower, the check
9858 # below for broken collect2 doesn't work under 4.3+
9859 collect2name
=`${CC} -print-prog-name=collect2`
9860 if test -f "$collect2name" &&
9861 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9863 # We have reworked collect2
9866 # We have old collect2
9867 hardcode_direct
=unsupported
9868 # It fails to find uninstalled libraries when the uninstalled
9869 # path is not listed in the libpath. Setting hardcode_minus_L
9870 # to unsupported forces relinking
9871 hardcode_minus_L
=yes
9872 hardcode_libdir_flag_spec
='-L$libdir'
9873 hardcode_libdir_separator
=
9877 shared_flag
='-shared'
9878 if test "$aix_use_runtimelinking" = yes; then
9879 shared_flag
="$shared_flag "'${wl}-G'
9883 if test "$host_cpu" = ia64
; then
9884 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9885 # chokes on -Wl,-G. The following line is correct:
9888 if test "$aix_use_runtimelinking" = yes; then
9889 shared_flag
='${wl}-G'
9891 shared_flag
='${wl}-bM:SRE'
9896 export_dynamic_flag_spec
='${wl}-bexpall'
9897 # It seems that -bexpall does not export symbols beginning with
9898 # underscore (_), so it is better to generate a list of symbols to export.
9899 always_export_symbols
=yes
9900 if test "$aix_use_runtimelinking" = yes; then
9901 # Warning - without using the other runtime loading flags (-brtl),
9902 # -berok will link without error, but may produce a broken library.
9903 allow_undefined_flag
='-berok'
9904 # Determine the default libpath from the value encoded in an
9906 if test x
$gcc_no_link = xyes
; then
9907 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9920 if ac_fn_c_try_link
"$LINENO"; then :
9922 lt_aix_libpath_sed
='
9923 /Import File Strings/,/^$/ {
9929 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9930 # Check for a 64-bit object if we didn't find anything.
9931 if test -z "$aix_libpath"; then
9932 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9935 rm -f core conftest.err conftest.
$ac_objext \
9936 conftest
$ac_exeext conftest.
$ac_ext
9937 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9939 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9940 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"
9942 if test "$host_cpu" = ia64
; then
9943 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9944 allow_undefined_flag
="-z nodefs"
9945 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"
9947 # Determine the default libpath from the value encoded in an
9949 if test x
$gcc_no_link = xyes
; then
9950 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9953 /* end confdefs.h. */
9963 if ac_fn_c_try_link
"$LINENO"; then :
9965 lt_aix_libpath_sed
='
9966 /Import File Strings/,/^$/ {
9972 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9973 # Check for a 64-bit object if we didn't find anything.
9974 if test -z "$aix_libpath"; then
9975 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9978 rm -f core conftest.err conftest.
$ac_objext \
9979 conftest
$ac_exeext conftest.
$ac_ext
9980 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9982 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9983 # Warning - without using the other run time loading flags,
9984 # -berok will link without error, but may produce a broken library.
9985 no_undefined_flag
=' ${wl}-bernotok'
9986 allow_undefined_flag
=' ${wl}-berok'
9987 if test "$with_gnu_ld" = yes; then
9988 # We only use this code for GNU lds that support --whole-archive.
9989 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9991 # Exported symbols can be pulled into shared objects from archives
9992 whole_archive_flag_spec
='$convenience'
9994 archive_cmds_need_lc
=yes
9995 # This is similar to how AIX traditionally builds its shared libraries.
9996 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'
10004 # see comment about AmigaOS4 .so support
10005 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10006 archive_expsym_cmds
=''
10009 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)'
10010 hardcode_libdir_flag_spec
='-L$libdir'
10011 hardcode_minus_L
=yes
10017 export_dynamic_flag_spec
=-rdynamic
10020 cygwin
* | mingw
* | pw32
* | cegcc
*)
10021 # When not using gcc, we currently assume that we are using
10022 # Microsoft Visual C++.
10023 # hardcode_libdir_flag_spec is actually meaningless, as there is
10024 # no search path for DLLs.
10025 hardcode_libdir_flag_spec
=' '
10026 allow_undefined_flag
=unsupported
10027 # Tell ltmain to make .lib files, not .a files.
10029 # Tell ltmain to make .dll files, not .so files.
10031 # FIXME: Setting linknames here is a bad hack.
10032 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10033 # The linker will automatically build a .lib file if we build a DLL.
10034 old_archive_from_new_cmds
='true'
10035 # FIXME: Should let the user specify the lib program.
10036 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10037 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10038 enable_shared_with_static_runtimes
=yes
10041 darwin
* | rhapsody
*)
10044 archive_cmds_need_lc
=no
10046 hardcode_automatic
=yes
10047 hardcode_shlibpath_var
=unsupported
10048 if test "$lt_cv_ld_force_load" = "yes"; then
10049 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\"`'
10051 whole_archive_flag_spec
=''
10053 link_all_deplibs
=yes
10054 allow_undefined_flag
="$_lt_dar_allow_undefined"
10055 case $cc_basename in
10056 ifort
*) _lt_dar_can_shared
=yes ;;
10057 *) _lt_dar_can_shared
=$GCC ;;
10059 if test "$_lt_dar_can_shared" = "yes"; then
10060 output_verbose_link_cmd
=func_echo_all
10061 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10062 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10063 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}"
10064 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}"
10073 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10074 hardcode_libdir_flag_spec
='-L$libdir'
10075 hardcode_shlibpath_var
=no
10078 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10079 # support. Future versions do this automatically, but an explicit c++rt0.o
10080 # does not break anything, and helps significantly (at the cost of a little
10083 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10084 hardcode_libdir_flag_spec
='-R$libdir'
10085 hardcode_direct
=yes
10086 hardcode_shlibpath_var
=no
10089 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10091 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10092 hardcode_direct
=yes
10093 hardcode_minus_L
=yes
10094 hardcode_shlibpath_var
=no
10097 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10098 freebsd
* | dragonfly
*)
10099 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10100 hardcode_libdir_flag_spec
='-R$libdir'
10101 hardcode_direct
=yes
10102 hardcode_shlibpath_var
=no
10106 if test "$GCC" = yes; then
10107 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'
10109 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'
10111 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10112 hardcode_libdir_separator
=:
10113 hardcode_direct
=yes
10115 # hardcode_minus_L: Not really in the search PATH,
10116 # but as the default location of the library.
10117 hardcode_minus_L
=yes
10118 export_dynamic_flag_spec
='${wl}-E'
10122 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10123 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10125 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10127 if test "$with_gnu_ld" = no
; then
10128 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10129 hardcode_libdir_flag_spec_ld
='+b $libdir'
10130 hardcode_libdir_separator
=:
10131 hardcode_direct
=yes
10132 hardcode_direct_absolute
=yes
10133 export_dynamic_flag_spec
='${wl}-E'
10134 # hardcode_minus_L: Not really in the search PATH,
10135 # but as the default location of the library.
10136 hardcode_minus_L
=yes
10141 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10144 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10147 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10150 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10156 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10159 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10163 # Older versions of the 11.00 compiler do not understand -b yet
10164 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10166 $as_echo_n "checking if $CC understands -b... " >&6; }
10167 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10168 $as_echo_n "(cached) " >&6
10170 lt_cv_prog_compiler__b
=no
10171 save_LDFLAGS
="$LDFLAGS"
10172 LDFLAGS
="$LDFLAGS -b"
10173 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10174 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10175 # The linker can only warn and ignore the option if not recognized
10176 # So say no if there are warnings
10177 if test -s conftest.err
; then
10178 # Append any errors to the config.log.
10179 cat conftest.err
1>&5
10180 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10181 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10182 if diff conftest.exp conftest.er2
>/dev
/null
; then
10183 lt_cv_prog_compiler__b
=yes
10186 lt_cv_prog_compiler__b
=yes
10190 LDFLAGS
="$save_LDFLAGS"
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10194 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10196 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10197 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10199 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10205 if test "$with_gnu_ld" = no
; then
10206 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10207 hardcode_libdir_separator
=:
10212 hardcode_shlibpath_var
=no
10215 hardcode_direct
=yes
10216 hardcode_direct_absolute
=yes
10217 export_dynamic_flag_spec
='${wl}-E'
10219 # hardcode_minus_L: Not really in the search PATH,
10220 # but as the default location of the library.
10221 hardcode_minus_L
=yes
10227 irix5
* | irix6
* | nonstopux
*)
10228 if test "$GCC" = yes; then
10229 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'
10230 # Try to use the -exported_symbol ld option, if it does not
10231 # work, assume that -exports_file does not work either and
10232 # implicitly export all symbols.
10233 save_LDFLAGS
="$LDFLAGS"
10234 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10235 if test x
$gcc_no_link = xyes
; then
10236 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10239 /* end confdefs.h. */
10242 if ac_fn_c_try_link
"$LINENO"; then :
10243 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'
10246 rm -f core conftest.err conftest.
$ac_objext \
10247 conftest
$ac_exeext conftest.
$ac_ext
10248 LDFLAGS
="$save_LDFLAGS"
10250 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'
10251 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'
10253 archive_cmds_need_lc
='no'
10254 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10255 hardcode_libdir_separator
=:
10257 link_all_deplibs
=yes
10261 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10262 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10264 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10266 hardcode_libdir_flag_spec
='-R$libdir'
10267 hardcode_direct
=yes
10268 hardcode_shlibpath_var
=no
10272 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10273 hardcode_direct
=yes
10274 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10275 hardcode_libdir_separator
=:
10276 hardcode_shlibpath_var
=no
10283 if test -f /usr
/libexec
/ld.so
; then
10284 hardcode_direct
=yes
10285 hardcode_shlibpath_var
=no
10286 hardcode_direct_absolute
=yes
10287 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10288 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10289 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10290 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10291 export_dynamic_flag_spec
='${wl}-E'
10294 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10295 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10296 hardcode_libdir_flag_spec
='-R$libdir'
10299 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10300 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10310 hardcode_libdir_flag_spec
='-L$libdir'
10311 hardcode_minus_L
=yes
10312 allow_undefined_flag
=unsupported
10313 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'
10314 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10318 if test "$GCC" = yes; then
10319 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10320 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'
10322 allow_undefined_flag
=' -expect_unresolved \*'
10323 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'
10325 archive_cmds_need_lc
='no'
10326 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10327 hardcode_libdir_separator
=:
10330 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10331 if test "$GCC" = yes; then
10332 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10333 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'
10334 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10336 allow_undefined_flag
=' -expect_unresolved \*'
10337 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'
10338 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~
10339 $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'
10341 # Both c and cxx compiler support -rpath directly
10342 hardcode_libdir_flag_spec
='-rpath $libdir'
10344 archive_cmds_need_lc
='no'
10345 hardcode_libdir_separator
=:
10349 no_undefined_flag
=' -z defs'
10350 if test "$GCC" = yes; then
10352 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10353 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10354 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10356 case `$CC -V 2>&1` in
10359 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10360 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10361 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10365 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10366 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10367 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10371 hardcode_libdir_flag_spec
='-R$libdir'
10372 hardcode_shlibpath_var
=no
10374 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10376 # The compiler driver will combine and reorder linker options,
10377 # but understands `-z linker_flag'. GCC discards it without `$wl',
10378 # but is careful enough not to reorder.
10379 # Supported since Solaris 2.6 (maybe 2.5.1?)
10380 if test "$GCC" = yes; then
10381 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10383 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10387 link_all_deplibs
=yes
10391 if test "x$host_vendor" = xsequent
; then
10392 # Use $CC to link under sequent, because it throws in some extra .o
10393 # files that make .init and .fini sections work.
10394 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10396 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10398 hardcode_libdir_flag_spec
='-L$libdir'
10399 hardcode_direct
=yes
10400 hardcode_minus_L
=yes
10401 hardcode_shlibpath_var
=no
10405 case $host_vendor in
10407 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10408 hardcode_direct
=yes # is this really true???
10411 ## LD is ld it makes a PLAMLIB
10412 ## CC just makes a GrossModule.
10413 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10414 reload_cmds
='$CC -r -o $output$reload_objs'
10418 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10419 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10422 runpath_var
='LD_RUN_PATH'
10423 hardcode_shlibpath_var
=no
10427 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10428 hardcode_shlibpath_var
=no
10429 export_dynamic_flag_spec
='-Bexport'
10433 if test -d /usr
/nec
; then
10434 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10435 hardcode_shlibpath_var
=no
10436 runpath_var
=LD_RUN_PATH
10437 hardcode_runpath_var
=yes
10442 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10443 no_undefined_flag
='${wl}-z,text'
10444 archive_cmds_need_lc
=no
10445 hardcode_shlibpath_var
=no
10446 runpath_var
='LD_RUN_PATH'
10448 if test "$GCC" = yes; then
10449 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10450 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10452 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10453 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10457 sysv5
* | sco3.2v5
* | sco5v6
*)
10458 # Note: We can NOT use -z defs as we might desire, because we do not
10459 # link with -lc, and that would cause any symbols used from libc to
10460 # always be unresolved, which means just about no library would
10461 # ever link correctly. If we're not using GNU ld we use -z text
10462 # though, which does catch some bad symbols but isn't as heavy-handed
10464 no_undefined_flag
='${wl}-z,text'
10465 allow_undefined_flag
='${wl}-z,nodefs'
10466 archive_cmds_need_lc
=no
10467 hardcode_shlibpath_var
=no
10468 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10469 hardcode_libdir_separator
=':'
10470 link_all_deplibs
=yes
10471 export_dynamic_flag_spec
='${wl}-Bexport'
10472 runpath_var
='LD_RUN_PATH'
10474 if test "$GCC" = yes; then
10475 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10476 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10478 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10479 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10484 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10485 hardcode_libdir_flag_spec
='-L$libdir'
10486 hardcode_shlibpath_var
=no
10494 if test x
$host_vendor = xsni
; then
10496 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10497 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10504 $as_echo "$ld_shlibs" >&6; }
10505 test "$ld_shlibs" = no
&& can_build_shared
=no
10507 with_gnu_ld
=$with_gnu_ld
10524 # Do we need to explicitly link libc?
10526 case "x$archive_cmds_need_lc" in
10528 # Assume -lc should be added
10529 archive_cmds_need_lc
=yes
10531 if test "$enable_shared" = yes && test "$GCC" = yes; then
10532 case $archive_cmds in
10534 # FIXME: we may have to deal with multi-command sequences.
10537 # Test whether the compiler implicitly links with -lc since on some
10538 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10539 # to ld, don't add -lc before -lgcc.
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10541 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10542 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10543 $as_echo_n "(cached) " >&6
10546 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10548 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10549 (eval $ac_compile) 2>&5
10551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10552 test $ac_status = 0; } 2>conftest.err
; then
10555 libobjs
=conftest.
$ac_objext
10557 wl
=$lt_prog_compiler_wl
10558 pic_flag
=$lt_prog_compiler_pic
10564 lt_save_allow_undefined_flag
=$allow_undefined_flag
10565 allow_undefined_flag
=
10566 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10567 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10570 test $ac_status = 0; }
10572 lt_cv_archive_cmds_need_lc
=no
10574 lt_cv_archive_cmds_need_lc
=yes
10576 allow_undefined_flag
=$lt_save_allow_undefined_flag
10578 cat conftest.err
1>&5
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10584 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10585 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10749 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10751 if test "$GCC" = yes; then
10753 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10754 *) lt_awk_arg
="/^libraries:/" ;;
10757 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10758 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10760 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10761 case $lt_search_path_spec in
10763 # if the path contains ";" then we assume it to be the separator
10764 # otherwise default to the standard path separator (i.e. ":") - it is
10765 # assumed that no part of a normal pathname contains ";" but that should
10766 # okay in the real world where ";" in dirpaths is itself problematic.
10767 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10770 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10773 # Ok, now we have the path, separated by spaces, we can step through it
10774 # and add multilib dir if necessary.
10775 lt_tmp_lt_search_path_spec
=
10776 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10777 for lt_sys_path
in $lt_search_path_spec; do
10778 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10779 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10781 test -d "$lt_sys_path" && \
10782 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10785 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10786 BEGIN {RS=" "; FS="/|\n";} {
10789 for (lt_i = NF; lt_i > 0; lt_i--) {
10790 if ($lt_i != "" && $lt_i != ".") {
10791 if ($lt_i == "..") {
10794 if (lt_count == 0) {
10795 lt_foo="/" $lt_i lt_foo;
10802 if (lt_foo != "") { lt_freq[lt_foo]++; }
10803 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10805 # AWK program above erroneously prepends '/' to C:/dos/paths
10808 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10809 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10811 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10813 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10815 library_names_spec
=
10816 libname_spec
='lib$name'
10820 postuninstall_cmds
=
10824 shlibpath_overrides_runpath
=unknown
10826 dynamic_linker
="$host_os ld.so"
10827 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10828 need_lib_prefix
=unknown
10829 hardcode_into_libs
=no
10831 # when you set need_version to no, make sure it does not cause -set_version
10832 # flags to be left without arguments
10833 need_version
=unknown
10838 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10839 shlibpath_var
=LIBPATH
10841 # AIX 3 has no versioning support, so we append a major version to the name.
10842 soname_spec
='${libname}${release}${shared_ext}$major'
10849 hardcode_into_libs
=yes
10850 if test "$host_cpu" = ia64
; then
10851 # AIX 5 supports IA64
10852 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10853 shlibpath_var
=LD_LIBRARY_PATH
10855 # With GCC up to 2.95.x, collect2 would create an import file
10856 # for dependence libraries. The import file would start with
10857 # the line `#! .'. This would cause the generated library to
10858 # depend on `.', always an invalid library. This was fixed in
10859 # development snapshots of GCC prior to 3.0.
10861 aix4 | aix4.
[01] | aix4.
[01].
*)
10862 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10864 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10867 can_build_shared
=no
10871 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10872 # soname into executable. Probably we can add versioning support to
10873 # collect2, so additional links can be useful in future.
10874 if test "$aix_use_runtimelinking" = yes; then
10875 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10876 # instead of lib<name>.a to let people know that these are not
10877 # typical AIX shared libraries.
10878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10880 # We preserve .a as extension for shared libraries through AIX4.2
10881 # and later when we are not doing run time linking.
10882 library_names_spec
='${libname}${release}.a $libname.a'
10883 soname_spec
='${libname}${release}${shared_ext}$major'
10885 shlibpath_var
=LIBPATH
10892 # Since July 2007 AmigaOS4 officially supports .so libraries.
10893 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 library_names_spec
='$libname.ixlibrary $libname.a'
10898 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10899 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'
10905 library_names_spec
='${libname}${shared_ext}'
10906 dynamic_linker
="$host_os ld.so"
10907 shlibpath_var
=LIBRARY_PATH
10913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10914 soname_spec
='${libname}${release}${shared_ext}$major'
10915 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10916 shlibpath_var
=LD_LIBRARY_PATH
10917 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10918 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10919 # the default ld.so.conf also contains /usr/contrib/lib and
10920 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10921 # libtool to hard-code these into programs
10924 cygwin
* | mingw
* | pw32
* | cegcc
*)
10925 version_type
=windows
10930 case $GCC,$host_os in
10931 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10932 library_names_spec
='$libname.dll.a'
10933 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10934 postinstall_cmds
='base_file=`basename \${file}`~
10935 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10936 dldir=$destdir/`dirname \$dlpath`~
10937 test -d \$dldir || mkdir -p \$dldir~
10938 $install_prog $dir/$dlname \$dldir/$dlname~
10939 chmod a+x \$dldir/$dlname~
10940 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10941 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10943 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10944 dlpath=$dir/\$dldll~
10946 shlibpath_overrides_runpath
=yes
10950 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10951 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10953 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10956 # MinGW DLLs use traditional 'lib' prefix
10957 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10960 # pw32 DLLs use 'pw' prefix rather than 'lib'
10961 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10967 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10970 dynamic_linker
='Win32 ld.exe'
10971 # FIXME: first we should search . and the directory the executable is in
10975 darwin
* | rhapsody
*)
10976 dynamic_linker
="$host_os dyld"
10977 version_type
=darwin
10980 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10981 soname_spec
='${libname}${release}${major}$shared_ext'
10982 shlibpath_overrides_runpath
=yes
10983 shlibpath_var
=DYLD_LIBRARY_PATH
10984 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10986 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10987 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10995 soname_spec
='${libname}${release}${shared_ext}$major'
10996 shlibpath_var
=LD_LIBRARY_PATH
10999 freebsd
* | dragonfly
*)
11000 # DragonFly does not have aout. When/if they implement a new
11001 # versioning mechanism, adjust this.
11002 if test -x /usr
/bin
/objformat
; then
11003 objformat
=`/usr/bin/objformat`
11006 freebsd
[23].
*) objformat
=aout
;;
11007 *) objformat
=elf
;;
11010 version_type
=freebsd-
$objformat
11011 case $version_type in
11013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11018 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11022 shlibpath_var
=LD_LIBRARY_PATH
11025 shlibpath_overrides_runpath
=yes
11027 freebsd3.
[01]* | freebsdelf3.
[01]*)
11028 shlibpath_overrides_runpath
=yes
11029 hardcode_into_libs
=yes
11031 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11032 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11033 shlibpath_overrides_runpath
=no
11034 hardcode_into_libs
=yes
11036 *) # from 4.6 on, and DragonFly
11037 shlibpath_overrides_runpath
=yes
11038 hardcode_into_libs
=yes
11047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11048 soname_spec
='${libname}${release}${shared_ext}$major'
11049 shlibpath_var
=LD_LIBRARY_PATH
11050 hardcode_into_libs
=yes
11057 dynamic_linker
="$host_os runtime_loader"
11058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11059 soname_spec
='${libname}${release}${shared_ext}$major'
11060 shlibpath_var
=LIBRARY_PATH
11061 shlibpath_overrides_runpath
=yes
11062 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11063 hardcode_into_libs
=yes
11066 hpux9
* | hpux10
* | hpux11
*)
11067 # Give a soname corresponding to the major version so that dld.sl refuses to
11068 # link against other versions.
11075 hardcode_into_libs
=yes
11076 dynamic_linker
="$host_os dld.so"
11077 shlibpath_var
=LD_LIBRARY_PATH
11078 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11080 soname_spec
='${libname}${release}${shared_ext}$major'
11081 if test "X$HPUX_IA64_MODE" = X32
; then
11082 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11084 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11086 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11090 hardcode_into_libs
=yes
11091 dynamic_linker
="$host_os dld.sl"
11092 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11093 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11095 soname_spec
='${libname}${release}${shared_ext}$major'
11096 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11097 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11101 dynamic_linker
="$host_os dld.sl"
11102 shlibpath_var
=SHLIB_PATH
11103 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11105 soname_spec
='${libname}${release}${shared_ext}$major'
11108 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11109 postinstall_cmds
='chmod 555 $lib'
11110 # or fails outright, so override atomically:
11111 install_override_mode
=555
11118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11119 soname_spec
='${libname}${release}${shared_ext}$major'
11120 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11121 shlibpath_var
=LD_LIBRARY_PATH
11122 shlibpath_overrides_runpath
=no
11123 hardcode_into_libs
=yes
11126 irix5
* | irix6
* | nonstopux
*)
11128 nonstopux
*) version_type
=nonstopux
;;
11130 if test "$lt_cv_prog_gnu_ld" = yes; then
11138 soname_spec
='${libname}${release}${shared_ext}$major'
11139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11141 irix5
* | nonstopux
*)
11142 libsuff
= shlibsuff
=
11145 case $LD in # libtool.m4 will add one of these switches to LD
11146 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11147 libsuff
= shlibsuff
= libmagic
=32-bit;;
11148 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11149 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11150 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11151 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11152 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11156 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11157 shlibpath_overrides_runpath
=no
11158 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11159 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11160 hardcode_into_libs
=yes
11163 # No shared lib support for Linux oldld, aout, or coff.
11164 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11168 # This must be Linux ELF.
11169 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11174 soname_spec
='${libname}${release}${shared_ext}$major'
11175 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11176 shlibpath_var
=LD_LIBRARY_PATH
11177 shlibpath_overrides_runpath
=no
11179 # Some binutils ld are patched to set DT_RUNPATH
11180 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11181 $as_echo_n "(cached) " >&6
11183 lt_cv_shlibpath_overrides_runpath
=no
11184 save_LDFLAGS
=$LDFLAGS
11185 save_libdir
=$libdir
11186 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11187 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11188 if test x
$gcc_no_link = xyes
; then
11189 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11202 if ac_fn_c_try_link
"$LINENO"; then :
11203 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11204 lt_cv_shlibpath_overrides_runpath
=yes
11207 rm -f core conftest.err conftest.
$ac_objext \
11208 conftest
$ac_exeext conftest.
$ac_ext
11209 LDFLAGS
=$save_LDFLAGS
11210 libdir
=$save_libdir
11214 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11216 # This implies no fast_install, which is unacceptable.
11217 # Some rework will be needed to allow for fast_install
11218 # before this can be enabled.
11219 hardcode_into_libs
=yes
11221 # Append ld.so.conf contents to the search path
11222 if test -f /etc
/ld.so.conf
; then
11223 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' ' '`
11224 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11227 # We used to test for /lib/ld.so.1 and disable shared libraries on
11228 # powerpc, because MkLinux only supported shared libraries with the
11229 # GNU dynamic linker. Since this was broken with cross compilers,
11230 # most powerpc-linux boxes support dynamic linking these days and
11231 # people can always --disable-shared, the test was removed, and we
11232 # assume the GNU/Linux dynamic linker is in use.
11233 dynamic_linker
='GNU/Linux ld.so'
11240 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11242 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11243 dynamic_linker
='NetBSD (a.out) ld.so'
11245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11246 soname_spec
='${libname}${release}${shared_ext}$major'
11247 dynamic_linker
='NetBSD ld.elf_so'
11249 shlibpath_var
=LD_LIBRARY_PATH
11250 shlibpath_overrides_runpath
=yes
11251 hardcode_into_libs
=yes
11256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11257 shlibpath_var
=LD_LIBRARY_PATH
11258 shlibpath_overrides_runpath
=yes
11265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11266 soname_spec
='${libname}${release}${shared_ext}$major'
11267 shlibpath_var
=LD_LIBRARY_PATH
11268 shlibpath_overrides_runpath
=no
11269 hardcode_into_libs
=yes
11270 dynamic_linker
='ldqnx.so'
11275 sys_lib_dlsearch_path_spec
="/usr/lib"
11277 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11279 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11280 *) need_version
=no
;;
11282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11283 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11284 shlibpath_var
=LD_LIBRARY_PATH
11285 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11287 openbsd2.
[89] | openbsd2.
[89].
*)
11288 shlibpath_overrides_runpath
=no
11291 shlibpath_overrides_runpath
=yes
11295 shlibpath_overrides_runpath
=yes
11300 libname_spec
='$name'
11303 library_names_spec
='$libname${shared_ext} $libname.a'
11304 dynamic_linker
='OS/2 ld.exe'
11305 shlibpath_var
=LIBPATH
11308 osf3
* | osf4
* | osf5
*)
11312 soname_spec
='${libname}${release}${shared_ext}$major'
11313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11314 shlibpath_var
=LD_LIBRARY_PATH
11315 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11316 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11328 soname_spec
='${libname}${release}${shared_ext}$major'
11329 shlibpath_var
=LD_LIBRARY_PATH
11330 shlibpath_overrides_runpath
=yes
11331 hardcode_into_libs
=yes
11332 # ldd complains unless libraries are executable
11333 postinstall_cmds
='chmod +x $lib'
11338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11339 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11340 shlibpath_var
=LD_LIBRARY_PATH
11341 shlibpath_overrides_runpath
=yes
11342 if test "$with_gnu_ld" = yes; then
11350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11351 soname_spec
='${libname}${release}${shared_ext}$major'
11352 shlibpath_var
=LD_LIBRARY_PATH
11353 case $host_vendor in
11355 shlibpath_overrides_runpath
=no
11357 runpath_var
=LD_RUN_PATH
11365 shlibpath_overrides_runpath
=no
11366 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11372 if test -d /usr
/nec
;then
11374 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11375 soname_spec
='$libname${shared_ext}.$major'
11376 shlibpath_var
=LD_LIBRARY_PATH
11380 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11381 version_type
=freebsd-elf
11384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11385 soname_spec
='${libname}${release}${shared_ext}$major'
11386 shlibpath_var
=LD_LIBRARY_PATH
11387 shlibpath_overrides_runpath
=yes
11388 hardcode_into_libs
=yes
11389 if test "$with_gnu_ld" = yes; then
11390 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11392 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11395 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11399 sys_lib_dlsearch_path_spec
='/usr/lib'
11403 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11408 shlibpath_var
=LD_LIBRARY_PATH
11409 shlibpath_overrides_runpath
=no
11410 hardcode_into_libs
=yes
11415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11416 soname_spec
='${libname}${release}${shared_ext}$major'
11417 shlibpath_var
=LD_LIBRARY_PATH
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11425 $as_echo "$dynamic_linker" >&6; }
11426 test "$dynamic_linker" = no
&& can_build_shared
=no
11428 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11429 if test "$GCC" = yes; then
11430 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11433 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11434 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11436 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11437 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11532 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11534 if test -n "$hardcode_libdir_flag_spec" ||
11535 test -n "$runpath_var" ||
11536 test "X$hardcode_automatic" = "Xyes" ; then
11538 # We can hardcode non-existent directories.
11539 if test "$hardcode_direct" != no
&&
11540 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11541 # have to relink, otherwise we might link with an installed library
11542 # when we should be linking with a yet-to-be-installed one
11543 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11544 test "$hardcode_minus_L" != no
; then
11545 # Linking always hardcodes the temporary library directory.
11546 hardcode_action
=relink
11548 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11549 hardcode_action
=immediate
11552 # We cannot hardcode anything, or else we can only hardcode existing
11554 hardcode_action
=unsupported
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11557 $as_echo "$hardcode_action" >&6; }
11559 if test "$hardcode_action" = relink ||
11560 test "$inherit_rpath" = yes; then
11561 # Fast installation is not supported
11562 enable_fast_install
=no
11563 elif test "$shlibpath_overrides_runpath" = yes ||
11564 test "$enable_shared" = no
; then
11565 # Fast installation is not necessary
11566 enable_fast_install
=needless
11574 if test "x$enable_dlopen" != xyes
; then
11575 enable_dlopen
=unknown
11576 enable_dlopen_self
=unknown
11577 enable_dlopen_self_static
=unknown
11584 lt_cv_dlopen
="load_add_on"
11586 lt_cv_dlopen_self
=yes
11589 mingw
* | pw32
* | cegcc
*)
11590 lt_cv_dlopen
="LoadLibrary"
11595 lt_cv_dlopen
="dlopen"
11600 # if libdl is installed we need to link against it
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11602 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11603 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11604 $as_echo_n "(cached) " >&6
11606 ac_check_lib_save_LIBS
=$LIBS
11608 if test x
$gcc_no_link = xyes
; then
11609 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11612 /* end confdefs.h. */
11614 /* Override any GCC internal prototype to avoid an error.
11615 Use char because int might match the return type of a GCC
11616 builtin and then its argument prototype would still apply. */
11629 if ac_fn_c_try_link
"$LINENO"; then :
11630 ac_cv_lib_dl_dlopen
=yes
11632 ac_cv_lib_dl_dlopen
=no
11634 rm -f core conftest.err conftest.
$ac_objext \
11635 conftest
$ac_exeext conftest.
$ac_ext
11636 LIBS
=$ac_check_lib_save_LIBS
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11639 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11640 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11641 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11644 lt_cv_dlopen
="dyld"
11646 lt_cv_dlopen_self
=yes
11653 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11654 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11655 lt_cv_dlopen
="shl_load"
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11658 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11659 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11660 $as_echo_n "(cached) " >&6
11662 ac_check_lib_save_LIBS
=$LIBS
11664 if test x
$gcc_no_link = xyes
; then
11665 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11670 /* Override any GCC internal prototype to avoid an error.
11671 Use char because int might match the return type of a GCC
11672 builtin and then its argument prototype would still apply. */
11680 return shl_load ();
11685 if ac_fn_c_try_link
"$LINENO"; then :
11686 ac_cv_lib_dld_shl_load
=yes
11688 ac_cv_lib_dld_shl_load
=no
11690 rm -f core conftest.err conftest.
$ac_objext \
11691 conftest
$ac_exeext conftest.
$ac_ext
11692 LIBS
=$ac_check_lib_save_LIBS
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11695 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11696 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11697 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11699 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11700 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11701 lt_cv_dlopen
="dlopen"
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11704 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11705 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11706 $as_echo_n "(cached) " >&6
11708 ac_check_lib_save_LIBS
=$LIBS
11710 if test x
$gcc_no_link = xyes
; then
11711 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11714 /* end confdefs.h. */
11716 /* Override any GCC internal prototype to avoid an error.
11717 Use char because int might match the return type of a GCC
11718 builtin and then its argument prototype would still apply. */
11731 if ac_fn_c_try_link
"$LINENO"; then :
11732 ac_cv_lib_dl_dlopen
=yes
11734 ac_cv_lib_dl_dlopen
=no
11736 rm -f core conftest.err conftest.
$ac_objext \
11737 conftest
$ac_exeext conftest.
$ac_ext
11738 LIBS
=$ac_check_lib_save_LIBS
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11741 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11742 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11743 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11746 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11747 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11748 $as_echo_n "(cached) " >&6
11750 ac_check_lib_save_LIBS
=$LIBS
11751 LIBS
="-lsvld $LIBS"
11752 if test x
$gcc_no_link = xyes
; then
11753 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11756 /* end confdefs.h. */
11758 /* Override any GCC internal prototype to avoid an error.
11759 Use char because int might match the return type of a GCC
11760 builtin and then its argument prototype would still apply. */
11773 if ac_fn_c_try_link
"$LINENO"; then :
11774 ac_cv_lib_svld_dlopen
=yes
11776 ac_cv_lib_svld_dlopen
=no
11778 rm -f core conftest.err conftest.
$ac_objext \
11779 conftest
$ac_exeext conftest.
$ac_ext
11780 LIBS
=$ac_check_lib_save_LIBS
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11783 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11784 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11785 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11788 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11789 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11790 $as_echo_n "(cached) " >&6
11792 ac_check_lib_save_LIBS
=$LIBS
11794 if test x
$gcc_no_link = xyes
; then
11795 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11798 /* end confdefs.h. */
11800 /* Override any GCC internal prototype to avoid an error.
11801 Use char because int might match the return type of a GCC
11802 builtin and then its argument prototype would still apply. */
11810 return dld_link ();
11815 if ac_fn_c_try_link
"$LINENO"; then :
11816 ac_cv_lib_dld_dld_link
=yes
11818 ac_cv_lib_dld_dld_link
=no
11820 rm -f core conftest.err conftest.
$ac_objext \
11821 conftest
$ac_exeext conftest.
$ac_ext
11822 LIBS
=$ac_check_lib_save_LIBS
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11825 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11826 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11827 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11848 if test "x$lt_cv_dlopen" != xno
; then
11854 case $lt_cv_dlopen in
11856 save_CPPFLAGS
="$CPPFLAGS"
11857 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11859 save_LDFLAGS
="$LDFLAGS"
11860 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11863 LIBS
="$lt_cv_dlopen_libs $LIBS"
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11866 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11867 if test "${lt_cv_dlopen_self+set}" = set; then :
11868 $as_echo_n "(cached) " >&6
11870 if test "$cross_compiling" = yes; then :
11871 lt_cv_dlopen_self
=cross
11873 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11874 lt_status
=$lt_dlunknown
11875 cat > conftest.
$ac_ext <<_LT_EOF
11876 #line 11876 "configure"
11877 #include "confdefs.h"
11886 # define LT_DLGLOBAL RTLD_GLOBAL
11889 # define LT_DLGLOBAL DL_GLOBAL
11891 # define LT_DLGLOBAL 0
11895 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11896 find out it does not work in some platform. */
11897 #ifndef LT_DLLAZY_OR_NOW
11899 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11902 # define LT_DLLAZY_OR_NOW DL_LAZY
11905 # define LT_DLLAZY_OR_NOW RTLD_NOW
11908 # define LT_DLLAZY_OR_NOW DL_NOW
11910 # define LT_DLLAZY_OR_NOW 0
11917 /* When -fvisbility=hidden is used, assume the code has been annotated
11918 correspondingly for the symbols needed. */
11919 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11920 void fnord () __attribute__((visibility("default")));
11923 void fnord () { int i=42; }
11926 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11927 int status = $lt_dlunknown;
11931 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11934 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11935 else puts (dlerror ());
11937 /* dlclose (self); */
11945 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11946 (eval $ac_link) 2>&5
11948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11949 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11950 (.
/conftest
; exit; ) >&5 2>/dev
/null
11952 case x
$lt_status in
11953 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11954 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11955 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11958 # compilation failed
11959 lt_cv_dlopen_self
=no
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11967 $as_echo "$lt_cv_dlopen_self" >&6; }
11969 if test "x$lt_cv_dlopen_self" = xyes
; then
11970 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11972 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11973 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11974 $as_echo_n "(cached) " >&6
11976 if test "$cross_compiling" = yes; then :
11977 lt_cv_dlopen_self_static
=cross
11979 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11980 lt_status
=$lt_dlunknown
11981 cat > conftest.
$ac_ext <<_LT_EOF
11982 #line 11982 "configure"
11983 #include "confdefs.h"
11992 # define LT_DLGLOBAL RTLD_GLOBAL
11995 # define LT_DLGLOBAL DL_GLOBAL
11997 # define LT_DLGLOBAL 0
12001 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12002 find out it does not work in some platform. */
12003 #ifndef LT_DLLAZY_OR_NOW
12005 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12008 # define LT_DLLAZY_OR_NOW DL_LAZY
12011 # define LT_DLLAZY_OR_NOW RTLD_NOW
12014 # define LT_DLLAZY_OR_NOW DL_NOW
12016 # define LT_DLLAZY_OR_NOW 0
12023 /* When -fvisbility=hidden is used, assume the code has been annotated
12024 correspondingly for the symbols needed. */
12025 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12026 void fnord () __attribute__((visibility("default")));
12029 void fnord () { int i=42; }
12032 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12033 int status = $lt_dlunknown;
12037 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12040 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12041 else puts (dlerror ());
12043 /* dlclose (self); */
12051 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12052 (eval $ac_link) 2>&5
12054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12055 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12056 (.
/conftest
; exit; ) >&5 2>/dev
/null
12058 case x
$lt_status in
12059 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12060 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12061 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12064 # compilation failed
12065 lt_cv_dlopen_self_static
=no
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12073 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12076 CPPFLAGS
="$save_CPPFLAGS"
12077 LDFLAGS
="$save_LDFLAGS"
12082 case $lt_cv_dlopen_self in
12083 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12084 *) enable_dlopen_self
=unknown
;;
12087 case $lt_cv_dlopen_self_static in
12088 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12089 *) enable_dlopen_self_static
=unknown
;;
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12112 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12113 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12114 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12115 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12117 $as_echo "yes" >&6; }
12119 # FIXME - insert some real tests, host_os isn't really good enough
12122 if test -n "$STRIP" ; then
12123 striplib
="$STRIP -x"
12124 old_striplib
="$STRIP -S"
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12126 $as_echo "yes" >&6; }
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12129 $as_echo "no" >&6; }
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12134 $as_echo "no" >&6; }
12150 # Report which library types will actually be built
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12152 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12154 $as_echo "$can_build_shared" >&6; }
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12157 $as_echo_n "checking whether to build shared libraries... " >&6; }
12158 test "$can_build_shared" = "no" && enable_shared
=no
12160 # On AIX, shared libraries and static libraries use the same namespace, and
12161 # are all built from PIC.
12164 test "$enable_shared" = yes && enable_static
=no
12165 if test -n "$RANLIB"; then
12166 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12167 postinstall_cmds
='$RANLIB $lib'
12172 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12173 test "$enable_shared" = yes && enable_static
=no
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12178 $as_echo "$enable_shared" >&6; }
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12181 $as_echo_n "checking whether to build static libraries... " >&6; }
12182 # Make sure either enable_shared or enable_static is yes.
12183 test "$enable_shared" = yes || enable_static
=yes
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12185 $as_echo "$enable_static" >&6; }
12192 ac_cpp
='$CPP $CPPFLAGS'
12193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12211 ac_config_commands
="$ac_config_commands libtool"
12216 # Only expand once:
12219 for ac_prog
in gawk mawk nawk
awk
12221 # Extract the first word of "$ac_prog", so it can be a program name with args.
12222 set dummy
$ac_prog; ac_word
=$2
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12224 $as_echo_n "checking for $ac_word... " >&6; }
12225 if test "${ac_cv_prog_AWK+set}" = set; then :
12226 $as_echo_n "(cached) " >&6
12228 if test -n "$AWK"; then
12229 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
12231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12232 for as_dir
in $PATH
12235 test -z "$as_dir" && as_dir
=.
12236 for ac_exec_ext
in '' $ac_executable_extensions; do
12237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12238 ac_cv_prog_AWK
="$ac_prog"
12239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12248 AWK
=$ac_cv_prog_AWK
12249 if test -n "$AWK"; then
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
12251 $as_echo "$AWK" >&6; }
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12254 $as_echo "no" >&6; }
12258 test -n "$AWK" && break
12262 ac_cpp
='$CPP $CPPFLAGS'
12263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12266 if test -n "$ac_tool_prefix"; then
12267 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12268 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12270 $as_echo_n "checking for $ac_word... " >&6; }
12271 if test "${ac_cv_prog_CC+set}" = set; then :
12272 $as_echo_n "(cached) " >&6
12274 if test -n "$CC"; then
12275 ac_cv_prog_CC
="$CC" # Let the user override the test.
12277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12278 for as_dir
in $PATH
12281 test -z "$as_dir" && as_dir
=.
12282 for ac_exec_ext
in '' $ac_executable_extensions; do
12283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12284 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12295 if test -n "$CC"; then
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12297 $as_echo "$CC" >&6; }
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12300 $as_echo "no" >&6; }
12305 if test -z "$ac_cv_prog_CC"; then
12307 # Extract the first word of "gcc", so it can be a program name with args.
12308 set dummy gcc
; ac_word
=$2
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12310 $as_echo_n "checking for $ac_word... " >&6; }
12311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12312 $as_echo_n "(cached) " >&6
12314 if test -n "$ac_ct_CC"; then
12315 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12318 for as_dir
in $PATH
12321 test -z "$as_dir" && as_dir
=.
12322 for ac_exec_ext
in '' $ac_executable_extensions; do
12323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12324 ac_cv_prog_ac_ct_CC
="gcc"
12325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12334 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12335 if test -n "$ac_ct_CC"; then
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12337 $as_echo "$ac_ct_CC" >&6; }
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12340 $as_echo "no" >&6; }
12343 if test "x$ac_ct_CC" = x
; then
12346 case $cross_compiling:$ac_tool_warned in
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12350 ac_tool_warned
=yes ;;
12355 CC
="$ac_cv_prog_CC"
12358 if test -z "$CC"; then
12359 if test -n "$ac_tool_prefix"; then
12360 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12361 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12363 $as_echo_n "checking for $ac_word... " >&6; }
12364 if test "${ac_cv_prog_CC+set}" = set; then :
12365 $as_echo_n "(cached) " >&6
12367 if test -n "$CC"; then
12368 ac_cv_prog_CC
="$CC" # Let the user override the test.
12370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12371 for as_dir
in $PATH
12374 test -z "$as_dir" && as_dir
=.
12375 for ac_exec_ext
in '' $ac_executable_extensions; do
12376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12377 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12388 if test -n "$CC"; then
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12390 $as_echo "$CC" >&6; }
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12393 $as_echo "no" >&6; }
12399 if test -z "$CC"; then
12400 # Extract the first word of "cc", so it can be a program name with args.
12401 set dummy cc
; ac_word
=$2
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12403 $as_echo_n "checking for $ac_word... " >&6; }
12404 if test "${ac_cv_prog_CC+set}" = set; then :
12405 $as_echo_n "(cached) " >&6
12407 if test -n "$CC"; then
12408 ac_cv_prog_CC
="$CC" # Let the user override the test.
12410 ac_prog_rejected
=no
12411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12412 for as_dir
in $PATH
12415 test -z "$as_dir" && as_dir
=.
12416 for ac_exec_ext
in '' $ac_executable_extensions; do
12417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12418 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12419 ac_prog_rejected
=yes
12423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12430 if test $ac_prog_rejected = yes; then
12431 # We found a bogon in the path, so make sure we never use it.
12432 set dummy
$ac_cv_prog_CC
12434 if test $# != 0; then
12435 # We chose a different compiler from the bogus one.
12436 # However, it has the same basename, so the bogon will be chosen
12437 # first if we set CC to just the basename; use the full file name.
12439 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12445 if test -n "$CC"; then
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12447 $as_echo "$CC" >&6; }
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12450 $as_echo "no" >&6; }
12455 if test -z "$CC"; then
12456 if test -n "$ac_tool_prefix"; then
12457 for ac_prog
in cl.exe
12459 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12460 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12462 $as_echo_n "checking for $ac_word... " >&6; }
12463 if test "${ac_cv_prog_CC+set}" = set; then :
12464 $as_echo_n "(cached) " >&6
12466 if test -n "$CC"; then
12467 ac_cv_prog_CC
="$CC" # Let the user override the test.
12469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12470 for as_dir
in $PATH
12473 test -z "$as_dir" && as_dir
=.
12474 for ac_exec_ext
in '' $ac_executable_extensions; do
12475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12476 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12487 if test -n "$CC"; then
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12489 $as_echo "$CC" >&6; }
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12492 $as_echo "no" >&6; }
12496 test -n "$CC" && break
12499 if test -z "$CC"; then
12501 for ac_prog
in cl.exe
12503 # Extract the first word of "$ac_prog", so it can be a program name with args.
12504 set dummy
$ac_prog; ac_word
=$2
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12506 $as_echo_n "checking for $ac_word... " >&6; }
12507 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12508 $as_echo_n "(cached) " >&6
12510 if test -n "$ac_ct_CC"; then
12511 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12514 for as_dir
in $PATH
12517 test -z "$as_dir" && as_dir
=.
12518 for ac_exec_ext
in '' $ac_executable_extensions; do
12519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12520 ac_cv_prog_ac_ct_CC
="$ac_prog"
12521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12530 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12531 if test -n "$ac_ct_CC"; then
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12533 $as_echo "$ac_ct_CC" >&6; }
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12536 $as_echo "no" >&6; }
12540 test -n "$ac_ct_CC" && break
12543 if test "x$ac_ct_CC" = x
; then
12546 case $cross_compiling:$ac_tool_warned in
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12550 ac_tool_warned
=yes ;;
12559 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12561 as_fn_error
"no acceptable C compiler found in \$PATH
12562 See \`config.log' for more details." "$LINENO" 5; }
12564 # Provide some information about the compiler.
12565 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12568 for ac_option
in --version -v -V -qversion; do
12569 { { ac_try
="$ac_compiler $ac_option >&5"
12570 case "(($ac_try" in
12571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12572 *) ac_try_echo=$ac_try;;
12574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12575 $as_echo "$ac_try_echo"; } >&5
12576 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12578 if test -s conftest.err; then
12580 ... rest of stderr output deleted ...
12581 10q' conftest.err >conftest.er1
12582 cat conftest.er1 >&5
12583 rm -f conftest.er1 conftest.err
12585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12586 test $ac_status = 0; }
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12590 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12591 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12592 $as_echo_n "(cached) " >&6
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12608 if ac_fn_c_try_compile "$LINENO"; then :
12609 ac_compiler_gnu=yes
12613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12614 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12618 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12619 if test $ac_compiler_gnu = yes; then
12624 ac_test_CFLAGS=${CFLAGS+set}
12625 ac_save_CFLAGS=$CFLAGS
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12627 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12628 if test "${ac_cv_prog_cc_g+set}" = set; then :
12629 $as_echo_n "(cached) " >&6
12631 ac_save_c_werror_flag=$ac_c_werror_flag
12632 ac_c_werror_flag=yes
12635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636 /* end confdefs.h. */
12646 if ac_fn_c_try_compile "$LINENO"; then :
12647 ac_cv_prog_cc_g=yes
12650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12661 if ac_fn_c_try_compile "$LINENO"; then :
12664 ac_c_werror_flag=$ac_save_c_werror_flag
12666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12677 if ac_fn_c_try_compile "$LINENO"; then :
12678 ac_cv_prog_cc_g=yes
12680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12685 ac_c_werror_flag=$ac_save_c_werror_flag
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12688 $as_echo "$ac_cv_prog_cc_g" >&6; }
12689 if test "$ac_test_CFLAGS" = set; then
12690 CFLAGS=$ac_save_CFLAGS
12691 elif test $ac_cv_prog_cc_g = yes; then
12692 if test "$GCC" = yes; then
12698 if test "$GCC" = yes; then
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12705 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12706 if test "${ac_cv_prog_cc_c89+set}" = set; then :
12707 $as_echo_n "(cached) " >&6
12709 ac_cv_prog_cc_c89=no
12711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12712 /* end confdefs.h. */
12713 #include <stdarg.h>
12715 #include <sys/types.h>
12716 #include <sys/stat.h>
12717 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12718 struct buf { int x; };
12719 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12720 static char *e (p, i)
12726 static char *f (char * (*g) (char **, int), char **p, ...)
12731 s = g (p, va_arg (v,int));
12736 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12737 function prototypes and stuff, but not '\xHH' hex character constants.
12738 These don't provoke an error unfortunately, instead are silently treated
12739 as 'x'. The following induces an error, until -std is added to get
12740 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12741 array size at least. It's necessary to write '\x00'==0 to get something
12742 that's true only with -std. */
12743 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12745 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12746 inside strings and character constants. */
12748 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12750 int test (int i, double x);
12751 struct s1 {int (*f) (int a);};
12752 struct s2 {int (*f) (double a);};
12753 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12759 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12764 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12765 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12767 CC="$ac_save_CC $ac_arg"
12768 if ac_fn_c_try_compile "$LINENO"; then :
12769 ac_cv_prog_cc_c89=$ac_arg
12771 rm -f core conftest.err conftest.$ac_objext
12772 test "x$ac_cv_prog_cc_c89" != "xno" && break
12774 rm -f conftest.$ac_ext
12779 case "x$ac_cv_prog_cc_c89" in
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12782 $as_echo "none needed" >&6; } ;;
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12785 $as_echo "unsupported" >&6; } ;;
12787 CC="$CC $ac_cv_prog_cc_c89"
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12789 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12791 if test "x$ac_cv_prog_cc_c89" != xno; then :
12796 ac_cpp='$CPP $CPPFLAGS'
12797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12801 depcc="$CC" am_compiler_list=
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12804 $as_echo_n "checking dependency style of $depcc... " >&6; }
12805 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12806 $as_echo_n "(cached) " >&6
12808 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12809 # We make a subdir and do the tests there. Otherwise we can end up
12810 # making bogus files that we don't know about and never remove. For
12811 # instance it was reported that on HP-UX the gcc test will end up
12812 # making a dummy file named `D
' -- because `-MD' means
`put the output
12815 # Copy depcomp to subdir because otherwise we won't find it if we're
12816 # using a relative directory.
12817 cp "$am_depcomp" conftest.dir
12819 # We will build objects and dependencies in a subdirectory because
12820 # it helps to detect inapplicable dependency modes. For instance
12821 # both Tru64's cc and ICC support -MD to output dependencies as a
12822 # side effect of compilation, but ICC will put the dependencies in
12823 # the current directory while Tru64 will put them in the object
12827 am_cv_CC_dependencies_compiler_type=none
12828 if test "$am_compiler_list" = ""; then
12829 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
12831 am__universal=false
12832 case " $depcc " in #(
12833 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12836 for depmode in $am_compiler_list; do
12837 # Setup a source with many dependencies, because some compilers
12838 # like to wrap large dependency lists on column 80 (with \), and
12839 # we should not choose a depcomp mode which is confused by this.
12841 # We need to recreate these files for each test, as the compiler may
12842 # overwrite some of them when testing with obscure command lines.
12843 # This happens at least with the AIX C compiler.
12845 for i in 1 2 3 4 5 6; do
12846 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12847 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
12848 # Solaris 8's
{/usr
,}/bin
/sh.
12849 touch sub
/conftst
$i.h
12851 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12853 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12854 # mode. It turns out that the SunPro C++ compiler does not properly
12855 # handle `-M -o', and we need to detect this. Also, some Intel
12856 # versions had trouble with output in subdirs
12857 am__obj
=sub
/conftest.
${OBJEXT-o}
12858 am__minus_obj
="-o $am__obj"
12861 # This depmode causes a compiler race in universal mode.
12862 test "$am__universal" = false ||
continue
12865 # after this tag, mechanisms are not by side-effect, so they'll
12866 # only be used when explicitly requested
12867 if test "x$enable_dependency_tracking" = xyes
; then
12873 msvisualcpp | msvcmsys
)
12874 # This compiler won't grok `-c -o', but also, the minuso test has
12875 # not run yet. These depmodes are late enough in the game, and
12876 # so weak that their functioning should not be impacted.
12877 am__obj
=conftest.
${OBJEXT-o}
12882 if depmode
=$depmode \
12883 source=sub
/conftest.c object
=$am__obj \
12884 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12885 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12886 >/dev
/null
2>conftest.err
&&
12887 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12888 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12889 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12890 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12891 # icc doesn't choke on unknown options, it will just issue warnings
12892 # or remarks (even with -Werror). So we grep stderr for any message
12893 # that says an option was ignored or not supported.
12894 # When given -MP, icc 7.0 and 7.1 complain thusly:
12895 # icc: Command line warning: ignoring option '-M'; no argument required
12896 # The diagnosis changed in icc 8.0:
12897 # icc: Command line remark: option '-MP' not supported
12898 if (grep 'ignoring option' conftest.err ||
12899 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12900 am_cv_CC_dependencies_compiler_type
=$depmode
12907 rm -rf conftest.dir
12909 am_cv_CC_dependencies_compiler_type
=none
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12914 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12915 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
12918 test "x$enable_dependency_tracking" != xno \
12919 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
12920 am__fastdepCC_TRUE
=
12921 am__fastdepCC_FALSE
='#'
12923 am__fastdepCC_TRUE
='#'
12924 am__fastdepCC_FALSE
=
12928 if test "x$CC" != xcc
; then
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12930 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12933 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12935 set dummy
$CC; ac_cc
=`$as_echo "$2" |
12936 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12937 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
12938 $as_echo_n "(cached) " >&6
12940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12951 # Make sure it works both with $CC and with simple cc.
12952 # We do the test twice because some compilers refuse to overwrite an
12953 # existing .o file with -o, though they will create one.
12954 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12956 if { { case "(($ac_try" in
12957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12958 *) ac_try_echo=$ac_try;;
12960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12961 $as_echo "$ac_try_echo"; } >&5
12962 (eval "$ac_try") 2>&5
12964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12965 test $ac_status = 0; } &&
12966 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12968 *) ac_try_echo
=$ac_try;;
12970 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12971 $as_echo "$ac_try_echo"; } >&5
12972 (eval "$ac_try") 2>&5
12974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12975 test $ac_status = 0; };
12977 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
12978 if test "x$CC" != xcc
; then
12979 # Test first that cc exists at all.
12980 if { ac_try
='cc -c conftest.$ac_ext >&5'
12981 { { case "(($ac_try" in
12982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12983 *) ac_try_echo=$ac_try;;
12985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12986 $as_echo "$ac_try_echo"; } >&5
12987 (eval "$ac_try") 2>&5
12989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12990 test $ac_status = 0; }; }; then
12991 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12993 if { { case "(($ac_try" in
12994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12995 *) ac_try_echo
=$ac_try;;
12997 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12998 $as_echo "$ac_try_echo"; } >&5
12999 (eval "$ac_try") 2>&5
13001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13002 test $ac_status = 0; } &&
13003 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
13004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13005 *) ac_try_echo=$ac_try;;
13007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13008 $as_echo "$ac_try_echo"; } >&5
13009 (eval "$ac_try") 2>&5
13011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13012 test $ac_status = 0; };
13017 # cc exists but doesn't like -o.
13018 eval ac_cv_prog_cc_${ac_cc}_c_o=no
13023 eval ac_cv_prog_cc_${ac_cc}_c_o=no
13025 rm -f core conftest*
13028 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13030 $as_echo "yes" >&6; }
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13033 $as_echo "no" >&6; }
13035 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13039 # FIXME: we rely on the cache variable name because
13040 # there is no other way.
13042 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13043 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
13044 if test "$am_t" != yes; then
13045 # Losing compiler, so override with the script.
13046 # FIXME: It is wrong to rewrite CC.
13047 # But if we don't then we get into trouble of one sort or another.
13048 # A longer-term fix would be to have automake use am__CC in this case,
13049 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13050 CC="$am_aux_dir/compile $CC"
13055 ac_cpp='$CPP $CPPFLAGS'
13056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13060 $as_echo_n "checking how to run the C preprocessor... " >&6; }
13061 # On Suns, sometimes $CPP names a directory.
13062 if test -n "$CPP" && test -d "$CPP"; then
13065 if test -z "$CPP"; then
13066 if test "${ac_cv_prog_CPP+set}" = set; then :
13067 $as_echo_n "(cached) " >&6
13069 # Double quotes because CPP needs to be expanded
13070 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13072 ac_preproc_ok=false
13073 for ac_c_preproc_warn_flag in '' yes
13075 # Use a header file that comes with gcc, so configuring glibc
13076 # with a fresh cross-compiler works.
13077 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13078 # <limits.h> exists even on freestanding compilers.
13079 # On the NeXT, cc -E runs the code through the compiler's parser,
13080 # not just through cpp. "Syntax error" is here to catch this case.
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13084 # include <limits.h>
13086 # include <assert.h>
13090 if ac_fn_c_try_cpp "$LINENO"; then :
13093 # Broken: fails on valid input.
13096 rm -f conftest.err conftest.$ac_ext
13098 # OK, works on sane cases. Now check whether nonexistent headers
13099 # can be detected and how.
13100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13101 /* end confdefs.h. */
13102 #include <ac_nonexistent.h>
13104 if ac_fn_c_try_cpp "$LINENO"; then :
13105 # Broken: success on invalid input.
13108 # Passes both tests.
13112 rm -f conftest.err conftest.$ac_ext
13115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13116 rm -f conftest.err conftest.
$ac_ext
13117 if $ac_preproc_ok; then :
13122 ac_cv_prog_CPP
=$CPP
13125 CPP
=$ac_cv_prog_CPP
13127 ac_cv_prog_CPP
=$CPP
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13130 $as_echo "$CPP" >&6; }
13131 ac_preproc_ok
=false
13132 for ac_c_preproc_warn_flag
in '' yes
13134 # Use a header file that comes with gcc, so configuring glibc
13135 # with a fresh cross-compiler works.
13136 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13137 # <limits.h> exists even on freestanding compilers.
13138 # On the NeXT, cc -E runs the code through the compiler's parser,
13139 # not just through cpp. "Syntax error" is here to catch this case.
13140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13141 /* end confdefs.h. */
13143 # include <limits.h>
13145 # include <assert.h>
13149 if ac_fn_c_try_cpp
"$LINENO"; then :
13152 # Broken: fails on valid input.
13155 rm -f conftest.err conftest.
$ac_ext
13157 # OK, works on sane cases. Now check whether nonexistent headers
13158 # can be detected and how.
13159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13160 /* end confdefs.h. */
13161 #include <ac_nonexistent.h>
13163 if ac_fn_c_try_cpp
"$LINENO"; then :
13164 # Broken: success on invalid input.
13167 # Passes both tests.
13171 rm -f conftest.err conftest.
$ac_ext
13174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13175 rm -f conftest.err conftest.
$ac_ext
13176 if $ac_preproc_ok; then :
13179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13181 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
13182 See \`config.log' for more details." "$LINENO" 5; }
13186 ac_cpp
='$CPP $CPPFLAGS'
13187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13192 ac_cpp
='$CXXCPP $CPPFLAGS'
13193 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13194 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13195 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13196 if test -z "$CXX"; then
13197 if test -n "$CCC"; then
13200 if test -n "$ac_tool_prefix"; then
13201 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
13203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13204 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13206 $as_echo_n "checking for $ac_word... " >&6; }
13207 if test "${ac_cv_prog_CXX+set}" = set; then :
13208 $as_echo_n "(cached) " >&6
13210 if test -n "$CXX"; then
13211 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13214 for as_dir
in $PATH
13217 test -z "$as_dir" && as_dir
=.
13218 for ac_exec_ext
in '' $ac_executable_extensions; do
13219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13220 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13230 CXX
=$ac_cv_prog_CXX
13231 if test -n "$CXX"; then
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13233 $as_echo "$CXX" >&6; }
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13236 $as_echo "no" >&6; }
13240 test -n "$CXX" && break
13243 if test -z "$CXX"; then
13245 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
13247 # Extract the first word of "$ac_prog", so it can be a program name with args.
13248 set dummy
$ac_prog; ac_word
=$2
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13250 $as_echo_n "checking for $ac_word... " >&6; }
13251 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13252 $as_echo_n "(cached) " >&6
13254 if test -n "$ac_ct_CXX"; then
13255 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13258 for as_dir
in $PATH
13261 test -z "$as_dir" && as_dir
=.
13262 for ac_exec_ext
in '' $ac_executable_extensions; do
13263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13264 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13274 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13275 if test -n "$ac_ct_CXX"; then
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13277 $as_echo "$ac_ct_CXX" >&6; }
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13280 $as_echo "no" >&6; }
13284 test -n "$ac_ct_CXX" && break
13287 if test "x$ac_ct_CXX" = x
; then
13290 case $cross_compiling:$ac_tool_warned in
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13294 ac_tool_warned
=yes ;;
13302 # Provide some information about the compiler.
13303 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13306 for ac_option
in --version -v -V -qversion; do
13307 { { ac_try
="$ac_compiler $ac_option >&5"
13308 case "(($ac_try" in
13309 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13310 *) ac_try_echo=$ac_try;;
13312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13313 $as_echo "$ac_try_echo"; } >&5
13314 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13316 if test -s conftest.err; then
13318 ... rest of stderr output deleted ...
13319 10q' conftest.err >conftest.er1
13320 cat conftest.er1 >&5
13321 rm -f conftest.er1 conftest.err
13323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13324 test $ac_status = 0; }
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13328 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13329 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13330 $as_echo_n "(cached) " >&6
13332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13333 /* end confdefs.h. */
13346 if ac_fn_cxx_try_compile "$LINENO"; then :
13347 ac_compiler_gnu=yes
13351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13352 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13356 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13357 if test $ac_compiler_gnu = yes; then
13362 ac_test_CXXFLAGS=${CXXFLAGS+set}
13363 ac_save_CXXFLAGS=$CXXFLAGS
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13365 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13366 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13367 $as_echo_n "(cached) " >&6
13369 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13370 ac_cxx_werror_flag=yes
13371 ac_cv_prog_cxx_g=no
13373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13374 /* end confdefs.h. */
13384 if ac_fn_cxx_try_compile "$LINENO"; then :
13385 ac_cv_prog_cxx_g=yes
13388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13399 if ac_fn_cxx_try_compile "$LINENO"; then :
13402 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13405 /* end confdefs.h. */
13415 if ac_fn_cxx_try_compile "$LINENO"; then :
13416 ac_cv_prog_cxx_g=yes
13418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13423 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13426 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13427 if test "$ac_test_CXXFLAGS" = set; then
13428 CXXFLAGS=$ac_save_CXXFLAGS
13429 elif test $ac_cv_prog_cxx_g = yes; then
13430 if test "$GXX" = yes; then
13436 if test "$GXX" = yes; then
13443 ac_cpp='$CPP $CPPFLAGS'
13444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13448 depcc="$CXX" am_compiler_list=
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13451 $as_echo_n "checking dependency style of $depcc... " >&6; }
13452 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13453 $as_echo_n "(cached) " >&6
13455 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13456 # We make a subdir and do the tests there. Otherwise we can end up
13457 # making bogus files that we don't know about and never remove. For
13458 # instance it was reported that on HP-UX the gcc test will end up
13459 # making a dummy file named `D
' -- because `-MD' means
`put the output
13462 # Copy depcomp to subdir because otherwise we won't find it if we're
13463 # using a relative directory.
13464 cp "$am_depcomp" conftest.dir
13466 # We will build objects and dependencies in a subdirectory because
13467 # it helps to detect inapplicable dependency modes. For instance
13468 # both Tru64's cc and ICC support -MD to output dependencies as a
13469 # side effect of compilation, but ICC will put the dependencies in
13470 # the current directory while Tru64 will put them in the object
13474 am_cv_CXX_dependencies_compiler_type=none
13475 if test "$am_compiler_list" = ""; then
13476 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
13478 am__universal=false
13479 case " $depcc " in #(
13480 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13483 for depmode in $am_compiler_list; do
13484 # Setup a source with many dependencies, because some compilers
13485 # like to wrap large dependency lists on column 80 (with \), and
13486 # we should not choose a depcomp mode which is confused by this.
13488 # We need to recreate these files for each test, as the compiler may
13489 # overwrite some of them when testing with obscure command lines.
13490 # This happens at least with the AIX C compiler.
13492 for i in 1 2 3 4 5 6; do
13493 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13494 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
13495 # Solaris 8's
{/usr
,}/bin
/sh.
13496 touch sub
/conftst
$i.h
13498 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13500 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13501 # mode. It turns out that the SunPro C++ compiler does not properly
13502 # handle `-M -o', and we need to detect this. Also, some Intel
13503 # versions had trouble with output in subdirs
13504 am__obj
=sub
/conftest.
${OBJEXT-o}
13505 am__minus_obj
="-o $am__obj"
13508 # This depmode causes a compiler race in universal mode.
13509 test "$am__universal" = false ||
continue
13512 # after this tag, mechanisms are not by side-effect, so they'll
13513 # only be used when explicitly requested
13514 if test "x$enable_dependency_tracking" = xyes
; then
13520 msvisualcpp | msvcmsys
)
13521 # This compiler won't grok `-c -o', but also, the minuso test has
13522 # not run yet. These depmodes are late enough in the game, and
13523 # so weak that their functioning should not be impacted.
13524 am__obj
=conftest.
${OBJEXT-o}
13529 if depmode
=$depmode \
13530 source=sub
/conftest.c object
=$am__obj \
13531 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13532 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
13533 >/dev
/null
2>conftest.err
&&
13534 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13535 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13536 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
13537 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13538 # icc doesn't choke on unknown options, it will just issue warnings
13539 # or remarks (even with -Werror). So we grep stderr for any message
13540 # that says an option was ignored or not supported.
13541 # When given -MP, icc 7.0 and 7.1 complain thusly:
13542 # icc: Command line warning: ignoring option '-M'; no argument required
13543 # The diagnosis changed in icc 8.0:
13544 # icc: Command line remark: option '-MP' not supported
13545 if (grep 'ignoring option' conftest.err ||
13546 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13547 am_cv_CXX_dependencies_compiler_type
=$depmode
13554 rm -rf conftest.dir
13556 am_cv_CXX_dependencies_compiler_type
=none
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13561 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13562 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
13565 test "x$enable_dependency_tracking" != xno \
13566 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
13567 am__fastdepCXX_TRUE
=
13568 am__fastdepCXX_FALSE
='#'
13570 am__fastdepCXX_TRUE
='#'
13571 am__fastdepCXX_FALSE
=
13575 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13576 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13577 (test "X$CXX" != "Xg++"))) ; then
13579 ac_cpp
='$CXXCPP $CPPFLAGS'
13580 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13581 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13582 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13584 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13585 if test -z "$CXXCPP"; then
13586 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13587 $as_echo_n "(cached) " >&6
13589 # Double quotes because CXXCPP needs to be expanded
13590 for CXXCPP
in "$CXX -E" "/lib/cpp"
13592 ac_preproc_ok
=false
13593 for ac_cxx_preproc_warn_flag
in '' yes
13595 # Use a header file that comes with gcc, so configuring glibc
13596 # with a fresh cross-compiler works.
13597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13598 # <limits.h> exists even on freestanding compilers.
13599 # On the NeXT, cc -E runs the code through the compiler's parser,
13600 # not just through cpp. "Syntax error" is here to catch this case.
13601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13604 # include <limits.h>
13606 # include <assert.h>
13610 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13613 # Broken: fails on valid input.
13616 rm -f conftest.err conftest.
$ac_ext
13618 # OK, works on sane cases. Now check whether nonexistent headers
13619 # can be detected and how.
13620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13622 #include <ac_nonexistent.h>
13624 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13625 # Broken: success on invalid input.
13628 # Passes both tests.
13632 rm -f conftest.err conftest.
$ac_ext
13635 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13636 rm -f conftest.err conftest.
$ac_ext
13637 if $ac_preproc_ok; then :
13642 ac_cv_prog_CXXCPP
=$CXXCPP
13645 CXXCPP
=$ac_cv_prog_CXXCPP
13647 ac_cv_prog_CXXCPP
=$CXXCPP
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13650 $as_echo "$CXXCPP" >&6; }
13651 ac_preproc_ok
=false
13652 for ac_cxx_preproc_warn_flag
in '' yes
13654 # Use a header file that comes with gcc, so configuring glibc
13655 # with a fresh cross-compiler works.
13656 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13657 # <limits.h> exists even on freestanding compilers.
13658 # On the NeXT, cc -E runs the code through the compiler's parser,
13659 # not just through cpp. "Syntax error" is here to catch this case.
13660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13661 /* end confdefs.h. */
13663 # include <limits.h>
13665 # include <assert.h>
13669 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13672 # Broken: fails on valid input.
13675 rm -f conftest.err conftest.
$ac_ext
13677 # OK, works on sane cases. Now check whether nonexistent headers
13678 # can be detected and how.
13679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13680 /* end confdefs.h. */
13681 #include <ac_nonexistent.h>
13683 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13684 # Broken: success on invalid input.
13687 # Passes both tests.
13691 rm -f conftest.err conftest.
$ac_ext
13694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13695 rm -f conftest.err conftest.
$ac_ext
13696 if $ac_preproc_ok; then :
13699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13701 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
13702 See \`config.log' for more details." "$LINENO" 5; }
13706 ac_cpp
='$CPP $CPPFLAGS'
13707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13712 _lt_caught_CXX_error
=yes
13716 ac_cpp
='$CXXCPP $CPPFLAGS'
13717 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13718 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13719 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13721 archive_cmds_need_lc_CXX
=no
13722 allow_undefined_flag_CXX
=
13723 always_export_symbols_CXX
=no
13724 archive_expsym_cmds_CXX
=
13725 compiler_needs_object_CXX
=no
13726 export_dynamic_flag_spec_CXX
=
13727 hardcode_direct_CXX
=no
13728 hardcode_direct_absolute_CXX
=no
13729 hardcode_libdir_flag_spec_CXX
=
13730 hardcode_libdir_flag_spec_ld_CXX
=
13731 hardcode_libdir_separator_CXX
=
13732 hardcode_minus_L_CXX
=no
13733 hardcode_shlibpath_var_CXX
=unsupported
13734 hardcode_automatic_CXX
=no
13735 inherit_rpath_CXX
=no
13737 module_expsym_cmds_CXX
=
13738 link_all_deplibs_CXX
=unknown
13739 old_archive_cmds_CXX
=$old_archive_cmds
13740 reload_flag_CXX
=$reload_flag
13741 reload_cmds_CXX
=$reload_cmds
13742 no_undefined_flag_CXX
=
13743 whole_archive_flag_spec_CXX
=
13744 enable_shared_with_static_runtimes_CXX
=no
13746 # Source file extension for C++ test sources.
13749 # Object file extension for compiled C++ test sources.
13753 # No sense in running all these tests if we already determined that
13754 # the CXX compiler isn't working. Some variables (like enable_shared)
13755 # are currently assumed to apply to all compilers on this platform,
13756 # and will be corrupted by setting them based on a non-working compiler.
13757 if test "$_lt_caught_CXX_error" != yes; then
13758 # Code to be used in simple compile tests
13759 lt_simple_compile_test_code
="int some_variable = 0;"
13761 # Code to be used in simple link tests
13762 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13764 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13771 # If no C compiler was specified, use CC.
13774 # If no C compiler flags were specified, use CFLAGS.
13775 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13777 # Allow CC to be a program name with arguments.
13781 # save warnings/boilerplate of simple test code
13782 ac_outfile
=conftest.
$ac_objext
13783 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13784 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13785 _lt_compiler_boilerplate
=`cat conftest.err`
13788 ac_outfile
=conftest.
$ac_objext
13789 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13790 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13791 _lt_linker_boilerplate
=`cat conftest.err`
13795 # Allow CC to be a program name with arguments.
13800 lt_save_with_gnu_ld
=$with_gnu_ld
13801 lt_save_path_LD
=$lt_cv_path_LD
13802 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13803 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13805 $as_unset lt_cv_prog_gnu_ld
13807 if test -n "${lt_cv_path_LDCXX+set}"; then
13808 lt_cv_path_LD
=$lt_cv_path_LDCXX
13810 $as_unset lt_cv_path_LD
13812 test -z "${LDCXX+set}" || LD
=$LDCXX
13816 for cc_temp
in $compiler""; do
13818 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13819 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13824 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13827 if test -n "$compiler"; then
13828 # We don't want -fno-exception when compiling C++ code, so set the
13829 # no_builtin_flag separately
13830 if test "$GXX" = yes; then
13831 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13833 lt_prog_compiler_no_builtin_flag_CXX
=
13836 if test "$GXX" = yes; then
13837 # Set up default GNU C++ configuration
13841 # Check whether --with-gnu-ld was given.
13842 if test "${with_gnu_ld+set}" = set; then :
13843 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13849 if test "$GCC" = yes; then
13850 # Check if gcc -print-prog-name=ld gives a path.
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13852 $as_echo_n "checking for ld used by $CC... " >&6; }
13855 # gcc leaves a trailing carriage return which upsets mingw
13856 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13858 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13861 # Accept absolute paths.
13863 re_direlt
='/[^/][^/]*/\.\./'
13864 # Canonicalize the pathname of ld
13865 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13866 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13867 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13869 test -z "$LD" && LD
="$ac_prog"
13872 # If it fails, then pretend we aren't using GCC.
13876 # If it is relative, then search for the first ld in PATH.
13877 with_gnu_ld
=unknown
13880 elif test "$with_gnu_ld" = yes; then
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13882 $as_echo_n "checking for GNU ld... " >&6; }
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13885 $as_echo_n "checking for non-GNU ld... " >&6; }
13887 if test "${lt_cv_path_LD+set}" = set; then :
13888 $as_echo_n "(cached) " >&6
13890 if test -z "$LD"; then
13891 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13892 for ac_dir
in $PATH; do
13894 test -z "$ac_dir" && ac_dir
=.
13895 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13896 lt_cv_path_LD
="$ac_dir/$ac_prog"
13897 # Check to see if the program is GNU ld. I'd rather use --version,
13898 # but apparently some variants of GNU ld only accept -v.
13899 # Break only if it was the GNU/non-GNU ld that we prefer.
13900 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13901 *GNU
* |
*'with BFD'*)
13902 test "$with_gnu_ld" != no
&& break
13905 test "$with_gnu_ld" != yes && break
13912 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13916 LD
="$lt_cv_path_LD"
13917 if test -n "$LD"; then
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13919 $as_echo "$LD" >&6; }
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13922 $as_echo "no" >&6; }
13924 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13926 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13927 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
13928 $as_echo_n "(cached) " >&6
13930 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13931 case `$LD -v 2>&1 </dev/null` in
13932 *GNU
* |
*'with BFD'*)
13933 lt_cv_prog_gnu_ld
=yes
13936 lt_cv_prog_gnu_ld
=no
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13941 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13942 with_gnu_ld
=$lt_cv_prog_gnu_ld
13950 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13951 # archiving commands below assume that GNU ld is being used.
13952 if test "$with_gnu_ld" = yes; then
13953 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13954 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'
13956 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13957 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13959 # If archive_cmds runs LD, not CC, wlarc should be empty
13960 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13961 # investigate it a little bit more. (MM)
13964 # ancient GNU ld didn't support --whole-archive et. al.
13965 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13966 $GREP 'no-whole-archive' > /dev
/null
; then
13967 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13969 whole_archive_flag_spec_CXX
=
13975 # A generic and very simple default shared library creation
13976 # command for GNU C++ for the case where it uses the native
13977 # linker, instead of GNU ld. If possible, this setting should
13978 # overridden to take advantage of the native linker features on
13979 # the platform it is being used on.
13980 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13983 # Commands to make compiler produce verbose output that lists
13984 # what "hidden" libraries, object files and flags are used when
13985 # linking a shared library.
13986 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13994 # PORTME: fill in a description of your system's C++ link characteristics
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13996 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14000 # FIXME: insert proper C++ library support
14004 if test "$host_cpu" = ia64
; then
14005 # On IA64, the linker does run time linking by default, so we don't
14006 # have to do anything special.
14007 aix_use_runtimelinking
=no
14008 exp_sym_flag
='-Bexport'
14011 aix_use_runtimelinking
=no
14013 # Test if we are trying to use run time linking or normal
14014 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14015 # need to do runtime linking.
14016 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14017 for ld_flag
in $LDFLAGS; do
14020 aix_use_runtimelinking
=yes
14028 exp_sym_flag
='-bexport'
14029 no_entry_flag
='-bnoentry'
14032 # When large executables or shared objects are built, AIX ld can
14033 # have problems creating the table of contents. If linking a library
14034 # or program results in "error TOC overflow" add -mminimal-toc to
14035 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14036 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14038 archive_cmds_CXX
=''
14039 hardcode_direct_CXX
=yes
14040 hardcode_direct_absolute_CXX
=yes
14041 hardcode_libdir_separator_CXX
=':'
14042 link_all_deplibs_CXX
=yes
14043 file_list_spec_CXX
='${wl}-f,'
14045 if test "$GXX" = yes; then
14046 case $host_os in aix4.
[012]|aix4.
[012].
*)
14047 # We only want to do this on AIX 4.2 and lower, the check
14048 # below for broken collect2 doesn't work under 4.3+
14049 collect2name
=`${CC} -print-prog-name=collect2`
14050 if test -f "$collect2name" &&
14051 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14053 # We have reworked collect2
14056 # We have old collect2
14057 hardcode_direct_CXX
=unsupported
14058 # It fails to find uninstalled libraries when the uninstalled
14059 # path is not listed in the libpath. Setting hardcode_minus_L
14060 # to unsupported forces relinking
14061 hardcode_minus_L_CXX
=yes
14062 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14063 hardcode_libdir_separator_CXX
=
14066 shared_flag
='-shared'
14067 if test "$aix_use_runtimelinking" = yes; then
14068 shared_flag
="$shared_flag "'${wl}-G'
14072 if test "$host_cpu" = ia64
; then
14073 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14074 # chokes on -Wl,-G. The following line is correct:
14077 if test "$aix_use_runtimelinking" = yes; then
14078 shared_flag
='${wl}-G'
14080 shared_flag
='${wl}-bM:SRE'
14085 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14086 # It seems that -bexpall does not export symbols beginning with
14087 # underscore (_), so it is better to generate a list of symbols to
14089 always_export_symbols_CXX
=yes
14090 if test "$aix_use_runtimelinking" = yes; then
14091 # Warning - without using the other runtime loading flags (-brtl),
14092 # -berok will link without error, but may produce a broken library.
14093 allow_undefined_flag_CXX
='-berok'
14094 # Determine the default libpath from the value encoded in an empty
14096 if test x
$gcc_no_link = xyes
; then
14097 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14100 /* end confdefs.h. */
14110 if ac_fn_cxx_try_link
"$LINENO"; then :
14112 lt_aix_libpath_sed
='
14113 /Import File Strings/,/^$/ {
14119 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14120 # Check for a 64-bit object if we didn't find anything.
14121 if test -z "$aix_libpath"; then
14122 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14125 rm -f core conftest.err conftest.
$ac_objext \
14126 conftest
$ac_exeext conftest.
$ac_ext
14127 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14129 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14131 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"
14133 if test "$host_cpu" = ia64
; then
14134 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14135 allow_undefined_flag_CXX
="-z nodefs"
14136 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"
14138 # Determine the default libpath from the value encoded in an
14139 # empty executable.
14140 if test x
$gcc_no_link = xyes
; then
14141 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14154 if ac_fn_cxx_try_link
"$LINENO"; then :
14156 lt_aix_libpath_sed
='
14157 /Import File Strings/,/^$/ {
14163 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14164 # Check for a 64-bit object if we didn't find anything.
14165 if test -z "$aix_libpath"; then
14166 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14169 rm -f core conftest.err conftest.
$ac_objext \
14170 conftest
$ac_exeext conftest.
$ac_ext
14171 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14173 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14174 # Warning - without using the other run time loading flags,
14175 # -berok will link without error, but may produce a broken library.
14176 no_undefined_flag_CXX
=' ${wl}-bernotok'
14177 allow_undefined_flag_CXX
=' ${wl}-berok'
14178 if test "$with_gnu_ld" = yes; then
14179 # We only use this code for GNU lds that support --whole-archive.
14180 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14182 # Exported symbols can be pulled into shared objects from archives
14183 whole_archive_flag_spec_CXX
='$convenience'
14185 archive_cmds_need_lc_CXX
=yes
14186 # This is similar to how AIX traditionally builds its shared
14188 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'
14194 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14195 allow_undefined_flag_CXX
=unsupported
14196 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14197 # support --undefined. This deserves some investigation. FIXME
14198 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14205 case $cc_basename in
14207 # FIXME: insert proper C++ library support
14213 cygwin
* | mingw
* | pw32
* | cegcc
*)
14214 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14215 # as there is no search path for DLLs.
14216 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14217 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
14218 allow_undefined_flag_CXX
=unsupported
14219 always_export_symbols_CXX
=no
14220 enable_shared_with_static_runtimes_CXX
=yes
14222 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14223 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'
14224 # If the export-symbols file already is a .def file (1st line
14225 # is EXPORTS), use it as is; otherwise, prepend...
14226 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14227 cp $export_symbols $output_objdir/$soname.def;
14229 echo EXPORTS > $output_objdir/$soname.def;
14230 cat $export_symbols >> $output_objdir/$soname.def;
14232 $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'
14237 darwin
* | rhapsody
*)
14240 archive_cmds_need_lc_CXX
=no
14241 hardcode_direct_CXX
=no
14242 hardcode_automatic_CXX
=yes
14243 hardcode_shlibpath_var_CXX
=unsupported
14244 if test "$lt_cv_ld_force_load" = "yes"; then
14245 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\"`'
14247 whole_archive_flag_spec_CXX
=''
14249 link_all_deplibs_CXX
=yes
14250 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14251 case $cc_basename in
14252 ifort
*) _lt_dar_can_shared
=yes ;;
14253 *) _lt_dar_can_shared
=$GCC ;;
14255 if test "$_lt_dar_can_shared" = "yes"; then
14256 output_verbose_link_cmd
=func_echo_all
14257 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}"
14258 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14259 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}"
14260 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}"
14261 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14262 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}"
14263 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}"
14273 case $cc_basename in
14275 # FIXME: insert proper C++ library support
14279 # Green Hills C++ Compiler
14280 # FIXME: insert proper C++ library support
14284 # FIXME: insert proper C++ library support
14291 # C++ shared libraries reported to be fairly broken before
14297 archive_cmds_need_lc_CXX
=no
14300 freebsd
* | dragonfly
*)
14301 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14310 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14311 link_all_deplibs_CXX
=yes
14315 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14316 hardcode_libdir_separator_CXX
=:
14317 export_dynamic_flag_spec_CXX
='${wl}-E'
14318 hardcode_direct_CXX
=yes
14319 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14320 # but as the default
14321 # location of the library.
14323 case $cc_basename in
14325 # FIXME: insert proper C++ library support
14329 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'
14330 # Commands to make compiler produce verbose output that lists
14331 # what "hidden" libraries, object files and flags are used when
14332 # linking a shared library.
14334 # There doesn't appear to be a way to prevent this compiler from
14335 # explicitly linking system object files so we need to strip them
14336 # from the output so that they don't get included in the library
14338 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"'
14341 if test "$GXX" = yes; then
14342 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'
14344 # FIXME: insert proper C++ library support
14352 if test $with_gnu_ld = no
; then
14353 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14354 hardcode_libdir_separator_CXX
=:
14360 export_dynamic_flag_spec_CXX
='${wl}-E'
14366 hardcode_direct_CXX
=no
14367 hardcode_shlibpath_var_CXX
=no
14370 hardcode_direct_CXX
=yes
14371 hardcode_direct_absolute_CXX
=yes
14372 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14373 # but as the default
14374 # location of the library.
14378 case $cc_basename in
14380 # FIXME: insert proper C++ library support
14386 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14389 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14392 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14395 # Commands to make compiler produce verbose output that lists
14396 # what "hidden" libraries, object files and flags are used when
14397 # linking a shared library.
14399 # There doesn't appear to be a way to prevent this compiler from
14400 # explicitly linking system object files so we need to strip them
14401 # from the output so that they don't get included in the library
14403 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"'
14406 if test "$GXX" = yes; then
14407 if test $with_gnu_ld = no
; then
14410 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14413 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14416 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'
14421 # FIXME: insert proper C++ library support
14429 hardcode_direct_CXX
=no
14430 hardcode_shlibpath_var_CXX
=no
14431 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14432 export_dynamic_flag_spec_CXX
='${wl}-E'
14433 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14434 # Instead, shared libraries are loaded at an image base (0x10000000 by
14435 # default) and relocated if they conflict, which is a slow very memory
14436 # consuming and fragmenting process. To avoid this, we pick a random,
14437 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14438 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14439 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'
14440 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'
14443 case $cc_basename in
14446 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'
14448 # Archives containing C++ object files must be created using
14449 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14450 # necessary to make sure instantiated templates are included
14452 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14455 if test "$GXX" = yes; then
14456 if test "$with_gnu_ld" = no
; then
14457 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'
14459 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'
14462 link_all_deplibs_CXX
=yes
14465 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14466 hardcode_libdir_separator_CXX
=:
14467 inherit_rpath_CXX
=yes
14470 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14471 case $cc_basename in
14473 # Kuck and Associates, Inc. (KAI) C++ Compiler
14475 # KCC will only create a shared library if the output file
14476 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14477 # to its proper name (with version) after linking.
14478 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'
14479 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'
14480 # Commands to make compiler produce verbose output that lists
14481 # what "hidden" libraries, object files and flags are used when
14482 # linking a shared library.
14484 # There doesn't appear to be a way to prevent this compiler from
14485 # explicitly linking system object files so we need to strip them
14486 # from the output so that they don't get included in the library
14488 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"'
14490 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14491 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14493 # Archives containing C++ object files must be created using
14494 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14495 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14500 # version 8.0 and above of icpc choke on multiply defined symbols
14501 # if we add $predep_objects and $postdep_objects, however 7.1 and
14502 # earlier do not add the objects themselves.
14503 case `$CC -V 2>&1` in
14505 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14506 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'
14508 *) # Version 8.0 or newer
14511 ia64
*) tmp_idyn
=' -i_dynamic';;
14513 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14514 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'
14517 archive_cmds_need_lc_CXX
=no
14518 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14519 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14520 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14523 # Portland Group C++ compiler
14525 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
14526 prelink_cmds_CXX
='tpldir=Template.dir~
14528 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14529 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14530 old_archive_cmds_CXX
='tpldir=Template.dir~
14532 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14533 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14535 archive_cmds_CXX
='tpldir=Template.dir~
14537 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14538 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14539 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14541 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14542 $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'
14544 *) # Version 6 and above use weak symbols
14545 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14546 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'
14550 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14551 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14552 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'
14556 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14557 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'
14559 runpath_var
=LD_RUN_PATH
14560 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14561 hardcode_libdir_separator_CXX
=:
14563 # Commands to make compiler produce verbose output that lists
14564 # what "hidden" libraries, object files and flags are used when
14565 # linking a shared library.
14567 # There doesn't appear to be a way to prevent this compiler from
14568 # explicitly linking system object files so we need to strip them
14569 # from the output so that they don't get included in the library
14571 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'
14573 xl
* | mpixl
* | bgxl
*)
14574 # IBM XL 8.0 on PPC, with GNU ld
14575 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14576 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14577 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14578 if test "x$supports_anon_versioning" = xyes
; then
14579 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14580 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14581 echo "local: *; };" >> $output_objdir/$libname.ver~
14582 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14586 case `$CC -V 2>&1 | sed 5q` in
14589 no_undefined_flag_CXX
=' -zdefs'
14590 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14591 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'
14592 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14593 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'
14594 compiler_needs_object_CXX
=yes
14596 # Not sure whether something based on
14597 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14599 output_verbose_link_cmd
='func_echo_all'
14601 # Archives containing C++ object files must be created using
14602 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14603 # necessary to make sure instantiated templates are included
14605 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14613 # FIXME: insert proper C++ library support
14618 # FIXME: insert proper C++ library support
14623 case $cc_basename in
14625 # FIXME: insert proper C++ library support
14629 # FIXME: insert proper C++ library support
14636 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14637 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14639 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14640 hardcode_direct_CXX
=yes
14641 hardcode_shlibpath_var_CXX
=no
14643 # Workaround some broken pre-1.5 toolchains
14644 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14652 # C++ shared libraries are fairly broken
14657 if test -f /usr
/libexec
/ld.so
; then
14658 hardcode_direct_CXX
=yes
14659 hardcode_shlibpath_var_CXX
=no
14660 hardcode_direct_absolute_CXX
=yes
14661 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14662 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14663 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14664 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14665 export_dynamic_flag_spec_CXX
='${wl}-E'
14666 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14668 output_verbose_link_cmd
=func_echo_all
14674 osf3
* | osf4
* | osf5
*)
14675 case $cc_basename in
14677 # Kuck and Associates, Inc. (KAI) C++ Compiler
14679 # KCC will only create a shared library if the output file
14680 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14681 # to its proper name (with version) after linking.
14682 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'
14684 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14685 hardcode_libdir_separator_CXX
=:
14687 # Archives containing C++ object files must be created using
14688 # the KAI C++ compiler.
14690 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14691 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14695 # Rational C++ 2.4.1
14696 # FIXME: insert proper C++ library support
14702 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14703 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'
14704 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14707 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14708 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'
14709 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14710 echo "-hidden">> $lib.exp~
14711 $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~
14713 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14717 hardcode_libdir_separator_CXX
=:
14719 # Commands to make compiler produce verbose output that lists
14720 # what "hidden" libraries, object files and flags are used when
14721 # linking a shared library.
14723 # There doesn't appear to be a way to prevent this compiler from
14724 # explicitly linking system object files so we need to strip them
14725 # from the output so that they don't get included in the library
14727 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"'
14730 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14731 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14734 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'
14737 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'
14741 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14742 hardcode_libdir_separator_CXX
=:
14744 # Commands to make compiler produce verbose output that lists
14745 # what "hidden" libraries, object files and flags are used when
14746 # linking a shared library.
14747 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14750 # FIXME: insert proper C++ library support
14758 # FIXME: insert proper C++ library support
14763 case $cc_basename in
14766 # FIXME: insert proper C++ library support
14771 # FIXME: insert proper C++ library support
14775 # FIXME: insert proper C++ library support
14782 case $cc_basename in
14784 # Sun C++ 4.2, 5.x and Centerline C++
14785 archive_cmds_need_lc_CXX
=yes
14786 no_undefined_flag_CXX
=' -zdefs'
14787 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14788 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14789 $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'
14791 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14792 hardcode_shlibpath_var_CXX
=no
14794 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14796 # The compiler driver will combine and reorder linker options,
14797 # but understands `-z linker_flag'.
14798 # Supported since Solaris 2.6 (maybe 2.5.1?)
14799 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14802 link_all_deplibs_CXX
=yes
14804 output_verbose_link_cmd
='func_echo_all'
14806 # Archives containing C++ object files must be created using
14807 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14808 # necessary to make sure instantiated templates are included
14810 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14813 # Green Hills C++ Compiler
14814 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14816 # The C++ compiler must be used to create the archive.
14817 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14820 # GNU C++ compiler with Solaris linker
14821 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14822 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14823 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14824 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14825 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14826 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14828 # Commands to make compiler produce verbose output that lists
14829 # what "hidden" libraries, object files and flags are used when
14830 # linking a shared library.
14831 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14833 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14835 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14836 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14837 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14839 # Commands to make compiler produce verbose output that lists
14840 # what "hidden" libraries, object files and flags are used when
14841 # linking a shared library.
14842 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14845 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14847 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14849 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14857 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14858 no_undefined_flag_CXX
='${wl}-z,text'
14859 archive_cmds_need_lc_CXX
=no
14860 hardcode_shlibpath_var_CXX
=no
14861 runpath_var
='LD_RUN_PATH'
14863 case $cc_basename in
14865 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14866 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14869 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14870 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14875 sysv5
* | sco3.2v5
* | sco5v6
*)
14876 # Note: We can NOT use -z defs as we might desire, because we do not
14877 # link with -lc, and that would cause any symbols used from libc to
14878 # always be unresolved, which means just about no library would
14879 # ever link correctly. If we're not using GNU ld we use -z text
14880 # though, which does catch some bad symbols but isn't as heavy-handed
14882 no_undefined_flag_CXX
='${wl}-z,text'
14883 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14884 archive_cmds_need_lc_CXX
=no
14885 hardcode_shlibpath_var_CXX
=no
14886 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14887 hardcode_libdir_separator_CXX
=':'
14888 link_all_deplibs_CXX
=yes
14889 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14890 runpath_var
='LD_RUN_PATH'
14892 case $cc_basename in
14894 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14895 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14896 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14897 '"$old_archive_cmds_CXX"
14898 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14899 '"$reload_cmds_CXX"
14902 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14903 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14909 case $cc_basename in
14911 # NonStop-UX NCC 3.20
14912 # FIXME: insert proper C++ library support
14916 # FIXME: insert proper C++ library support
14923 # FIXME: insert proper C++ library support
14928 # FIXME: insert proper C++ library support
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14934 $as_echo "$ld_shlibs_CXX" >&6; }
14935 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14941 ## There is no encapsulation within the following macros, do not change
14942 ## the running order or otherwise move them around unless you know exactly
14943 ## what you are doing...
14944 # Dependencies to place before and after the object being linked:
14945 predep_objects_CXX
=
14946 postdep_objects_CXX
=
14949 compiler_lib_search_path_CXX
=
14951 cat > conftest.
$ac_ext <<_LT_EOF
14955 Foo (void) { a = 0; }
14961 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14962 (eval $ac_compile) 2>&5
14964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14965 test $ac_status = 0; }; then
14966 # Parse the compiler output and extract the necessary
14967 # objects, libraries and library flags.
14969 # Sentinel used to keep track of whether or not we are before
14970 # the conftest object file.
14971 pre_test_object_deps_done
=no
14973 for p
in `eval "$output_verbose_link_cmd"`; do
14977 # Some compilers place space between "-{L,R}" and the path.
14978 # Remove the space.
14979 if test $p = "-L" ||
14980 test $p = "-R"; then
14987 if test "$pre_test_object_deps_done" = no
; then
14990 # Internal compiler library paths should come after those
14991 # provided the user. The postdeps already come after the
14992 # user supplied libs so there is no need to process them.
14993 if test -z "$compiler_lib_search_path_CXX"; then
14994 compiler_lib_search_path_CXX
="${prev}${p}"
14996 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14999 # The "-l" case would never come before the object being
15000 # linked, so don't bother handling this case.
15003 if test -z "$postdeps_CXX"; then
15004 postdeps_CXX
="${prev}${p}"
15006 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
15012 # This assumes that the test object file only shows up
15013 # once in the compiler output.
15014 if test "$p" = "conftest.$objext"; then
15015 pre_test_object_deps_done
=yes
15019 if test "$pre_test_object_deps_done" = no
; then
15020 if test -z "$predep_objects_CXX"; then
15021 predep_objects_CXX
="$p"
15023 predep_objects_CXX
="$predep_objects_CXX $p"
15026 if test -z "$postdep_objects_CXX"; then
15027 postdep_objects_CXX
="$p"
15029 postdep_objects_CXX
="$postdep_objects_CXX $p"
15034 *) ;; # Ignore the rest.
15042 echo "libtool.m4: error: problem compiling CXX test program"
15045 $RM -f confest.
$objext
15047 # PORTME: override above test on systems where it is broken
15050 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15051 # hack all around it, let's just trust "g++" to DTRT.
15052 predep_objects_CXX
=
15053 postdep_objects_CXX
=
15058 case `$CC -V 2>&1 | sed 5q` in
15062 # The more standards-conforming stlport4 library is
15063 # incompatible with the Cstd library. Avoid specifying
15064 # it if it's in CXXFLAGS. Ignore libCrun as
15065 # -library=stlport4 depends on it.
15066 case " $CXX $CXXFLAGS " in
15067 *" -library=stlport4 "*)
15068 solaris_use_stlport4
=yes
15072 if test "$solaris_use_stlport4" != yes; then
15073 postdeps_CXX
='-library=Cstd -library=Crun'
15080 case $cc_basename in
15082 # The more standards-conforming stlport4 library is
15083 # incompatible with the Cstd library. Avoid specifying
15084 # it if it's in CXXFLAGS. Ignore libCrun as
15085 # -library=stlport4 depends on it.
15086 case " $CXX $CXXFLAGS " in
15087 *" -library=stlport4 "*)
15088 solaris_use_stlport4
=yes
15092 # Adding this requires a known-good setup of shared libraries for
15093 # Sun compiler versions before 5.6, else PIC objects from an old
15094 # archive will be linked into the output, leading to subtle bugs.
15095 if test "$solaris_use_stlport4" != yes; then
15096 postdeps_CXX
='-library=Cstd -library=Crun'
15104 case " $postdeps_CXX " in
15105 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15107 compiler_lib_search_dirs_CXX
=
15108 if test -n "${compiler_lib_search_path_CXX}"; then
15109 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15142 lt_prog_compiler_wl_CXX
=
15143 lt_prog_compiler_pic_CXX
=
15144 lt_prog_compiler_static_CXX
=
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15147 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15149 # C++ specific cases for pic, static, wl, etc.
15150 if test "$GXX" = yes; then
15151 lt_prog_compiler_wl_CXX
='-Wl,'
15152 lt_prog_compiler_static_CXX
='-static'
15156 # All AIX code is PIC.
15157 if test "$host_cpu" = ia64
; then
15158 # AIX 5 now supports IA64 processor
15159 lt_prog_compiler_static_CXX
='-Bstatic'
15161 lt_prog_compiler_pic_CXX
='-fPIC'
15167 # see comment about AmigaOS4 .so support
15168 lt_prog_compiler_pic_CXX
='-fPIC'
15171 # FIXME: we need at least 68020 code to build shared libraries, but
15172 # adding the `-m68020' flag to GCC prevents building anything better,
15174 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15179 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15180 # PIC is the default for these OSes.
15182 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15183 # This hack is so that the source file can tell whether it is being
15184 # built for inclusion in a dll (and should export symbols for example).
15185 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15186 # (--disable-auto-import) libraries
15187 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15189 darwin
* | rhapsody
*)
15190 # PIC is the default on this platform
15191 # Common symbols not allowed in MH_DYLIB files
15192 lt_prog_compiler_pic_CXX
='-fno-common'
15195 # DJGPP does not support shared libraries at all
15196 lt_prog_compiler_pic_CXX
=
15199 # PIC is the default for Haiku.
15200 # The "-static" flag exists, but is broken.
15201 lt_prog_compiler_static_CXX
=
15204 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15205 # Instead, we relocate shared libraries at runtime.
15208 if test -d /usr
/nec
; then
15209 lt_prog_compiler_pic_CXX
=-Kconform_pic
15213 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15214 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15215 # sets the default TLS model and affects inlining.
15220 lt_prog_compiler_pic_CXX
='-fPIC'
15225 # QNX uses GNU C++, but need to define -shared option too, otherwise
15226 # it will coredump.
15227 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15230 lt_prog_compiler_pic_CXX
='-fPIC'
15236 # All AIX code is PIC.
15237 if test "$host_cpu" = ia64
; then
15238 # AIX 5 now supports IA64 processor
15239 lt_prog_compiler_static_CXX
='-Bstatic'
15241 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15245 case $cc_basename in
15247 # Green Hills C++ Compiler
15248 # _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"
15253 case $cc_basename in
15255 lt_prog_compiler_pic_CXX
='-KPIC'
15258 # Green Hills C++ Compiler
15259 lt_prog_compiler_pic_CXX
='-pic'
15265 freebsd
* | dragonfly
*)
15266 # FreeBSD uses GNU C++
15268 hpux9
* | hpux10
* | hpux11
*)
15269 case $cc_basename in
15271 lt_prog_compiler_wl_CXX
='-Wl,'
15272 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15273 if test "$host_cpu" != ia64
; then
15274 lt_prog_compiler_pic_CXX
='+Z'
15278 lt_prog_compiler_wl_CXX
='-Wl,'
15279 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15285 lt_prog_compiler_pic_CXX
='+Z'
15294 # This is c89, which is MS Visual C++ (no shared libs)
15295 # Anyone wants to do a port?
15297 irix5
* | irix6
* | nonstopux
*)
15298 case $cc_basename in
15300 lt_prog_compiler_wl_CXX
='-Wl,'
15301 lt_prog_compiler_static_CXX
='-non_shared'
15302 # CC pic flag -KPIC is the default.
15308 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15309 case $cc_basename in
15312 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15313 lt_prog_compiler_pic_CXX
='-fPIC'
15316 # old Intel C++ for x86_64 which still supported -KPIC.
15317 lt_prog_compiler_wl_CXX
='-Wl,'
15318 lt_prog_compiler_pic_CXX
='-KPIC'
15319 lt_prog_compiler_static_CXX
='-static'
15322 # Intel C++, used to be incompatible with GCC.
15323 # ICC 10 doesn't accept -KPIC any more.
15324 lt_prog_compiler_wl_CXX
='-Wl,'
15325 lt_prog_compiler_pic_CXX
='-fPIC'
15326 lt_prog_compiler_static_CXX
='-static'
15329 # Portland Group C++ compiler
15330 lt_prog_compiler_wl_CXX
='-Wl,'
15331 lt_prog_compiler_pic_CXX
='-fpic'
15332 lt_prog_compiler_static_CXX
='-Bstatic'
15336 # Make sure the PIC flag is empty. It appears that all Alpha
15337 # Linux and Compaq Tru64 Unix objects are PIC.
15338 lt_prog_compiler_pic_CXX
=
15339 lt_prog_compiler_static_CXX
='-non_shared'
15341 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15342 # IBM XL 8.0, 9.0 on PPC and BlueGene
15343 lt_prog_compiler_wl_CXX
='-Wl,'
15344 lt_prog_compiler_pic_CXX
='-qpic'
15345 lt_prog_compiler_static_CXX
='-qstaticlink'
15348 case `$CC -V 2>&1 | sed 5q` in
15351 lt_prog_compiler_pic_CXX
='-KPIC'
15352 lt_prog_compiler_static_CXX
='-Bstatic'
15353 lt_prog_compiler_wl_CXX
='-Qoption ld '
15364 case $cc_basename in
15366 lt_prog_compiler_pic_CXX
='-W c,exportall'
15375 # QNX uses GNU C++, but need to define -shared option too, otherwise
15376 # it will coredump.
15377 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15379 osf3
* | osf4
* | osf5
*)
15380 case $cc_basename in
15382 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15385 # Rational C++ 2.4.1
15386 lt_prog_compiler_pic_CXX
='-pic'
15389 # Digital/Compaq C++
15390 lt_prog_compiler_wl_CXX
='-Wl,'
15391 # Make sure the PIC flag is empty. It appears that all Alpha
15392 # Linux and Compaq Tru64 Unix objects are PIC.
15393 lt_prog_compiler_pic_CXX
=
15394 lt_prog_compiler_static_CXX
='-non_shared'
15403 case $cc_basename in
15405 # Sun C++ 4.2, 5.x and Centerline C++
15406 lt_prog_compiler_pic_CXX
='-KPIC'
15407 lt_prog_compiler_static_CXX
='-Bstatic'
15408 lt_prog_compiler_wl_CXX
='-Qoption ld '
15411 # Green Hills C++ Compiler
15412 lt_prog_compiler_pic_CXX
='-PIC'
15419 case $cc_basename in
15422 lt_prog_compiler_pic_CXX
='-pic'
15423 lt_prog_compiler_static_CXX
='-Bstatic'
15427 lt_prog_compiler_pic_CXX
='-pic'
15433 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15434 case $cc_basename in
15436 lt_prog_compiler_wl_CXX
='-Wl,'
15437 lt_prog_compiler_pic_CXX
='-KPIC'
15438 lt_prog_compiler_static_CXX
='-Bstatic'
15443 case $cc_basename in
15445 # NonStop-UX NCC 3.20
15446 lt_prog_compiler_pic_CXX
='-KPIC'
15455 lt_prog_compiler_can_build_shared_CXX
=no
15461 # For platforms which do not support PIC, -DPIC is meaningless:
15463 lt_prog_compiler_pic_CXX
=
15466 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15470 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15475 # Check to make sure the PIC flag actually works.
15477 if test -n "$lt_prog_compiler_pic_CXX"; then
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15479 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15480 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15481 $as_echo_n "(cached) " >&6
15483 lt_cv_prog_compiler_pic_works_CXX
=no
15484 ac_outfile
=conftest.
$ac_objext
15485 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15486 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15487 # Insert the option either (1) after the last *FLAGS variable, or
15488 # (2) before a word containing "conftest.", or (3) at the end.
15489 # Note that $ac_compile itself does not contain backslashes and begins
15490 # with a dollar sign (not a hyphen), so the echo should work correctly.
15491 # The option is referenced via a variable to avoid confusing sed.
15492 lt_compile
=`echo "$ac_compile" | $SED \
15493 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15494 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15495 -e 's:$: $lt_compiler_flag:'`
15496 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15497 (eval "$lt_compile" 2>conftest.err
)
15499 cat conftest.err
>&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 if (exit $ac_status) && test -s "$ac_outfile"; then
15502 # The compiler can only warn and ignore the option if not recognized
15503 # So say no if there are warnings other than the usual output.
15504 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
15505 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15506 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15507 lt_cv_prog_compiler_pic_works_CXX
=yes
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15514 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15516 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15517 case $lt_prog_compiler_pic_CXX in
15519 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15522 lt_prog_compiler_pic_CXX
=
15523 lt_prog_compiler_can_build_shared_CXX
=no
15531 # Check to make sure the static flag actually works.
15533 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15535 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15536 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15537 $as_echo_n "(cached) " >&6
15539 lt_cv_prog_compiler_static_works_CXX
=no
15540 save_LDFLAGS
="$LDFLAGS"
15541 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15542 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15543 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15544 # The linker can only warn and ignore the option if not recognized
15545 # So say no if there are warnings
15546 if test -s conftest.err
; then
15547 # Append any errors to the config.log.
15548 cat conftest.err
1>&5
15549 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15550 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15551 if diff conftest.exp conftest.er2
>/dev
/null
; then
15552 lt_cv_prog_compiler_static_works_CXX
=yes
15555 lt_cv_prog_compiler_static_works_CXX
=yes
15559 LDFLAGS
="$save_LDFLAGS"
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15563 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15565 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15568 lt_prog_compiler_static_CXX
=
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15575 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15576 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15577 $as_echo_n "(cached) " >&6
15579 lt_cv_prog_compiler_c_o_CXX
=no
15580 $RM -r conftest
2>/dev
/null
15584 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15586 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15587 # Insert the option either (1) after the last *FLAGS variable, or
15588 # (2) before a word containing "conftest.", or (3) at the end.
15589 # Note that $ac_compile itself does not contain backslashes and begins
15590 # with a dollar sign (not a hyphen), so the echo should work correctly.
15591 lt_compile
=`echo "$ac_compile" | $SED \
15592 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15593 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15594 -e 's:$: $lt_compiler_flag:'`
15595 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15596 (eval "$lt_compile" 2>out
/conftest.err
)
15598 cat out
/conftest.err
>&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15602 # The compiler can only warn and ignore the option if not recognized
15603 # So say no if there are warnings
15604 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15605 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15606 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15607 lt_cv_prog_compiler_c_o_CXX
=yes
15612 # SGI C++ compiler will create directory out/ii_files/ for
15613 # template instantiation
15614 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15615 $RM out
/* && rmdir out
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15622 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15627 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15628 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15629 $as_echo_n "(cached) " >&6
15631 lt_cv_prog_compiler_c_o_CXX
=no
15632 $RM -r conftest
2>/dev
/null
15636 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15638 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15639 # Insert the option either (1) after the last *FLAGS variable, or
15640 # (2) before a word containing "conftest.", or (3) at the end.
15641 # Note that $ac_compile itself does not contain backslashes and begins
15642 # with a dollar sign (not a hyphen), so the echo should work correctly.
15643 lt_compile
=`echo "$ac_compile" | $SED \
15644 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15645 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15646 -e 's:$: $lt_compiler_flag:'`
15647 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15648 (eval "$lt_compile" 2>out
/conftest.err
)
15650 cat out
/conftest.err
>&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15654 # The compiler can only warn and ignore the option if not recognized
15655 # So say no if there are warnings
15656 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15657 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15658 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15659 lt_cv_prog_compiler_c_o_CXX
=yes
15664 # SGI C++ compiler will create directory out/ii_files/ for
15665 # template instantiation
15666 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15667 $RM out
/* && rmdir out
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15674 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15679 hard_links
="nottested"
15680 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15681 # do not overwrite the value of need_locks provided by the user
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15683 $as_echo_n "checking if we can lock with hard links... " >&6; }
15686 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15688 ln conftest.a conftest.b
2>&5 || hard_links
=no
15689 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15691 $as_echo "$hard_links" >&6; }
15692 if test "$hard_links" = no
; then
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15694 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15704 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15706 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15709 # If we're using GNU nm, then we don't want the "-C" option.
15710 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15711 # Also, AIX nm treats weak defined symbols like other global defined
15712 # symbols, whereas GNU nm marks them as "W".
15713 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15714 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'
15716 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'
15720 export_symbols_cmds_CXX
="$ltdll_cmds"
15722 cygwin
* | mingw
* | cegcc
*)
15723 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'
15726 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15729 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15732 $as_echo "$ld_shlibs_CXX" >&6; }
15733 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15735 with_gnu_ld_CXX
=$with_gnu_ld
15743 # Do we need to explicitly link libc?
15745 case "x$archive_cmds_need_lc_CXX" in
15747 # Assume -lc should be added
15748 archive_cmds_need_lc_CXX
=yes
15750 if test "$enable_shared" = yes && test "$GCC" = yes; then
15751 case $archive_cmds_CXX in
15753 # FIXME: we may have to deal with multi-command sequences.
15756 # Test whether the compiler implicitly links with -lc since on some
15757 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15758 # to ld, don't add -lc before -lgcc.
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15760 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15761 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15762 $as_echo_n "(cached) " >&6
15765 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15767 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15768 (eval $ac_compile) 2>&5
15770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15771 test $ac_status = 0; } 2>conftest.err
; then
15774 libobjs
=conftest.
$ac_objext
15776 wl
=$lt_prog_compiler_wl_CXX
15777 pic_flag
=$lt_prog_compiler_pic_CXX
15783 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15784 allow_undefined_flag_CXX
=
15785 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15786 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15789 test $ac_status = 0; }
15791 lt_cv_archive_cmds_need_lc_CXX
=no
15793 lt_cv_archive_cmds_need_lc_CXX
=yes
15795 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15797 cat conftest.err
1>&5
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15803 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15804 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15875 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15877 library_names_spec
=
15878 libname_spec
='lib$name'
15882 postuninstall_cmds
=
15886 shlibpath_overrides_runpath
=unknown
15888 dynamic_linker
="$host_os ld.so"
15889 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15890 need_lib_prefix
=unknown
15891 hardcode_into_libs
=no
15893 # when you set need_version to no, make sure it does not cause -set_version
15894 # flags to be left without arguments
15895 need_version
=unknown
15900 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15901 shlibpath_var
=LIBPATH
15903 # AIX 3 has no versioning support, so we append a major version to the name.
15904 soname_spec
='${libname}${release}${shared_ext}$major'
15911 hardcode_into_libs
=yes
15912 if test "$host_cpu" = ia64
; then
15913 # AIX 5 supports IA64
15914 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15915 shlibpath_var
=LD_LIBRARY_PATH
15917 # With GCC up to 2.95.x, collect2 would create an import file
15918 # for dependence libraries. The import file would start with
15919 # the line `#! .'. This would cause the generated library to
15920 # depend on `.', always an invalid library. This was fixed in
15921 # development snapshots of GCC prior to 3.0.
15923 aix4 | aix4.
[01] | aix4.
[01].
*)
15924 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15926 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15929 can_build_shared
=no
15933 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15934 # soname into executable. Probably we can add versioning support to
15935 # collect2, so additional links can be useful in future.
15936 if test "$aix_use_runtimelinking" = yes; then
15937 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15938 # instead of lib<name>.a to let people know that these are not
15939 # typical AIX shared libraries.
15940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15942 # We preserve .a as extension for shared libraries through AIX4.2
15943 # and later when we are not doing run time linking.
15944 library_names_spec
='${libname}${release}.a $libname.a'
15945 soname_spec
='${libname}${release}${shared_ext}$major'
15947 shlibpath_var
=LIBPATH
15954 # Since July 2007 AmigaOS4 officially supports .so libraries.
15955 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15959 library_names_spec
='$libname.ixlibrary $libname.a'
15960 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15961 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'
15967 library_names_spec
='${libname}${shared_ext}'
15968 dynamic_linker
="$host_os ld.so"
15969 shlibpath_var
=LIBRARY_PATH
15975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15976 soname_spec
='${libname}${release}${shared_ext}$major'
15977 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15978 shlibpath_var
=LD_LIBRARY_PATH
15979 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15980 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15981 # the default ld.so.conf also contains /usr/contrib/lib and
15982 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15983 # libtool to hard-code these into programs
15986 cygwin
* | mingw
* | pw32
* | cegcc
*)
15987 version_type
=windows
15992 case $GCC,$host_os in
15993 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15994 library_names_spec
='$libname.dll.a'
15995 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15996 postinstall_cmds
='base_file=`basename \${file}`~
15997 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15998 dldir=$destdir/`dirname \$dlpath`~
15999 test -d \$dldir || mkdir -p \$dldir~
16000 $install_prog $dir/$dlname \$dldir/$dlname~
16001 chmod a+x \$dldir/$dlname~
16002 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16003 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16005 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16006 dlpath=$dir/\$dldll~
16008 shlibpath_overrides_runpath
=yes
16012 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16013 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16017 # MinGW DLLs use traditional 'lib' prefix
16018 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16021 # pw32 DLLs use 'pw' prefix rather than 'lib'
16022 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16028 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16031 dynamic_linker
='Win32 ld.exe'
16032 # FIXME: first we should search . and the directory the executable is in
16036 darwin
* | rhapsody
*)
16037 dynamic_linker
="$host_os dyld"
16038 version_type
=darwin
16041 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16042 soname_spec
='${libname}${release}${major}$shared_ext'
16043 shlibpath_overrides_runpath
=yes
16044 shlibpath_var
=DYLD_LIBRARY_PATH
16045 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16047 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16055 soname_spec
='${libname}${release}${shared_ext}$major'
16056 shlibpath_var
=LD_LIBRARY_PATH
16059 freebsd
* | dragonfly
*)
16060 # DragonFly does not have aout. When/if they implement a new
16061 # versioning mechanism, adjust this.
16062 if test -x /usr
/bin
/objformat
; then
16063 objformat
=`/usr/bin/objformat`
16066 freebsd
[23].
*) objformat
=aout
;;
16067 *) objformat
=elf
;;
16070 version_type
=freebsd-
$objformat
16071 case $version_type in
16073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16078 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16082 shlibpath_var
=LD_LIBRARY_PATH
16085 shlibpath_overrides_runpath
=yes
16087 freebsd3.
[01]* | freebsdelf3.
[01]*)
16088 shlibpath_overrides_runpath
=yes
16089 hardcode_into_libs
=yes
16091 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16092 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16093 shlibpath_overrides_runpath
=no
16094 hardcode_into_libs
=yes
16096 *) # from 4.6 on, and DragonFly
16097 shlibpath_overrides_runpath
=yes
16098 hardcode_into_libs
=yes
16107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16108 soname_spec
='${libname}${release}${shared_ext}$major'
16109 shlibpath_var
=LD_LIBRARY_PATH
16110 hardcode_into_libs
=yes
16117 dynamic_linker
="$host_os runtime_loader"
16118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16119 soname_spec
='${libname}${release}${shared_ext}$major'
16120 shlibpath_var
=LIBRARY_PATH
16121 shlibpath_overrides_runpath
=yes
16122 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
16123 hardcode_into_libs
=yes
16126 hpux9
* | hpux10
* | hpux11
*)
16127 # Give a soname corresponding to the major version so that dld.sl refuses to
16128 # link against other versions.
16135 hardcode_into_libs
=yes
16136 dynamic_linker
="$host_os dld.so"
16137 shlibpath_var
=LD_LIBRARY_PATH
16138 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16140 soname_spec
='${libname}${release}${shared_ext}$major'
16141 if test "X$HPUX_IA64_MODE" = X32
; then
16142 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16144 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16146 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16150 hardcode_into_libs
=yes
16151 dynamic_linker
="$host_os dld.sl"
16152 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16153 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16155 soname_spec
='${libname}${release}${shared_ext}$major'
16156 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16157 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16161 dynamic_linker
="$host_os dld.sl"
16162 shlibpath_var
=SHLIB_PATH
16163 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16165 soname_spec
='${libname}${release}${shared_ext}$major'
16168 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16169 postinstall_cmds
='chmod 555 $lib'
16170 # or fails outright, so override atomically:
16171 install_override_mode
=555
16178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16179 soname_spec
='${libname}${release}${shared_ext}$major'
16180 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16181 shlibpath_var
=LD_LIBRARY_PATH
16182 shlibpath_overrides_runpath
=no
16183 hardcode_into_libs
=yes
16186 irix5
* | irix6
* | nonstopux
*)
16188 nonstopux
*) version_type
=nonstopux
;;
16190 if test "$lt_cv_prog_gnu_ld" = yes; then
16198 soname_spec
='${libname}${release}${shared_ext}$major'
16199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16201 irix5
* | nonstopux
*)
16202 libsuff
= shlibsuff
=
16205 case $LD in # libtool.m4 will add one of these switches to LD
16206 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16207 libsuff
= shlibsuff
= libmagic
=32-bit;;
16208 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16209 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16210 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16211 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16212 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16216 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16217 shlibpath_overrides_runpath
=no
16218 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16219 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16220 hardcode_into_libs
=yes
16223 # No shared lib support for Linux oldld, aout, or coff.
16224 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16228 # This must be Linux ELF.
16229 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16234 soname_spec
='${libname}${release}${shared_ext}$major'
16235 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16236 shlibpath_var
=LD_LIBRARY_PATH
16237 shlibpath_overrides_runpath
=no
16239 # Some binutils ld are patched to set DT_RUNPATH
16240 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16241 $as_echo_n "(cached) " >&6
16243 lt_cv_shlibpath_overrides_runpath
=no
16244 save_LDFLAGS
=$LDFLAGS
16245 save_libdir
=$libdir
16246 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16247 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16248 if test x
$gcc_no_link = xyes
; then
16249 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16252 /* end confdefs.h. */
16262 if ac_fn_cxx_try_link
"$LINENO"; then :
16263 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16264 lt_cv_shlibpath_overrides_runpath
=yes
16267 rm -f core conftest.err conftest.
$ac_objext \
16268 conftest
$ac_exeext conftest.
$ac_ext
16269 LDFLAGS
=$save_LDFLAGS
16270 libdir
=$save_libdir
16274 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16276 # This implies no fast_install, which is unacceptable.
16277 # Some rework will be needed to allow for fast_install
16278 # before this can be enabled.
16279 hardcode_into_libs
=yes
16281 # Append ld.so.conf contents to the search path
16282 if test -f /etc
/ld.so.conf
; then
16283 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' ' '`
16284 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16287 # We used to test for /lib/ld.so.1 and disable shared libraries on
16288 # powerpc, because MkLinux only supported shared libraries with the
16289 # GNU dynamic linker. Since this was broken with cross compilers,
16290 # most powerpc-linux boxes support dynamic linking these days and
16291 # people can always --disable-shared, the test was removed, and we
16292 # assume the GNU/Linux dynamic linker is in use.
16293 dynamic_linker
='GNU/Linux ld.so'
16300 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16302 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16303 dynamic_linker
='NetBSD (a.out) ld.so'
16305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16306 soname_spec
='${libname}${release}${shared_ext}$major'
16307 dynamic_linker
='NetBSD ld.elf_so'
16309 shlibpath_var
=LD_LIBRARY_PATH
16310 shlibpath_overrides_runpath
=yes
16311 hardcode_into_libs
=yes
16316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16317 shlibpath_var
=LD_LIBRARY_PATH
16318 shlibpath_overrides_runpath
=yes
16325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16326 soname_spec
='${libname}${release}${shared_ext}$major'
16327 shlibpath_var
=LD_LIBRARY_PATH
16328 shlibpath_overrides_runpath
=no
16329 hardcode_into_libs
=yes
16330 dynamic_linker
='ldqnx.so'
16335 sys_lib_dlsearch_path_spec
="/usr/lib"
16337 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16339 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16340 *) need_version
=no
;;
16342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16343 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16344 shlibpath_var
=LD_LIBRARY_PATH
16345 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16347 openbsd2.
[89] | openbsd2.
[89].
*)
16348 shlibpath_overrides_runpath
=no
16351 shlibpath_overrides_runpath
=yes
16355 shlibpath_overrides_runpath
=yes
16360 libname_spec
='$name'
16363 library_names_spec
='$libname${shared_ext} $libname.a'
16364 dynamic_linker
='OS/2 ld.exe'
16365 shlibpath_var
=LIBPATH
16368 osf3
* | osf4
* | osf5
*)
16372 soname_spec
='${libname}${release}${shared_ext}$major'
16373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16374 shlibpath_var
=LD_LIBRARY_PATH
16375 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16376 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16388 soname_spec
='${libname}${release}${shared_ext}$major'
16389 shlibpath_var
=LD_LIBRARY_PATH
16390 shlibpath_overrides_runpath
=yes
16391 hardcode_into_libs
=yes
16392 # ldd complains unless libraries are executable
16393 postinstall_cmds
='chmod +x $lib'
16398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16399 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16400 shlibpath_var
=LD_LIBRARY_PATH
16401 shlibpath_overrides_runpath
=yes
16402 if test "$with_gnu_ld" = yes; then
16410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16411 soname_spec
='${libname}${release}${shared_ext}$major'
16412 shlibpath_var
=LD_LIBRARY_PATH
16413 case $host_vendor in
16415 shlibpath_overrides_runpath
=no
16417 runpath_var
=LD_RUN_PATH
16425 shlibpath_overrides_runpath
=no
16426 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16432 if test -d /usr
/nec
;then
16434 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16435 soname_spec
='$libname${shared_ext}.$major'
16436 shlibpath_var
=LD_LIBRARY_PATH
16440 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16441 version_type
=freebsd-elf
16444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16445 soname_spec
='${libname}${release}${shared_ext}$major'
16446 shlibpath_var
=LD_LIBRARY_PATH
16447 shlibpath_overrides_runpath
=yes
16448 hardcode_into_libs
=yes
16449 if test "$with_gnu_ld" = yes; then
16450 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16452 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16455 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16459 sys_lib_dlsearch_path_spec
='/usr/lib'
16463 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16468 shlibpath_var
=LD_LIBRARY_PATH
16469 shlibpath_overrides_runpath
=no
16470 hardcode_into_libs
=yes
16475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16476 soname_spec
='${libname}${release}${shared_ext}$major'
16477 shlibpath_var
=LD_LIBRARY_PATH
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16485 $as_echo "$dynamic_linker" >&6; }
16486 test "$dynamic_linker" = no
&& can_build_shared
=no
16488 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16489 if test "$GCC" = yes; then
16490 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16493 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16494 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16496 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16497 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16538 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16539 hardcode_action_CXX
=
16540 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16541 test -n "$runpath_var_CXX" ||
16542 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16544 # We can hardcode non-existent directories.
16545 if test "$hardcode_direct_CXX" != no
&&
16546 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16547 # have to relink, otherwise we might link with an installed library
16548 # when we should be linking with a yet-to-be-installed one
16549 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16550 test "$hardcode_minus_L_CXX" != no
; then
16551 # Linking always hardcodes the temporary library directory.
16552 hardcode_action_CXX
=relink
16554 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16555 hardcode_action_CXX
=immediate
16558 # We cannot hardcode anything, or else we can only hardcode existing
16560 hardcode_action_CXX
=unsupported
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16563 $as_echo "$hardcode_action_CXX" >&6; }
16565 if test "$hardcode_action_CXX" = relink ||
16566 test "$inherit_rpath_CXX" = yes; then
16567 # Fast installation is not supported
16568 enable_fast_install
=no
16569 elif test "$shlibpath_overrides_runpath" = yes ||
16570 test "$enable_shared" = no
; then
16571 # Fast installation is not necessary
16572 enable_fast_install
=needless
16581 fi # test -n "$compiler"
16587 with_gnu_ld
=$lt_save_with_gnu_ld
16588 lt_cv_path_LDCXX
=$lt_cv_path_LD
16589 lt_cv_path_LD
=$lt_save_path_LD
16590 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16591 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16592 fi # test "$_lt_caught_CXX_error" != yes
16595 ac_cpp
='$CPP $CPPFLAGS'
16596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16602 # Handle -Werror default case.
16603 if test "$ENABLE_WERROR" = default
; then
16606 if test "$GCC" = yes; then
16613 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
16614 # Extract the first word of "perl", so it can be a program name with args.
16615 set dummy perl
; ac_word
=$2
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16617 $as_echo_n "checking for $ac_word... " >&6; }
16618 if test "${ac_cv_path_PERL+set}" = set; then :
16619 $as_echo_n "(cached) " >&6
16623 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
16626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16627 for as_dir
in $PATH
16630 test -z "$as_dir" && as_dir
=.
16631 for ac_exec_ext
in '' $ac_executable_extensions; do
16632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16633 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
16634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16644 PERL
=$ac_cv_path_PERL
16645 if test -n "$PERL"; then
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16647 $as_echo "$PERL" >&6; }
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16650 $as_echo "no" >&6; }
16656 ac_config_files
="$ac_config_files lib/mkcollections.pl"
16658 ac_config_commands
="$ac_config_commands mkcollections.pl"
16662 if test "x${COMPILE_JNI}" = xyes
; then
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((,,))" >&5
16667 $as_echo_n "checking __attribute__((,,))... " >&6; }
16668 if test "${gcc_cv_c_gcc_attribute_supported+set}" = set; then :
16669 $as_echo_n "(cached) " >&6
16672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h. */
16678 extern int testfunction(int x) __attribute__((,,))
16683 if ac_fn_c_try_compile
"$LINENO"; then :
16684 gcc_cv_c_gcc_attribute_supported
=yes
16686 gcc_cv_c_gcc_attribute_supported
=no
16688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16692 if test "x$gcc_cv_c_gcc_attribute_supported" = xyes
; then
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16695 $as_echo "yes" >&6; }
16697 $as_echo "#define HAVE_GNUC25_ATTRIB /**/" >>confdefs.h
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16703 $as_echo "no" >&6; }
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((unused))" >&5
16716 $as_echo_n "checking __attribute__((unused))... " >&6; }
16717 if test "${gcc_cv_c_gcc_attribute_unused+set}" = set; then :
16718 $as_echo_n "(cached) " >&6
16721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16727 extern int testfunction(int x) __attribute__((unused))
16732 if ac_fn_c_try_compile
"$LINENO"; then :
16733 gcc_cv_c_gcc_attribute_unused
=yes
16735 gcc_cv_c_gcc_attribute_unused
=no
16737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16741 if test "x$gcc_cv_c_gcc_attribute_unused" = xyes
; then
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16744 $as_echo "yes" >&6; }
16746 $as_echo "#define HAVE_GNUC25_UNUSED /**/" >>confdefs.h
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16752 $as_echo "no" >&6; }
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16761 $as_echo_n "checking for ANSI C header files... " >&6; }
16762 if test "${ac_cv_header_stdc+set}" = set; then :
16763 $as_echo_n "(cached) " >&6
16765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16766 /* end confdefs.h. */
16767 #include <stdlib.h>
16768 #include <stdarg.h>
16769 #include <string.h>
16780 if ac_fn_c_try_compile
"$LINENO"; then :
16781 ac_cv_header_stdc
=yes
16783 ac_cv_header_stdc
=no
16785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16787 if test $ac_cv_header_stdc = yes; then
16788 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16790 /* end confdefs.h. */
16791 #include <string.h>
16794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16795 $EGREP "memchr" >/dev
/null
2>&1; then :
16798 ac_cv_header_stdc
=no
16804 if test $ac_cv_header_stdc = yes; then
16805 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16808 #include <stdlib.h>
16811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16812 $EGREP "free" >/dev
/null
2>&1; then :
16815 ac_cv_header_stdc
=no
16821 if test $ac_cv_header_stdc = yes; then
16822 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16823 if test "$cross_compiling" = yes; then :
16826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16827 /* end confdefs.h. */
16829 #include <stdlib.h>
16830 #if ((' ' & 0x0FF) == 0x020)
16831 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16832 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16834 # define ISLOWER(c) \
16835 (('a' <= (c) && (c) <= 'i') \
16836 || ('j' <= (c) && (c) <= 'r') \
16837 || ('s' <= (c) && (c) <= 'z'))
16838 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16841 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16846 for (i = 0; i < 256; i++)
16847 if (XOR (islower (i), ISLOWER (i))
16848 || toupper (i) != TOUPPER (i))
16853 if ac_fn_c_try_run
"$LINENO"; then :
16856 ac_cv_header_stdc
=no
16858 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16859 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16865 $as_echo "$ac_cv_header_stdc" >&6; }
16866 if test $ac_cv_header_stdc = yes; then
16868 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16874 $as_echo_n "checking size of void *... " >&6; }
16875 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16876 $as_echo_n "(cached) " >&6
16878 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
16879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16880 /* end confdefs.h. */
16881 #include "confdefs.h"
16882 #include <sys/types.h>
16888 switch (0) case 0: case (sizeof (void *) == $ac_size):;
16893 if ac_fn_c_try_compile
"$LINENO"; then :
16894 ac_cv_sizeof_void_p
=$ac_size
16896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16897 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
16902 if test x
$ac_cv_sizeof_void_p = x
; then
16903 as_fn_error
"cannot determine a size for void *" "$LINENO" 5
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16906 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16908 cat >>confdefs.h
<<_ACEOF
16909 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16915 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16916 if test "${ac_cv_c_bigendian+set}" = set; then :
16917 $as_echo_n "(cached) " >&6
16919 ac_cv_c_bigendian
=unknown
16920 # See if sys/param.h defines the BYTE_ORDER macro.
16921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16922 /* end confdefs.h. */
16923 #include <sys/types.h>
16924 #include <sys/param.h>
16929 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16930 bogus endian macros
16936 if ac_fn_c_try_compile
"$LINENO"; then :
16937 # It does; now see whether it defined to BIG_ENDIAN or not.
16938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16940 #include <sys/types.h>
16941 #include <sys/param.h>
16946 #if BYTE_ORDER != BIG_ENDIAN
16953 if ac_fn_c_try_compile
"$LINENO"; then :
16954 ac_cv_c_bigendian
=yes
16956 ac_cv_c_bigendian
=no
16958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16961 if test $ac_cv_c_bigendian = unknown
; then
16962 if test "$cross_compiling" = yes; then :
16963 echo $ac_n "cross-compiling... " 2>&6
16965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16966 /* end confdefs.h. */
16968 /* Are we little or big endian? From Harbison&Steele. */
16972 char c[sizeof (long)];
16975 exit (u.c[sizeof (long) - 1] == 1);
16978 if ac_fn_c_try_run
"$LINENO"; then :
16979 ac_cv_c_bigendian
=no
16981 ac_cv_c_bigendian
=yes
16983 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16984 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16990 $as_echo "$ac_cv_c_bigendian" >&6; }
16991 if test $ac_cv_c_bigendian = unknown
; then
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to probe for byte ordering" >&5
16993 $as_echo_n "checking to probe for byte ordering... " >&6; }
16995 cat >conftest.c
<<EOF
16996 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16997 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16998 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
16999 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17000 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17001 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
17002 int main() { _ascii (); _ebcdic (); return 0; }
17004 if test -f conftest.c
; then
17005 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
17006 if test `grep -l BIGenDianSyS conftest.o` ; then
17007 echo $ac_n ' big endian probe OK, ' 1>&6
17008 ac_cv_c_bigendian
=yes
17010 if test `grep -l LiTTleEnDian conftest.o` ; then
17011 echo $ac_n ' little endian probe OK, ' 1>&6
17012 if test $ac_cv_c_bigendian = yes ; then
17013 ac_cv_c_bigendian
=unknown
;
17015 ac_cv_c_bigendian
=no
17018 echo $ac_n 'guessing bigendian ... ' >&6
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
17022 $as_echo "$ac_cv_c_bigendian" >&6; }
17024 if test $ac_cv_c_bigendian = yes; then
17026 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
17029 $as_echo "#define HOST_WORDS_BIG_ENDIAN 1" >>confdefs.h
17036 cat >>confdefs.h
<<_ACEOF
17037 #define BYTEORDER $BYTEORDER
17040 if test $ac_cv_c_bigendian = unknown
; then
17041 as_fn_error
"unknown endianess - sorry, please pre-set ac_cv_c_bigendian" "$LINENO" 5
17045 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
17047 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
17054 sys
/event.h sys
/epoll.h \
17056 netinet
/in_systm.h netinet
/ip.h net
/if.h \
17057 sys
/loadavg.h sys
/sockio.h
17059 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17060 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17061 eval as_val
=\$
$as_ac_Header
17062 if test "x$as_val" = x
""yes; then :
17063 cat >>confdefs.h
<<_ACEOF
17064 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17073 /* end confdefs.h. */
17074 #include <stdint.h>
17077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17078 $EGREP "uint32_t" >/dev
/null
2>&1; then :
17080 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 #include <inttypes.h>
17090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17091 $EGREP "uint32_t" >/dev
/null
2>&1; then :
17093 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17100 #include <sys/types.h>
17103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17104 $EGREP "u_int32_t" >/dev
/null
2>&1; then :
17106 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #include <sys/config.h>
17116 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17117 $EGREP "u_int32_t" >/dev
/null
2>&1; then :
17119 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17126 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17127 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17128 $as_echo_n "(cached) " >&6
17130 ac_func_search_save_LIBS
=$LIBS
17131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17134 /* Override any GCC internal prototype to avoid an error.
17135 Use char because int might match the return type of a GCC
17136 builtin and then its argument prototype would still apply. */
17140 char clock_gettime ();
17144 return clock_gettime ();
17149 for ac_lib
in '' rt
; do
17150 if test -z "$ac_lib"; then
17151 ac_res
="none required"
17154 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17156 if test x
$gcc_no_link = xyes
; then
17157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17159 if ac_fn_c_try_link
"$LINENO"; then :
17160 ac_cv_search_clock_gettime
=$ac_res
17162 rm -f core conftest.err conftest.
$ac_objext \
17164 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17168 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17171 ac_cv_search_clock_gettime
=no
17173 rm conftest.
$ac_ext
17174 LIBS
=$ac_func_search_save_LIBS
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17177 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17178 ac_res
=$ac_cv_search_clock_gettime
17179 if test "$ac_res" != no
; then :
17180 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
17185 $as_echo_n "checking for library containing inet_pton... " >&6; }
17186 if test "${ac_cv_search_inet_pton+set}" = set; then :
17187 $as_echo_n "(cached) " >&6
17189 ac_func_search_save_LIBS
=$LIBS
17190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17193 /* Override any GCC internal prototype to avoid an error.
17194 Use char because int might match the return type of a GCC
17195 builtin and then its argument prototype would still apply. */
17203 return inet_pton ();
17208 for ac_lib
in '' nsl
; do
17209 if test -z "$ac_lib"; then
17210 ac_res
="none required"
17213 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17215 if test x
$gcc_no_link = xyes
; then
17216 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17218 if ac_fn_c_try_link
"$LINENO"; then :
17219 ac_cv_search_inet_pton
=$ac_res
17221 rm -f core conftest.err conftest.
$ac_objext \
17223 if test "${ac_cv_search_inet_pton+set}" = set; then :
17227 if test "${ac_cv_search_inet_pton+set}" = set; then :
17230 ac_cv_search_inet_pton
=no
17232 rm conftest.
$ac_ext
17233 LIBS
=$ac_func_search_save_LIBS
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
17236 $as_echo "$ac_cv_search_inet_pton" >&6; }
17237 ac_res
=$ac_cv_search_inet_pton
17238 if test "$ac_res" != no
; then :
17239 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lsocket" >&5
17244 $as_echo_n "checking for gethostname in -lsocket... " >&6; }
17245 if test "${ac_cv_lib_socket_gethostname+set}" = set; then :
17246 $as_echo_n "(cached) " >&6
17248 ac_check_lib_save_LIBS
=$LIBS
17249 LIBS
="-lsocket $LIBS"
17250 if test x
$gcc_no_link = xyes
; then
17251 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17256 /* Override any GCC internal prototype to avoid an error.
17257 Use char because int might match the return type of a GCC
17258 builtin and then its argument prototype would still apply. */
17262 char gethostname ();
17266 return gethostname ();
17271 if ac_fn_c_try_link
"$LINENO"; then :
17272 ac_cv_lib_socket_gethostname
=yes
17274 ac_cv_lib_socket_gethostname
=no
17276 rm -f core conftest.err conftest.
$ac_objext \
17277 conftest
$ac_exeext conftest.
$ac_ext
17278 LIBS
=$ac_check_lib_save_LIBS
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostname" >&5
17281 $as_echo "$ac_cv_lib_socket_gethostname" >&6; }
17282 if test "x$ac_cv_lib_socket_gethostname" = x
""yes; then :
17283 cat >>confdefs.h
<<_ACEOF
17284 #define HAVE_LIBSOCKET 1
17287 LIBS
="-lsocket $LIBS"
17292 for ac_func
in ftruncate fsync
select \
17293 gethostname socket strerror fork pipe execve open close \
17294 lseek fstat
read readv
write writev htonl memset htons connect \
17295 getsockname getpeername
bind listen accept \
17296 recvfrom send sendto setsockopt getsockopt
time mktime clock_gettime \
17297 gethostbyname_r localtime_r \
17301 mmap munmap mincore msync madvise getpagesize sysconf \
17303 inet_aton inet_addr inet_pton \
17304 getifaddrs kqueue kevent epoll_create \
17307 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17308 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17309 eval as_val
=\$
$as_ac_var
17310 if test "x$as_val" = x
""yes; then :
17311 cat >>confdefs.h
<<_ACEOF
17312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
17321 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
17322 if test "${ac_cv_lib_magic_magic_open+set}" = set; then :
17323 $as_echo_n "(cached) " >&6
17325 ac_check_lib_save_LIBS
=$LIBS
17326 LIBS
="-lmagic $LIBS"
17327 if test x
$gcc_no_link = xyes
; then
17328 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17333 /* Override any GCC internal prototype to avoid an error.
17334 Use char because int might match the return type of a GCC
17335 builtin and then its argument prototype would still apply. */
17339 char magic_open ();
17343 return magic_open ();
17348 if ac_fn_c_try_link
"$LINENO"; then :
17349 ac_cv_lib_magic_magic_open
=yes
17351 ac_cv_lib_magic_magic_open
=no
17353 rm -f core conftest.err conftest.
$ac_objext \
17354 conftest
$ac_exeext conftest.
$ac_ext
17355 LIBS
=$ac_check_lib_save_LIBS
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
17358 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
17359 if test "x$ac_cv_lib_magic_magic_open" = x
""yes; then :
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
17366 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
17367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17368 /* end confdefs.h. */
17369 #include <netinet/in.h>
17373 struct sockaddr_in6 addr6;
17378 if ac_fn_c_try_compile
"$LINENO"; then :
17380 $as_echo "#define HAVE_INET6 1" >>confdefs.h
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17383 $as_echo "yes" >&6; }
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17386 $as_echo "no" >&6; }
17388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
17391 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
17392 if test "${ac_cv_header_time+set}" = set; then :
17393 $as_echo_n "(cached) " >&6
17395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17397 #include <sys/types.h>
17398 #include <sys/time.h>
17404 if ((struct tm *) 0)
17410 if ac_fn_c_try_compile
"$LINENO"; then :
17411 ac_cv_header_time
=yes
17413 ac_cv_header_time
=no
17415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
17418 $as_echo "$ac_cv_header_time" >&6; }
17419 if test $ac_cv_header_time = yes; then
17421 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
17426 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
17427 if test "${ac_cv_struct_tm+set}" = set; then :
17428 $as_echo_n "(cached) " >&6
17430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #include <sys/types.h>
17439 int *p = &tm.tm_sec;
17445 if ac_fn_c_try_compile
"$LINENO"; then :
17446 ac_cv_struct_tm
=time.h
17448 ac_cv_struct_tm
=sys
/time.h
17450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
17453 $as_echo "$ac_cv_struct_tm" >&6; }
17454 if test $ac_cv_struct_tm = sys
/time.h
; then
17456 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
17460 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
17461 #include <$ac_cv_struct_tm>
17464 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
17466 cat >>confdefs.h
<<_ACEOF
17467 #define HAVE_STRUCT_TM_TM_ZONE 1
17473 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
17475 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
17478 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
17480 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
17486 cat >>confdefs.h
<<_ACEOF
17487 #define HAVE_DECL_TZNAME $ac_have_decl
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
17491 $as_echo_n "checking for tzname... " >&6; }
17492 if test "${ac_cv_var_tzname+set}" = set; then :
17493 $as_echo_n "(cached) " >&6
17495 if test x
$gcc_no_link = xyes
; then
17496 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17501 #if !HAVE_DECL_TZNAME
17502 extern char *tzname[];
17508 return tzname[0][0];
17513 if ac_fn_c_try_link
"$LINENO"; then :
17514 ac_cv_var_tzname
=yes
17516 ac_cv_var_tzname
=no
17518 rm -f core conftest.err conftest.
$ac_objext \
17519 conftest
$ac_exeext conftest.
$ac_ext
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
17522 $as_echo "$ac_cv_var_tzname" >&6; }
17523 if test $ac_cv_var_tzname = yes; then
17525 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
17532 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
17533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17534 /* end confdefs.h. */
17539 struct tm tim; tim.tm_gmtoff = 0;
17544 if ac_fn_c_try_compile
"$LINENO"; then :
17546 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17549 $as_echo "yes" >&6; }
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17552 $as_echo "no" >&6; }
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
17554 $as_echo_n "checking for global timezone variable... " >&6; }
17555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17556 /* end confdefs.h. */
17561 void i(){long z2 = 2*timezone;}
17566 if ac_fn_c_try_compile
"$LINENO"; then :
17568 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17571 $as_echo "yes" >&6; }
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17574 $as_echo "no" >&6; }
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
17576 $as_echo_n "checking for global _timezone variable... " >&6; }
17577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h. */
17583 long z2 = _timezone;
17588 if ac_fn_c_try_compile
"$LINENO"; then :
17590 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17593 $as_echo "yes" >&6; }
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17596 $as_echo "no" >&6; }
17598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17605 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17606 if test "${ac_cv_c_const+set}" = set; then :
17607 $as_echo_n "(cached) " >&6
17609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17610 /* end confdefs.h. */
17615 /* FIXME: Include the comments suggested by Paul. */
17616 #ifndef __cplusplus
17617 /* Ultrix mips cc rejects this. */
17618 typedef int charset[2];
17620 /* SunOS 4.1.1 cc rejects this. */
17621 char const *const *pcpcc;
17623 /* NEC SVR4.0.2 mips cc rejects this. */
17624 struct point {int x, y;};
17625 static struct point const zero = {0,0};
17626 /* AIX XL C 1.02.0.0 rejects this.
17627 It does not let you subtract one const X* pointer from another in
17628 an arm of an if-expression whose if-part is not a constant
17630 const char *g = "string";
17631 pcpcc = &g + (g ? g-g : 0);
17632 /* HPUX 7.0 cc rejects these. */
17634 ppc = (char**) pcpcc;
17635 pcpcc = (char const *const *) ppc;
17636 { /* SCO 3.2v4 cc rejects this. */
17638 char const *s = 0 ? (char *) 0 : (char const *) 0;
17643 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17644 int x[] = {25, 17};
17645 const int *foo = &x[0];
17648 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17649 typedef const int *iptr;
17653 { /* AIX XL C 1.02.0.0 rejects this saying
17654 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17655 struct s { int j; const int *ap[3]; };
17656 struct s *b; b->j = 5;
17658 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17659 const int foo = 10;
17660 if (!foo) return 0;
17662 return !cs[0] && !zero.x;
17669 if ac_fn_c_try_compile
"$LINENO"; then :
17674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17677 $as_echo "$ac_cv_c_const" >&6; }
17678 if test $ac_cv_c_const = no
; then
17680 $as_echo "#define const /**/" >>confdefs.h
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17685 $as_echo_n "checking for inline... " >&6; }
17686 if test "${ac_cv_c_inline+set}" = set; then :
17687 $as_echo_n "(cached) " >&6
17690 for ac_kw
in inline __inline__ __inline
; do
17691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17692 /* end confdefs.h. */
17693 #ifndef __cplusplus
17695 static $ac_kw foo_t static_foo () {return 0; }
17696 $ac_kw foo_t foo () {return 0; }
17700 if ac_fn_c_try_compile
"$LINENO"; then :
17701 ac_cv_c_inline
=$ac_kw
17703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17704 test "$ac_cv_c_inline" != no
&& break
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17709 $as_echo "$ac_cv_c_inline" >&6; }
17711 case $ac_cv_c_inline in
17714 case $ac_cv_c_inline in
17716 *) ac_val
=$ac_cv_c_inline;;
17718 cat >>confdefs.h
<<_ACEOF
17719 #ifndef __cplusplus
17720 #define inline $ac_val
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
17727 $as_echo_n "checking for __attribute__... " >&6; }
17728 if test "${ac_cv_c_attribute+set}" = set; then :
17729 $as_echo_n "(cached) " >&6
17732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17734 void foo(void) __attribute__ ((__noreturn__));
17737 if ac_fn_c_try_compile
"$LINENO"; then :
17738 ac_cv_c_attribute
=yes
17740 ac_cv_c_attribute
=no
17743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_attribute" >&5
17747 $as_echo "$ac_cv_c_attribute" >&6; }
17749 case $ac_cv_c_attribute in
17752 cat >>confdefs.h
<<_ACEOF
17753 #define __attribute__(x) /* nothing */
17761 ac_cpp
='$CPP $CPPFLAGS'
17762 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17763 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17764 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
17767 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
17769 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
17770 $as_echo_n "(cached) " >&6
17774 ################################################################
17776 ac_cv_func_which_gethostbyname_r
=unknown
17779 # ONE ARGUMENT (sanity check)
17782 # This should fail, as there is no variant of gethostbyname_r() that takes
17783 # a single argument. If it actually compiles, then we can assume that
17784 # netdb.h is not declaring the function, and the compiler is thereby
17785 # assuming an implicit prototype. In which case, we're out of luck.
17787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17795 char *name = "www.gnu.org";
17796 (void)gethostbyname_r(name) /* ; */
17802 if ac_fn_c_try_compile
"$LINENO"; then :
17803 ac_cv_func_which_gethostbyname_r
=no
17805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17812 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17822 char *name = "www.gnu.org";
17823 struct hostent ret, *retp;
17827 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
17833 if ac_fn_c_try_compile
"$LINENO"; then :
17834 ac_cv_func_which_gethostbyname_r
=six
17836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17845 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h. */
17855 char *name = "www.gnu.org";
17856 struct hostent ret;
17860 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
17866 if ac_fn_c_try_compile
"$LINENO"; then :
17867 ac_cv_func_which_gethostbyname_r
=five
17869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17875 # (e.g. AIX, HP-UX, Tru64)
17878 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17881 /* end confdefs.h. */
17888 char *name = "www.gnu.org";
17889 struct hostent ret;
17890 struct hostent_data data;
17891 (void)gethostbyname_r(name, &ret, &data) /* ; */
17897 if ac_fn_c_try_compile
"$LINENO"; then :
17898 ac_cv_func_which_gethostbyname_r
=three
17900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17904 ################################################################
17909 case "$ac_cv_func_which_gethostbyname_r" in
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
17912 $as_echo "three" >&6; }
17914 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
17920 $as_echo "five" >&6; }
17922 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
17928 $as_echo "six" >&6; }
17930 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
17936 $as_echo "cannot find function declaration in netdb.h" >&6; }
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
17941 $as_echo "can't tell" >&6; }
17945 as_fn_error
"internal error" "$LINENO" 5
17950 ac_cpp
='$CPP $CPPFLAGS'
17951 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17952 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17953 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17959 if test "X$prefix" = "XNONE"; then
17960 acl_final_prefix
="$ac_default_prefix"
17962 acl_final_prefix
="$prefix"
17964 if test "X$exec_prefix" = "XNONE"; then
17965 acl_final_exec_prefix
='${prefix}'
17967 acl_final_exec_prefix
="$exec_prefix"
17969 acl_save_prefix
="$prefix"
17970 prefix
="$acl_final_prefix"
17971 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
17972 prefix
="$acl_save_prefix"
17975 # Check whether --with-gnu-ld was given.
17976 if test "${with_gnu_ld+set}" = set; then :
17977 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
17982 # Prepare PATH_SEPARATOR.
17983 # The user is always right.
17984 if test "${PATH_SEPARATOR+set}" != set; then
17985 echo "#! /bin/sh" >conf$$.sh
17986 echo "exit 0" >>conf$$.sh
17988 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17996 if test "$GCC" = yes; then
17997 # Check if gcc -print-prog-name=ld gives a path.
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17999 $as_echo_n "checking for ld used by GCC... " >&6; }
18002 # gcc leaves a trailing carriage return which upsets mingw
18003 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18005 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
18008 # Accept absolute paths.
18009 [\\/]* |
[A-Za-z
]:[\\/]*)
18010 re_direlt
='/[^/][^/]*/\.\./'
18011 # Canonicalize the path of ld
18012 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
18013 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
18014 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
18016 test -z "$LD" && LD
="$ac_prog"
18019 # If it fails, then pretend we aren't using GCC.
18023 # If it is relative, then search for the first ld in PATH.
18024 with_gnu_ld
=unknown
18027 elif test "$with_gnu_ld" = yes; then
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18029 $as_echo_n "checking for GNU ld... " >&6; }
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18032 $as_echo_n "checking for non-GNU ld... " >&6; }
18034 if test "${acl_cv_path_LD+set}" = set; then :
18035 $as_echo_n "(cached) " >&6
18037 if test -z "$LD"; then
18038 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
18039 for ac_dir
in $PATH; do
18040 test -z "$ac_dir" && ac_dir
=.
18041 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
18042 acl_cv_path_LD
="$ac_dir/$ac_prog"
18043 # Check to see if the program is GNU ld. I'd rather use --version,
18044 # but apparently some GNU ld's only accept -v.
18045 # Break only if it was the GNU/non-GNU ld that we prefer.
18046 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
18047 *GNU
* |
*'with BFD'*)
18048 test "$with_gnu_ld" != no
&& break ;;
18050 test "$with_gnu_ld" != yes && break ;;
18056 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
18060 LD
="$acl_cv_path_LD"
18061 if test -n "$LD"; then
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18063 $as_echo "$LD" >&6; }
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18066 $as_echo "no" >&6; }
18068 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18070 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18071 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
18072 $as_echo_n "(cached) " >&6
18074 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
18075 case `$LD -v 2>&1 </dev/null` in
18076 *GNU
* |
*'with BFD'*)
18077 acl_cv_prog_gnu_ld
=yes ;;
18079 acl_cv_prog_gnu_ld
=no
;;
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
18083 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
18084 with_gnu_ld
=$acl_cv_prog_gnu_ld
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
18090 $as_echo_n "checking for shared library run path origin... " >&6; }
18091 if test "${acl_cv_rpath+set}" = set; then :
18092 $as_echo_n "(cached) " >&6
18095 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
18096 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18098 rm -f .
/conftest.sh
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
18103 $as_echo "$acl_cv_rpath" >&6; }
18105 acl_libext
="$acl_cv_libext"
18106 acl_shlibext
="$acl_cv_shlibext"
18107 acl_libname_spec
="$acl_cv_libname_spec"
18108 acl_library_names_spec
="$acl_cv_library_names_spec"
18109 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
18110 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
18111 acl_hardcode_direct
="$acl_cv_hardcode_direct"
18112 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
18113 # Check whether --enable-rpath was given.
18114 if test "${enable_rpath+set}" = set; then :
18115 enableval
=$enable_rpath; :
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
18128 $as_echo_n "checking for 64-bit host... " >&6; }
18129 if test "${gl_cv_solaris_64bit+set}" = set; then :
18130 $as_echo_n "(cached) " >&6
18132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18133 /* end confdefs.h. */
18140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18141 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
18142 gl_cv_solaris_64bit
=yes
18144 gl_cv_solaris_64bit
=no
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
18151 $as_echo "$gl_cv_solaris_64bit" >&6; }
18152 if test $gl_cv_solaris_64bit = yes; then
18153 acl_libdirstem
=lib
/64
18154 case "$host_cpu" in
18155 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
18156 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
18161 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
18162 if test -n "$searchpath"; then
18163 acl_save_IFS
="${IFS= }"; IFS
=":"
18164 for searchdir
in $searchpath; do
18165 if test -d "$searchdir"; then
18166 case "$searchdir" in
18167 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
18169 # Better ignore directories of this form. They are misleading.
18171 *) searchdir
=`cd "$searchdir" && pwd`
18172 case "$searchdir" in
18173 */lib64
) acl_libdirstem
=lib64
;;
18178 IFS
="$acl_save_IFS"
18182 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
18197 acl_save_prefix
="$prefix"
18198 prefix
="$acl_final_prefix"
18199 acl_save_exec_prefix
="$exec_prefix"
18200 exec_prefix
="$acl_final_exec_prefix"
18202 eval additional_includedir
=\"$includedir\"
18203 eval additional_libdir
=\"$libdir\"
18205 exec_prefix
="$acl_save_exec_prefix"
18206 prefix
="$acl_save_prefix"
18209 # Check whether --with-libiconv-prefix was given.
18210 if test "${with_libiconv_prefix+set}" = set; then :
18211 withval
=$with_libiconv_prefix;
18212 if test "X$withval" = "Xno"; then
18215 if test "X$withval" = "X"; then
18217 acl_save_prefix
="$prefix"
18218 prefix
="$acl_final_prefix"
18219 acl_save_exec_prefix
="$exec_prefix"
18220 exec_prefix
="$acl_final_exec_prefix"
18222 eval additional_includedir
=\"$includedir\"
18223 eval additional_libdir
=\"$libdir\"
18225 exec_prefix
="$acl_save_exec_prefix"
18226 prefix
="$acl_save_prefix"
18229 additional_includedir
="$withval/include"
18230 additional_libdir
="$withval/$acl_libdirstem"
18231 if test "$acl_libdirstem2" != "$acl_libdirstem" \
18232 && ! test -d "$withval/$acl_libdirstem"; then
18233 additional_libdir
="$withval/$acl_libdirstem2"
18247 names_already_handled
=
18248 names_next_round
='iconv '
18249 while test -n "$names_next_round"; do
18250 names_this_round
="$names_next_round"
18252 for name
in $names_this_round; do
18254 for n
in $names_already_handled; do
18255 if test "$n" = "$name"; then
18256 already_handled
=yes
18260 if test -z "$already_handled"; then
18261 names_already_handled
="$names_already_handled $name"
18262 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18263 eval value
=\"\
$HAVE_LIB$uppername\"
18264 if test -n "$value"; then
18265 if test "$value" = yes; then
18266 eval value
=\"\
$LIB$uppername\"
18267 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
18268 eval value
=\"\
$LTLIB$uppername\"
18269 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
18278 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
18279 if test -n "$acl_shlibext"; then
18280 shrext
=".$acl_shlibext" # typically: shrext=.so
18284 if test $use_additional = yes; then
18285 dir
="$additional_libdir"
18286 if test -n "$acl_shlibext"; then
18287 if test -f "$dir/$libname$shrext"; then
18289 found_so
="$dir/$libname$shrext"
18291 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18292 ver
=`(cd "$dir" && \
18293 for f in "$libname$shrext".*; do echo "$f"; done \
18294 | sed -e "s,^$libname$shrext\\\\.,," \
18295 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18296 | sed 1q ) 2>/dev/null`
18297 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18299 found_so
="$dir/$libname$shrext.$ver"
18302 eval library_names
=\"$acl_library_names_spec\"
18303 for f
in $library_names; do
18304 if test -f "$dir/$f"; then
18313 if test "X$found_dir" = "X"; then
18314 if test -f "$dir/$libname.$acl_libext"; then
18316 found_a
="$dir/$libname.$acl_libext"
18319 if test "X$found_dir" != "X"; then
18320 if test -f "$dir/$libname.la"; then
18321 found_la
="$dir/$libname.la"
18325 if test "X$found_dir" = "X"; then
18326 for x
in $LDFLAGS $LTLIBICONV; do
18328 acl_save_prefix
="$prefix"
18329 prefix
="$acl_final_prefix"
18330 acl_save_exec_prefix
="$exec_prefix"
18331 exec_prefix
="$acl_final_exec_prefix"
18333 exec_prefix
="$acl_save_exec_prefix"
18334 prefix
="$acl_save_prefix"
18338 dir
=`echo "X$x" | sed -e 's/^X-L//'`
18339 if test -n "$acl_shlibext"; then
18340 if test -f "$dir/$libname$shrext"; then
18342 found_so
="$dir/$libname$shrext"
18344 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18345 ver
=`(cd "$dir" && \
18346 for f in "$libname$shrext".*; do echo "$f"; done \
18347 | sed -e "s,^$libname$shrext\\\\.,," \
18348 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18349 | sed 1q ) 2>/dev/null`
18350 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18352 found_so
="$dir/$libname$shrext.$ver"
18355 eval library_names
=\"$acl_library_names_spec\"
18356 for f
in $library_names; do
18357 if test -f "$dir/$f"; then
18366 if test "X$found_dir" = "X"; then
18367 if test -f "$dir/$libname.$acl_libext"; then
18369 found_a
="$dir/$libname.$acl_libext"
18372 if test "X$found_dir" != "X"; then
18373 if test -f "$dir/$libname.la"; then
18374 found_la
="$dir/$libname.la"
18379 if test "X$found_dir" != "X"; then
18384 if test "X$found_dir" != "X"; then
18385 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18386 if test "X$found_so" != "X"; then
18387 if test "$enable_rpath" = no \
18388 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
18389 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18390 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18393 for x
in $ltrpathdirs; do
18394 if test "X$x" = "X$found_dir"; then
18399 if test -z "$haveit"; then
18400 ltrpathdirs
="$ltrpathdirs $found_dir"
18402 if test "$acl_hardcode_direct" = yes; then
18403 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18405 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
18406 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18408 for x
in $rpathdirs; do
18409 if test "X$x" = "X$found_dir"; then
18414 if test -z "$haveit"; then
18415 rpathdirs
="$rpathdirs $found_dir"
18419 for x
in $LDFLAGS $LIBICONV; do
18421 acl_save_prefix
="$prefix"
18422 prefix
="$acl_final_prefix"
18423 acl_save_exec_prefix
="$exec_prefix"
18424 exec_prefix
="$acl_final_exec_prefix"
18426 exec_prefix
="$acl_save_exec_prefix"
18427 prefix
="$acl_save_prefix"
18429 if test "X$x" = "X-L$found_dir"; then
18434 if test -z "$haveit"; then
18435 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18437 if test "$acl_hardcode_minus_L" != no
; then
18438 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18440 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18446 if test "X$found_a" != "X"; then
18447 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
18449 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18452 additional_includedir
=
18453 case "$found_dir" in
18454 */$acl_libdirstem |
*/$acl_libdirstem/)
18455 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18456 if test "$name" = 'iconv'; then
18457 LIBICONV_PREFIX
="$basedir"
18459 additional_includedir
="$basedir/include"
18461 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
18462 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
18463 if test "$name" = 'iconv'; then
18464 LIBICONV_PREFIX
="$basedir"
18466 additional_includedir
="$basedir/include"
18469 if test "X$additional_includedir" != "X"; then
18470 if test "X$additional_includedir" != "X/usr/include"; then
18472 if test "X$additional_includedir" = "X/usr/local/include"; then
18473 if test -n "$GCC"; then
18475 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
18479 if test -z "$haveit"; then
18480 for x
in $CPPFLAGS $INCICONV; do
18482 acl_save_prefix
="$prefix"
18483 prefix
="$acl_final_prefix"
18484 acl_save_exec_prefix
="$exec_prefix"
18485 exec_prefix
="$acl_final_exec_prefix"
18487 exec_prefix
="$acl_save_exec_prefix"
18488 prefix
="$acl_save_prefix"
18490 if test "X$x" = "X-I$additional_includedir"; then
18495 if test -z "$haveit"; then
18496 if test -d "$additional_includedir"; then
18497 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18503 if test -n "$found_la"; then
18504 save_libdir
="$libdir"
18505 case "$found_la" in
18506 */* |
*\\*) .
"$found_la" ;;
18507 *) .
"./$found_la" ;;
18509 libdir
="$save_libdir"
18510 for dep
in $dependency_libs; do
18513 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
18514 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
18515 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
18517 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
18518 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
18519 if test -n "$GCC"; then
18521 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
18525 if test -z "$haveit"; then
18527 for x
in $LDFLAGS $LIBICONV; do
18529 acl_save_prefix
="$prefix"
18530 prefix
="$acl_final_prefix"
18531 acl_save_exec_prefix
="$exec_prefix"
18532 exec_prefix
="$acl_final_exec_prefix"
18534 exec_prefix
="$acl_save_exec_prefix"
18535 prefix
="$acl_save_prefix"
18537 if test "X$x" = "X-L$additional_libdir"; then
18542 if test -z "$haveit"; then
18543 if test -d "$additional_libdir"; then
18544 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18548 for x
in $LDFLAGS $LTLIBICONV; do
18550 acl_save_prefix
="$prefix"
18551 prefix
="$acl_final_prefix"
18552 acl_save_exec_prefix
="$exec_prefix"
18553 exec_prefix
="$acl_final_exec_prefix"
18555 exec_prefix
="$acl_save_exec_prefix"
18556 prefix
="$acl_save_prefix"
18558 if test "X$x" = "X-L$additional_libdir"; then
18563 if test -z "$haveit"; then
18564 if test -d "$additional_libdir"; then
18565 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18572 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
18573 if test "$enable_rpath" != no
; then
18575 for x
in $rpathdirs; do
18576 if test "X$x" = "X$dir"; then
18581 if test -z "$haveit"; then
18582 rpathdirs
="$rpathdirs $dir"
18585 for x
in $ltrpathdirs; do
18586 if test "X$x" = "X$dir"; then
18591 if test -z "$haveit"; then
18592 ltrpathdirs
="$ltrpathdirs $dir"
18597 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18600 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18603 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
18604 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18610 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18611 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18617 if test "X$rpathdirs" != "X"; then
18618 if test -n "$acl_hardcode_libdir_separator"; then
18620 for found_dir
in $rpathdirs; do
18621 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18623 acl_save_libdir
="$libdir"
18625 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
18626 libdir
="$acl_save_libdir"
18627 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
18629 for found_dir
in $rpathdirs; do
18630 acl_save_libdir
="$libdir"
18631 libdir
="$found_dir"
18632 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
18633 libdir
="$acl_save_libdir"
18634 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
18638 if test "X$ltrpathdirs" != "X"; then
18639 for found_dir
in $ltrpathdirs; do
18640 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18655 am_save_CPPFLAGS
="$CPPFLAGS"
18657 for element
in $INCICONV; do
18659 for x
in $CPPFLAGS; do
18661 acl_save_prefix
="$prefix"
18662 prefix
="$acl_final_prefix"
18663 acl_save_exec_prefix
="$exec_prefix"
18664 exec_prefix
="$acl_final_exec_prefix"
18666 exec_prefix
="$acl_save_exec_prefix"
18667 prefix
="$acl_save_prefix"
18669 if test "X$x" = "X$element"; then
18674 if test -z "$haveit"; then
18675 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18681 $as_echo_n "checking for iconv... " >&6; }
18682 if test "${am_cv_func_iconv+set}" = set; then :
18683 $as_echo_n "(cached) " >&6
18686 am_cv_func_iconv
="no, consider installing GNU libiconv"
18688 if test x
$gcc_no_link = xyes
; then
18689 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18692 /* end confdefs.h. */
18693 #include <stdlib.h>
18698 iconv_t cd = iconv_open("","");
18699 iconv(cd,NULL,NULL,NULL,NULL);
18705 if ac_fn_c_try_link
"$LINENO"; then :
18706 am_cv_func_iconv
=yes
18708 rm -f core conftest.err conftest.
$ac_objext \
18709 conftest
$ac_exeext conftest.
$ac_ext
18710 if test "$am_cv_func_iconv" != yes; then
18711 am_save_LIBS
="$LIBS"
18712 LIBS
="$LIBS $LIBICONV"
18713 if test x
$gcc_no_link = xyes
; then
18714 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18717 /* end confdefs.h. */
18718 #include <stdlib.h>
18723 iconv_t cd = iconv_open("","");
18724 iconv(cd,NULL,NULL,NULL,NULL);
18730 if ac_fn_c_try_link
"$LINENO"; then :
18731 am_cv_lib_iconv
=yes
18732 am_cv_func_iconv
=yes
18734 rm -f core conftest.err conftest.
$ac_objext \
18735 conftest
$ac_exeext conftest.
$ac_ext
18736 LIBS
="$am_save_LIBS"
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18741 $as_echo "$am_cv_func_iconv" >&6; }
18742 if test "$am_cv_func_iconv" = yes; then
18744 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18747 if test "$am_cv_lib_iconv" = yes; then
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18749 $as_echo_n "checking how to link with libiconv... " >&6; }
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18751 $as_echo "$LIBICONV" >&6; }
18753 CPPFLAGS
="$am_save_CPPFLAGS"
18760 if test "$am_cv_func_iconv" = yes; then
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
18762 $as_echo_n "checking for iconv declaration... " >&6; }
18763 if test "${am_cv_proto_iconv+set}" = set; then :
18764 $as_echo_n "(cached) " >&6
18767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18768 /* end confdefs.h. */
18770 #include <stdlib.h>
18776 #if defined(__STDC__) || defined(__cplusplus)
18777 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
18790 if ac_fn_c_try_compile
"$LINENO"; then :
18791 am_cv_proto_iconv_arg1
=""
18793 am_cv_proto_iconv_arg1
="const"
18795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18796 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);"
18799 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
18801 }$am_cv_proto_iconv" >&5
18803 }$am_cv_proto_iconv" >&6; }
18805 cat >>confdefs.h
<<_ACEOF
18806 #define ICONV_CONST $am_cv_proto_iconv_arg1
18812 if test "x${GCC}" = xyes
; then
18814 WARNING_CFLAGS
='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
18817 EXTRA_CFLAGS
='-fexceptions -fasynchronous-unwind-tables'
18820 STRICT_WARNING_CFLAGS
='-Wstrict-prototypes -pedantic'
18824 if test "x${ENABLE_WERROR}" = xyes
; then
18825 ERROR_CFLAGS
='-Werror'
18830 if test "x${COMPILE_XMLJ}" = xyes
; then
18834 if test -z "$PKG_CONFIG"; then
18835 if test -n "$ac_tool_prefix"; then
18836 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18837 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18839 $as_echo_n "checking for $ac_word... " >&6; }
18840 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18841 $as_echo_n "(cached) " >&6
18843 case $PKG_CONFIG in
18845 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18849 for as_dir
in $PATH
18852 test -z "$as_dir" && as_dir
=.
18853 for ac_exec_ext
in '' $ac_executable_extensions; do
18854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18855 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18866 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18867 if test -n "$PKG_CONFIG"; then
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18869 $as_echo "$PKG_CONFIG" >&6; }
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18872 $as_echo "no" >&6; }
18877 if test -z "$ac_cv_path_PKG_CONFIG"; then
18878 ac_pt_PKG_CONFIG
=$PKG_CONFIG
18879 # Extract the first word of "pkg-config", so it can be a program name with args.
18880 set dummy pkg-config
; ac_word
=$2
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18882 $as_echo_n "checking for $ac_word... " >&6; }
18883 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
18884 $as_echo_n "(cached) " >&6
18886 case $ac_pt_PKG_CONFIG in
18888 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18892 for as_dir
in $PATH
18895 test -z "$as_dir" && as_dir
=.
18896 for ac_exec_ext
in '' $ac_executable_extensions; do
18897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18898 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18909 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
18910 if test -n "$ac_pt_PKG_CONFIG"; then
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18912 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18915 $as_echo "no" >&6; }
18918 if test "x$ac_pt_PKG_CONFIG" = x
; then
18921 case $cross_compiling:$ac_tool_warned in
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18925 ac_tool_warned
=yes ;;
18927 PKG_CONFIG
=$ac_pt_PKG_CONFIG
18930 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
18935 if test "$PKG_CONFIG" = "no" ; then
18936 echo "*** The pkg-config script could not be found. Make sure it is"
18937 echo "*** in your path, or set the PKG_CONFIG environment variable"
18938 echo "*** to the full path to pkg-config."
18939 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18941 PKG_CONFIG_MIN_VERSION
=0.9.0
18942 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.6.8" >&5
18944 $as_echo_n "checking for libxml-2.0 >= 2.6.8... " >&6; }
18946 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18948 $as_echo "yes" >&6; }
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_CFLAGS" >&5
18952 $as_echo_n "checking XML_CFLAGS... " >&6; }
18953 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CFLAGS" >&5
18955 $as_echo "$XML_CFLAGS" >&6; }
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_LIBS" >&5
18958 $as_echo_n "checking XML_LIBS... " >&6; }
18959 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_LIBS" >&5
18961 $as_echo "$XML_LIBS" >&6; }
18965 ## If we have a custom action on failure, don't print errors, but
18966 ## do set a variable so people can do so.
18967 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
18968 echo $XML_PKG_ERRORS
18974 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18975 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18979 if test $succeeded = yes; then
18982 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
18988 if test -z "$PKG_CONFIG"; then
18989 if test -n "$ac_tool_prefix"; then
18990 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18991 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18993 $as_echo_n "checking for $ac_word... " >&6; }
18994 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18995 $as_echo_n "(cached) " >&6
18997 case $PKG_CONFIG in
18999 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19003 for as_dir
in $PATH
19006 test -z "$as_dir" && as_dir
=.
19007 for ac_exec_ext
in '' $ac_executable_extensions; do
19008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19009 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19020 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19021 if test -n "$PKG_CONFIG"; then
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19023 $as_echo "$PKG_CONFIG" >&6; }
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19026 $as_echo "no" >&6; }
19031 if test -z "$ac_cv_path_PKG_CONFIG"; then
19032 ac_pt_PKG_CONFIG
=$PKG_CONFIG
19033 # Extract the first word of "pkg-config", so it can be a program name with args.
19034 set dummy pkg-config
; ac_word
=$2
19035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19036 $as_echo_n "checking for $ac_word... " >&6; }
19037 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
19038 $as_echo_n "(cached) " >&6
19040 case $ac_pt_PKG_CONFIG in
19042 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19046 for as_dir
in $PATH
19049 test -z "$as_dir" && as_dir
=.
19050 for ac_exec_ext
in '' $ac_executable_extensions; do
19051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19052 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19063 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
19064 if test -n "$ac_pt_PKG_CONFIG"; then
19065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19066 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19069 $as_echo "no" >&6; }
19072 if test "x$ac_pt_PKG_CONFIG" = x
; then
19075 case $cross_compiling:$ac_tool_warned in
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19079 ac_tool_warned
=yes ;;
19081 PKG_CONFIG
=$ac_pt_PKG_CONFIG
19084 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
19089 if test "$PKG_CONFIG" = "no" ; then
19090 echo "*** The pkg-config script could not be found. Make sure it is"
19091 echo "*** in your path, or set the PKG_CONFIG environment variable"
19092 echo "*** to the full path to pkg-config."
19093 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19095 PKG_CONFIG_MIN_VERSION
=0.9.0
19096 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxslt >= 1.1.11" >&5
19098 $as_echo_n "checking for libxslt >= 1.1.11... " >&6; }
19100 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19102 $as_echo "yes" >&6; }
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_CFLAGS" >&5
19106 $as_echo_n "checking XSLT_CFLAGS... " >&6; }
19107 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_CFLAGS" >&5
19109 $as_echo "$XSLT_CFLAGS" >&6; }
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_LIBS" >&5
19112 $as_echo_n "checking XSLT_LIBS... " >&6; }
19113 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_LIBS" >&5
19115 $as_echo "$XSLT_LIBS" >&6; }
19119 ## If we have a custom action on failure, don't print errors, but
19120 ## do set a variable so people can do so.
19121 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
19122 echo $XSLT_PKG_ERRORS
19128 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19129 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19133 if test $succeeded = yes; then
19136 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
19145 if test "x${COMPILE_GTK_PEER}" = xyes
; then
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19147 $as_echo_n "checking for X... " >&6; }
19150 # Check whether --with-x was given.
19151 if test "${with_x+set}" = set; then :
19155 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19156 if test "x$with_x" = xno
; then
19157 # The user explicitly disabled X.
19160 case $x_includes,$x_libraries in #(
19161 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
19162 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
19163 $as_echo_n "(cached) " >&6
19165 # One or both of the vars are not set, and there is no cached value.
19166 ac_x_includes
=no ac_x_libraries
=no
19167 rm -f -r conftest.dir
19168 if mkdir conftest.dir
; then
19170 cat >Imakefile
<<'_ACEOF'
19172 @echo incroot='${INCROOT}'
19174 @echo usrlibdir='${USRLIBDIR}'
19176 @echo libdir='${LIBDIR}'
19178 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
19179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19180 for ac_var
in incroot usrlibdir libdir
; do
19181 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
19183 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19184 for ac_extension
in a so sl dylib la dll
; do
19185 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19186 test -f "$ac_im_libdir/libX11.$ac_extension"; then
19187 ac_im_usrlibdir
=$ac_im_libdir; break
19190 # Screen out bogus values from the imake configuration. They are
19191 # bogus both because they are the default anyway, and because
19192 # using them would break gcc on systems where it needs fixed includes.
19193 case $ac_im_incroot in
19194 /usr
/include
) ac_x_includes
= ;;
19195 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
19197 case $ac_im_usrlibdir in
19198 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
19199 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
19203 rm -f -r conftest.dir
19206 # Standard set of common directories for X headers.
19207 # Check X11 before X11Rn because it is often a symlink to the current release.
19221 /usr/local/X11/include
19222 /usr/local/X11R7/include
19223 /usr/local/X11R6/include
19224 /usr/local/X11R5/include
19225 /usr/local/X11R4/include
19227 /usr/local/include/X11
19228 /usr/local/include/X11R7
19229 /usr/local/include/X11R6
19230 /usr/local/include/X11R5
19231 /usr/local/include/X11R4
19235 /usr/XFree86/include/X11
19239 /usr/unsupported/include
19240 /usr/athena/include
19241 /usr/local/x11r5/include
19242 /usr/lpp/Xamples/include
19244 /usr/openwin/include
19245 /usr/openwin/share/include'
19247 if test "$ac_x_includes" = no
; then
19248 # Guess where to find include files, by looking for Xlib.h.
19249 # First, try using that file with no special directory specified.
19250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19251 /* end confdefs.h. */
19252 #include <X11/Xlib.h>
19254 if ac_fn_c_try_cpp
"$LINENO"; then :
19255 # We can compile using X headers with no special include directory.
19258 for ac_dir
in $ac_x_header_dirs; do
19259 if test -r "$ac_dir/X11/Xlib.h"; then
19260 ac_x_includes
=$ac_dir
19265 rm -f conftest.err conftest.
$ac_ext
19266 fi # $ac_x_includes = no
19268 if test "$ac_x_libraries" = no
; then
19269 # Check for the libraries.
19270 # See if we find them without any special options.
19271 # Don't add to $LIBS permanently.
19274 if test x
$gcc_no_link = xyes
; then
19275 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h. */
19279 #include <X11/Xlib.h>
19288 if ac_fn_c_try_link
"$LINENO"; then :
19290 # We can link X programs with no special library path.
19294 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19296 # Don't even attempt the hair of trying to link an X program!
19297 for ac_extension
in a so sl dylib la dll
; do
19298 if test -r "$ac_dir/libX11.$ac_extension"; then
19299 ac_x_libraries
=$ac_dir
19305 rm -f core conftest.err conftest.
$ac_objext \
19306 conftest
$ac_exeext conftest.
$ac_ext
19307 fi # $ac_x_libraries = no
19309 case $ac_x_includes,$ac_x_libraries in #(
19310 no
,* |
*,no |
*\'*)
19311 # Didn't find X, or a directory has "'" in its name.
19312 ac_cv_have_x
="have_x=no";; #(
19314 # Record where we found X for the cache.
19315 ac_cv_have_x
="have_x=yes\
19316 ac_x_includes='$ac_x_includes'\
19317 ac_x_libraries='$ac_x_libraries'"
19323 eval "$ac_cv_have_x"
19326 if test "$have_x" != yes; then
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19328 $as_echo "$have_x" >&6; }
19331 # If each of the values was on the command line, it overrides each guess.
19332 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19333 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19334 # Update the cache value to reflect the command line values.
19335 ac_cv_have_x
="have_x=yes\
19336 ac_x_includes='$x_includes'\
19337 ac_x_libraries='$x_libraries'"
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
19339 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19342 if test "$no_x" = yes; then
19343 # Not all programs may use this symbol, but it does not hurt to define it.
19345 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
19347 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19349 if test -n "$x_includes"; then
19350 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19353 # It would also be nice to do this for all -L options, not just this one.
19354 if test -n "$x_libraries"; then
19355 X_LIBS
="$X_LIBS -L$x_libraries"
19356 # For Solaris; some versions of Sun CC require a space after -R and
19357 # others require no space. Words are not sufficient . . . .
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
19359 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
19360 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19361 ac_xsave_c_werror_flag
=$ac_c_werror_flag
19362 ac_c_werror_flag
=yes
19363 if test x
$gcc_no_link = xyes
; then
19364 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19367 /* end confdefs.h. */
19377 if ac_fn_c_try_link
"$LINENO"; then :
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19379 $as_echo "no" >&6; }
19380 X_LIBS
="$X_LIBS -R$x_libraries"
19382 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19383 if test x
$gcc_no_link = xyes
; then
19384 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19387 /* end confdefs.h. */
19397 if ac_fn_c_try_link
"$LINENO"; then :
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19399 $as_echo "yes" >&6; }
19400 X_LIBS
="$X_LIBS -R $x_libraries"
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
19403 $as_echo "neither works" >&6; }
19405 rm -f core conftest.err conftest.
$ac_objext \
19406 conftest
$ac_exeext conftest.
$ac_ext
19408 rm -f core conftest.err conftest.
$ac_objext \
19409 conftest
$ac_exeext conftest.
$ac_ext
19410 ac_c_werror_flag
=$ac_xsave_c_werror_flag
19411 LIBS
=$ac_xsave_LIBS
19414 # Check for system-dependent libraries X programs must link with.
19415 # Do this before checking for the system-independent R6 libraries
19416 # (-lICE), since we may need -lsocket or whatever for X linking.
19418 if test "$ISC" = yes; then
19419 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19421 # Martyn Johnson says this is needed for Ultrix, if the X
19422 # libraries were built with DECnet support. And Karl Berry says
19423 # the Alpha needs dnet_stub (dnet does not exist).
19424 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19425 if test x
$gcc_no_link = xyes
; then
19426 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19429 /* end confdefs.h. */
19431 /* Override any GCC internal prototype to avoid an error.
19432 Use char because int might match the return type of a GCC
19433 builtin and then its argument prototype would still apply. */
19437 char XOpenDisplay ();
19441 return XOpenDisplay ();
19446 if ac_fn_c_try_link
"$LINENO"; then :
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
19450 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
19451 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
19452 $as_echo_n "(cached) " >&6
19454 ac_check_lib_save_LIBS
=$LIBS
19455 LIBS
="-ldnet $LIBS"
19456 if test x
$gcc_no_link = xyes
; then
19457 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19460 /* end confdefs.h. */
19462 /* Override any GCC internal prototype to avoid an error.
19463 Use char because int might match the return type of a GCC
19464 builtin and then its argument prototype would still apply. */
19472 return dnet_ntoa ();
19477 if ac_fn_c_try_link
"$LINENO"; then :
19478 ac_cv_lib_dnet_dnet_ntoa
=yes
19480 ac_cv_lib_dnet_dnet_ntoa
=no
19482 rm -f core conftest.err conftest.
$ac_objext \
19483 conftest
$ac_exeext conftest.
$ac_ext
19484 LIBS
=$ac_check_lib_save_LIBS
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19487 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19488 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
19489 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19492 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
19494 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
19495 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
19496 $as_echo_n "(cached) " >&6
19498 ac_check_lib_save_LIBS
=$LIBS
19499 LIBS
="-ldnet_stub $LIBS"
19500 if test x
$gcc_no_link = xyes
; then
19501 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h. */
19506 /* Override any GCC internal prototype to avoid an error.
19507 Use char because int might match the return type of a GCC
19508 builtin and then its argument prototype would still apply. */
19516 return dnet_ntoa ();
19521 if ac_fn_c_try_link
"$LINENO"; then :
19522 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19524 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19526 rm -f core conftest.err conftest.
$ac_objext \
19527 conftest
$ac_exeext conftest.
$ac_ext
19528 LIBS
=$ac_check_lib_save_LIBS
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19531 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19532 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
19533 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19538 rm -f core conftest.err conftest.
$ac_objext \
19539 conftest
$ac_exeext conftest.
$ac_ext
19540 LIBS
="$ac_xsave_LIBS"
19542 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19543 # to get the SysV transport functions.
19544 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19546 # The nsl library prevents programs from opening the X display
19547 # on Irix 5.2, according to T.E. Dickey.
19548 # The functions gethostbyname, getservbyname, and inet_addr are
19549 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19550 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
19551 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
19555 if test $ac_cv_func_gethostbyname = no
; then
19556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
19557 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
19558 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
19559 $as_echo_n "(cached) " >&6
19561 ac_check_lib_save_LIBS
=$LIBS
19563 if test x
$gcc_no_link = xyes
; then
19564 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19567 /* end confdefs.h. */
19569 /* Override any GCC internal prototype to avoid an error.
19570 Use char because int might match the return type of a GCC
19571 builtin and then its argument prototype would still apply. */
19575 char gethostbyname ();
19579 return gethostbyname ();
19584 if ac_fn_c_try_link
"$LINENO"; then :
19585 ac_cv_lib_nsl_gethostbyname
=yes
19587 ac_cv_lib_nsl_gethostbyname
=no
19589 rm -f core conftest.err conftest.
$ac_objext \
19590 conftest
$ac_exeext conftest.
$ac_ext
19591 LIBS
=$ac_check_lib_save_LIBS
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
19594 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
19595 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
19596 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19599 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
19601 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
19602 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
19603 $as_echo_n "(cached) " >&6
19605 ac_check_lib_save_LIBS
=$LIBS
19607 if test x
$gcc_no_link = xyes
; then
19608 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19611 /* end confdefs.h. */
19613 /* Override any GCC internal prototype to avoid an error.
19614 Use char because int might match the return type of a GCC
19615 builtin and then its argument prototype would still apply. */
19619 char gethostbyname ();
19623 return gethostbyname ();
19628 if ac_fn_c_try_link
"$LINENO"; then :
19629 ac_cv_lib_bsd_gethostbyname
=yes
19631 ac_cv_lib_bsd_gethostbyname
=no
19633 rm -f core conftest.err conftest.
$ac_objext \
19634 conftest
$ac_exeext conftest.
$ac_ext
19635 LIBS
=$ac_check_lib_save_LIBS
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
19638 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
19639 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
19640 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19646 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19647 # socket/setsockopt and other routines are undefined under SCO ODT
19648 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19649 # on later versions), says Simon Leinen: it contains gethostby*
19650 # variants that don't use the name server (or something). -lsocket
19651 # must be given before -lnsl if both are needed. We assume that
19652 # if connect needs -lnsl, so does gethostbyname.
19653 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
19654 if test "x$ac_cv_func_connect" = x
""yes; then :
19658 if test $ac_cv_func_connect = no
; then
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
19660 $as_echo_n "checking for connect in -lsocket... " >&6; }
19661 if test "${ac_cv_lib_socket_connect+set}" = set; then :
19662 $as_echo_n "(cached) " >&6
19664 ac_check_lib_save_LIBS
=$LIBS
19665 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19666 if test x
$gcc_no_link = xyes
; then
19667 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19672 /* Override any GCC internal prototype to avoid an error.
19673 Use char because int might match the return type of a GCC
19674 builtin and then its argument prototype would still apply. */
19687 if ac_fn_c_try_link
"$LINENO"; then :
19688 ac_cv_lib_socket_connect
=yes
19690 ac_cv_lib_socket_connect
=no
19692 rm -f core conftest.err conftest.
$ac_objext \
19693 conftest
$ac_exeext conftest.
$ac_ext
19694 LIBS
=$ac_check_lib_save_LIBS
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
19697 $as_echo "$ac_cv_lib_socket_connect" >&6; }
19698 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
19699 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
19704 # Guillermo Gomez says -lposix is necessary on A/UX.
19705 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
19706 if test "x$ac_cv_func_remove" = x
""yes; then :
19710 if test $ac_cv_func_remove = no
; then
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
19712 $as_echo_n "checking for remove in -lposix... " >&6; }
19713 if test "${ac_cv_lib_posix_remove+set}" = set; then :
19714 $as_echo_n "(cached) " >&6
19716 ac_check_lib_save_LIBS
=$LIBS
19717 LIBS
="-lposix $LIBS"
19718 if test x
$gcc_no_link = xyes
; then
19719 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19722 /* end confdefs.h. */
19724 /* Override any GCC internal prototype to avoid an error.
19725 Use char because int might match the return type of a GCC
19726 builtin and then its argument prototype would still apply. */
19739 if ac_fn_c_try_link
"$LINENO"; then :
19740 ac_cv_lib_posix_remove
=yes
19742 ac_cv_lib_posix_remove
=no
19744 rm -f core conftest.err conftest.
$ac_objext \
19745 conftest
$ac_exeext conftest.
$ac_ext
19746 LIBS
=$ac_check_lib_save_LIBS
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
19749 $as_echo "$ac_cv_lib_posix_remove" >&6; }
19750 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
19751 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
19756 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
19757 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
19758 if test "x$ac_cv_func_shmat" = x
""yes; then :
19762 if test $ac_cv_func_shmat = no
; then
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
19764 $as_echo_n "checking for shmat in -lipc... " >&6; }
19765 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
19766 $as_echo_n "(cached) " >&6
19768 ac_check_lib_save_LIBS
=$LIBS
19770 if test x
$gcc_no_link = xyes
; then
19771 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19774 /* end confdefs.h. */
19776 /* Override any GCC internal prototype to avoid an error.
19777 Use char because int might match the return type of a GCC
19778 builtin and then its argument prototype would still apply. */
19791 if ac_fn_c_try_link
"$LINENO"; then :
19792 ac_cv_lib_ipc_shmat
=yes
19794 ac_cv_lib_ipc_shmat
=no
19796 rm -f core conftest.err conftest.
$ac_objext \
19797 conftest
$ac_exeext conftest.
$ac_ext
19798 LIBS
=$ac_check_lib_save_LIBS
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
19801 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
19802 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
19803 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
19809 # Check for libraries that X11R6 Xt/Xaw programs need.
19810 ac_save_LDFLAGS
=$LDFLAGS
19811 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
19812 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
19813 # check for ICE first), but we must link in the order -lSM -lICE or
19814 # we get undefined symbols. So assume we have SM if we have ICE.
19815 # These have to be linked with before -lX11, unlike the other
19816 # libraries we check for below, so use a different variable.
19817 # John Interrante, Karl Berry
19818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
19819 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
19820 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
19821 $as_echo_n "(cached) " >&6
19823 ac_check_lib_save_LIBS
=$LIBS
19824 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
19825 if test x
$gcc_no_link = xyes
; then
19826 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19829 /* end confdefs.h. */
19831 /* Override any GCC internal prototype to avoid an error.
19832 Use char because int might match the return type of a GCC
19833 builtin and then its argument prototype would still apply. */
19837 char IceConnectionNumber ();
19841 return IceConnectionNumber ();
19846 if ac_fn_c_try_link
"$LINENO"; then :
19847 ac_cv_lib_ICE_IceConnectionNumber
=yes
19849 ac_cv_lib_ICE_IceConnectionNumber
=no
19851 rm -f core conftest.err conftest.
$ac_objext \
19852 conftest
$ac_exeext conftest.
$ac_ext
19853 LIBS
=$ac_check_lib_save_LIBS
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
19856 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
19857 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
19858 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
19861 LDFLAGS
=$ac_save_LDFLAGS
19865 if test "$no_x" = yes; then
19866 as_fn_error
"GTK+ peers requested but no X library available" "$LINENO" 5
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
19869 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
19870 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
19871 $as_echo_n "(cached) " >&6
19873 ac_check_lib_save_LIBS
=$LIBS
19874 LIBS
="-lXtst ${X_LIBS} $LIBS"
19875 if test x
$gcc_no_link = xyes
; then
19876 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19879 /* end confdefs.h. */
19881 /* Override any GCC internal prototype to avoid an error.
19882 Use char because int might match the return type of a GCC
19883 builtin and then its argument prototype would still apply. */
19887 char XTestQueryExtension ();
19891 return XTestQueryExtension ();
19896 if ac_fn_c_try_link
"$LINENO"; then :
19897 ac_cv_lib_Xtst_XTestQueryExtension
=yes
19899 ac_cv_lib_Xtst_XTestQueryExtension
=no
19901 rm -f core conftest.err conftest.
$ac_objext \
19902 conftest
$ac_exeext conftest.
$ac_ext
19903 LIBS
=$ac_check_lib_save_LIBS
19905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
19906 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
19907 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x
""yes; then :
19909 $as_echo "#define HAVE_XTEST 1" >>confdefs.h
19910 XTEST_LIBS
="$XTEST_LIBS -X11 -lXtst"
19920 if test -z "$PKG_CONFIG"; then
19921 if test -n "$ac_tool_prefix"; then
19922 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19923 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19925 $as_echo_n "checking for $ac_word... " >&6; }
19926 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19927 $as_echo_n "(cached) " >&6
19929 case $PKG_CONFIG in
19931 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19935 for as_dir
in $PATH
19938 test -z "$as_dir" && as_dir
=.
19939 for ac_exec_ext
in '' $ac_executable_extensions; do
19940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19941 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19952 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19953 if test -n "$PKG_CONFIG"; then
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19955 $as_echo "$PKG_CONFIG" >&6; }
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19958 $as_echo "no" >&6; }
19963 if test -z "$ac_cv_path_PKG_CONFIG"; then
19964 ac_pt_PKG_CONFIG
=$PKG_CONFIG
19965 # Extract the first word of "pkg-config", so it can be a program name with args.
19966 set dummy pkg-config
; ac_word
=$2
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19968 $as_echo_n "checking for $ac_word... " >&6; }
19969 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
19970 $as_echo_n "(cached) " >&6
19972 case $ac_pt_PKG_CONFIG in
19974 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19978 for as_dir
in $PATH
19981 test -z "$as_dir" && as_dir
=.
19982 for ac_exec_ext
in '' $ac_executable_extensions; do
19983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19984 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19995 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
19996 if test -n "$ac_pt_PKG_CONFIG"; then
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19998 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20001 $as_echo "no" >&6; }
20004 if test "x$ac_pt_PKG_CONFIG" = x
; then
20007 case $cross_compiling:$ac_tool_warned in
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20011 ac_tool_warned
=yes ;;
20013 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20016 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20021 if test "$PKG_CONFIG" = "no" ; then
20022 echo "*** The pkg-config script could not be found. Make sure it is"
20023 echo "*** in your path, or set the PKG_CONFIG environment variable"
20024 echo "*** to the full path to pkg-config."
20025 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20027 PKG_CONFIG_MIN_VERSION
=0.9.0
20028 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
20030 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
20032 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20034 $as_echo "yes" >&6; }
20037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
20038 $as_echo_n "checking GTK_CFLAGS... " >&6; }
20039 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
20041 $as_echo "$GTK_CFLAGS" >&6; }
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
20044 $as_echo_n "checking GTK_LIBS... " >&6; }
20045 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
20046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
20047 $as_echo "$GTK_LIBS" >&6; }
20051 ## If we have a custom action on failure, don't print errors, but
20052 ## do set a variable so people can do so.
20053 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
20054 echo $GTK_PKG_ERRORS
20060 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20061 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20065 if test $succeeded = yes; then
20068 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
20074 if test -z "$PKG_CONFIG"; then
20075 if test -n "$ac_tool_prefix"; then
20076 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20077 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20079 $as_echo_n "checking for $ac_word... " >&6; }
20080 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20081 $as_echo_n "(cached) " >&6
20083 case $PKG_CONFIG in
20085 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20089 for as_dir
in $PATH
20092 test -z "$as_dir" && as_dir
=.
20093 for ac_exec_ext
in '' $ac_executable_extensions; do
20094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20095 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20106 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20107 if test -n "$PKG_CONFIG"; then
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20109 $as_echo "$PKG_CONFIG" >&6; }
20111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20112 $as_echo "no" >&6; }
20117 if test -z "$ac_cv_path_PKG_CONFIG"; then
20118 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20119 # Extract the first word of "pkg-config", so it can be a program name with args.
20120 set dummy pkg-config
; ac_word
=$2
20121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20122 $as_echo_n "checking for $ac_word... " >&6; }
20123 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20124 $as_echo_n "(cached) " >&6
20126 case $ac_pt_PKG_CONFIG in
20128 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20132 for as_dir
in $PATH
20135 test -z "$as_dir" && as_dir
=.
20136 for ac_exec_ext
in '' $ac_executable_extensions; do
20137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20138 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20149 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20150 if test -n "$ac_pt_PKG_CONFIG"; then
20151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20152 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20155 $as_echo "no" >&6; }
20158 if test "x$ac_pt_PKG_CONFIG" = x
; then
20161 case $cross_compiling:$ac_tool_warned in
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20165 ac_tool_warned
=yes ;;
20167 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20170 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20175 if test "$PKG_CONFIG" = "no" ; then
20176 echo "*** The pkg-config script could not be found. Make sure it is"
20177 echo "*** in your path, or set the PKG_CONFIG environment variable"
20178 echo "*** to the full path to pkg-config."
20179 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20181 PKG_CONFIG_MIN_VERSION
=0.9.0
20182 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
20184 $as_echo_n "checking for freetype2... " >&6; }
20186 if $PKG_CONFIG --exists "freetype2" ; then
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20188 $as_echo "yes" >&6; }
20191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_CFLAGS" >&5
20192 $as_echo_n "checking FREETYPE2_CFLAGS... " >&6; }
20193 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_CFLAGS" >&5
20195 $as_echo "$FREETYPE2_CFLAGS" >&6; }
20197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_LIBS" >&5
20198 $as_echo_n "checking FREETYPE2_LIBS... " >&6; }
20199 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_LIBS" >&5
20201 $as_echo "$FREETYPE2_LIBS" >&6; }
20203 FREETYPE2_CFLAGS
=""
20205 ## If we have a custom action on failure, don't print errors, but
20206 ## do set a variable so people can do so.
20207 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
20208 echo $FREETYPE2_PKG_ERRORS
20214 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20215 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20219 if test $succeeded = yes; then
20222 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
20228 if test -z "$PKG_CONFIG"; then
20229 if test -n "$ac_tool_prefix"; then
20230 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20231 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20233 $as_echo_n "checking for $ac_word... " >&6; }
20234 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20235 $as_echo_n "(cached) " >&6
20237 case $PKG_CONFIG in
20239 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20243 for as_dir
in $PATH
20246 test -z "$as_dir" && as_dir
=.
20247 for ac_exec_ext
in '' $ac_executable_extensions; do
20248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20249 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20260 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20261 if test -n "$PKG_CONFIG"; then
20262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20263 $as_echo "$PKG_CONFIG" >&6; }
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20266 $as_echo "no" >&6; }
20271 if test -z "$ac_cv_path_PKG_CONFIG"; then
20272 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20273 # Extract the first word of "pkg-config", so it can be a program name with args.
20274 set dummy pkg-config
; ac_word
=$2
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20276 $as_echo_n "checking for $ac_word... " >&6; }
20277 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20278 $as_echo_n "(cached) " >&6
20280 case $ac_pt_PKG_CONFIG in
20282 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20286 for as_dir
in $PATH
20289 test -z "$as_dir" && as_dir
=.
20290 for ac_exec_ext
in '' $ac_executable_extensions; do
20291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20292 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20303 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20304 if test -n "$ac_pt_PKG_CONFIG"; then
20305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20306 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20309 $as_echo "no" >&6; }
20312 if test "x$ac_pt_PKG_CONFIG" = x
; then
20315 case $cross_compiling:$ac_tool_warned in
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20319 ac_tool_warned
=yes ;;
20321 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20324 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20329 if test "$PKG_CONFIG" = "no" ; then
20330 echo "*** The pkg-config script could not be found. Make sure it is"
20331 echo "*** in your path, or set the PKG_CONFIG environment variable"
20332 echo "*** to the full path to pkg-config."
20333 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20335 PKG_CONFIG_MIN_VERSION
=0.9.0
20336 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pangoft2" >&5
20338 $as_echo_n "checking for pangoft2... " >&6; }
20340 if $PKG_CONFIG --exists "pangoft2" ; then
20341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20342 $as_echo "yes" >&6; }
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_CFLAGS" >&5
20346 $as_echo_n "checking PANGOFT2_CFLAGS... " >&6; }
20347 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_CFLAGS" >&5
20349 $as_echo "$PANGOFT2_CFLAGS" >&6; }
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_LIBS" >&5
20352 $as_echo_n "checking PANGOFT2_LIBS... " >&6; }
20353 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_LIBS" >&5
20355 $as_echo "$PANGOFT2_LIBS" >&6; }
20359 ## If we have a custom action on failure, don't print errors, but
20360 ## do set a variable so people can do so.
20361 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20362 echo $PANGOFT2_PKG_ERRORS
20368 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20369 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20373 if test $succeeded = yes; then
20376 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
20382 if test -z "$PKG_CONFIG"; then
20383 if test -n "$ac_tool_prefix"; then
20384 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20385 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20387 $as_echo_n "checking for $ac_word... " >&6; }
20388 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20389 $as_echo_n "(cached) " >&6
20391 case $PKG_CONFIG in
20393 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20397 for as_dir
in $PATH
20400 test -z "$as_dir" && as_dir
=.
20401 for ac_exec_ext
in '' $ac_executable_extensions; do
20402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20403 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20414 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20415 if test -n "$PKG_CONFIG"; then
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20417 $as_echo "$PKG_CONFIG" >&6; }
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20420 $as_echo "no" >&6; }
20425 if test -z "$ac_cv_path_PKG_CONFIG"; then
20426 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20427 # Extract the first word of "pkg-config", so it can be a program name with args.
20428 set dummy pkg-config
; ac_word
=$2
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20430 $as_echo_n "checking for $ac_word... " >&6; }
20431 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20432 $as_echo_n "(cached) " >&6
20434 case $ac_pt_PKG_CONFIG in
20436 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20440 for as_dir
in $PATH
20443 test -z "$as_dir" && as_dir
=.
20444 for ac_exec_ext
in '' $ac_executable_extensions; do
20445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20446 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20457 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20458 if test -n "$ac_pt_PKG_CONFIG"; then
20459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20460 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20463 $as_echo "no" >&6; }
20466 if test "x$ac_pt_PKG_CONFIG" = x
; then
20469 case $cross_compiling:$ac_tool_warned in
20471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20473 ac_tool_warned
=yes ;;
20475 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20478 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20483 if test "$PKG_CONFIG" = "no" ; then
20484 echo "*** The pkg-config script could not be found. Make sure it is"
20485 echo "*** in your path, or set the PKG_CONFIG environment variable"
20486 echo "*** to the full path to pkg-config."
20487 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20489 PKG_CONFIG_MIN_VERSION
=0.9.0
20490 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.1.8" >&5
20492 $as_echo_n "checking for cairo >= 1.1.8... " >&6; }
20494 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
20495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20496 $as_echo "yes" >&6; }
20499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_CFLAGS" >&5
20500 $as_echo_n "checking CAIRO_CFLAGS... " >&6; }
20501 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
20502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_CFLAGS" >&5
20503 $as_echo "$CAIRO_CFLAGS" >&6; }
20505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_LIBS" >&5
20506 $as_echo_n "checking CAIRO_LIBS... " >&6; }
20507 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_LIBS" >&5
20509 $as_echo "$CAIRO_LIBS" >&6; }
20513 ## If we have a custom action on failure, don't print errors, but
20514 ## do set a variable so people can do so.
20515 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
20516 echo $CAIRO_PKG_ERRORS
20522 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20523 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20527 if test $succeeded = yes; then
20530 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
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
20534 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
20535 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then :
20536 $as_echo_n "(cached) " >&6
20538 ac_check_lib_save_LIBS
=$LIBS
20539 LIBS
="-lXrender ${X_LIBS} $LIBS"
20540 if test x
$gcc_no_link = xyes
; then
20541 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20544 /* end confdefs.h. */
20546 /* Override any GCC internal prototype to avoid an error.
20547 Use char because int might match the return type of a GCC
20548 builtin and then its argument prototype would still apply. */
20552 char XRenderQueryExtension ();
20556 return XRenderQueryExtension ();
20561 if ac_fn_c_try_link
"$LINENO"; then :
20562 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
20564 ac_cv_lib_Xrender_XRenderQueryExtension
=no
20566 rm -f core conftest.err conftest.
$ac_objext \
20567 conftest
$ac_exeext conftest.
$ac_ext
20568 LIBS
=$ac_check_lib_save_LIBS
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
20571 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
20572 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x
""yes; then :
20574 $as_echo "#define HAVE_XRENDER 1" >>confdefs.h
20575 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRQueryExtension in -lXrandr" >&5
20582 $as_echo_n "checking for XRRQueryExtension in -lXrandr... " >&6; }
20583 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then :
20584 $as_echo_n "(cached) " >&6
20586 ac_check_lib_save_LIBS
=$LIBS
20587 LIBS
="-lXrandr ${X_LIBS} $LIBS"
20588 if test x
$gcc_no_link = xyes
; then
20589 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20592 /* end confdefs.h. */
20594 /* Override any GCC internal prototype to avoid an error.
20595 Use char because int might match the return type of a GCC
20596 builtin and then its argument prototype would still apply. */
20600 char XRRQueryExtension ();
20604 return XRRQueryExtension ();
20609 if ac_fn_c_try_link
"$LINENO"; then :
20610 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
20612 ac_cv_lib_Xrandr_XRRQueryExtension
=no
20614 rm -f core conftest.err conftest.
$ac_objext \
20615 conftest
$ac_exeext conftest.
$ac_ext
20616 LIBS
=$ac_check_lib_save_LIBS
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
20619 $as_echo "$ac_cv_lib_Xrandr_XRRQueryExtension" >&6; }
20620 if test "x$ac_cv_lib_Xrandr_XRRQueryExtension" = x
""yes; then :
20622 $as_echo "#define HAVE_XRANDR 1" >>confdefs.h
20623 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
20638 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
20642 if test -z "$PKG_CONFIG"; then
20643 if test -n "$ac_tool_prefix"; then
20644 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20645 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20647 $as_echo_n "checking for $ac_word... " >&6; }
20648 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20649 $as_echo_n "(cached) " >&6
20651 case $PKG_CONFIG in
20653 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20657 for as_dir
in $PATH
20660 test -z "$as_dir" && as_dir
=.
20661 for ac_exec_ext
in '' $ac_executable_extensions; do
20662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20663 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20674 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20675 if test -n "$PKG_CONFIG"; then
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20677 $as_echo "$PKG_CONFIG" >&6; }
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20680 $as_echo "no" >&6; }
20685 if test -z "$ac_cv_path_PKG_CONFIG"; then
20686 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20687 # Extract the first word of "pkg-config", so it can be a program name with args.
20688 set dummy pkg-config
; ac_word
=$2
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20690 $as_echo_n "checking for $ac_word... " >&6; }
20691 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20692 $as_echo_n "(cached) " >&6
20694 case $ac_pt_PKG_CONFIG in
20696 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20700 for as_dir
in $PATH
20703 test -z "$as_dir" && as_dir
=.
20704 for ac_exec_ext
in '' $ac_executable_extensions; do
20705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20706 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20717 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20718 if test -n "$ac_pt_PKG_CONFIG"; then
20719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20720 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20723 $as_echo "no" >&6; }
20726 if test "x$ac_pt_PKG_CONFIG" = x
; then
20729 case $cross_compiling:$ac_tool_warned in
20731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20733 ac_tool_warned
=yes ;;
20735 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20738 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20743 if test "$PKG_CONFIG" = "no" ; then
20744 echo "*** The pkg-config script could not be found. Make sure it is"
20745 echo "*** in your path, or set the PKG_CONFIG environment variable"
20746 echo "*** to the full path to pkg-config."
20747 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20749 PKG_CONFIG_MIN_VERSION
=0.9.0
20750 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.6.0" >&5
20752 $as_echo_n "checking for gconf-2.0 >= 2.6.0... " >&6; }
20754 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20756 $as_echo "yes" >&6; }
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5
20760 $as_echo_n "checking GCONF_CFLAGS... " >&6; }
20761 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
20762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5
20763 $as_echo "$GCONF_CFLAGS" >&6; }
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5
20766 $as_echo_n "checking GCONF_LIBS... " >&6; }
20767 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5
20769 $as_echo "$GCONF_LIBS" >&6; }
20773 ## If we have a custom action on failure, don't print errors, but
20774 ## do set a variable so people can do so.
20775 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
20776 echo $GCONF_PKG_ERRORS
20782 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20783 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20787 if test $succeeded = yes; then
20790 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
20798 if test -z "$PKG_CONFIG"; then
20799 if test -n "$ac_tool_prefix"; then
20800 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20801 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20803 $as_echo_n "checking for $ac_word... " >&6; }
20804 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20805 $as_echo_n "(cached) " >&6
20807 case $PKG_CONFIG in
20809 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20813 for as_dir
in $PATH
20816 test -z "$as_dir" && as_dir
=.
20817 for ac_exec_ext
in '' $ac_executable_extensions; do
20818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20819 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20830 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20831 if test -n "$PKG_CONFIG"; then
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20833 $as_echo "$PKG_CONFIG" >&6; }
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20836 $as_echo "no" >&6; }
20841 if test -z "$ac_cv_path_PKG_CONFIG"; then
20842 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20843 # Extract the first word of "pkg-config", so it can be a program name with args.
20844 set dummy pkg-config
; ac_word
=$2
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20846 $as_echo_n "checking for $ac_word... " >&6; }
20847 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20848 $as_echo_n "(cached) " >&6
20850 case $ac_pt_PKG_CONFIG in
20852 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20856 for as_dir
in $PATH
20859 test -z "$as_dir" && as_dir
=.
20860 for ac_exec_ext
in '' $ac_executable_extensions; do
20861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20862 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20873 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20874 if test -n "$ac_pt_PKG_CONFIG"; then
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20876 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20879 $as_echo "no" >&6; }
20882 if test "x$ac_pt_PKG_CONFIG" = x
; then
20885 case $cross_compiling:$ac_tool_warned in
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20889 ac_tool_warned
=yes ;;
20891 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20894 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20899 if test "$PKG_CONFIG" = "no" ; then
20900 echo "*** The pkg-config script could not be found. Make sure it is"
20901 echo "*** in your path, or set the PKG_CONFIG environment variable"
20902 echo "*** to the full path to pkg-config."
20903 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20905 PKG_CONFIG_MIN_VERSION
=0.9.0
20906 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
20908 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
20910 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20912 $as_echo "yes" >&6; }
20915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
20916 $as_echo_n "checking GDK_CFLAGS... " >&6; }
20917 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
20919 $as_echo "$GDK_CFLAGS" >&6; }
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
20922 $as_echo_n "checking GDK_LIBS... " >&6; }
20923 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
20924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
20925 $as_echo "$GDK_LIBS" >&6; }
20929 ## If we have a custom action on failure, don't print errors, but
20930 ## do set a variable so people can do so.
20931 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
20932 echo $GDK_PKG_ERRORS
20938 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20939 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20943 if test $succeeded = yes; then
20946 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
20951 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
20952 if test "$USE_GCONF_PREFS_PEER" = ""; then
20953 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
20957 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
20958 GST_MAJORMINOR
=0.10
20959 GST_REQUIRED
=0.10.10
20964 if test -z "$PKG_CONFIG"; then
20965 if test -n "$ac_tool_prefix"; then
20966 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20967 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20969 $as_echo_n "checking for $ac_word... " >&6; }
20970 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20971 $as_echo_n "(cached) " >&6
20973 case $PKG_CONFIG in
20975 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20979 for as_dir
in $PATH
20982 test -z "$as_dir" && as_dir
=.
20983 for ac_exec_ext
in '' $ac_executable_extensions; do
20984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20985 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20996 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20997 if test -n "$PKG_CONFIG"; then
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20999 $as_echo "$PKG_CONFIG" >&6; }
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21002 $as_echo "no" >&6; }
21007 if test -z "$ac_cv_path_PKG_CONFIG"; then
21008 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21009 # Extract the first word of "pkg-config", so it can be a program name with args.
21010 set dummy pkg-config
; ac_word
=$2
21011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21012 $as_echo_n "checking for $ac_word... " >&6; }
21013 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21014 $as_echo_n "(cached) " >&6
21016 case $ac_pt_PKG_CONFIG in
21018 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21022 for as_dir
in $PATH
21025 test -z "$as_dir" && as_dir
=.
21026 for ac_exec_ext
in '' $ac_executable_extensions; do
21027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21028 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21039 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21040 if test -n "$ac_pt_PKG_CONFIG"; then
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21042 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21045 $as_echo "no" >&6; }
21048 if test "x$ac_pt_PKG_CONFIG" = x
; then
21051 case $cross_compiling:$ac_tool_warned in
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21055 ac_tool_warned
=yes ;;
21057 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21060 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21065 if test "$PKG_CONFIG" = "no" ; then
21066 echo "*** The pkg-config script could not be found. Make sure it is"
21067 echo "*** in your path, or set the PKG_CONFIG environment variable"
21068 echo "*** to the full path to pkg-config."
21069 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21071 PKG_CONFIG_MIN_VERSION
=0.9.0
21072 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
21074 $as_echo_n "checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
21076 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21078 $as_echo "yes" >&6; }
21081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_CFLAGS" >&5
21082 $as_echo_n "checking GSTREAMER_CFLAGS... " >&6; }
21083 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_CFLAGS" >&5
21085 $as_echo "$GSTREAMER_CFLAGS" >&6; }
21087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_LIBS" >&5
21088 $as_echo_n "checking GSTREAMER_LIBS... " >&6; }
21089 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_LIBS" >&5
21091 $as_echo "$GSTREAMER_LIBS" >&6; }
21093 GSTREAMER_CFLAGS
=""
21095 ## If we have a custom action on failure, don't print errors, but
21096 ## do set a variable so people can do so.
21097 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
21098 echo $GSTREAMER_PKG_ERRORS
21104 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21105 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21109 if test $succeeded = yes; then
21112 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
21121 if test -z "$PKG_CONFIG"; then
21122 if test -n "$ac_tool_prefix"; then
21123 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21124 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21126 $as_echo_n "checking for $ac_word... " >&6; }
21127 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21128 $as_echo_n "(cached) " >&6
21130 case $PKG_CONFIG in
21132 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21136 for as_dir
in $PATH
21139 test -z "$as_dir" && as_dir
=.
21140 for ac_exec_ext
in '' $ac_executable_extensions; do
21141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21142 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21153 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21154 if test -n "$PKG_CONFIG"; then
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21156 $as_echo "$PKG_CONFIG" >&6; }
21158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21159 $as_echo "no" >&6; }
21164 if test -z "$ac_cv_path_PKG_CONFIG"; then
21165 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21166 # Extract the first word of "pkg-config", so it can be a program name with args.
21167 set dummy pkg-config
; ac_word
=$2
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21169 $as_echo_n "checking for $ac_word... " >&6; }
21170 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21171 $as_echo_n "(cached) " >&6
21173 case $ac_pt_PKG_CONFIG in
21175 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21179 for as_dir
in $PATH
21182 test -z "$as_dir" && as_dir
=.
21183 for ac_exec_ext
in '' $ac_executable_extensions; do
21184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21185 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21196 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21197 if test -n "$ac_pt_PKG_CONFIG"; then
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21199 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21202 $as_echo "no" >&6; }
21205 if test "x$ac_pt_PKG_CONFIG" = x
; then
21208 case $cross_compiling:$ac_tool_warned in
21210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21212 ac_tool_warned
=yes ;;
21214 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21217 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21222 if test "$PKG_CONFIG" = "no" ; then
21223 echo "*** The pkg-config script could not be found. Make sure it is"
21224 echo "*** in your path, or set the PKG_CONFIG environment variable"
21225 echo "*** to the full path to pkg-config."
21226 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21228 PKG_CONFIG_MIN_VERSION
=0.9.0
21229 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
21231 $as_echo_n "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
21233 if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21235 $as_echo "yes" >&6; }
21238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_CFLAGS" >&5
21239 $as_echo_n "checking GSTREAMER_BASE_CFLAGS... " >&6; }
21240 GSTREAMER_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_CFLAGS" >&5
21242 $as_echo "$GSTREAMER_BASE_CFLAGS" >&6; }
21244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_LIBS" >&5
21245 $as_echo_n "checking GSTREAMER_BASE_LIBS... " >&6; }
21246 GSTREAMER_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_LIBS" >&5
21248 $as_echo "$GSTREAMER_BASE_LIBS" >&6; }
21250 GSTREAMER_BASE_CFLAGS
=""
21251 GSTREAMER_BASE_LIBS
=""
21252 ## If we have a custom action on failure, don't print errors, but
21253 ## do set a variable so people can do so.
21254 GSTREAMER_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21255 echo $GSTREAMER_BASE_PKG_ERRORS
21261 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21262 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21266 if test $succeeded = yes; then
21269 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
21278 if test -z "$PKG_CONFIG"; then
21279 if test -n "$ac_tool_prefix"; then
21280 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21281 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21283 $as_echo_n "checking for $ac_word... " >&6; }
21284 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21285 $as_echo_n "(cached) " >&6
21287 case $PKG_CONFIG in
21289 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21293 for as_dir
in $PATH
21296 test -z "$as_dir" && as_dir
=.
21297 for ac_exec_ext
in '' $ac_executable_extensions; do
21298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21299 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21310 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21311 if test -n "$PKG_CONFIG"; then
21312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21313 $as_echo "$PKG_CONFIG" >&6; }
21315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21316 $as_echo "no" >&6; }
21321 if test -z "$ac_cv_path_PKG_CONFIG"; then
21322 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21323 # Extract the first word of "pkg-config", so it can be a program name with args.
21324 set dummy pkg-config
; ac_word
=$2
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21326 $as_echo_n "checking for $ac_word... " >&6; }
21327 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21328 $as_echo_n "(cached) " >&6
21330 case $ac_pt_PKG_CONFIG in
21332 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21336 for as_dir
in $PATH
21339 test -z "$as_dir" && as_dir
=.
21340 for ac_exec_ext
in '' $ac_executable_extensions; do
21341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21342 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21353 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21354 if test -n "$ac_pt_PKG_CONFIG"; then
21355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21356 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21359 $as_echo "no" >&6; }
21362 if test "x$ac_pt_PKG_CONFIG" = x
; then
21365 case $cross_compiling:$ac_tool_warned in
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21369 ac_tool_warned
=yes ;;
21371 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21374 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21379 if test "$PKG_CONFIG" = "no" ; then
21380 echo "*** The pkg-config script could not be found. Make sure it is"
21381 echo "*** in your path, or set the PKG_CONFIG environment variable"
21382 echo "*** to the full path to pkg-config."
21383 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21385 PKG_CONFIG_MIN_VERSION
=0.9.0
21386 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
21388 $as_echo_n "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
21390 if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21392 $as_echo "yes" >&6; }
21395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
21396 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_CFLAGS... " >&6; }
21397 GSTREAMER_PLUGINS_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
21399 $as_echo "$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6; }
21401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
21402 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_LIBS... " >&6; }
21403 GSTREAMER_PLUGINS_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
21405 $as_echo "$GSTREAMER_PLUGINS_BASE_LIBS" >&6; }
21407 GSTREAMER_PLUGINS_BASE_CFLAGS
=""
21408 GSTREAMER_PLUGINS_BASE_LIBS
=""
21409 ## If we have a custom action on failure, don't print errors, but
21410 ## do set a variable so people can do so.
21411 GSTREAMER_PLUGINS_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21412 echo $GSTREAMER_PLUGINS_BASE_PKG_ERRORS
21418 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21419 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21423 if test $succeeded = yes; then
21426 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
21432 GST_PLUGIN_LDFLAGS
='-module -avoid-version -Wno-unused-parameter -no-undefined'
21438 if test -z "$PKG_CONFIG"; then
21439 if test -n "$ac_tool_prefix"; then
21440 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21441 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21443 $as_echo_n "checking for $ac_word... " >&6; }
21444 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21445 $as_echo_n "(cached) " >&6
21447 case $PKG_CONFIG in
21449 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21453 for as_dir
in $PATH
21456 test -z "$as_dir" && as_dir
=.
21457 for ac_exec_ext
in '' $ac_executable_extensions; do
21458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21459 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21470 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21471 if test -n "$PKG_CONFIG"; then
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21473 $as_echo "$PKG_CONFIG" >&6; }
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21476 $as_echo "no" >&6; }
21481 if test -z "$ac_cv_path_PKG_CONFIG"; then
21482 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21483 # Extract the first word of "pkg-config", so it can be a program name with args.
21484 set dummy pkg-config
; ac_word
=$2
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21486 $as_echo_n "checking for $ac_word... " >&6; }
21487 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21488 $as_echo_n "(cached) " >&6
21490 case $ac_pt_PKG_CONFIG in
21492 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21496 for as_dir
in $PATH
21499 test -z "$as_dir" && as_dir
=.
21500 for ac_exec_ext
in '' $ac_executable_extensions; do
21501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21502 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21513 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21514 if test -n "$ac_pt_PKG_CONFIG"; then
21515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21516 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21519 $as_echo "no" >&6; }
21522 if test "x$ac_pt_PKG_CONFIG" = x
; then
21525 case $cross_compiling:$ac_tool_warned in
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21529 ac_tool_warned
=yes ;;
21531 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21534 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21539 if test "$PKG_CONFIG" = "no" ; then
21540 echo "*** The pkg-config script could not be found. Make sure it is"
21541 echo "*** in your path, or set the PKG_CONFIG environment variable"
21542 echo "*** to the full path to pkg-config."
21543 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21545 PKG_CONFIG_MIN_VERSION
=0.9.0
21546 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
21548 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
21550 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21552 $as_echo "yes" >&6; }
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
21556 $as_echo_n "checking GDK_CFLAGS... " >&6; }
21557 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
21559 $as_echo "$GDK_CFLAGS" >&6; }
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
21562 $as_echo_n "checking GDK_LIBS... " >&6; }
21563 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
21565 $as_echo "$GDK_LIBS" >&6; }
21569 ## If we have a custom action on failure, don't print errors, but
21570 ## do set a variable so people can do so.
21571 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
21572 echo $GDK_PKG_ERRORS
21578 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21579 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21583 if test $succeeded = yes; then
21586 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
21592 GSTREAMER_FILE_READER
=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader
21593 GSTREAMER_MIXER_PROVIDER
=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider
21598 if test "x${COMPILE_QT_PEER}" = xyes
; then
21602 if test -z "$PKG_CONFIG"; then
21603 if test -n "$ac_tool_prefix"; then
21604 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21605 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21607 $as_echo_n "checking for $ac_word... " >&6; }
21608 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21609 $as_echo_n "(cached) " >&6
21611 case $PKG_CONFIG in
21613 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21617 for as_dir
in $PATH
21620 test -z "$as_dir" && as_dir
=.
21621 for ac_exec_ext
in '' $ac_executable_extensions; do
21622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21623 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21634 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21635 if test -n "$PKG_CONFIG"; then
21636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21637 $as_echo "$PKG_CONFIG" >&6; }
21639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21640 $as_echo "no" >&6; }
21645 if test -z "$ac_cv_path_PKG_CONFIG"; then
21646 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21647 # Extract the first word of "pkg-config", so it can be a program name with args.
21648 set dummy pkg-config
; ac_word
=$2
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21650 $as_echo_n "checking for $ac_word... " >&6; }
21651 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21652 $as_echo_n "(cached) " >&6
21654 case $ac_pt_PKG_CONFIG in
21656 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21660 for as_dir
in $PATH
21663 test -z "$as_dir" && as_dir
=.
21664 for ac_exec_ext
in '' $ac_executable_extensions; do
21665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21666 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21677 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21678 if test -n "$ac_pt_PKG_CONFIG"; then
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21680 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21683 $as_echo "no" >&6; }
21686 if test "x$ac_pt_PKG_CONFIG" = x
; then
21689 case $cross_compiling:$ac_tool_warned in
21691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21693 ac_tool_warned
=yes ;;
21695 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21698 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21703 if test "$PKG_CONFIG" = "no" ; then
21704 echo "*** The pkg-config script could not be found. Make sure it is"
21705 echo "*** in your path, or set the PKG_CONFIG environment variable"
21706 echo "*** to the full path to pkg-config."
21707 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21709 PKG_CONFIG_MIN_VERSION
=0.9.0
21710 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QtCore QtGui >= 4.1.0" >&5
21712 $as_echo_n "checking for QtCore QtGui >= 4.1.0... " >&6; }
21714 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21716 $as_echo "yes" >&6; }
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_CFLAGS" >&5
21720 $as_echo_n "checking QT_CFLAGS... " >&6; }
21721 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
21722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CFLAGS" >&5
21723 $as_echo "$QT_CFLAGS" >&6; }
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_LIBS" >&5
21726 $as_echo_n "checking QT_LIBS... " >&6; }
21727 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_LIBS" >&5
21729 $as_echo "$QT_LIBS" >&6; }
21733 ## If we have a custom action on failure, don't print errors, but
21734 ## do set a variable so people can do so.
21735 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
21742 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21743 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21747 if test $succeeded = yes; then
21753 if test "x$HAVE_QT4" = "xyes"; then
21754 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
21755 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
21756 as_ac_File
=`$as_echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $QT_INCLUDE_DIR/QWidget" >&5
21758 $as_echo_n "checking for $QT_INCLUDE_DIR/QWidget... " >&6; }
21759 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
21760 $as_echo_n "(cached) " >&6
21762 test "$cross_compiling" = yes &&
21763 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
21764 if test -r "$QT_INCLUDE_DIR/QWidget"; then
21765 eval "$as_ac_File=yes"
21767 eval "$as_ac_File=no"
21770 eval ac_res
=\$
$as_ac_File
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21772 $as_echo "$ac_res" >&6; }
21773 eval as_val
=\$
$as_ac_File
21774 if test "x$as_val" = x
""yes; then :
21775 { $as_echo "$as_me:${as_lineno-$LINENO}: No extra QT_INCLUDE_DIR needed" >&5
21776 $as_echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
21778 as_ac_File
=`$as_echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
21780 $as_echo_n "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... " >&6; }
21781 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
21782 $as_echo_n "(cached) " >&6
21784 test "$cross_compiling" = yes &&
21785 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
21786 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
21787 eval "$as_ac_File=yes"
21789 eval "$as_ac_File=no"
21792 eval ac_res
=\$
$as_ac_File
21793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21794 $as_echo "$ac_res" >&6; }
21795 eval as_val
=\$
$as_ac_File
21796 if test "x$as_val" = x
""yes; then :
21797 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: QWidget not found" >&5
21800 $as_echo "$as_me: WARNING: QWidget not found" >&2;}
21805 # Extract the first word of "moc", so it can be a program name with args.
21806 set dummy moc
; ac_word
=$2
21807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21808 $as_echo_n "checking for $ac_word... " >&6; }
21809 if test "${ac_cv_prog_MOC+set}" = set; then :
21810 $as_echo_n "(cached) " >&6
21812 if test -n "$MOC"; then
21813 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
21815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21816 for as_dir
in $PATH
21819 test -z "$as_dir" && as_dir
=.
21820 for ac_exec_ext
in '' $ac_executable_extensions; do
21821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21822 ac_cv_prog_MOC
="moc"
21823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21832 MOC
=$ac_cv_prog_MOC
21833 if test -n "$MOC"; then
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
21835 $as_echo "$MOC" >&6; }
21837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21838 $as_echo "no" >&6; }
21842 # Extract the first word of "moc-qt4", so it can be a program name with args.
21843 set dummy moc-qt4
; ac_word
=$2
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21845 $as_echo_n "checking for $ac_word... " >&6; }
21846 if test "${ac_cv_prog_MOC4+set}" = set; then :
21847 $as_echo_n "(cached) " >&6
21849 if test -n "$MOC4"; then
21850 ac_cv_prog_MOC4
="$MOC4" # Let the user override the test.
21852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21853 for as_dir
in $PATH
21856 test -z "$as_dir" && as_dir
=.
21857 for ac_exec_ext
in '' $ac_executable_extensions; do
21858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21859 ac_cv_prog_MOC4
="moc-qt4"
21860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21869 MOC4
=$ac_cv_prog_MOC4
21870 if test -n "$MOC4"; then
21871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC4" >&5
21872 $as_echo "$MOC4" >&6; }
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21875 $as_echo "no" >&6; }
21879 if test x
"$MOC4" != x
; then
21880 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $MOC4 as moc" >&5
21881 $as_echo "$as_me: Using $MOC4 as moc" >&6;}
21885 if test "x$HAVE_QT4" = "xno"; then
21886 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
21887 $as_echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
21891 # Check whether --with-qt4dir was given.
21892 if test "${with_qt4dir+set}" = set; then :
21893 withval
=$with_qt4dir; QT4DIR
=$withval
21897 if test x
"$QT4DIR" = x
; then
21898 as_fn_error
"*** No path for Qt4 --with-qt4dir option given" "$LINENO" 5
21900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: QT4DIR... $QT4DIR" >&5
21901 $as_echo "QT4DIR... $QT4DIR" >&6; }
21902 # Extract the first word of "moc", so it can be a program name with args.
21903 set dummy moc
; ac_word
=$2
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21905 $as_echo_n "checking for $ac_word... " >&6; }
21906 if test "${ac_cv_prog_MOC+set}" = set; then :
21907 $as_echo_n "(cached) " >&6
21909 if test -n "$MOC"; then
21910 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
21912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21913 for as_dir
in $QT4DIR/bin
21916 test -z "$as_dir" && as_dir
=.
21917 for ac_exec_ext
in '' $ac_executable_extensions; do
21918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21919 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
21920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21929 MOC
=$ac_cv_prog_MOC
21930 if test -n "$MOC"; then
21931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
21932 $as_echo "$MOC" >&6; }
21934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21935 $as_echo "no" >&6; }
21939 if test x
"$MOC" = x
; then
21940 as_fn_error
"*** This is not the right Qt installation" "$LINENO" 5
21942 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
21943 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
21944 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
21945 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
21948 as_fn_error
"*** Please check PKG_CONFIG_PATH or the version
21949 of your installed Qt4 installation." "$LINENO" 5
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: Set QT_CFLAGS... $QT_CFLAGS" >&5
21954 $as_echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
21958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
21959 $as_echo_n "checking for MSG_NOSIGNAL... " >&6; }
21960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21961 /* end confdefs.h. */
21962 #include <sys/socket.h>
21966 int f = MSG_NOSIGNAL;
21971 if ac_fn_c_try_compile
"$LINENO"; then :
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21973 $as_echo "yes" >&6; }
21975 $as_echo "#define HAVE_MSG_NOSIGNAL 1" >>confdefs.h
21978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21979 $as_echo "no" >&6; }
21982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SO_NOSIGPIPE " >&5
21984 $as_echo_n "checking for SO_NOSIGPIPE ... " >&6; }
21985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21986 /* end confdefs.h. */
21987 #include <sys/socket.h>
21991 int f = SO_NOSIGPIPE;
21996 if ac_fn_c_try_compile
"$LINENO"; then :
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21998 $as_echo "yes" >&6; }
22000 $as_echo "#define HAVE_SO_NOSIGPIPE 1" >>confdefs.h
22003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22004 $as_echo "no" >&6; }
22007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_WAITALL" >&5
22009 $as_echo_n "checking for MSG_WAITALL... " >&6; }
22010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22011 /* end confdefs.h. */
22012 #include <sys/socket.h>
22016 int f = MSG_WAITALL;
22021 if ac_fn_c_try_compile
"$LINENO"; then :
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22023 $as_echo "yes" >&6; }
22025 $as_echo "#define HAVE_MSG_WAITALL 1" >>confdefs.h
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22029 $as_echo "no" >&6; }
22032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22034 if test "x${COMPILE_PLUGIN}" = xyes
; then
22038 if test -z "$PKG_CONFIG"; then
22039 if test -n "$ac_tool_prefix"; then
22040 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22041 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22043 $as_echo_n "checking for $ac_word... " >&6; }
22044 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22045 $as_echo_n "(cached) " >&6
22047 case $PKG_CONFIG in
22049 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22053 for as_dir
in $PATH
22056 test -z "$as_dir" && as_dir
=.
22057 for ac_exec_ext
in '' $ac_executable_extensions; do
22058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22059 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22070 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22071 if test -n "$PKG_CONFIG"; then
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22073 $as_echo "$PKG_CONFIG" >&6; }
22075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22076 $as_echo "no" >&6; }
22081 if test -z "$ac_cv_path_PKG_CONFIG"; then
22082 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22083 # Extract the first word of "pkg-config", so it can be a program name with args.
22084 set dummy pkg-config
; ac_word
=$2
22085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22086 $as_echo_n "checking for $ac_word... " >&6; }
22087 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22088 $as_echo_n "(cached) " >&6
22090 case $ac_pt_PKG_CONFIG in
22092 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22096 for as_dir
in $PATH
22099 test -z "$as_dir" && as_dir
=.
22100 for ac_exec_ext
in '' $ac_executable_extensions; do
22101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22102 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22113 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22114 if test -n "$ac_pt_PKG_CONFIG"; then
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22116 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22119 $as_echo "no" >&6; }
22122 if test "x$ac_pt_PKG_CONFIG" = x
; then
22125 case $cross_compiling:$ac_tool_warned in
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22129 ac_tool_warned
=yes ;;
22131 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22134 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22139 if test "$PKG_CONFIG" = "no" ; then
22140 echo "*** The pkg-config script could not be found. Make sure it is"
22141 echo "*** in your path, or set the PKG_CONFIG environment variable"
22142 echo "*** to the full path to pkg-config."
22143 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22145 PKG_CONFIG_MIN_VERSION
=0.9.0
22146 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin libxul-unstable" >&5
22148 $as_echo_n "checking for mozilla-plugin libxul-unstable... " >&6; }
22150 if $PKG_CONFIG --exists "mozilla-plugin libxul-unstable" ; then
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22152 $as_echo "yes" >&6; }
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22156 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22157 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin libxul-unstable"`
22158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22159 $as_echo "$MOZILLA_CFLAGS" >&6; }
22161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22162 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22163 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin libxul-unstable"`
22164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22165 $as_echo "$MOZILLA_LIBS" >&6; }
22169 ## If we have a custom action on failure, don't print errors, but
22170 ## do set a variable so people can do so.
22171 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin libxul-unstable"`
22178 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22179 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22183 if test $succeeded = yes; then
22189 if test "x${MOZILLA_FOUND}" = xno
; then
22193 if test -z "$PKG_CONFIG"; then
22194 if test -n "$ac_tool_prefix"; then
22195 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22196 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22198 $as_echo_n "checking for $ac_word... " >&6; }
22199 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22200 $as_echo_n "(cached) " >&6
22202 case $PKG_CONFIG in
22204 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22208 for as_dir
in $PATH
22211 test -z "$as_dir" && as_dir
=.
22212 for ac_exec_ext
in '' $ac_executable_extensions; do
22213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22214 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22225 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22226 if test -n "$PKG_CONFIG"; then
22227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22228 $as_echo "$PKG_CONFIG" >&6; }
22230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22231 $as_echo "no" >&6; }
22236 if test -z "$ac_cv_path_PKG_CONFIG"; then
22237 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22238 # Extract the first word of "pkg-config", so it can be a program name with args.
22239 set dummy pkg-config
; ac_word
=$2
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22241 $as_echo_n "checking for $ac_word... " >&6; }
22242 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22243 $as_echo_n "(cached) " >&6
22245 case $ac_pt_PKG_CONFIG in
22247 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22251 for as_dir
in $PATH
22254 test -z "$as_dir" && as_dir
=.
22255 for ac_exec_ext
in '' $ac_executable_extensions; do
22256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22257 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22268 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22269 if test -n "$ac_pt_PKG_CONFIG"; then
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22271 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22274 $as_echo "no" >&6; }
22277 if test "x$ac_pt_PKG_CONFIG" = x
; then
22280 case $cross_compiling:$ac_tool_warned in
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22284 ac_tool_warned
=yes ;;
22286 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22289 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22294 if test "$PKG_CONFIG" = "no" ; then
22295 echo "*** The pkg-config script could not be found. Make sure it is"
22296 echo "*** in your path, or set the PKG_CONFIG environment variable"
22297 echo "*** to the full path to pkg-config."
22298 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22300 PKG_CONFIG_MIN_VERSION
=0.9.0
22301 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin" >&5
22303 $as_echo_n "checking for mozilla-plugin... " >&6; }
22305 if $PKG_CONFIG --exists "mozilla-plugin" ; then
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22307 $as_echo "yes" >&6; }
22310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22311 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22312 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
22313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22314 $as_echo "$MOZILLA_CFLAGS" >&6; }
22316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22317 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22318 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
22319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22320 $as_echo "$MOZILLA_LIBS" >&6; }
22324 ## If we have a custom action on failure, don't print errors, but
22325 ## do set a variable so people can do so.
22326 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
22333 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22334 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22338 if test $succeeded = yes; then
22345 if test "x${MOZILLA_FOUND}" = xno
; then
22349 if test -z "$PKG_CONFIG"; then
22350 if test -n "$ac_tool_prefix"; then
22351 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22352 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22354 $as_echo_n "checking for $ac_word... " >&6; }
22355 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22356 $as_echo_n "(cached) " >&6
22358 case $PKG_CONFIG in
22360 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22364 for as_dir
in $PATH
22367 test -z "$as_dir" && as_dir
=.
22368 for ac_exec_ext
in '' $ac_executable_extensions; do
22369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22370 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22381 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22382 if test -n "$PKG_CONFIG"; then
22383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22384 $as_echo "$PKG_CONFIG" >&6; }
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22387 $as_echo "no" >&6; }
22392 if test -z "$ac_cv_path_PKG_CONFIG"; then
22393 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22394 # Extract the first word of "pkg-config", so it can be a program name with args.
22395 set dummy pkg-config
; ac_word
=$2
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22397 $as_echo_n "checking for $ac_word... " >&6; }
22398 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22399 $as_echo_n "(cached) " >&6
22401 case $ac_pt_PKG_CONFIG in
22403 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22407 for as_dir
in $PATH
22410 test -z "$as_dir" && as_dir
=.
22411 for ac_exec_ext
in '' $ac_executable_extensions; do
22412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22413 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22424 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22425 if test -n "$ac_pt_PKG_CONFIG"; then
22426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22427 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22430 $as_echo "no" >&6; }
22433 if test "x$ac_pt_PKG_CONFIG" = x
; then
22436 case $cross_compiling:$ac_tool_warned in
22438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22440 ac_tool_warned
=yes ;;
22442 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22445 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22450 if test "$PKG_CONFIG" = "no" ; then
22451 echo "*** The pkg-config script could not be found. Make sure it is"
22452 echo "*** in your path, or set the PKG_CONFIG environment variable"
22453 echo "*** to the full path to pkg-config."
22454 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22456 PKG_CONFIG_MIN_VERSION
=0.9.0
22457 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for firefox-plugin firefox-xpcom" >&5
22459 $as_echo_n "checking for firefox-plugin firefox-xpcom... " >&6; }
22461 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22463 $as_echo "yes" >&6; }
22466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22467 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22468 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
22469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22470 $as_echo "$MOZILLA_CFLAGS" >&6; }
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22473 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22474 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
22475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22476 $as_echo "$MOZILLA_LIBS" >&6; }
22480 ## If we have a custom action on failure, don't print errors, but
22481 ## do set a variable so people can do so.
22482 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
22489 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22490 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22494 if test $succeeded = yes; then
22501 if test "x${MOZILLA_FOUND}" = xno
; then
22505 if test -z "$PKG_CONFIG"; then
22506 if test -n "$ac_tool_prefix"; then
22507 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22508 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22510 $as_echo_n "checking for $ac_word... " >&6; }
22511 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22512 $as_echo_n "(cached) " >&6
22514 case $PKG_CONFIG in
22516 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22520 for as_dir
in $PATH
22523 test -z "$as_dir" && as_dir
=.
22524 for ac_exec_ext
in '' $ac_executable_extensions; do
22525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22526 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22537 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22538 if test -n "$PKG_CONFIG"; then
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22540 $as_echo "$PKG_CONFIG" >&6; }
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22543 $as_echo "no" >&6; }
22548 if test -z "$ac_cv_path_PKG_CONFIG"; then
22549 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22550 # Extract the first word of "pkg-config", so it can be a program name with args.
22551 set dummy pkg-config
; ac_word
=$2
22552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22553 $as_echo_n "checking for $ac_word... " >&6; }
22554 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22555 $as_echo_n "(cached) " >&6
22557 case $ac_pt_PKG_CONFIG in
22559 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22563 for as_dir
in $PATH
22566 test -z "$as_dir" && as_dir
=.
22567 for ac_exec_ext
in '' $ac_executable_extensions; do
22568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22569 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22580 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22581 if test -n "$ac_pt_PKG_CONFIG"; then
22582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22583 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22586 $as_echo "no" >&6; }
22589 if test "x$ac_pt_PKG_CONFIG" = x
; then
22592 case $cross_compiling:$ac_tool_warned in
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22596 ac_tool_warned
=yes ;;
22598 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22601 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22606 if test "$PKG_CONFIG" = "no" ; then
22607 echo "*** The pkg-config script could not be found. Make sure it is"
22608 echo "*** in your path, or set the PKG_CONFIG environment variable"
22609 echo "*** to the full path to pkg-config."
22610 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22612 PKG_CONFIG_MIN_VERSION
=0.9.0
22613 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xulrunner-plugin xulrunner-xpcom" >&5
22615 $as_echo_n "checking for xulrunner-plugin xulrunner-xpcom... " >&6; }
22617 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22619 $as_echo "yes" >&6; }
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22623 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22624 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22626 $as_echo "$MOZILLA_CFLAGS" >&6; }
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22629 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22630 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22632 $as_echo "$MOZILLA_LIBS" >&6; }
22636 ## If we have a custom action on failure, don't print errors, but
22637 ## do set a variable so people can do so.
22638 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
22645 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22646 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22650 if test $succeeded = yes; then
22657 if test "x${MOZILLA_FOUND}" = xno
; then
22661 if test -z "$PKG_CONFIG"; then
22662 if test -n "$ac_tool_prefix"; then
22663 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22664 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22666 $as_echo_n "checking for $ac_word... " >&6; }
22667 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22668 $as_echo_n "(cached) " >&6
22670 case $PKG_CONFIG in
22672 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22676 for as_dir
in $PATH
22679 test -z "$as_dir" && as_dir
=.
22680 for ac_exec_ext
in '' $ac_executable_extensions; do
22681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22682 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22693 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22694 if test -n "$PKG_CONFIG"; then
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22696 $as_echo "$PKG_CONFIG" >&6; }
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22699 $as_echo "no" >&6; }
22704 if test -z "$ac_cv_path_PKG_CONFIG"; then
22705 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22706 # Extract the first word of "pkg-config", so it can be a program name with args.
22707 set dummy pkg-config
; ac_word
=$2
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22709 $as_echo_n "checking for $ac_word... " >&6; }
22710 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22711 $as_echo_n "(cached) " >&6
22713 case $ac_pt_PKG_CONFIG in
22715 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22719 for as_dir
in $PATH
22722 test -z "$as_dir" && as_dir
=.
22723 for ac_exec_ext
in '' $ac_executable_extensions; do
22724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22725 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22736 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22737 if test -n "$ac_pt_PKG_CONFIG"; then
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22739 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22742 $as_echo "no" >&6; }
22745 if test "x$ac_pt_PKG_CONFIG" = x
; then
22748 case $cross_compiling:$ac_tool_warned in
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22752 ac_tool_warned
=yes ;;
22754 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22757 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22762 if test "$PKG_CONFIG" = "no" ; then
22763 echo "*** The pkg-config script could not be found. Make sure it is"
22764 echo "*** in your path, or set the PKG_CONFIG environment variable"
22765 echo "*** to the full path to pkg-config."
22766 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22768 PKG_CONFIG_MIN_VERSION
=0.9.0
22769 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
22771 $as_echo_n "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... " >&6; }
22773 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22775 $as_echo "yes" >&6; }
22778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22779 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22780 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22782 $as_echo "$MOZILLA_CFLAGS" >&6; }
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22785 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22786 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22788 $as_echo "$MOZILLA_LIBS" >&6; }
22792 ## If we have a custom action on failure, don't print errors, but
22793 ## do set a variable so people can do so.
22794 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22801 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22802 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22806 if test $succeeded = yes; then
22813 if test "x${MOZILLA_FOUND}" = xno
; then
22817 if test -z "$PKG_CONFIG"; then
22818 if test -n "$ac_tool_prefix"; then
22819 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22820 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22822 $as_echo_n "checking for $ac_word... " >&6; }
22823 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22824 $as_echo_n "(cached) " >&6
22826 case $PKG_CONFIG in
22828 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22832 for as_dir
in $PATH
22835 test -z "$as_dir" && as_dir
=.
22836 for ac_exec_ext
in '' $ac_executable_extensions; do
22837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22838 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22849 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22850 if test -n "$PKG_CONFIG"; then
22851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22852 $as_echo "$PKG_CONFIG" >&6; }
22854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22855 $as_echo "no" >&6; }
22860 if test -z "$ac_cv_path_PKG_CONFIG"; then
22861 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22862 # Extract the first word of "pkg-config", so it can be a program name with args.
22863 set dummy pkg-config
; ac_word
=$2
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22865 $as_echo_n "checking for $ac_word... " >&6; }
22866 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22867 $as_echo_n "(cached) " >&6
22869 case $ac_pt_PKG_CONFIG in
22871 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22875 for as_dir
in $PATH
22878 test -z "$as_dir" && as_dir
=.
22879 for ac_exec_ext
in '' $ac_executable_extensions; do
22880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22881 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22892 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22893 if test -n "$ac_pt_PKG_CONFIG"; then
22894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22895 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22898 $as_echo "no" >&6; }
22901 if test "x$ac_pt_PKG_CONFIG" = x
; then
22904 case $cross_compiling:$ac_tool_warned in
22906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22908 ac_tool_warned
=yes ;;
22910 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22913 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22918 if test "$PKG_CONFIG" = "no" ; then
22919 echo "*** The pkg-config script could not be found. Make sure it is"
22920 echo "*** in your path, or set the PKG_CONFIG environment variable"
22921 echo "*** to the full path to pkg-config."
22922 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22924 PKG_CONFIG_MIN_VERSION
=0.9.0
22925 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for seamonkey-plugin seamonkey-xpcom" >&5
22927 $as_echo_n "checking for seamonkey-plugin seamonkey-xpcom... " >&6; }
22929 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22931 $as_echo "yes" >&6; }
22934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22935 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22936 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
22937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22938 $as_echo "$MOZILLA_CFLAGS" >&6; }
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22941 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22942 MOZILLA_LIBS
=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
22943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22944 $as_echo "$MOZILLA_LIBS" >&6; }
22948 ## If we have a custom action on failure, don't print errors, but
22949 ## do set a variable so people can do so.
22950 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
22957 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22958 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22962 if test $succeeded = yes; then
22969 if test "x${MOZILLA_FOUND}" = xno
; then
22973 if test -z "$PKG_CONFIG"; then
22974 if test -n "$ac_tool_prefix"; then
22975 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22976 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22978 $as_echo_n "checking for $ac_word... " >&6; }
22979 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22980 $as_echo_n "(cached) " >&6
22982 case $PKG_CONFIG in
22984 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22988 for as_dir
in $PATH
22991 test -z "$as_dir" && as_dir
=.
22992 for ac_exec_ext
in '' $ac_executable_extensions; do
22993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22994 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23005 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23006 if test -n "$PKG_CONFIG"; then
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23008 $as_echo "$PKG_CONFIG" >&6; }
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23011 $as_echo "no" >&6; }
23016 if test -z "$ac_cv_path_PKG_CONFIG"; then
23017 ac_pt_PKG_CONFIG
=$PKG_CONFIG
23018 # Extract the first word of "pkg-config", so it can be a program name with args.
23019 set dummy pkg-config
; ac_word
=$2
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23021 $as_echo_n "checking for $ac_word... " >&6; }
23022 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
23023 $as_echo_n "(cached) " >&6
23025 case $ac_pt_PKG_CONFIG in
23027 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23031 for as_dir
in $PATH
23034 test -z "$as_dir" && as_dir
=.
23035 for ac_exec_ext
in '' $ac_executable_extensions; do
23036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23037 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23048 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
23049 if test -n "$ac_pt_PKG_CONFIG"; then
23050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23051 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23054 $as_echo "no" >&6; }
23057 if test "x$ac_pt_PKG_CONFIG" = x
; then
23060 case $cross_compiling:$ac_tool_warned in
23062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23064 ac_tool_warned
=yes ;;
23066 PKG_CONFIG
=$ac_pt_PKG_CONFIG
23069 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
23074 if test "$PKG_CONFIG" = "no" ; then
23075 echo "*** The pkg-config script could not be found. Make sure it is"
23076 echo "*** in your path, or set the PKG_CONFIG environment variable"
23077 echo "*** to the full path to pkg-config."
23078 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23080 PKG_CONFIG_MIN_VERSION
=0.9.0
23081 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iceape-plugin iceape-xpcom" >&5
23083 $as_echo_n "checking for iceape-plugin iceape-xpcom... " >&6; }
23085 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23087 $as_echo "yes" >&6; }
23090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
23091 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
23092 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
23093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
23094 $as_echo "$MOZILLA_CFLAGS" >&6; }
23096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
23097 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
23098 MOZILLA_LIBS
=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
23099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
23100 $as_echo "$MOZILLA_LIBS" >&6; }
23104 ## If we have a custom action on failure, don't print errors, but
23105 ## do set a variable so people can do so.
23106 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
23113 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23114 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23118 if test $succeeded = yes; then
23125 if test "x${MOZILLA_FOUND}" = xno
; then
23126 as_fn_error
"Couldn't find plugin support headers and libraries, try --disable-plugin" "$LINENO" 5
23132 if test -z "$PKG_CONFIG"; then
23133 if test -n "$ac_tool_prefix"; then
23134 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23135 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
23136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23137 $as_echo_n "checking for $ac_word... " >&6; }
23138 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23139 $as_echo_n "(cached) " >&6
23141 case $PKG_CONFIG in
23143 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23147 for as_dir
in $PATH
23150 test -z "$as_dir" && as_dir
=.
23151 for ac_exec_ext
in '' $ac_executable_extensions; do
23152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23153 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23164 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23165 if test -n "$PKG_CONFIG"; then
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23167 $as_echo "$PKG_CONFIG" >&6; }
23169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23170 $as_echo "no" >&6; }
23175 if test -z "$ac_cv_path_PKG_CONFIG"; then
23176 ac_pt_PKG_CONFIG
=$PKG_CONFIG
23177 # Extract the first word of "pkg-config", so it can be a program name with args.
23178 set dummy pkg-config
; ac_word
=$2
23179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23180 $as_echo_n "checking for $ac_word... " >&6; }
23181 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
23182 $as_echo_n "(cached) " >&6
23184 case $ac_pt_PKG_CONFIG in
23186 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23190 for as_dir
in $PATH
23193 test -z "$as_dir" && as_dir
=.
23194 for ac_exec_ext
in '' $ac_executable_extensions; do
23195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23196 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23207 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
23208 if test -n "$ac_pt_PKG_CONFIG"; then
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23210 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23213 $as_echo "no" >&6; }
23216 if test "x$ac_pt_PKG_CONFIG" = x
; then
23219 case $cross_compiling:$ac_tool_warned in
23221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23223 ac_tool_warned
=yes ;;
23225 PKG_CONFIG
=$ac_pt_PKG_CONFIG
23228 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
23233 if test "$PKG_CONFIG" = "no" ; then
23234 echo "*** The pkg-config script could not be found. Make sure it is"
23235 echo "*** in your path, or set the PKG_CONFIG environment variable"
23236 echo "*** to the full path to pkg-config."
23237 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23239 PKG_CONFIG_MIN_VERSION
=0.9.0
23240 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0" >&5
23242 $as_echo_n "checking for glib-2.0... " >&6; }
23244 if $PKG_CONFIG --exists "glib-2.0" ; then
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23246 $as_echo "yes" >&6; }
23249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
23250 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
23251 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
23252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
23253 $as_echo "$GLIB_CFLAGS" >&6; }
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
23256 $as_echo_n "checking GLIB_LIBS... " >&6; }
23257 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
23258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
23259 $as_echo "$GLIB_LIBS" >&6; }
23263 ## If we have a custom action on failure, don't print errors, but
23264 ## do set a variable so people can do so.
23265 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
23266 echo $GLIB_PKG_ERRORS
23272 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23273 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23277 if test $succeeded = yes; then
23280 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
23286 if test -z "$PKG_CONFIG"; then
23287 if test -n "$ac_tool_prefix"; then
23288 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23289 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
23290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23291 $as_echo_n "checking for $ac_word... " >&6; }
23292 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23293 $as_echo_n "(cached) " >&6
23295 case $PKG_CONFIG in
23297 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23301 for as_dir
in $PATH
23304 test -z "$as_dir" && as_dir
=.
23305 for ac_exec_ext
in '' $ac_executable_extensions; do
23306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23307 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23318 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23319 if test -n "$PKG_CONFIG"; then
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23321 $as_echo "$PKG_CONFIG" >&6; }
23323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23324 $as_echo "no" >&6; }
23329 if test -z "$ac_cv_path_PKG_CONFIG"; then
23330 ac_pt_PKG_CONFIG
=$PKG_CONFIG
23331 # Extract the first word of "pkg-config", so it can be a program name with args.
23332 set dummy pkg-config
; ac_word
=$2
23333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23334 $as_echo_n "checking for $ac_word... " >&6; }
23335 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
23336 $as_echo_n "(cached) " >&6
23338 case $ac_pt_PKG_CONFIG in
23340 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23344 for as_dir
in $PATH
23347 test -z "$as_dir" && as_dir
=.
23348 for ac_exec_ext
in '' $ac_executable_extensions; do
23349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23350 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23361 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
23362 if test -n "$ac_pt_PKG_CONFIG"; then
23363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23364 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23367 $as_echo "no" >&6; }
23370 if test "x$ac_pt_PKG_CONFIG" = x
; then
23373 case $cross_compiling:$ac_tool_warned in
23375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23377 ac_tool_warned
=yes ;;
23379 PKG_CONFIG
=$ac_pt_PKG_CONFIG
23382 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
23387 if test "$PKG_CONFIG" = "no" ; then
23388 echo "*** The pkg-config script could not be found. Make sure it is"
23389 echo "*** in your path, or set the PKG_CONFIG environment variable"
23390 echo "*** to the full path to pkg-config."
23391 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23393 PKG_CONFIG_MIN_VERSION
=0.9.0
23394 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
23396 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
23398 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
23399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23400 $as_echo "yes" >&6; }
23403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
23404 $as_echo_n "checking GTK_CFLAGS... " >&6; }
23405 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
23407 $as_echo "$GTK_CFLAGS" >&6; }
23409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
23410 $as_echo_n "checking GTK_LIBS... " >&6; }
23411 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
23413 $as_echo "$GTK_LIBS" >&6; }
23417 ## If we have a custom action on failure, don't print errors, but
23418 ## do set a variable so people can do so.
23419 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23420 echo $GTK_PKG_ERRORS
23426 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23427 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23431 if test $succeeded = yes; then
23434 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
23445 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
23450 # Check whether --with-gmp was given.
23451 if test "${with_gmp+set}" = set; then :
23456 # Check whether --with-gmp_include was given.
23457 if test "${with_gmp_include+set}" = set; then :
23458 withval
=$with_gmp_include;
23462 # Check whether --with-gmp_lib was given.
23463 if test "${with_gmp_lib+set}" = set; then :
23464 withval
=$with_gmp_lib;
23468 if test "x$with_gmp" != x
; then
23471 gmplibs
="-L$with_gmp/lib $gmplibs"
23472 gmpinc
="-I$with_gmp/include $gmpinc"
23473 if test "x$with_gmp_include" != x
; then
23474 gmpinc
="-I$with_gmp_include $gmpinc"
23476 if test "x$with_gmp_lib" != x
; then
23477 gmplibs
="-L$with_gmp_lib $gmplibs"
23481 gmpinc
="-I/usr/include"
23484 if test "x${COMPILE_GMP}" = xyes
; then
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMP directories" >&5
23486 $as_echo_n "checking for GMP directories... " >&6; }
23487 if test "x$with_gmp" != x
; then
23488 gmplibs
="-L$with_gmp/lib -lgmp"
23489 gmpinc
="-I$with_gmp/include"
23490 if test "x$with_gmp_include" != x
; then
23491 gmpinc
="-I$with_gmp_include $gmpinc"
23493 if test "x$with_gmp_lib" != x
; then
23494 gmplibs
="-L$with_gmp_lib $gmplibs"
23499 gmpinc
="-I/usr/include"
23501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: prefix=$with_gmp, libs=$gmplibs, inc=$gmpinc" >&5
23502 $as_echo "prefix=$with_gmp, libs=$gmplibs, inc=$gmpinc" >&6; }
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_mul_si in -lgmp" >&5
23504 $as_echo_n "checking for __gmpz_mul_si in -lgmp... " >&6; }
23505 if test "${ac_cv_lib_gmp___gmpz_mul_si+set}" = set; then :
23506 $as_echo_n "(cached) " >&6
23508 ac_check_lib_save_LIBS
=$LIBS
23510 if test x
$gcc_no_link = xyes
; then
23511 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23514 /* end confdefs.h. */
23516 /* Override any GCC internal prototype to avoid an error.
23517 Use char because int might match the return type of a GCC
23518 builtin and then its argument prototype would still apply. */
23522 char __gmpz_mul_si ();
23526 return __gmpz_mul_si ();
23531 if ac_fn_c_try_link
"$LINENO"; then :
23532 ac_cv_lib_gmp___gmpz_mul_si
=yes
23534 ac_cv_lib_gmp___gmpz_mul_si
=no
23536 rm -f core conftest.err conftest.
$ac_objext \
23537 conftest
$ac_exeext conftest.
$ac_ext
23538 LIBS
=$ac_check_lib_save_LIBS
23540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_mul_si" >&5
23541 $as_echo "$ac_cv_lib_gmp___gmpz_mul_si" >&6; }
23542 if test "x$ac_cv_lib_gmp___gmpz_mul_si" = x
""yes; then :
23543 GMP_CFLAGS
="$gmpinc"
23544 GMP_LIBS
="$gmplibs"
23553 for ac_header
in gmp.h
23555 ac_fn_c_check_header_mongrel
"$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
23556 if test "x$ac_cv_header_gmp_h" = x
""yes; then :
23557 cat >>confdefs.h
<<_ACEOF
23558 #define HAVE_GMP_H 1
23571 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
23574 # Check whether --with-javah was given.
23575 if test "${with_javah+set}" = set; then :
23576 withval
=$with_javah;
23577 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
23579 if test "x${withval}" != x
; then
23580 if test -f "${withval}"; then
23581 USER_JAVAH
="${withval}"
23583 # Extract the first word of ""${withval}"", so it can be a program name with args.
23584 set dummy
"${withval}"; ac_word
=$2
23585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23586 $as_echo_n "checking for $ac_word... " >&6; }
23587 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23588 $as_echo_n "(cached) " >&6
23590 case $USER_JAVAH in
23592 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23596 for as_dir
in $PATH
23599 test -z "$as_dir" && as_dir
=.
23600 for ac_exec_ext
in '' $ac_executable_extensions; do
23601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23602 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23613 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23614 if test -n "$USER_JAVAH"; then
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23616 $as_echo "$USER_JAVAH" >&6; }
23618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23619 $as_echo "no" >&6; }
23625 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
23627 # Extract the first word of "$ac_prog", so it can be a program name with args.
23628 set dummy
$ac_prog; ac_word
=$2
23629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23630 $as_echo_n "checking for $ac_word... " >&6; }
23631 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23632 $as_echo_n "(cached) " >&6
23634 case $USER_JAVAH in
23636 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23640 for as_dir
in $PATH
23643 test -z "$as_dir" && as_dir
=.
23644 for ac_exec_ext
in '' $ac_executable_extensions; do
23645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23646 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23657 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23658 if test -n "$USER_JAVAH"; then
23659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23660 $as_echo "$USER_JAVAH" >&6; }
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23663 $as_echo "no" >&6; }
23667 test -n "$USER_JAVAH" && break
23672 if test "x${USER_JAVAH}" = x
; then
23673 as_fn_error
"can not find javah" "$LINENO" 5
23678 if test "x" != x
; then
23679 if test -f ""; then
23682 # Extract the first word of """", so it can be a program name with args.
23683 set dummy
""; ac_word
=$2
23684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23685 $as_echo_n "checking for $ac_word... " >&6; }
23686 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23687 $as_echo_n "(cached) " >&6
23689 case $USER_JAVAH in
23691 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23695 for as_dir
in $PATH
23698 test -z "$as_dir" && as_dir
=.
23699 for ac_exec_ext
in '' $ac_executable_extensions; do
23700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23701 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23712 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23713 if test -n "$USER_JAVAH"; then
23714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23715 $as_echo "$USER_JAVAH" >&6; }
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23718 $as_echo "no" >&6; }
23724 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
23726 # Extract the first word of "$ac_prog", so it can be a program name with args.
23727 set dummy
$ac_prog; ac_word
=$2
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23729 $as_echo_n "checking for $ac_word... " >&6; }
23730 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23731 $as_echo_n "(cached) " >&6
23733 case $USER_JAVAH in
23735 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23739 for as_dir
in $PATH
23742 test -z "$as_dir" && as_dir
=.
23743 for ac_exec_ext
in '' $ac_executable_extensions; do
23744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23745 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23756 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23757 if test -n "$USER_JAVAH"; then
23758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23759 $as_echo "$USER_JAVAH" >&6; }
23761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23762 $as_echo "no" >&6; }
23766 test -n "$USER_JAVAH" && break
23771 if test "x${USER_JAVAH}" = x
; then
23772 as_fn_error
"can not find javah" "$LINENO" 5
23780 if test "x" != x
; then
23781 if test -f ""; then
23784 # Extract the first word of """", so it can be a program name with args.
23785 set dummy
""; ac_word
=$2
23786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23787 $as_echo_n "checking for $ac_word... " >&6; }
23788 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23789 $as_echo_n "(cached) " >&6
23791 case $USER_JAVAH in
23793 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23797 for as_dir
in $PATH
23800 test -z "$as_dir" && as_dir
=.
23801 for ac_exec_ext
in '' $ac_executable_extensions; do
23802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23803 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23814 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23815 if test -n "$USER_JAVAH"; then
23816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23817 $as_echo "$USER_JAVAH" >&6; }
23819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23820 $as_echo "no" >&6; }
23826 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
23828 # Extract the first word of "$ac_prog", so it can be a program name with args.
23829 set dummy
$ac_prog; ac_word
=$2
23830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23831 $as_echo_n "checking for $ac_word... " >&6; }
23832 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23833 $as_echo_n "(cached) " >&6
23835 case $USER_JAVAH in
23837 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23841 for as_dir
in $PATH
23844 test -z "$as_dir" && as_dir
=.
23845 for ac_exec_ext
in '' $ac_executable_extensions; do
23846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23847 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23858 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23859 if test -n "$USER_JAVAH"; then
23860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23861 $as_echo "$USER_JAVAH" >&6; }
23863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23864 $as_echo "no" >&6; }
23868 test -n "$USER_JAVAH" && break
23873 if test "x${USER_JAVAH}" = x
; then
23874 as_fn_error
"can not find javah" "$LINENO" 5
23884 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
23887 if test "x${COMPILE_JNI}" = xyes
; then
23888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking jni_md.h support" >&5
23889 $as_echo_n "checking jni_md.h support... " >&6; }
23890 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
23891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23892 $as_echo "yes" >&6; }
23895 target_os
=linux-gnu
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no" >&5
23897 $as_echo "$as_me: WARNING: no" >&2;}
23899 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
23900 ac_dests
="include/jni_md.h"
23901 while test -n "$ac_sources"; do
23902 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
23903 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
23904 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
23906 ac_config_links
="$ac_config_links $ac_config_links_1"
23912 # Check whether --with-vm-classes was given.
23913 if test "${with_vm_classes+set}" = set; then :
23914 withval
=$with_vm_classes; vm_classes
="$with_vm_classes"
23916 vm_classes
='${top_srcdir}/vm/reference'
23923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
23924 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
23925 # Check whether --enable-maintainer-mode was given.
23926 if test "${enable_maintainer_mode+set}" = set; then :
23927 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
23929 USE_MAINTAINER_MODE
=no
23932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
23933 $as_echo "$USE_MAINTAINER_MODE" >&6; }
23934 if test $USE_MAINTAINER_MODE = yes; then
23935 MAINTAINER_MODE_TRUE
=
23936 MAINTAINER_MODE_FALSE
='#'
23938 MAINTAINER_MODE_TRUE
='#'
23939 MAINTAINER_MODE_FALSE
=
23942 MAINT
=$MAINTAINER_MODE_TRUE
23946 # Check whether --enable-debug was given.
23947 if test "${enable_debug+set}" = set; then :
23948 enableval
=$enable_debug; case "${enableval}" in
23952 $as_echo "#define DEBUG 1" >>confdefs.h
23955 no
) LIBDEBUG
="false" ;;
23956 *) as_fn_error
"bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
23964 # Check whether --enable-load-library was given.
23965 if test "${enable_load_library+set}" = set; then :
23966 enableval
=$enable_load_library; case "${enableval}" in
23967 yes) INIT_LOAD_LIBRARY
="true" ;;
23968 no
) INIT_LOAD_LIBRARY
="false" ;;
23969 *) as_fn_error
"bad value ${enableval} for --enable-load-library" "$LINENO" 5 ;;
23972 INIT_LOAD_LIBRARY
="true"
23979 # Check whether --with-ecj-jar was given.
23980 if test "${with_ecj_jar+set}" = set; then :
23981 withval
=$with_ecj_jar; ECJ_JAR
=$withval
23983 if test -f $multi_basedir/ecj.jar
; then
23984 ECJ_JAR
='$(jardir)/ecj.jar'
23990 # Check whether --enable-java-lang-system-explicit-initialization was given.
23991 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then :
23992 enableval
=$enable_java_lang_system_explicit_initialization; case "${enableval}" in
23993 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
23994 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
23995 *) as_fn_error
"bad value ${enableval} for --enable-java-lang-system-explicit-initialization" "$LINENO" 5 ;;
23998 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
24007 # Extract the first word of "mkdir", so it can be a program name with args.
24008 set dummy mkdir
; ac_word
=$2
24009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24010 $as_echo_n "checking for $ac_word... " >&6; }
24011 if test "${ac_cv_path_MKDIR+set}" = set; then :
24012 $as_echo_n "(cached) " >&6
24016 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
24019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24020 for as_dir
in $PATH
24023 test -z "$as_dir" && as_dir
=.
24024 for ac_exec_ext
in '' $ac_executable_extensions; do
24025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24026 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
24027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24037 MKDIR
=$ac_cv_path_MKDIR
24038 if test -n "$MKDIR"; then
24039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
24040 $as_echo "$MKDIR" >&6; }
24042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24043 $as_echo "no" >&6; }
24047 # Extract the first word of "cp", so it can be a program name with args.
24048 set dummy
cp; ac_word
=$2
24049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24050 $as_echo_n "checking for $ac_word... " >&6; }
24051 if test "${ac_cv_path_CP+set}" = set; then :
24052 $as_echo_n "(cached) " >&6
24056 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
24059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24060 for as_dir
in $PATH
24063 test -z "$as_dir" && as_dir
=.
24064 for ac_exec_ext
in '' $ac_executable_extensions; do
24065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24066 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
24067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24078 if test -n "$CP"; then
24079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
24080 $as_echo "$CP" >&6; }
24082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24083 $as_echo "no" >&6; }
24087 # Extract the first word of "date", so it can be a program name with args.
24088 set dummy
date; ac_word
=$2
24089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24090 $as_echo_n "checking for $ac_word... " >&6; }
24091 if test "${ac_cv_path_DATE+set}" = set; then :
24092 $as_echo_n "(cached) " >&6
24096 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
24099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24100 for as_dir
in $PATH
24103 test -z "$as_dir" && as_dir
=.
24104 for ac_exec_ext
in '' $ac_executable_extensions; do
24105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24106 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
24107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24117 DATE
=$ac_cv_path_DATE
24118 if test -n "$DATE"; then
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
24120 $as_echo "$DATE" >&6; }
24122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24123 $as_echo "no" >&6; }
24128 # Extract the first word of "find", so it can be a program name with args.
24129 set dummy
find; ac_word
=$2
24130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24131 $as_echo_n "checking for $ac_word... " >&6; }
24132 if test "${ac_cv_path_FIND+set}" = set; then :
24133 $as_echo_n "(cached) " >&6
24137 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
24140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24141 for as_dir
in $PATH
24144 test -z "$as_dir" && as_dir
=.
24145 for ac_exec_ext
in '' $ac_executable_extensions; do
24146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24147 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
24148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24158 FIND
=$ac_cv_path_FIND
24159 if test -n "$FIND"; then
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
24161 $as_echo "$FIND" >&6; }
24163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24164 $as_echo "no" >&6; }
24170 # Extract the first word of "zip", so it can be a program name with args.
24171 set dummy
zip; ac_word
=$2
24172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24173 $as_echo_n "checking for $ac_word... " >&6; }
24174 if test "${ac_cv_path_ZIP+set}" = set; then :
24175 $as_echo_n "(cached) " >&6
24179 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
24182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24183 for as_dir
in $PATH
24186 test -z "$as_dir" && as_dir
=.
24187 for ac_exec_ext
in '' $ac_executable_extensions; do
24188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24189 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
24190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24200 ZIP
=$ac_cv_path_ZIP
24201 if test -n "$ZIP"; then
24202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
24203 $as_echo "$ZIP" >&6; }
24205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24206 $as_echo "no" >&6; }
24211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a jar-like tool" >&5
24212 $as_echo_n "checking for a jar-like tool... " >&6; }
24214 # Check whether --with-jar was given.
24215 if test "${with_jar+set}" = set; then :
24217 case "${withval}" in
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
24224 $as_echo "${JAR}" >&6; }
24227 if test -f "${withval}"; then
24229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
24230 $as_echo "${JAR}" >&6; }
24232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24233 $as_echo "not found" >&6; }
24234 as_fn_error
"The jar tool ${withval} was not found." "$LINENO" 5
24245 if test x
"${JAR}" = "xyes"; then
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: trying fastjar, gjar and jar" >&5
24247 $as_echo "trying fastjar, gjar and jar" >&6; }
24248 for ac_prog
in fastjar gjar jar
24250 # Extract the first word of "$ac_prog", so it can be a program name with args.
24251 set dummy
$ac_prog; ac_word
=$2
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24253 $as_echo_n "checking for $ac_word... " >&6; }
24254 if test "${ac_cv_path_JAR+set}" = set; then :
24255 $as_echo_n "(cached) " >&6
24259 ac_cv_path_JAR
="$JAR" # Let the user override the test with a path.
24262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24263 for as_dir
in $PATH
24266 test -z "$as_dir" && as_dir
=.
24267 for ac_exec_ext
in '' $ac_executable_extensions; do
24268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24269 ac_cv_path_JAR
="$as_dir/$ac_word$ac_exec_ext"
24270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24280 JAR
=$ac_cv_path_JAR
24281 if test -n "$JAR"; then
24282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
24283 $as_echo "$JAR" >&6; }
24285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24286 $as_echo "no" >&6; }
24290 test -n "$JAR" && break
24293 if test x
"${RHINO_JAR}" = "xyes"; then
24294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24295 $as_echo "not found" >&6; }
24298 if test x
"${JAR}" = "xno" && test x
"${ZIP}" = ""; then
24299 as_fn_error
"No zip or jar tool found." "$LINENO" 5
24301 if test x
"${JAR}" != "xno" && test x
"${JAR}" != "xyes"; then
24312 # Check whether --with-glibj was given.
24313 if test "${with_glibj+set}" = set; then :
24314 withval
=$with_glibj;
24315 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
24316 install_class_files
=no
24317 build_class_files
=yes
24319 elif test "x${withval}" = xboth
; then
24320 install_class_files
=yes
24321 build_class_files
=yes
24323 elif test "x${withval}" = xflat
; then
24324 install_class_files
=yes
24325 build_class_files
=yes
24327 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
24328 install_class_files
=no
24329 build_class_files
=no
24331 elif test "x${withval}" = xbuild
; then
24332 install_class_files
=no
24333 build_class_files
=yes
24336 as_fn_error
"unknown value given to --with-glibj" "$LINENO" 5
24341 install_class_files
=no
24346 if test "x${use_zip}" = xyes
; then
24347 INSTALL_GLIBJ_ZIP_TRUE
=
24348 INSTALL_GLIBJ_ZIP_FALSE
='#'
24350 INSTALL_GLIBJ_ZIP_TRUE
='#'
24351 INSTALL_GLIBJ_ZIP_FALSE
=
24354 if test "x${install_class_files}" = xyes
; then
24355 INSTALL_CLASS_FILES_TRUE
=
24356 INSTALL_CLASS_FILES_FALSE
='#'
24358 INSTALL_CLASS_FILES_TRUE
='#'
24359 INSTALL_CLASS_FILES_FALSE
=
24362 if test "x${build_class_files}" = xyes
; then
24363 BUILD_CLASS_FILES_TRUE
=
24364 BUILD_CLASS_FILES_FALSE
='#'
24366 BUILD_CLASS_FILES_TRUE
='#'
24367 BUILD_CLASS_FILES_FALSE
=
24371 # Check whether --enable-examples was given.
24372 if test "${enable_examples+set}" = set; then :
24373 enableval
=$enable_examples; case "${enableval}" in
24374 yes) EXAMPLESDIR
="examples" ;;
24375 no
) EXAMPLESDIR
="" ;;
24376 *) as_fn_error
"bad value ${enableval} for --enable-examples" "$LINENO" 5 ;;
24379 EXAMPLESDIR
="examples"
24382 if test "x${build_class_files}" = xno
; then
24387 # Check whether --enable-tools was given.
24388 if test "${enable_tools+set}" = set; then :
24389 enableval
=$enable_tools; case "${enableval}" in
24390 yes) TOOLSDIR
="tools" ;;
24392 *) as_fn_error
"bad value ${enableval} for --enable-tools" "$LINENO" 5 ;;
24398 if test "x${build_class_files}" = xno
; then
24406 # Check whether --with-gjdoc was given.
24407 if test "${with_gjdoc+set}" = set; then :
24408 withval
=$with_gjdoc; if test "x${withval}" = xno
; then
24410 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
24412 # Extract the first word of "gjdoc", so it can be a program name with args.
24413 set dummy gjdoc
; ac_word
=$2
24414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24415 $as_echo_n "checking for $ac_word... " >&6; }
24416 if test "${ac_cv_path_GJDOC+set}" = set; then :
24417 $as_echo_n "(cached) " >&6
24421 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
24424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24425 for as_dir
in $PATH
24428 test -z "$as_dir" && as_dir
=.
24429 for ac_exec_ext
in '' $ac_executable_extensions; do
24430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24431 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
24432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24439 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
24443 GJDOC
=$ac_cv_path_GJDOC
24444 if test -n "$GJDOC"; then
24445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GJDOC" >&5
24446 $as_echo "$GJDOC" >&6; }
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24449 $as_echo "no" >&6; }
24453 if test "x${GJDOC}" = xno
; then
24454 as_fn_error
"\"gjdoc executable not found\"" "$LINENO" 5;
24459 as_ac_File
=`$as_echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
24460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${GJDOC}" >&5
24461 $as_echo_n "checking for ${GJDOC}... " >&6; }
24462 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
24463 $as_echo_n "(cached) " >&6
24465 test "$cross_compiling" = yes &&
24466 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
24467 if test -r "${GJDOC}"; then
24468 eval "$as_ac_File=yes"
24470 eval "$as_ac_File=no"
24473 eval ac_res
=\$
$as_ac_File
24474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24475 $as_echo "$ac_res" >&6; }
24476 eval as_val
=\$
$as_ac_File
24477 if test "x$as_val" = x
""yes; then :
24480 as_fn_error
"\"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" "$LINENO" 5
24488 if test "x${WITH_GJDOC}" = xyes
; then
24489 CREATE_API_DOCS_TRUE
=
24490 CREATE_API_DOCS_FALSE
='#'
24492 CREATE_API_DOCS_TRUE
='#'
24493 CREATE_API_DOCS_FALSE
=
24496 if test "x${WITH_GJDOC}" = xyes
; then
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of GJDoc" >&5
24498 $as_echo_n "checking version of GJDoc... " >&6; }
24499 gjdoc_version
=$
(${GJDOC} --version|cut
-d ' ' -f2)
24500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gjdoc_version}" >&5
24501 $as_echo "${gjdoc_version}" >&6; }
24502 case ${gjdoc_version} in
24507 *) as_fn_error
"Building documentation requires GJDoc >= 0.7.9, ${gjdoc_version} found." "$LINENO" 5 ;;
24514 # Check whether --with-jay was given.
24515 if test "${with_jay+set}" = set; then :
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
24518 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
24521 if test "x${withval}" = xno
; then
24522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24523 $as_echo "no" >&6; }
24524 elif test "x${withval}" = xyes
; then
24525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24526 $as_echo "yes" >&6; }
24527 JAY_DIR_PATH
="/usr/share/jay"
24528 elif test -d "${withval}"; then
24529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24530 $as_echo "yes" >&6; }
24531 JAY_DIR_PATH
="${withval}"
24532 elif test -f "${withval}"; then
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24534 $as_echo "yes" >&6; }
24535 JAY_DIR_PATH
=`dirname "${withval}"`
24538 as_fn_error
"jay not found at ${withval}" "$LINENO" 5
24541 if test "x${JAY_DIR_PATH}" != x
; then
24542 # Extract the first word of "jay", so it can be a program name with args.
24543 set dummy jay
; ac_word
=$2
24544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24545 $as_echo_n "checking for $ac_word... " >&6; }
24546 if test "${ac_cv_path_JAY+set}" = set; then :
24547 $as_echo_n "(cached) " >&6
24551 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
24554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24555 as_dummy
="${JAY_DIR_PATH}:${PATH}"
24556 for as_dir
in $as_dummy
24559 test -z "$as_dir" && as_dir
=.
24560 for ac_exec_ext
in '' $ac_executable_extensions; do
24561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24562 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
24563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24570 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
24574 JAY
=$ac_cv_path_JAY
24575 if test -n "$JAY"; then
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAY" >&5
24577 $as_echo "$JAY" >&6; }
24579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24580 $as_echo "no" >&6; }
24584 if test "x${JAY}" = xno
; then
24585 as_fn_error
"jay executable not found" "$LINENO" 5;
24587 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
24588 as_ac_File
=`$as_echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${JAY_SKELETON}" >&5
24590 $as_echo_n "checking for ${JAY_SKELETON}... " >&6; }
24591 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
24592 $as_echo_n "(cached) " >&6
24594 test "$cross_compiling" = yes &&
24595 as_fn_error
"cannot check for file existence when cross compiling" "$LINENO" 5
24596 if test -r "${JAY_SKELETON}"; then
24597 eval "$as_ac_File=yes"
24599 eval "$as_ac_File=no"
24602 eval ac_res
=\$
$as_ac_File
24603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24604 $as_echo "$ac_res" >&6; }
24605 eval as_val
=\$
$as_ac_File
24606 if test "x$as_val" = x
""yes; then :
24609 as_fn_error
"Expected skeleton file in ${JAY_DIR_PATH}" "$LINENO" 5
24617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
24618 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24620 $as_echo "no" >&6; }
24625 if test "x${JAY_FOUND}" = xyes
; then
24626 REGEN_PARSERS_TRUE
=
24627 REGEN_PARSERS_FALSE
='#'
24629 REGEN_PARSERS_TRUE
='#'
24630 REGEN_PARSERS_FALSE
=
24635 # Check whether --enable-portable-native-sync was given.
24636 if test "${enable_portable_native_sync+set}" = set; then :
24637 enableval
=$enable_portable_native_sync; case "${enableval}" in
24640 $as_echo "#define PORTABLE_NATIVE_SYNC 1" >>confdefs.h
24645 as_fn_error
"bad value ${enableval} for --enable-portable-native-sync" "$LINENO" 5
24651 # ------ AX CREATE STDINT H -------------------------------------
24652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
24653 $as_echo_n "checking for stdint types... " >&6; }
24654 ac_stdint_h
=`echo include/config-int.h`
24655 # try to shortcircuit - if the default include path of the compiler
24656 # can find a "stdint.h" header then we assume that all compilers can.
24657 if test "${ac_cv_header_stdint_t+set}" = set; then :
24658 $as_echo_n "(cached) " >&6
24661 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
24662 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
24663 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
24664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24665 /* end confdefs.h. */
24666 #include <stdint.h>
24670 int_least32_t v = 0;
24675 if ac_fn_c_try_compile
"$LINENO"; then :
24676 ac_cv_stdint_result
="(assuming C99 compatible system)"
24677 ac_cv_header_stdint_t
="stdint.h";
24679 ac_cv_header_stdint_t
=""
24681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24682 CXXFLAGS
="$old_CXXFLAGS"
24683 CPPFLAGS
="$old_CPPFLAGS"
24684 CFLAGS
="$old_CFLAGS"
24688 v
="... $ac_cv_header_stdint_h"
24689 if test "$ac_stdint_h" = "stdint.h" ; then
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
24691 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
24692 elif test "$ac_stdint_h" = "inttypes.h" ; then
24693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
24694 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
24695 elif test "_$ac_cv_header_stdint_t" = "_" ; then
24696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
24697 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
24699 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
24700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
24701 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
24704 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
24707 inttype_headers
=`echo | sed -e 's/,/ /g'`
24709 ac_cv_stdint_result
="(no helpful system typedefs seen)"
24711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
24712 $as_echo_n "checking for stdint uintptr_t... " >&6; }
24713 if test "${ac_cv_header_stdint_x+set}" = set; then :
24714 $as_echo_n "(cached) " >&6
24717 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
24718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24719 $as_echo "(..)" >&6; }
24720 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
24721 unset ac_cv_type_uintptr_t
24722 unset ac_cv_type_uint64_t
24723 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
24725 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
24726 ac_cv_header_stdint_x
=$i
24731 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
24733 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
24739 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
24743 $as_echo_n "checking for stdint uintptr_t... " >&6; }
24746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
24747 $as_echo "$ac_cv_header_stdint_x" >&6; }
24750 if test "_$ac_cv_header_stdint_x" = "_" ; then
24752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
24753 $as_echo_n "checking for stdint uint32_t... " >&6; }
24754 if test "${ac_cv_header_stdint_o+set}" = set; then :
24755 $as_echo_n "(cached) " >&6
24758 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
24759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24760 $as_echo "(..)" >&6; }
24761 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
24762 unset ac_cv_type_uint32_t
24763 unset ac_cv_type_uint64_t
24764 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
24766 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
24767 ac_cv_header_stdint_o
=$i
24772 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
24774 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
24780 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
24784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
24785 $as_echo_n "checking for stdint uint32_t... " >&6; }
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
24789 $as_echo "$ac_cv_header_stdint_o" >&6; }
24793 if test "_$ac_cv_header_stdint_x" = "_" ; then
24794 if test "_$ac_cv_header_stdint_o" = "_" ; then
24796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
24797 $as_echo_n "checking for stdint u_int32_t... " >&6; }
24798 if test "${ac_cv_header_stdint_u+set}" = set; then :
24799 $as_echo_n "(cached) " >&6
24802 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
24803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24804 $as_echo "(..)" >&6; }
24805 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
24806 unset ac_cv_type_u_int32_t
24807 unset ac_cv_type_u_int64_t
24808 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
24810 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
24811 ac_cv_header_stdint_u
=$i
24816 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
24818 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
24824 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
24828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
24829 $as_echo_n "checking for stdint u_int32_t... " >&6; }
24832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
24833 $as_echo "$ac_cv_header_stdint_u" >&6; }
24837 if test "_$ac_cv_header_stdint_x" = "_" ; then
24838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
24839 $as_echo_n "checking for stdint datatype model... " >&6; }
24840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24841 $as_echo "(..)" >&6; }
24843 # The cast to long int works around a bug in the HP C Compiler
24844 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24845 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24846 # This bug is HP SR number 8606223364.
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
24848 $as_echo_n "checking size of char... " >&6; }
24849 if test "${ac_cv_sizeof_char+set}" = set; then :
24850 $as_echo_n "(cached) " >&6
24852 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
24855 if test "$ac_cv_type_char" = yes; then
24856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24858 { as_fn_set_status
77
24859 as_fn_error
"cannot compute sizeof (char)
24860 See \`config.log' for more details." "$LINENO" 5; }; }
24862 ac_cv_sizeof_char
=0
24867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
24868 $as_echo "$ac_cv_sizeof_char" >&6; }
24872 cat >>confdefs.h
<<_ACEOF
24873 #define SIZEOF_CHAR $ac_cv_sizeof_char
24877 # The cast to long int works around a bug in the HP C Compiler
24878 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24879 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24880 # This bug is HP SR number 8606223364.
24881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
24882 $as_echo_n "checking size of short... " >&6; }
24883 if test "${ac_cv_sizeof_short+set}" = set; then :
24884 $as_echo_n "(cached) " >&6
24886 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
24889 if test "$ac_cv_type_short" = yes; then
24890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24892 { as_fn_set_status
77
24893 as_fn_error
"cannot compute sizeof (short)
24894 See \`config.log' for more details." "$LINENO" 5; }; }
24896 ac_cv_sizeof_short
=0
24901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
24902 $as_echo "$ac_cv_sizeof_short" >&6; }
24906 cat >>confdefs.h
<<_ACEOF
24907 #define SIZEOF_SHORT $ac_cv_sizeof_short
24911 # The cast to long int works around a bug in the HP C Compiler
24912 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24913 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24914 # This bug is HP SR number 8606223364.
24915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
24916 $as_echo_n "checking size of int... " >&6; }
24917 if test "${ac_cv_sizeof_int+set}" = set; then :
24918 $as_echo_n "(cached) " >&6
24920 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
24923 if test "$ac_cv_type_int" = yes; then
24924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24926 { as_fn_set_status
77
24927 as_fn_error
"cannot compute sizeof (int)
24928 See \`config.log' for more details." "$LINENO" 5; }; }
24935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
24936 $as_echo "$ac_cv_sizeof_int" >&6; }
24940 cat >>confdefs.h
<<_ACEOF
24941 #define SIZEOF_INT $ac_cv_sizeof_int
24945 # The cast to long int works around a bug in the HP C Compiler
24946 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24947 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24948 # This bug is HP SR number 8606223364.
24949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
24950 $as_echo_n "checking size of long... " >&6; }
24951 if test "${ac_cv_sizeof_long+set}" = set; then :
24952 $as_echo_n "(cached) " >&6
24954 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
24957 if test "$ac_cv_type_long" = yes; then
24958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24960 { as_fn_set_status
77
24961 as_fn_error
"cannot compute sizeof (long)
24962 See \`config.log' for more details." "$LINENO" 5; }; }
24964 ac_cv_sizeof_long
=0
24969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
24970 $as_echo "$ac_cv_sizeof_long" >&6; }
24974 cat >>confdefs.h
<<_ACEOF
24975 #define SIZEOF_LONG $ac_cv_sizeof_long
24979 # The cast to long int works around a bug in the HP C Compiler
24980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24982 # This bug is HP SR number 8606223364.
24983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
24984 $as_echo_n "checking size of void*... " >&6; }
24985 if test "${ac_cv_sizeof_voidp+set}" = set; then :
24986 $as_echo_n "(cached) " >&6
24988 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
24991 if test "$ac_cv_type_voidp" = yes; then
24992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24994 { as_fn_set_status
77
24995 as_fn_error
"cannot compute sizeof (void*)
24996 See \`config.log' for more details." "$LINENO" 5; }; }
24998 ac_cv_sizeof_voidp
=0
25003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
25004 $as_echo "$ac_cv_sizeof_voidp" >&6; }
25008 cat >>confdefs.h
<<_ACEOF
25009 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
25013 ac_cv_char_data_model
=""
25014 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
25015 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
25016 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
25017 ac_cv_long_data_model
=""
25018 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
25019 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
25020 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
25021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
25022 $as_echo_n "checking data model... " >&6; }
25023 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
25024 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
25025 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
25026 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
25027 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
25028 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
25029 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
25030 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
25031 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
25032 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
25033 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
25034 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
25035 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
25036 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
25037 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
25038 222/*|
333/*|
444/*|
666/*|
888/*) :
25039 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
25040 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
25043 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
25047 if test "_$ac_cv_header_stdint_x" != "_" ; then
25048 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
25049 elif test "_$ac_cv_header_stdint_o" != "_" ; then
25050 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
25051 elif test "_$ac_cv_header_stdint_u" != "_" ; then
25052 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
25054 ac_cv_header_stdint
="stddef.h"
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
25058 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
25059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
25060 $as_echo "($ac_cv_header_stdint)" >&6; }
25061 unset ac_cv_type_int_least32_t
25062 unset ac_cv_type_int_fast32_t
25063 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
25065 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
25069 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
25071 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
25075 ac_fn_c_check_type
"$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
25077 if test "x$ac_cv_type_intmax_t" = x
""yes; then :
25082 fi # shortcircut to system "stdint.h"
25083 # ------------------ PREPARE VARIABLES ------------------------------
25084 if test "$GCC" = "yes" ; then
25085 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
25087 ac_cv_stdint_message
="using $CC"
25090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
25091 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
25093 # ----------------- DONE inttypes.h checks START header -------------
25094 ac_config_commands
="$ac_config_commands $ac_stdint_h"
25099 # Check whether --with-glibj_zip was given.
25100 if test "${with_glibj_zip+set}" = set; then :
25101 withval
=$with_glibj_zip;
25105 case "$with_glibj_zip" in
25107 use_glibj_zip
=false
25110 use_glibj_zip
=false
25113 as_fn_error
"Please suply an absolute path to a prebuilt glibj.zip" "$LINENO" 5
25117 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
25121 if test x
$use_glibj_zip = xtrue
; then
25122 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
25123 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
25125 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
25126 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
25131 if test "x${TOOLSDIR}" != x
; then
25132 if test "x${COMPILE_WRAPPERS}" = xno
&& test "x${enable_java_maintainer_mode}" = xyes
; then
25135 if test "x$JAVAPREFIX" = x
; then
25136 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
25138 # Extract the first word of "$ac_prog", so it can be a program name with args.
25139 set dummy
$ac_prog; ac_word
=$2
25140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25141 $as_echo_n "checking for $ac_word... " >&6; }
25142 if test "${ac_cv_prog_JAVA+set}" = set; then :
25143 $as_echo_n "(cached) " >&6
25145 if test -n "$JAVA"; then
25146 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
25148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25149 for as_dir
in $PATH
25152 test -z "$as_dir" && as_dir
=.
25153 for ac_exec_ext
in '' $ac_executable_extensions; do
25154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25155 ac_cv_prog_JAVA
="$ac_prog"
25156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25165 JAVA
=$ac_cv_prog_JAVA
25166 if test -n "$JAVA"; then
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
25168 $as_echo "$JAVA" >&6; }
25170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25171 $as_echo "no" >&6; }
25175 test -n "$JAVA" && break
25179 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
25181 # Extract the first word of "$ac_prog", so it can be a program name with args.
25182 set dummy
$ac_prog; ac_word
=$2
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25184 $as_echo_n "checking for $ac_word... " >&6; }
25185 if test "${ac_cv_prog_JAVA+set}" = set; then :
25186 $as_echo_n "(cached) " >&6
25188 if test -n "$JAVA"; then
25189 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
25191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25192 for as_dir
in $PATH
25195 test -z "$as_dir" && as_dir
=.
25196 for ac_exec_ext
in '' $ac_executable_extensions; do
25197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25198 ac_cv_prog_JAVA
="$ac_prog"
25199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25208 JAVA
=$ac_cv_prog_JAVA
25209 if test -n "$JAVA"; then
25210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
25211 $as_echo "$JAVA" >&6; }
25213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25214 $as_echo "no" >&6; }
25218 test -n "$JAVA" && break
25220 test -n "$JAVA" || JAVA
="$JAVAPREFIX"
25223 test "x$JAVA" = x
&& as_fn_error
"no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
25226 ECJ_OPTS
="-warn:-deprecation,serial,unusedImport,unusedPrivate,resource"
25227 JAVAC_OPTS
="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
25229 if test "x$JAVAPREFIX" = x
; then
25230 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"
25232 # Extract the first word of "$ac_prog", so it can be a program name with args.
25233 set dummy
$ac_prog; ac_word
=$2
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25235 $as_echo_n "checking for $ac_word... " >&6; }
25236 if test "${ac_cv_prog_JAVAC+set}" = set; then :
25237 $as_echo_n "(cached) " >&6
25239 if test -n "$JAVAC"; then
25240 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
25242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25243 for as_dir
in $PATH
25246 test -z "$as_dir" && as_dir
=.
25247 for ac_exec_ext
in '' $ac_executable_extensions; do
25248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25249 ac_cv_prog_JAVAC
="$ac_prog"
25250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25259 JAVAC
=$ac_cv_prog_JAVAC
25260 if test -n "$JAVAC"; then
25261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
25262 $as_echo "$JAVAC" >&6; }
25264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25265 $as_echo "no" >&6; }
25269 test -n "$JAVAC" && break
25273 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"
25275 # Extract the first word of "$ac_prog", so it can be a program name with args.
25276 set dummy
$ac_prog; ac_word
=$2
25277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25278 $as_echo_n "checking for $ac_word... " >&6; }
25279 if test "${ac_cv_prog_JAVAC+set}" = set; then :
25280 $as_echo_n "(cached) " >&6
25282 if test -n "$JAVAC"; then
25283 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
25285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25286 for as_dir
in $PATH
25289 test -z "$as_dir" && as_dir
=.
25290 for ac_exec_ext
in '' $ac_executable_extensions; do
25291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25292 ac_cv_prog_JAVAC
="$ac_prog"
25293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25302 JAVAC
=$ac_cv_prog_JAVAC
25303 if test -n "$JAVAC"; then
25304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
25305 $as_echo "$JAVAC" >&6; }
25307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25308 $as_echo "no" >&6; }
25312 test -n "$JAVAC" && break
25314 test -n "$JAVAC" || JAVAC
="$JAVAPREFIX"
25317 test "x$JAVAC" = x
&& as_fn_error
"no acceptable Java compiler found in \$PATH" "$LINENO" 5
25318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC is a version of gcj" >&5
25319 $as_echo_n "checking if $JAVAC is a version of gcj... " >&6; }
25320 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then :
25321 $as_echo_n "(cached) " >&6
25324 if $JAVAC --version 2>&1 |
grep gcj
>&5 ; then
25325 ac_cv_prog_javac_is_gcj
=yes;
25326 JAVAC
="$JAVAC $GCJ_OPTS";
25328 ac_cv_prog_javac_is_gcj
=no
;
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_is_gcj" >&5
25333 $as_echo "$ac_cv_prog_javac_is_gcj" >&6; }
25334 JAVAC_IS_GCJ
=$ac_cv_prog_javac_is_gcj
25336 if test x
"${JAVAC_IS_GCJ}" = xyes
; then
25338 GCJ_JAVAC_FALSE
='#'
25347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
25348 $as_echo_n "checking if $JAVAC works... " >&6; }
25349 if test "${ac_cv_prog_javac_works+set}" = set; then :
25350 $as_echo_n "(cached) " >&6
25353 JAVA_TEST
=Object.java
25354 CLASS_TEST
=Object.class
25355 cat << \EOF
> $JAVA_TEST
25356 /* #line 25356 "configure" */
25359 public class Object
25361 static
<T
> void doStuff
()
25366 if test x
$JAVAC_IS_GCJ = xyes
; then
25367 CMD
="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
25369 CMD
="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
25372 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
25373 (eval $ac_try) 2>&5
25375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25376 test $ac_status = 0; }; } >/dev
/null
2>&1; then
25377 ac_cv_prog_javac_works
=yes
25379 as_fn_error
"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
25380 echo "configure: failed program was:" >&5
25383 rm -f $JAVA_TEST $CLASS_TEST
25386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
25387 $as_echo "$ac_cv_prog_javac_works" >&6; }
25391 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
25392 set dummy
uudecode$EXEEXT; ac_word
=$2
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25394 $as_echo_n "checking for $ac_word... " >&6; }
25395 if test "${ac_cv_prog_uudecode+set}" = set; then :
25396 $as_echo_n "(cached) " >&6
25398 if test -n "$uudecode"; then
25399 ac_cv_prog_uudecode
="$uudecode" # Let the user override the test.
25401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25402 for as_dir
in $PATH
25405 test -z "$as_dir" && as_dir
=.
25406 for ac_exec_ext
in '' $ac_executable_extensions; do
25407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25408 ac_cv_prog_uudecode
="yes"
25409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25418 uudecode=$ac_cv_prog_uudecode
25419 if test -n "$uudecode"; then
25420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
25421 $as_echo "$uudecode" >&6; }
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25424 $as_echo "no" >&6; }
25428 if test x
$uudecode = xyes
; then
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
25430 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
25431 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :
25432 $as_echo_n "(cached) " >&6
25435 cat << \EOF
> Test.uue
25436 begin-base64
644 Test.class
25437 yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
25438 bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
25439 bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
25440 YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
25441 aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
25442 AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
25443 AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ
=
25446 if uudecode$EXEEXT Test.uue
; then
25447 ac_cv_prog_uudecode_base64
=yes
25449 echo "configure: 25449: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
25450 echo "configure: failed file was:" >&5
25452 ac_cv_prog_uudecode_base64
=no
25456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
25457 $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
25459 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
25461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
25462 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
25463 if test x
$ac_cv_prog_javac_works = xno
; then
25464 as_fn_error
"Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
25467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
25468 $as_echo_n "checking if $JAVA works... " >&6; }
25469 if test "${ac_cv_prog_java_works+set}" = set; then :
25470 $as_echo_n "(cached) " >&6
25473 JAVA_TEST
=Test.java
25474 CLASS_TEST
=Test.class
25476 cat << \EOF
> $JAVA_TEST
25477 /* [#]line 25477 "configure" */
25478 public class Test
{
25479 public static void main
(String args
[]) {
25483 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
25485 if { ac_try
='$JAVAC $JAVACFLAGS $JAVA_TEST'
25486 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
25487 (eval $ac_try) 2>&5
25489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25490 test $ac_status = 0; }; } && test -s $CLASS_TEST; then
25493 echo "configure: failed program was:" >&5
25495 as_fn_error
"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
25498 if { ac_try
='CLASSPATH=.:$CLASSPATH $JAVA $JAVAFLAGS $TEST'
25499 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
25500 (eval $ac_try) 2>&5
25502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25503 test $ac_status = 0; }; } >/dev
/null
2>&1; then
25504 ac_cv_prog_java_works
=yes
25506 echo "configure: failed program was:" >&5
25508 as_fn_error
"The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
25510 rm -fr $JAVA_TEST $CLASS_TEST Test.uue
25513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
25514 $as_echo "$ac_cv_prog_java_works" >&6; }
25518 if test "x${COMPILE_GJDOC}" = xyes
; then
25520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the ANTLR parser generator JAR file" >&5
25521 $as_echo_n "checking for the ANTLR parser generator JAR file... " >&6; }
25522 if test -z "$ANTLR_JAR"; then
25523 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
25524 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
25526 if test -f "$antlr_lib_home/antlr.jar"; then
25527 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
25532 test -f $ANTLR_JAR || as_fn_error
"specified ANTLR jar file $ANTLR_JAR not found." "$LINENO" 5 \
25533 && { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
25534 $as_echo "$ANTLR_JAR" >&6; }
25537 if test "x${REGENERATE_GJDOC_PARSER}" = xyes
&& test "x${enable_java_maintainer_mode}" = xyes
; then
25539 if test -n "$ac_tool_prefix"; then
25540 for ac_prog
in cantlr runantlr antlr
25542 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
25543 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25545 $as_echo_n "checking for $ac_word... " >&6; }
25546 if test "${ac_cv_prog_ANTLR+set}" = set; then :
25547 $as_echo_n "(cached) " >&6
25549 if test -n "$ANTLR"; then
25550 ac_cv_prog_ANTLR
="$ANTLR" # Let the user override the test.
25552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25553 for as_dir
in $PATH
25556 test -z "$as_dir" && as_dir
=.
25557 for ac_exec_ext
in '' $ac_executable_extensions; do
25558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25559 ac_cv_prog_ANTLR
="$ac_tool_prefix$ac_prog"
25560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25569 ANTLR
=$ac_cv_prog_ANTLR
25570 if test -n "$ANTLR"; then
25571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR" >&5
25572 $as_echo "$ANTLR" >&6; }
25574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25575 $as_echo "no" >&6; }
25579 test -n "$ANTLR" && break
25582 if test -z "$ANTLR"; then
25584 for ac_prog
in cantlr runantlr antlr
25586 # Extract the first word of "$ac_prog", so it can be a program name with args.
25587 set dummy
$ac_prog; ac_word
=$2
25588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25589 $as_echo_n "checking for $ac_word... " >&6; }
25590 if test "${ac_cv_prog_ac_ct_ANTLR+set}" = set; then :
25591 $as_echo_n "(cached) " >&6
25593 if test -n "$ac_ct_ANTLR"; then
25594 ac_cv_prog_ac_ct_ANTLR
="$ac_ct_ANTLR" # Let the user override the test.
25596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25597 for as_dir
in $PATH
25600 test -z "$as_dir" && as_dir
=.
25601 for ac_exec_ext
in '' $ac_executable_extensions; do
25602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25603 ac_cv_prog_ac_ct_ANTLR
="$ac_prog"
25604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25613 ac_ct_ANTLR
=$ac_cv_prog_ac_ct_ANTLR
25614 if test -n "$ac_ct_ANTLR"; then
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ANTLR" >&5
25616 $as_echo "$ac_ct_ANTLR" >&6; }
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25619 $as_echo "no" >&6; }
25623 test -n "$ac_ct_ANTLR" && break
25626 if test "x$ac_ct_ANTLR" = x
; then
25629 case $cross_compiling:$ac_tool_warned in
25631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25633 ac_tool_warned
=yes ;;
25639 if test "x$ANTLR" = x
; then
25640 if test -z "$JAVA"; then
25641 as_fn_error
"Failed to find either an antlr binary or a suitable Java runtime for ANTLR." "$LINENO" 5
25643 if test -z "$ANTLR_JAR"; then
25644 as_fn_error
"Failed to find either an antlr binary or a suitable antlr jar file." "$LINENO" 5
25646 ANTLR
="$JAVA -classpath $ANTLR_JAR antlr.Tool"
25651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr 2.7.1 or better" >&5
25652 $as_echo_n "checking for antlr 2.7.1 or better... " >&6; }
25653 antlr_version_str
=`$ANTLR 2>&1 | head -n 1 | sed '/.*Version */!d; s///;q'`
25654 if test "$antlr_version_str"; then
25655 antlr_version_regex
='s/\([[:digit:]]\+\)\.\([[:digit:]]\+\)\.\([[:digit:]]\+\).*$/'
25656 antlr_version_major
=`echo $antlr_version_str | sed "$antlr_version_regex\\1/"`
25657 antlr_version_minor
=`echo $antlr_version_str | sed "$antlr_version_regex\\2/"`
25658 antlr_version_micro
=`echo $antlr_version_str | sed "$antlr_version_regex\\3/"`
25659 (test $antlr_version_major -gt 2 || \
25660 (test $antlr_version_major -eq 2 && \
25661 test $antlr_version_minor -gt 7) || \
25662 (test $antlr_version_major -eq 2 && \
25663 test $antlr_version_minor -eq 7 && \
25664 test $antlr_version_micro -ge 1))
25666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&5
25667 $as_echo "$antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&6; }
25674 # Check for javac if we need to build either the class library,
25675 # the examples or the tools
25676 if test "x${use_glibj_zip}" = xfalse || \
25677 test "x${EXAMPLESDIR}" != x || \
25678 test "x${TOOLSDIR}" != x
&& \
25679 test "x${build_class_files}" != xno
&& \
25680 test "${enable_java_maintainer_mode}" = yes; then
25682 JAVA_TEST
=Test.java
25683 CLASS_TEST
=Test.class
25684 cat << \EOF
> $JAVA_TEST
25685 /* #line 25685 "configure" */
25688 public static void main
(String args
)
25690 System.out.println
("Hello World");
25694 if test x
$JAVAC_IS_GCJ != xyes
; then
25695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether javac supports -J" >&5
25696 $as_echo_n "checking whether javac supports -J... " >&6; }
25697 $JAVAC $JAVACFLAGS -J-Xmx768M -sourcepath '' $JAVA_TEST
25699 if test "x$javac_result" = "x0"; then
25700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25701 $as_echo "yes" >&6; }
25702 JAVAC_MEM_OPT
="-J-Xmx768M"
25704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25705 $as_echo "no" >&6; }
25708 rm -f $JAVA_TEST $CLASS_TEST
25714 GCJ_JAVAC_FALSE
='#'
25723 # Check whether --with-escher was given.
25724 if test "${with_escher+set}" = set; then :
25725 withval
=$with_escher;
25728 case "$with_escher" in
25736 as_fn_error
"Please supply an absolute path to Escher library" "$LINENO" 5
25740 PATH_TO_ESCHER
=$with_escher
25744 if test x
$use_escher = xtrue
; then
25746 USE_ESCHER_FALSE
='#'
25748 USE_ESCHER_TRUE
='#'
25754 # Check whether --enable-local-sockets was given.
25755 if test "${enable_local_sockets+set}" = set; then :
25756 enableval
=$enable_local_sockets; case "${enableval}" in
25758 ENABLE_LOCAL_SOCKETS
=yes
25761 ENABLE_LOCAL_SOCKETS
=no
25766 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
25768 ac_fn_c_check_header_mongrel
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
25769 if test "x$ac_cv_header_sys_un_h" = x
""yes; then :
25774 for ac_func
in read write bind listen accept shutdown
25776 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25777 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
25778 eval as_val
=\$
$as_ac_var
25779 if test "x$as_val" = x
""yes; then :
25780 cat >>confdefs.h
<<_ACEOF
25781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25785 as_fn_error
"networking support not available" "$LINENO" 5
25790 $as_echo "#define ENABLE_LOCAL_SOCKETS 1" >>confdefs.h
25793 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
25794 ENABLE_LOCAL_SOCKETS_TRUE
=
25795 ENABLE_LOCAL_SOCKETS_FALSE
='#'
25797 ENABLE_LOCAL_SOCKETS_TRUE
='#'
25798 ENABLE_LOCAL_SOCKETS_FALSE
=
25804 WANT_NATIVE_BIG_INTEGER
=false
25805 if test "x${COMPILE_GMP}" = xyes
; then
25806 if test "x${ac_cv_lib_gmp___gmpz_mul_si}" = xyes
; then
25807 if test "x${ac_cv_header_gmp_h}" = xyes
; then
25808 WANT_NATIVE_BIG_INTEGER
=true
25810 $as_echo "#define WITH_GNU_MP 1" >>confdefs.h
25820 if test "x${COMPILE_GMP}" = xyes
; then
25821 CREATE_GMPBI_LIBRARY_TRUE
=
25822 CREATE_GMPBI_LIBRARY_FALSE
='#'
25824 CREATE_GMPBI_LIBRARY_TRUE
='#'
25825 CREATE_GMPBI_LIBRARY_FALSE
=
25829 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"
25832 if test "x${COMPILE_WRAPPERS}" = xyes
; then
25835 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"
25838 ac_config_commands
="$ac_config_commands gappletviewer"
25840 ac_config_commands
="$ac_config_commands gjarsigner"
25842 ac_config_commands
="$ac_config_commands gkeytool"
25844 ac_config_commands
="$ac_config_commands gjar"
25846 ac_config_commands
="$ac_config_commands gnative2ascii"
25848 ac_config_commands
="$ac_config_commands gserialver"
25850 ac_config_commands
="$ac_config_commands grmiregistry"
25852 ac_config_commands
="$ac_config_commands gtnameserv"
25854 ac_config_commands
="$ac_config_commands gorbd"
25856 ac_config_commands
="$ac_config_commands grmid"
25858 ac_config_commands
="$ac_config_commands grmic"
25860 ac_config_commands
="$ac_config_commands gjavah"
25865 if test "x${COMPILE_GJDOC}" = xyes
25867 ac_config_files
="$ac_config_files tools/gjdoc"
25869 ac_config_commands
="$ac_config_commands gjdoc"
25873 ac_config_commands
="$ac_config_commands gen-classlist"
25875 ac_config_commands
="$ac_config_commands copy-vmresources"
25877 cat >confcache
<<\_ACEOF
25878 # This file is a shell script that caches the results of configure
25879 # tests run on this system so they can be shared between configure
25880 # scripts and configure runs, see configure's option --config-cache.
25881 # It is not useful on other systems. If it contains results you don't
25882 # want to keep, you may remove or edit it.
25884 # config.status only pays attention to the cache file if you give it
25885 # the --recheck option to rerun configure.
25887 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25888 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25889 # following values.
25893 # The following way of writing the cache mishandles newlines in values,
25894 # but we know of no workaround that is simple, portable, and efficient.
25895 # So, we kill variables containing newlines.
25896 # Ultrix sh set writes to stderr and can't be redirected directly,
25897 # and sets the high bit in the cache file unless we assign to the vars.
25899 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25900 eval ac_val
=\$
$ac_var
25904 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25905 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25908 _ | IFS | as_nl
) ;; #(
25909 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
25910 *) { eval $ac_var=; unset $ac_var;} ;;
25916 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25917 *${as_nl}ac_space
=\
*)
25918 # `set' does not quote correctly, so add quotes: double-quote
25919 # substitution turns \\\\ into \\, and sed turns \\ into \.
25922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25925 # `set' quotes correctly as required by POSIX, so do not add quotes.
25926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25937 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25939 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25940 if test -w "$cache_file"; then
25941 test "x$cache_file" != "x/dev/null" &&
25942 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25943 $as_echo "$as_me: updating cache $cache_file" >&6;}
25944 cat confcache
>$cache_file
25946 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25947 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25952 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25953 # Let make expand exec_prefix.
25954 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25956 DEFS
=-DHAVE_CONFIG_H
25960 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25961 # 1. Remove the extension, and $U if already installed.
25962 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
25963 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
25964 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25965 # will be set to the directory where LIBOBJS objects are built.
25966 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25967 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
25969 LIBOBJS
=$ac_libobjs
25971 LTLIBOBJS
=$ac_ltlibobjs
25974 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
25975 as_fn_error
"conditional \"JAVA_MAINTAINER_MODE\" was never defined.
25976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25978 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
25979 as_fn_error
"conditional \"GENINSRC\" was never defined.
25980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25982 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
25983 as_fn_error
"conditional \"INSTALL_BINARIES\" was never defined.
25984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25986 if test -n "$EXEEXT"; then
25988 am__EXEEXT_FALSE
='#'
25990 am__EXEEXT_TRUE
='#'
25994 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
25995 as_fn_error
"conditional \"CREATE_COLLECTIONS\" was never defined.
25996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25998 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
25999 as_fn_error
"conditional \"CREATE_JNI_LIBRARIES\" was never defined.
26000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26002 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
26003 as_fn_error
"conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
26004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26006 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
26007 as_fn_error
"conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
26008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26010 if test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_FALSE}"; then
26011 as_fn_error
"conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
26012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26014 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
26015 as_fn_error
"conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
26016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26018 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26019 as_fn_error
"conditional \"AMDEP\" was never defined.
26020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26022 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26023 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26026 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
26027 as_fn_error
"conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
26028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26030 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
26031 as_fn_error
"conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
26032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26034 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
26035 as_fn_error
"conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
26036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26038 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
26039 as_fn_error
"conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
26040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26042 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
26043 as_fn_error
"conditional \"CREATE_PLUGIN\" was never defined.
26044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26046 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
26047 as_fn_error
"conditional \"CREATE_GJDOC\" was never defined.
26048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26050 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
26051 as_fn_error
"conditional \"CREATE_JNI_HEADERS\" was never defined.
26052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26054 if test -z "${CREATE_GJDOC_PARSER_TRUE}" && test -z "${CREATE_GJDOC_PARSER_FALSE}"; then
26055 as_fn_error
"conditional \"CREATE_GJDOC_PARSER\" was never defined.
26056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26058 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
26059 as_fn_error
"conditional \"CREATE_WRAPPERS\" was never defined.
26060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26062 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26063 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26066 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26067 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
26068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26070 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26071 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26074 if test -z "${WITH_JAR_TRUE}" && test -z "${WITH_JAR_FALSE}"; then
26075 as_fn_error
"conditional \"WITH_JAR\" was never defined.
26076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26078 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
26079 as_fn_error
"conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
26080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26082 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
26083 as_fn_error
"conditional \"INSTALL_CLASS_FILES\" was never defined.
26084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26086 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
26087 as_fn_error
"conditional \"BUILD_CLASS_FILES\" was never defined.
26088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26090 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
26091 as_fn_error
"conditional \"CREATE_API_DOCS\" was never defined.
26092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26094 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
26095 as_fn_error
"conditional \"REGEN_PARSERS\" was never defined.
26096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26098 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
26099 as_fn_error
"conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
26100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26102 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
26103 as_fn_error
"conditional \"GCJ_JAVAC\" was never defined.
26104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26106 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
26107 as_fn_error
"conditional \"GCJ_JAVAC\" was never defined.
26108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26110 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
26111 as_fn_error
"conditional \"USE_ESCHER\" was never defined.
26112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26114 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
26115 as_fn_error
"conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
26116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26118 if test -z "${CREATE_GMPBI_LIBRARY_TRUE}" && test -z "${CREATE_GMPBI_LIBRARY_FALSE}"; then
26119 as_fn_error
"conditional \"CREATE_GMPBI_LIBRARY\" was never defined.
26120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26123 : ${CONFIG_STATUS=./config.status}
26125 ac_clean_files_save
=$ac_clean_files
26126 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26128 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26130 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26132 # Generated by $as_me.
26133 # Run this file to recreate the current configuration.
26134 # Compiler output produced by configure, useful for debugging
26135 # configure, is in config.log if it exists.
26138 ac_cs_recheck=false
26141 SHELL=\${CONFIG_SHELL-$SHELL}
26144 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26145 ## -------------------- ##
26146 ## M4sh Initialization. ##
26147 ## -------------------- ##
26149 # Be more Bourne compatible
26150 DUALCASE
=1; export DUALCASE
# for MKS sh
26151 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26154 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26155 # is contrary to our usage. Disable this feature.
26156 alias -g '${1+"$@"}'='"$@"'
26157 setopt NO_GLOB_SUBST
26159 case `(set -o) 2>/dev/null` in #(
26171 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26172 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26173 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26174 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26175 # Prefer a ksh shell builtin over an external printf program on Solaris,
26176 # but without wasting forks for bash or zsh.
26177 if test -z "$BASH_VERSION$ZSH_VERSION" \
26178 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26179 as_echo='print
-r --'
26180 as_echo_n='print
-rn --'
26181 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26182 as_echo='printf %s
\n'
26183 as_echo_n='printf %s
'
26185 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26186 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26187 as_echo_n='/usr
/ucb
/echo -n'
26189 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26190 as_echo_n_body='eval
26194 expr "X$arg" : "X\\(.*\\)$as_nl";
26195 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26197 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26199 export as_echo_n_body
26200 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26202 export as_echo_body
26203 as_echo='sh
-c $as_echo_body as_echo
'
26206 # The user is always right.
26207 if test "${PATH_SEPARATOR+set}" != set; then
26209 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26210 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26217 # We need space, tab and new line, in precisely that order. Quoting is
26218 # there to prevent editors from complaining about space-tab.
26219 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26220 # splitting by setting IFS to empty value.)
26223 # Find who we are. Look in the path if we contain no directory separator.
26225 *[\\/]* ) as_myself=$0 ;;
26226 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26227 for as_dir in $PATH
26230 test -z "$as_dir" && as_dir=.
26231 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26237 # We did not find ourselves, most probably we were run as `sh COMMAND'
26238 # in which case we are not to be found in the path.
26239 if test "x$as_myself" = x
; then
26242 if test ! -f "$as_myself"; then
26243 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26247 # Unset variables that we do not need and which cause bugs (e.g. in
26248 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26249 # suppresses any "Segmentation fault" message there. '((' could
26250 # trigger a bug in pdksh 5.2.14.
26251 for as_var
in BASH_ENV ENV MAIL MAILPATH
26252 do eval test x\
${$as_var+set} = xset \
26253 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26266 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26269 # as_fn_error ERROR [LINENO LOG_FD]
26270 # ---------------------------------
26271 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26272 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26273 # script with status $?, using 1 if that was 0.
26276 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26278 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26279 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26281 $as_echo "$as_me: error: $1" >&2
26282 as_fn_exit
$as_status
26286 # as_fn_set_status STATUS
26287 # -----------------------
26288 # Set $? to STATUS, without forking.
26289 as_fn_set_status
()
26292 } # as_fn_set_status
26294 # as_fn_exit STATUS
26295 # -----------------
26296 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26300 as_fn_set_status
$1
26306 # Portably unset VAR.
26309 { eval $1=; unset $1;}
26311 as_unset
=as_fn_unset
26312 # as_fn_append VAR VALUE
26313 # ----------------------
26314 # Append the text in VALUE to the end of the definition contained in VAR. Take
26315 # advantage of any shell optimizations that allow amortized linear growth over
26316 # repeated appends, instead of the typical quadratic growth present in naive
26318 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26319 eval 'as_fn_append ()
26330 # as_fn_arith ARG...
26331 # ------------------
26332 # Perform arithmetic evaluation on the ARGs, and store the result in the
26333 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26334 # must be portable across $(()) and expr.
26335 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
26336 eval 'as_fn_arith ()
26343 as_val
=`expr "$@" || test $? -eq 1`
26348 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26349 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26355 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26356 as_basename
=basename
26361 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26367 as_me
=`$as_basename -- "$0" ||
26368 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26369 X"$0" : 'X\(//\)$' \| \
26370 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26372 sed '/^.*\/\([^/][^/]*\)\/*$/{
26386 # Avoid depending upon Character Ranges.
26387 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26388 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26389 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26390 as_cr_digits
='0123456789'
26391 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26393 ECHO_C
= ECHO_N
= ECHO_T
=
26394 case `echo -n x` in #(((((
26396 case `echo 'xy\c'` in
26397 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
26399 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
26406 rm -f conf$$ conf$$.exe conf$$.
file
26407 if test -d conf$$.dir
; then
26408 rm -f conf$$.dir
/conf$$.
file
26411 mkdir conf$$.dir
2>/dev
/null
26413 if (echo >conf$$.
file) 2>/dev
/null
; then
26414 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26416 # ... but there are two gotchas:
26417 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26418 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26419 # In both cases, we have to default to `cp -p'.
26420 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
26422 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26430 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
26431 rmdir conf$$.dir
2>/dev
/null
26436 # Create "$as_dir" as a directory, including parents if necessary.
26441 -*) as_dir
=.
/$as_dir;;
26443 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
26447 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26448 *) as_qdir
=$as_dir;;
26450 as_dirs
="'$as_qdir' $as_dirs"
26451 as_dir
=`$as_dirname -- "$as_dir" ||
26452 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26453 X"$as_dir" : 'X\(//\)[^/]' \| \
26454 X"$as_dir" : 'X\(//\)$' \| \
26455 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26456 $as_echo X"$as_dir" |
26457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26461 /^X\(\/\/\)[^/].*/{
26474 test -d "$as_dir" && break
26476 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
26477 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
26481 if mkdir
-p .
2>/dev
/null
; then
26482 as_mkdir_p
='mkdir -p "$as_dir"'
26484 test -d .
/-p && rmdir .
/-p
26488 if test -x / >/dev
/null
2>&1; then
26489 as_test_x
='test -x'
26491 if ls -dL / >/dev
/null
2>&1; then
26498 if test -d "$1"; then
26504 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26505 ???[sx]*):;;*)false;;esac;fi
26509 as_executable_p
=$as_test_x
26511 # Sed expression to map a string onto a valid CPP name.
26512 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26514 # Sed expression to map a string onto a valid variable name.
26515 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26519 ## ----------------------------------- ##
26520 ## Main body of $CONFIG_STATUS script. ##
26521 ## ----------------------------------- ##
26523 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
26525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26526 # Save the log message, to keep $0 and so on meaningful, and to
26527 # report actual input values of CONFIG_FILES etc. instead of their
26528 # values after options handling.
26530 This file was extended by GNU Classpath $as_me 0.99.1-pre, which was
26531 generated by GNU Autoconf 2.64. Invocation command line was
26533 CONFIG_FILES = $CONFIG_FILES
26534 CONFIG_HEADERS = $CONFIG_HEADERS
26535 CONFIG_LINKS = $CONFIG_LINKS
26536 CONFIG_COMMANDS = $CONFIG_COMMANDS
26539 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26544 case $ac_config_files in *"
26545 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
26548 case $ac_config_headers in *"
26549 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
26553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26554 # Files that config.status was made for.
26555 config_files="$ac_config_files"
26556 config_headers="$ac_config_headers"
26557 config_links="$ac_config_links"
26558 config_commands="$ac_config_commands"
26562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26564 \`$as_me' instantiates files and other configuration actions
26565 from templates according to the current configuration. Unless the files
26566 and actions are specified as TAGs, all are instantiated by default.
26568 Usage: $0 [OPTION]... [TAG]...
26570 -h, --help print this help, then exit
26571 -V, --version print version number and configuration settings, then exit
26572 -q, --quiet, --silent
26573 do not print progress messages
26574 -d, --debug don't remove temporary files
26575 --recheck update $as_me by reconfiguring in the same conditions
26576 --file=FILE[:TEMPLATE]
26577 instantiate the configuration file FILE
26578 --header=FILE[:TEMPLATE]
26579 instantiate the configuration header FILE
26581 Configuration files:
26584 Configuration headers:
26587 Configuration links:
26590 Configuration commands:
26593 Report bugs to <classpath@gnu.org>.
26594 GNU Classpath home page: <http://www.gnu.org/software/classpath/>.
26595 General help using GNU software: <http://www.gnu.org/gethelp/>."
26598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26600 GNU Classpath config.status 0.99.1-pre
26601 configured by $0, generated by GNU Autoconf 2.64,
26602 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26604 Copyright (C) 2009 Free Software Foundation, Inc.
26605 This config.status script is free software; the Free Software Foundation
26606 gives unlimited permission to copy, distribute and modify it."
26613 test -n "\$AWK" || AWK=awk
26616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26617 # The default lists apply if the user does not specify any file.
26623 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
26624 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
26635 # Handling of the options.
26636 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
26638 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
26639 $as_echo "$ac_cs_version"; exit ;;
26640 --debug |
--debu |
--deb |
--de |
--d |
-d )
26642 --file |
--fil |
--fi |
--f )
26645 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26647 as_fn_append CONFIG_FILES
" '$ac_optarg'"
26648 ac_need_defaults
=false
;;
26649 --header |
--heade |
--head |
--hea )
26652 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26654 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
26655 ac_need_defaults
=false
;;
26657 # Conflict between --help and --header
26658 as_fn_error
"ambiguous option: \`$1'
26659 Try \`$0 --help' for more information.";;
26660 --help |
--hel |
-h )
26661 $as_echo "$ac_cs_usage"; exit ;;
26662 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
26663 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
26666 # This is an error.
26667 -*) as_fn_error
"unrecognized option: \`$1'
26668 Try \`$0 --help' for more information." ;;
26670 *) as_fn_append ac_config_targets
" $1"
26671 ac_need_defaults
=false
;;
26677 ac_configure_extra_args
=
26679 if $ac_cs_silent; then
26681 ac_configure_extra_args
="$ac_configure_extra_args --silent"
26685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26686 if \$ac_cs_recheck; then
26687 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26689 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26690 CONFIG_SHELL='$SHELL'
26691 export CONFIG_SHELL
26696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26700 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26701 ## Running $as_me. ##
26707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26715 with_multisubdir="$with_multisubdir"
26716 with_multisrctop="$with_multisrctop"
26717 with_target_subdir="$with_target_subdir"
26718 ac_configure_args="${multilib_arg} ${ac_configure_args}"
26719 multi_basedir="$multi_basedir"
26720 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
26723 GFORTRAN="$GFORTRAN"
26725 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26728 # The HP-UX ksh and POSIX shell print the target directory to stdout
26729 # if CDPATH is set.
26730 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26732 sed_quote_subst='$sed_quote_subst'
26733 double_quote_subst='$double_quote_subst'
26734 delay_variable_subst='$delay_variable_subst'
26735 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26736 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26737 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26738 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26739 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26740 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26741 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26742 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26743 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26744 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26745 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26746 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26747 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26748 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26749 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26750 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26751 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26752 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26753 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26754 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26755 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26756 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26757 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26758 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26759 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26760 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26761 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26762 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26763 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26764 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26765 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26766 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26767 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26768 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26769 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26770 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26771 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26772 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26773 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26774 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26775 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26776 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26777 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26778 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26779 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26780 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26781 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26782 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26783 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"`'
26784 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26785 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26786 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26787 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26788 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26789 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26790 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26791 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26792 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26793 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26794 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26795 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26796 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26797 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26798 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26799 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26800 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26801 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26802 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26803 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26804 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26805 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26806 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26807 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26808 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26809 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26810 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26811 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26812 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26813 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26814 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26815 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
26816 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26817 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26818 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26819 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26820 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26821 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26822 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26823 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26824 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
26825 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26826 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26827 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26828 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26829 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26830 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26831 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26832 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26833 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26834 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26835 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26836 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26837 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26838 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26839 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26840 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26841 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26842 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26843 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26844 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26845 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26846 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26847 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26848 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26849 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26850 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26851 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26852 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26853 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26854 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26855 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26856 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26857 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26858 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26859 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26860 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26861 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
26862 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
26863 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26864 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26865 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
26866 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
26867 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
26868 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
26869 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
26870 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
26871 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
26872 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
26873 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
26874 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26875 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26876 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
26877 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26878 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26879 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26880 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26881 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26882 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26883 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
26884 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26885 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26886 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26887 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
26888 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
26889 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
26890 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
26891 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
26892 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
26893 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
26894 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
26895 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
26896 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
26897 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
26898 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26899 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26900 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26901 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26902 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
26903 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
26904 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
26905 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26906 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26907 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
26908 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
26909 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26912 LTCFLAGS='$LTCFLAGS'
26913 compiler='$compiler_DEFAULT'
26915 # A function that is used when there is no print builtin or printf.
26916 func_fallback_echo ()
26918 eval 'cat <<_LTECHO_EOF
26923 # Quote evaled strings.
26937 deplibs_check_method \
26946 lt_cv_sys_global_symbol_pipe \
26947 lt_cv_sys_global_symbol_to_cdecl \
26948 lt_cv_sys_global_symbol_to_c_name_address \
26949 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26950 lt_prog_compiler_no_builtin_flag \
26951 lt_prog_compiler_wl \
26952 lt_prog_compiler_pic \
26953 lt_prog_compiler_static \
26954 lt_cv_prog_compiler_c_o \
26962 export_dynamic_flag_spec \
26963 whole_archive_flag_spec \
26964 compiler_needs_object \
26966 allow_undefined_flag \
26967 no_undefined_flag \
26968 hardcode_libdir_flag_spec \
26969 hardcode_libdir_flag_spec_ld \
26970 hardcode_libdir_separator \
26975 variables_saved_for_relink \
26977 library_names_spec \
26979 install_override_mode \
26983 compiler_lib_search_dirs \
26988 compiler_lib_search_path \
26992 lt_prog_compiler_no_builtin_flag_CXX \
26993 lt_prog_compiler_wl_CXX \
26994 lt_prog_compiler_pic_CXX \
26995 lt_prog_compiler_static_CXX \
26996 lt_cv_prog_compiler_c_o_CXX \
26997 export_dynamic_flag_spec_CXX \
26998 whole_archive_flag_spec_CXX \
26999 compiler_needs_object_CXX \
27001 allow_undefined_flag_CXX \
27002 no_undefined_flag_CXX \
27003 hardcode_libdir_flag_spec_CXX \
27004 hardcode_libdir_flag_spec_ld_CXX \
27005 hardcode_libdir_separator_CXX \
27006 fix_srcfile_path_CXX \
27007 exclude_expsyms_CXX \
27008 include_expsyms_CXX \
27009 file_list_spec_CXX \
27010 compiler_lib_search_dirs_CXX \
27011 predep_objects_CXX \
27012 postdep_objects_CXX \
27015 compiler_lib_search_path_CXX; do
27016 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27017 *[\\\\\\\`\\"\\\$]*)
27018 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27021 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27026 # Double-quote double-evaled strings.
27027 for var in reload_cmds \
27028 old_postinstall_cmds \
27029 old_postuninstall_cmds \
27031 extract_expsyms_cmds \
27032 old_archive_from_new_cmds \
27033 old_archive_from_expsyms_cmds \
27035 archive_expsym_cmds \
27037 module_expsym_cmds \
27038 export_symbols_cmds \
27041 postuninstall_cmds \
27043 sys_lib_search_path_spec \
27044 sys_lib_dlsearch_path_spec \
27046 old_archive_cmds_CXX \
27047 old_archive_from_new_cmds_CXX \
27048 old_archive_from_expsyms_cmds_CXX \
27050 archive_expsym_cmds_CXX \
27052 module_expsym_cmds_CXX \
27053 export_symbols_cmds_CXX \
27054 prelink_cmds_CXX; do
27055 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27056 *[\\\\\\\`\\"\\\$]*)
27057 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27060 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27065 ac_aux_dir='$ac_aux_dir'
27066 xsi_shell='$xsi_shell'
27067 lt_shell_append='$lt_shell_append'
27069 # See if we are running on zsh, and set the options which allow our
27070 # commands through without removal of \ escapes INIT.
27071 if test -n "\${ZSH_VERSION+set}" ; then
27072 setopt NO_GLOB_SUBST
27078 TIMESTAMP='$TIMESTAMP'
27086 # variables for create stdint.h replacement
27089 ac_stdint_h="$ac_stdint_h"
27090 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
27091 ac_cv_stdint_message="$ac_cv_stdint_message"
27092 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
27093 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
27094 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
27095 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
27096 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27097 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27098 ac_cv_char_data_model="$ac_cv_char_data_model"
27099 ac_cv_long_data_model="$ac_cv_long_data_model"
27100 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27101 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27102 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
27107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27109 # Handling of arguments.
27110 for ac_config_target
in $ac_config_targets
27112 case $ac_config_target in
27113 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27114 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
27115 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27116 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27117 "lib/mkcollections.pl") CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
27118 "mkcollections.pl") CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
27119 "$ac_config_links_1") CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
27120 "$ac_stdint_h") CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
27121 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27122 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
27123 "doc/api/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
27124 "external/Makefile") CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
27125 "external/sax/Makefile") CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
27126 "external/w3c_dom/Makefile") CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
27127 "external/relaxngDatatype/Makefile") CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
27128 "external/jsr166/Makefile") CONFIG_FILES
="$CONFIG_FILES external/jsr166/Makefile" ;;
27129 "gnu/classpath/Configuration.java") CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
27130 "gnu/java/security/Configuration.java") CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
27131 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
27132 "native/Makefile") CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
27133 "native/fdlibm/Makefile") CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
27134 "native/jawt/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
27135 "native/jni/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
27136 "native/jni/classpath/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
27137 "native/jni/java-io/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
27138 "native/jni/java-lang/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
27139 "native/jni/java-math/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-math/Makefile" ;;
27140 "native/jni/java-net/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
27141 "native/jni/java-nio/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
27142 "native/jni/java-util/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
27143 "native/jni/gtk-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
27144 "native/jni/gconf-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
27145 "native/jni/gstreamer-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gstreamer-peer/Makefile" ;;
27146 "native/jni/qt-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
27147 "native/jni/xmlj/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
27148 "native/jni/midi-alsa/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
27149 "native/jni/midi-dssi/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
27150 "native/jni/native-lib/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
27151 "native/plugin/Makefile") CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
27152 "resource/Makefile") CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
27153 "resource/META-INF/services/java.util.prefs.PreferencesFactory") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
27154 "resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ;;
27155 "resource/META-INF/services/javax.sound.sampled.spi.MixerProvider") CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ;;
27156 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
27157 "scripts/classpath.spec") CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
27158 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
27159 "lib/gen-classlist.sh") CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
27160 "lib/copy-vmresources.sh") CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
27161 "scripts/check_jni_methods.sh") CONFIG_FILES
="$CONFIG_FILES scripts/check_jni_methods.sh" ;;
27162 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
27163 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
27164 "examples/Makefile.jawt") CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
27165 "examples/Makefile.java2d") CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
27166 "tools/gappletviewer") CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
27167 "tools/gjarsigner") CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
27168 "tools/gkeytool") CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
27169 "tools/gjar") CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
27170 "tools/gnative2ascii") CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
27171 "tools/gserialver") CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
27172 "tools/grmiregistry") CONFIG_FILES
="$CONFIG_FILES tools/grmiregistry" ;;
27173 "tools/gtnameserv") CONFIG_FILES
="$CONFIG_FILES tools/gtnameserv" ;;
27174 "tools/gorbd") CONFIG_FILES
="$CONFIG_FILES tools/gorbd" ;;
27175 "tools/grmid") CONFIG_FILES
="$CONFIG_FILES tools/grmid" ;;
27176 "tools/grmic") CONFIG_FILES
="$CONFIG_FILES tools/grmic" ;;
27177 "tools/gjavah") CONFIG_FILES
="$CONFIG_FILES tools/gjavah" ;;
27178 "gappletviewer") CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
27179 "gjarsigner") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
27180 "gkeytool") CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
27181 "gjar") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
27182 "gnative2ascii") CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
27183 "gserialver") CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
27184 "grmiregistry") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmiregistry" ;;
27185 "gtnameserv") CONFIG_COMMANDS
="$CONFIG_COMMANDS gtnameserv" ;;
27186 "gorbd") CONFIG_COMMANDS
="$CONFIG_COMMANDS gorbd" ;;
27187 "grmid") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmid" ;;
27188 "grmic") CONFIG_COMMANDS
="$CONFIG_COMMANDS grmic" ;;
27189 "gjavah") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjavah" ;;
27190 "tools/gjdoc") CONFIG_FILES
="$CONFIG_FILES tools/gjdoc" ;;
27191 "gjdoc") CONFIG_COMMANDS
="$CONFIG_COMMANDS gjdoc" ;;
27192 "gen-classlist") CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
27193 "copy-vmresources") CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
27195 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27200 # If the user did not use the arguments to specify the items to instantiate,
27201 # then the envvar interface is used. Set only those that are not.
27202 # We use the long form for the default assignment because of an extremely
27203 # bizarre bug on SunOS 4.1.3.
27204 if $ac_need_defaults; then
27205 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27206 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27207 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
27208 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27211 # Have a temporary directory for convenience. Make it in the build tree
27212 # simply because there is no reason against having it here, and in addition,
27213 # creating and moving files from /tmp can sometimes cause problems.
27214 # Hook for its removal unless debugging.
27215 # Note that there is a small window in which the directory will not be cleaned:
27216 # after its creation but before its name has been assigned to `$tmp'.
27220 trap 'exit_status=$?
27221 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27223 trap 'as_fn_exit 1' 1 2 13 15
27225 # Create a (secure) tmp directory for tmp files.
27228 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27229 test -n "$tmp" && test -d "$tmp"
27232 tmp
=.
/conf$$
-$RANDOM
27233 (umask 077 && mkdir
"$tmp")
27234 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27236 # Set up the scripts for CONFIG_FILES section.
27237 # No need to generate them if there are no CONFIG_FILES.
27238 # This happens for instance with `./config.status config.h'.
27239 if test -n "$CONFIG_FILES"; then
27242 ac_cr
=`echo X | tr X '\015'`
27243 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27244 # But we know of no other shell where ac_cr would be empty at this
27245 # point, so we can use a bashism as a fallback.
27246 if test "x$ac_cr" = x
; then
27247 eval ac_cr
=\$
\'\\r
\'
27249 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27250 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27253 ac_cs_awk_cr
=$ac_cr
27256 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27261 echo "cat >conf$$subs.awk <<_ACEOF" &&
27262 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27264 } >conf$$subs.sh ||
27265 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27266 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27268 for ac_last_try in false false false false false :; do
27269 . ./conf$$subs.sh ||
27270 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27272 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27273 if test $ac_delim_n = $ac_delim_num; then
27275 elif $ac_last_try; then
27276 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27278 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27281 rm -f conf$$subs.sh
27283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27284 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27288 s/^/S["/; s
/!.
*/"]=/
27298 s/\(.\{148\}\).*/\1/
27300 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27305 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27312 s/\(.\{148\}\).*/\1/
27314 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27318 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27323 ' <conf$$subs.awk | sed '
27328 ' >>$CONFIG_STATUS || ac_write_fail=1
27329 rm -f conf$$subs.awk
27330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27332 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27333 for (key in S) S_is_set[key] = 1
27339 nfields = split(line, field, "@
")
27341 len = length(field[1])
27342 for (i = 2; i < nfields; i++) {
27344 keylen = length(key)
27345 if (S_is_set[key]) {
27347 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27348 len += length(value) + length(field[++i])
27359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27360 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27361 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27364 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27365 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27368 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27369 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27370 # trailing colons and then remove the whole line if VPATH becomes empty
27371 # (actually we leave an empty line to preserve line numbers).
27372 if test "x
$srcdir" = x.; then
27373 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27374 s/:*\$(srcdir):*/:/
27375 s/:*\${srcdir}:*/:/
27377 s/^\([^=]*=[ ]*\):*/\1/
27383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27384 fi # test -n "$CONFIG_FILES"
27386 # Set up the scripts for CONFIG_HEADERS section.
27387 # No need to generate them if there are no CONFIG_HEADERS.
27388 # This happens for instance with `./config.status Makefile'.
27389 if test -n "$CONFIG_HEADERS"; then
27390 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27394 # Transform confdefs.h into an awk script `defines.awk', embedded as
27395 # here-document in config.status, that substitutes the proper values into
27396 # config.h.in to produce config.h.
27398 # Create a delimiter string that does not exist in confdefs.h, to ease
27399 # handling of long lines.
27401 for ac_last_try in false false :; do
27402 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
27403 if test -z "$ac_t"; then
27405 elif $ac_last_try; then
27406 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
27408 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27412 # For the awk script, D is an array of macro values keyed by name,
27413 # likewise P contains macro parameters if any. Preserve backslash
27414 # newline sequences.
27416 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27418 s/.\{148\}/&'"$ac_delim"'/g
27421 s/^[ ]*#[ ]*define[ ][ ]*/ /
27428 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27430 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
27434 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
27435 D["\
1"]=" \
3\\\\\\n
"\\/p
27437 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
27442 s/.\{148\}/&'"$ac_delim"'/g
27447 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
27450 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
27452 ' <confdefs.h | sed '
27453 s/'"$ac_delim"'/"\\\
27454 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27457 for (key in D) D_is_set[key] = 1
27460 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27462 split(line, arg, " ")
27463 if (arg[1] == "#") {
27467 defundef
= substr
(arg
[1], 2)
27470 split(mac1
, mac2
, "(") #)
27472 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
27473 if (D_is_set
[macro
]) {
27474 # Preserve the white space surrounding the "#".
27475 print prefix
"define", macro P
[macro
] D
[macro
]
27478 # Replace #undef with comments. This is necessary, for example,
27479 # in the case of _POSIX_SOURCE, which is predefined and required
27480 # on some systems where configure will not decide to define it.
27481 if (defundef
== "undef") {
27482 print
"/*", prefix defundef
, macro
, "*/"
27490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27491 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
27492 fi # test -n "$CONFIG_HEADERS"
27495 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
27500 :[FHLC
]) ac_mode
=$ac_tag; continue;;
27502 case $ac_mode$ac_tag in
27504 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
27505 :[FH
]-) ac_tag
=-:-;;
27506 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
27523 -) ac_f
="$tmp/stdin";;
27524 *) # Look for the file first in the build tree, then in the source tree
27525 # (if the path is not absolute). The absolute path cannot be DOS-style,
27526 # because $ac_f cannot contain `:'.
27530 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
27532 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
27534 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27535 as_fn_append ac_file_inputs
" '$ac_f'"
27538 # Let's still pretend it is `configure' which instantiates (i.e., don't
27539 # use $as_me), people would be surprised to read:
27540 # /* config.h. Generated by config.status. */
27541 configure_input
='Generated from '`
27542 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27544 if test x
"$ac_file" != x-
; then
27545 configure_input
="$ac_file. $configure_input"
27546 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27547 $as_echo "$as_me: creating $ac_file" >&6;}
27549 # Neutralize special characters interpreted by sed in replacement strings.
27550 case $configure_input in #(
27551 *\
&* |
*\|
* |
*\\* )
27552 ac_sed_conf_input
=`$as_echo "$configure_input" |
27553 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27554 *) ac_sed_conf_input
=$configure_input;;
27558 *:-:* |
*:-) cat >"$tmp/stdin" \
27559 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
27564 ac_dir
=`$as_dirname -- "$ac_file" ||
27565 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27566 X"$ac_file" : 'X\(//\)[^/]' \| \
27567 X"$ac_file" : 'X\(//\)$' \| \
27568 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27569 $as_echo X"$ac_file" |
27570 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27574 /^X\(\/\/\)[^/].*/{
27587 as_dir
="$ac_dir"; as_fn_mkdir_p
27591 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27593 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27594 # A ".." for each directory in $ac_dir_suffix.
27595 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27596 case $ac_top_builddir_sub in
27597 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27598 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27601 ac_abs_top_builddir
=$ac_pwd
27602 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27603 # for backward compatibility:
27604 ac_top_builddir
=$ac_top_build_prefix
27607 .
) # We are building in place.
27609 ac_top_srcdir
=$ac_top_builddir_sub
27610 ac_abs_top_srcdir
=$ac_pwd ;;
27611 [\\/]* | ?
:[\\/]* ) # Absolute name.
27612 ac_srcdir
=$srcdir$ac_dir_suffix;
27613 ac_top_srcdir
=$srcdir
27614 ac_abs_top_srcdir
=$srcdir ;;
27615 *) # Relative name.
27616 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27617 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27618 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27620 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27630 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
27631 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
27633 ac_MKDIR_P
=$MKDIR_P
27635 [\\/$
]* | ?
:[\\/]* ) ;;
27636 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
27640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27641 # If the template does not know about datarootdir, expand it.
27642 # FIXME: This hack should be removed a few years after 2.60.
27643 ac_datarootdir_hack
=; ac_datarootdir_seen
=
27654 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27655 *datarootdir
*) ac_datarootdir_seen
=yes;;
27656 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
27657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27658 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27661 ac_datarootdir_hack='
27662 s&@datadir@&$datadir&g
27663 s&@docdir@&$docdir&g
27664 s&@infodir@&$infodir&g
27665 s&@localedir@&$localedir&g
27666 s&@mandir@&$mandir&g
27667 s&\\\${datarootdir}&$datarootdir&g' ;;
27671 # Neutralize VPATH when `$srcdir' = `.'.
27672 # Shell code in configure.ac might set extrasub.
27673 # FIXME: do we really want to maintain this feature?
27674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27675 ac_sed_extra="$ac_vpsub
27678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27680 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
27681 s|@configure_input@|
$ac_sed_conf_input|
;t t
27682 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
27683 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
27684 s
&@srcdir@
&$ac_srcdir&;t t
27685 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
27686 s
&@top_srcdir@
&$ac_top_srcdir&;t t
27687 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
27688 s
&@builddir@
&$ac_builddir&;t t
27689 s
&@abs_builddir@
&$ac_abs_builddir&;t t
27690 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
27691 s
&@INSTALL@
&$ac_INSTALL&;t t
27692 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
27693 $ac_datarootdir_hack
27695 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
27696 || as_fn_error "could not create
$ac_file" "$LINENO" 5
27698 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27699 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
27700 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
27701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
27702 which seems to be undefined. Please make sure it is defined." >&5
27703 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
27704 which seems to be undefined. Please make sure it is defined." >&2;}
27708 -) cat "$tmp/out" && rm -f "$tmp/out";;
27709 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27711 || as_fn_error "could not create $ac_file" "$LINENO" 5
27717 if test x"$ac_file" != x-; then
27719 $as_echo "/* $configure_input */" \
27720 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27721 } >"$tmp/config.h" \
27722 || as_fn_error "could not create $ac_file" "$LINENO" 5
27723 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27725 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27728 mv "$tmp/config.h" "$ac_file" \
27729 || as_fn_error "could not create $ac_file" "$LINENO" 5
27732 $as_echo "/* $configure_input */" \
27733 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27734 || as_fn_error "could not create -" "$LINENO" 5
27736 # Compute "$ac_file"'s index
in $config_headers.
27739 for _am_header
in $config_headers :; do
27740 case $_am_header in
27741 $_am_arg |
$_am_arg:* )
27744 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
27747 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27748 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27749 X"$_am_arg" : 'X\(//\)[^/]' \| \
27750 X"$_am_arg" : 'X\(//\)$' \| \
27751 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27752 $as_echo X"$_am_arg" |
27753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27757 /^X\(\/\/\)[^/].*/{
27769 s/.*/./; q'`/stamp-h
$_am_stamp_count
27776 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
27779 # Prefer the file from the source tree if names are identical.
27780 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
27781 ac_source
=$srcdir/$ac_source
27784 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
27785 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
27787 if test ! -r "$ac_source"; then
27788 as_fn_error
"$ac_source: file not found" "$LINENO" 5
27792 # Try a relative symlink, then a hard link, then a copy.
27794 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
27795 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
27797 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
27798 ln "$ac_source" "$ac_file" 2>/dev
/null ||
27799 cp -p "$ac_source" "$ac_file" ||
27800 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
27803 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27804 $as_echo "$as_me: executing $ac_file commands" >&6;}
27809 case $ac_file$ac_mode in
27811 # Only add multilib support code if we just rebuilt the top-level
27813 case " $CONFIG_FILES " in
27815 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
27818 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
27819 # Autoconf 2.62 quotes --file arguments for eval, but not when files
27820 # are listed without --file. Let's play safe and only enable the eval
27821 # if we detect the quoting.
27822 case $CONFIG_FILES in
27823 *\'*) eval set x
"$CONFIG_FILES" ;;
27824 *) set x
$CONFIG_FILES ;;
27829 # Strip MF so we end up with the name of the file.
27830 mf
=`echo "$mf" | sed -e 's/:.*$//'`
27831 # Check whether this is an Automake generated Makefile or not.
27832 # We used to match only the files named `Makefile.in', but
27833 # some people rename them; so instead we look at the file content.
27834 # Grep'ing the first line is not enough: some people post-process
27835 # each Makefile.in and add a new line on top of each file to say so.
27836 # Grep'ing the whole file is not good either: AIX grep has a line
27837 # limit of 2048, but all sed's we know have understand at least 4000.
27838 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
27839 dirpart
=`$as_dirname -- "$mf" ||
27840 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27841 X"$mf" : 'X\(//\)[^/]' \| \
27842 X"$mf" : 'X\(//\)$' \| \
27843 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27849 /^X\(\/\/\)[^/].*/{
27865 # Extract the definition of DEPDIR, am__include, and am__quote
27866 # from the Makefile without running `make'.
27867 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
27868 test -z "$DEPDIR" && continue
27869 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
27870 test -z "am__include" && continue
27871 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
27872 # When using ansi2knr, U may be empty or an underscore; expand it
27873 U
=`sed -n 's/^U = //p' < "$mf"`
27874 # Find all dependency output files, they are included files with
27875 # $(DEPDIR) in their names. We invoke sed twice because it is the
27876 # simplest approach to changing $(DEPDIR) to its actual value in the
27878 for file in `sed -n "
27879 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27880 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27881 # Make sure the directory exists.
27882 test -f "$dirpart/$file" && continue
27883 fdir
=`$as_dirname -- "$file" ||
27884 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27885 X"$file" : 'X\(//\)[^/]' \| \
27886 X"$file" : 'X\(//\)$' \| \
27887 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27888 $as_echo X"$file" |
27889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27893 /^X\(\/\/\)[^/].*/{
27906 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
27907 # echo "creating $dirpart/$file"
27908 echo '# dummy' > "$dirpart/$file"
27915 # See if we are running on zsh, and set the options which allow our
27916 # commands through without removal of \ escapes.
27917 if test -n "${ZSH_VERSION+set}" ; then
27918 setopt NO_GLOB_SUBST
27921 cfgfile
="${ofile}T"
27922 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27925 cat <<_LT_EOF >> "$cfgfile"
27928 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27929 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27930 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27931 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27933 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27934 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
27935 # Written by Gordon Matzigkeit, 1996
27937 # This file is part of GNU Libtool.
27939 # GNU Libtool is free software; you can redistribute it and/or
27940 # modify it under the terms of the GNU General Public License as
27941 # published by the Free Software Foundation; either version 2 of
27942 # the License, or (at your option) any later version.
27944 # As a special exception to the GNU General Public License,
27945 # if you distribute this file as part of a program or library that
27946 # is built using GNU Libtool, you may include this file under the
27947 # same distribution terms that you use for the rest of that program.
27949 # GNU Libtool is distributed in the hope that it will be useful,
27950 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27951 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27952 # GNU General Public License for more details.
27954 # You should have received a copy of the GNU General Public License
27955 # along with GNU Libtool; see the file COPYING. If not, a copy
27956 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27957 # obtained by writing to the Free Software Foundation, Inc.,
27958 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27961 # The names of the tagged configurations supported by this script.
27962 available_tags="CXX "
27964 # ### BEGIN LIBTOOL CONFIG
27966 # Whether or not to build static libraries.
27967 build_old_libs=$enable_static
27969 # Which release of libtool.m4 was used?
27970 macro_version=$macro_version
27971 macro_revision=$macro_revision
27973 # Whether or not to build shared libraries.
27974 build_libtool_libs=$enable_shared
27976 # What type of objects to build.
27979 # Whether or not to optimize for fast installation.
27980 fast_install=$enable_fast_install
27982 # Shell to use when invoking shell scripts.
27985 # An echo program that protects backslashes.
27989 host_alias=$host_alias
27993 # The build system.
27994 build_alias=$build_alias
27998 # A sed program that does not truncate output.
28001 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28002 Xsed="\$SED -e 1s/^X//"
28004 # A grep program that handles long lines.
28010 # A literal string matcher.
28013 # A BSD- or MS-compatible name lister.
28016 # Whether we need soft or hard links.
28019 # What is the maximum length of a command?
28020 max_cmd_len=$max_cmd_len
28022 # Object file suffix (normally "o").
28025 # Executable file suffix (normally "").
28028 # whether the shell understands "unset".
28031 # turn spaces into newlines.
28034 # turn newlines into spaces.
28037 # An object symbol dumper.
28038 OBJDUMP=$lt_OBJDUMP
28040 # Method to check whether dependent libraries are shared objects.
28041 deplibs_check_method=$lt_deplibs_check_method
28043 # Command to use when deplibs_check_method == "file_magic".
28044 file_magic_cmd=$lt_file_magic_cmd
28048 AR_FLAGS=$lt_AR_FLAGS
28050 # A symbol stripping program.
28053 # Commands used to install an old-style archive.
28055 old_postinstall_cmds=$lt_old_postinstall_cmds
28056 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28058 # Whether to use a lock for old archive extraction.
28059 lock_old_archive_extraction=$lock_old_archive_extraction
28064 # LTCC compiler flags.
28065 LTCFLAGS=$lt_CFLAGS
28067 # Take the output of nm and produce a listing of raw symbols and C names.
28068 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28070 # Transform the output of nm in a proper C declaration.
28071 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28073 # Transform the output of nm in a C name address pair.
28074 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28076 # Transform the output of nm in a C name address pair when lib prefix is needed.
28077 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28079 # The name of the directory that contains temporary libtool files.
28082 # Used to examine libraries when file_magic_cmd begins with "file".
28083 MAGIC_CMD=$MAGIC_CMD
28085 # Must we lock files when doing compilation?
28086 need_locks=$lt_need_locks
28088 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28089 DSYMUTIL=$lt_DSYMUTIL
28091 # Tool to change global to local symbols on Mac OS X.
28094 # Tool to manipulate fat objects and archives on Mac OS X.
28097 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28100 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28101 OTOOL64=$lt_OTOOL64
28103 # Old archive suffix (normally "a").
28106 # Shared library suffix (normally ".so").
28107 shrext_cmds=$lt_shrext_cmds
28109 # The commands to extract the exported symbol list from a shared archive.
28110 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28112 # Variables whose values should be saved in libtool wrapper scripts and
28113 # restored at link time.
28114 variables_saved_for_relink=$lt_variables_saved_for_relink
28116 # Do we need the "lib" prefix for modules?
28117 need_lib_prefix=$need_lib_prefix
28119 # Do we need a version for libraries?
28120 need_version=$need_version
28122 # Library versioning type.
28123 version_type=$version_type
28125 # Shared library runtime path variable.
28126 runpath_var=$runpath_var
28128 # Shared library path variable.
28129 shlibpath_var=$shlibpath_var
28131 # Is shlibpath searched before the hard-coded library search path?
28132 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28134 # Format of library name prefix.
28135 libname_spec=$lt_libname_spec
28137 # List of archive names. First name is the real one, the rest are links.
28138 # The last name is the one that the linker finds with -lNAME
28139 library_names_spec=$lt_library_names_spec
28141 # The coded name of the library, if different from the real name.
28142 soname_spec=$lt_soname_spec
28144 # Permission mode override for installation of shared libraries.
28145 install_override_mode=$lt_install_override_mode
28147 # Command to use after installation of a shared archive.
28148 postinstall_cmds=$lt_postinstall_cmds
28150 # Command to use after uninstallation of a shared archive.
28151 postuninstall_cmds=$lt_postuninstall_cmds
28153 # Commands used to finish a libtool library installation in a directory.
28154 finish_cmds=$lt_finish_cmds
28156 # As "finish_cmds", except a single script fragment to be evaled but
28158 finish_eval=$lt_finish_eval
28160 # Whether we should hardcode library paths into libraries.
28161 hardcode_into_libs=$hardcode_into_libs
28163 # Compile-time system search path for libraries.
28164 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28166 # Run-time system search path for libraries.
28167 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28169 # Whether dlopen is supported.
28170 dlopen_support=$enable_dlopen
28172 # Whether dlopen of programs is supported.
28173 dlopen_self=$enable_dlopen_self
28175 # Whether dlopen of statically linked programs is supported.
28176 dlopen_self_static=$enable_dlopen_self_static
28178 # Commands to strip libraries.
28179 old_striplib=$lt_old_striplib
28180 striplib=$lt_striplib
28183 # The linker used to build libraries.
28186 # How to create reloadable object files.
28187 reload_flag=$lt_reload_flag
28188 reload_cmds=$lt_reload_cmds
28190 # Commands used to build an old-style archive.
28191 old_archive_cmds=$lt_old_archive_cmds
28193 # A language specific compiler.
28196 # Is the compiler the GNU compiler?
28199 # Compiler flag to turn off builtin functions.
28200 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28202 # How to pass a linker flag through the compiler.
28203 wl=$lt_lt_prog_compiler_wl
28205 # Additional compiler flags for building library objects.
28206 pic_flag=$lt_lt_prog_compiler_pic
28208 # Compiler flag to prevent dynamic linking.
28209 link_static_flag=$lt_lt_prog_compiler_static
28211 # Does compiler simultaneously support -c and -o options?
28212 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28214 # Whether or not to add -lc for building shared libraries.
28215 build_libtool_need_lc=$archive_cmds_need_lc
28217 # Whether or not to disallow shared libs when runtime libs are static.
28218 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28220 # Compiler flag to allow reflexive dlopens.
28221 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28223 # Compiler flag to generate shared objects directly from archives.
28224 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28226 # Whether the compiler copes with passing no objects directly.
28227 compiler_needs_object=$lt_compiler_needs_object
28229 # Create an old-style archive from a shared archive.
28230 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28232 # Create a temporary old-style archive to link instead of a shared archive.
28233 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28235 # Commands used to build a shared archive.
28236 archive_cmds=$lt_archive_cmds
28237 archive_expsym_cmds=$lt_archive_expsym_cmds
28239 # Commands used to build a loadable module if different from building
28240 # a shared archive.
28241 module_cmds=$lt_module_cmds
28242 module_expsym_cmds=$lt_module_expsym_cmds
28244 # Whether we are building with GNU ld or not.
28245 with_gnu_ld=$lt_with_gnu_ld
28247 # Flag that allows shared libraries with undefined symbols to be built.
28248 allow_undefined_flag=$lt_allow_undefined_flag
28250 # Flag that enforces no undefined symbols.
28251 no_undefined_flag=$lt_no_undefined_flag
28253 # Flag to hardcode \$libdir into a binary during linking.
28254 # This must work even if \$libdir does not exist
28255 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28257 # If ld is used when linking, flag to hardcode \$libdir into a binary
28258 # during linking. This must work even if \$libdir does not exist.
28259 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28261 # Whether we need a single "-rpath" flag with a separated argument.
28262 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28264 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28265 # DIR into the resulting binary.
28266 hardcode_direct=$hardcode_direct
28268 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28269 # DIR into the resulting binary and the resulting library dependency is
28270 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28271 # library is relocated.
28272 hardcode_direct_absolute=$hardcode_direct_absolute
28274 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28275 # into the resulting binary.
28276 hardcode_minus_L=$hardcode_minus_L
28278 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28279 # into the resulting binary.
28280 hardcode_shlibpath_var=$hardcode_shlibpath_var
28282 # Set to "yes" if building a shared library automatically hardcodes DIR
28283 # into the library and all subsequent libraries and executables linked
28285 hardcode_automatic=$hardcode_automatic
28287 # Set to yes if linker adds runtime paths of dependent libraries
28288 # to runtime path list.
28289 inherit_rpath=$inherit_rpath
28291 # Whether libtool must link a program against all its dependency libraries.
28292 link_all_deplibs=$link_all_deplibs
28294 # Fix the shell variable \$srcfile for the compiler.
28295 fix_srcfile_path=$lt_fix_srcfile_path
28297 # Set to "yes" if exported symbols are required.
28298 always_export_symbols=$always_export_symbols
28300 # The commands to list exported symbols.
28301 export_symbols_cmds=$lt_export_symbols_cmds
28303 # Symbols that should not be listed in the preloaded symbols.
28304 exclude_expsyms=$lt_exclude_expsyms
28306 # Symbols that must always be exported.
28307 include_expsyms=$lt_include_expsyms
28309 # Commands necessary for linking programs (against libraries) with templates.
28310 prelink_cmds=$lt_prelink_cmds
28312 # Specify filename containing input files.
28313 file_list_spec=$lt_file_list_spec
28315 # How to hardcode a shared library path into an executable.
28316 hardcode_action=$hardcode_action
28318 # The directories searched by this compiler when creating a shared library.
28319 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28321 # Dependencies to place before and after the objects being linked to
28322 # create a shared library.
28323 predep_objects=$lt_predep_objects
28324 postdep_objects=$lt_postdep_objects
28325 predeps=$lt_predeps
28326 postdeps=$lt_postdeps
28328 # The library search path used internally by the compiler when linking
28329 # a shared library.
28330 compiler_lib_search_path=$lt_compiler_lib_search_path
28332 # ### END LIBTOOL CONFIG
28338 cat <<\_LT_EOF
>> "$cfgfile"
28339 # AIX sometimes has problems with the GCC collect2 program. For some
28340 # reason, if we set the COLLECT_NAMES environment variable, the problems
28341 # vanish in a puff of smoke.
28342 if test "X${COLLECT_NAMES+set}" != Xset
; then
28344 export COLLECT_NAMES
28351 ltmain
="$ac_aux_dir/ltmain.sh"
28354 # We use sed instead of cat because bash on DJGPP gets confused if
28355 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28356 # text mode, it properly converts lines to CR/LF. This bash problem
28357 # is reportedly fixed, but why not run on old versions too?
28358 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28359 ||
(rm -f "$cfgfile"; exit 1)
28363 cat << \_LT_EOF
>> "$cfgfile"
28365 # func_dirname file append nondir_replacement
28366 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28367 # otherwise set result to NONDIR_REPLACEMENT.
28371 */*) func_dirname_result
="${1%/*}${2}" ;;
28372 * ) func_dirname_result
="${3}" ;;
28376 # func_basename file
28379 func_basename_result
="${1##*/}"
28382 # func_dirname_and_basename file append nondir_replacement
28383 # perform func_basename and func_dirname in a single function
28385 # dirname: Compute the dirname of FILE. If nonempty,
28386 # add APPEND to the result, otherwise set result
28387 # to NONDIR_REPLACEMENT.
28388 # value returned in "$func_dirname_result"
28389 # basename: Compute filename of FILE.
28390 # value retuned in "$func_basename_result"
28391 # Implementation must be kept synchronized with func_dirname
28392 # and func_basename. For efficiency, we do not delegate to
28393 # those functions but instead duplicate the functionality here.
28394 func_dirname_and_basename
()
28397 */*) func_dirname_result
="${1%/*}${2}" ;;
28398 * ) func_dirname_result
="${3}" ;;
28400 func_basename_result
="${1##*/}"
28403 # func_stripname prefix suffix name
28404 # strip PREFIX and SUFFIX off of NAME.
28405 # PREFIX and SUFFIX must not contain globbing or regex special
28406 # characters, hashes, percent signs, but SUFFIX may contain a leading
28407 # dot (in which case that matches only a dot).
28410 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28411 # positional parameters, so assign one to ordinary parameter first.
28412 func_stripname_result
=${3}
28413 func_stripname_result
=${func_stripname_result#"${1}"}
28414 func_stripname_result
=${func_stripname_result%"${2}"}
28420 func_opt_split_opt
=${1%%=*}
28421 func_opt_split_arg
=${1#*=}
28428 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28429 *) func_lo2o_result
=${1} ;;
28433 # func_xform libobj-or-source
28436 func_xform_result
=${1%.*}.lo
28439 # func_arith arithmetic-term...
28442 func_arith_result
=$
(( $
* ))
28446 # STRING may not start with a hyphen.
28449 func_len_result
=${#1}
28454 *) # Bourne compatible functions.
28455 cat << \_LT_EOF
>> "$cfgfile"
28457 # func_dirname file append nondir_replacement
28458 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28459 # otherwise set result to NONDIR_REPLACEMENT.
28462 # Extract subdirectory from the argument.
28463 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
28464 if test "X$func_dirname_result" = "X${1}"; then
28465 func_dirname_result
="${3}"
28467 func_dirname_result
="$func_dirname_result${2}"
28471 # func_basename file
28474 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
28478 # func_stripname prefix suffix name
28479 # strip PREFIX and SUFFIX off of NAME.
28480 # PREFIX and SUFFIX must not contain globbing or regex special
28481 # characters, hashes, percent signs, but SUFFIX may contain a leading
28482 # dot (in which case that matches only a dot).
28483 # func_strip_suffix prefix name
28487 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28488 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28493 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
28494 my_sed_long_arg
='1s/^-[^=]*=//'
28499 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28500 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28506 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
28509 # func_xform libobj-or-source
28512 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28515 # func_arith arithmetic-term...
28518 func_arith_result
=`expr "$@"`
28522 # STRING may not start with a hyphen.
28525 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28531 case $lt_shell_append in
28533 cat << \_LT_EOF
>> "$cfgfile"
28535 # func_append var value
28536 # Append VALUE to the end of shell variable VAR.
28544 cat << \_LT_EOF
>> "$cfgfile"
28546 # func_append var value
28547 # Append VALUE to the end of shell variable VAR.
28558 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28559 ||
(rm -f "$cfgfile"; exit 1)
28561 mv -f "$cfgfile" "$ofile" ||
28562 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28566 cat <<_LT_EOF >> "$ofile"
28568 # ### BEGIN LIBTOOL TAG CONFIG: CXX
28570 # The linker used to build libraries.
28573 # How to create reloadable object files.
28574 reload_flag=$lt_reload_flag_CXX
28575 reload_cmds=$lt_reload_cmds_CXX
28577 # Commands used to build an old-style archive.
28578 old_archive_cmds=$lt_old_archive_cmds_CXX
28580 # A language specific compiler.
28581 CC=$lt_compiler_CXX
28583 # Is the compiler the GNU compiler?
28586 # Compiler flag to turn off builtin functions.
28587 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
28589 # How to pass a linker flag through the compiler.
28590 wl=$lt_lt_prog_compiler_wl_CXX
28592 # Additional compiler flags for building library objects.
28593 pic_flag=$lt_lt_prog_compiler_pic_CXX
28595 # Compiler flag to prevent dynamic linking.
28596 link_static_flag=$lt_lt_prog_compiler_static_CXX
28598 # Does compiler simultaneously support -c and -o options?
28599 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
28601 # Whether or not to add -lc for building shared libraries.
28602 build_libtool_need_lc=$archive_cmds_need_lc_CXX
28604 # Whether or not to disallow shared libs when runtime libs are static.
28605 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
28607 # Compiler flag to allow reflexive dlopens.
28608 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
28610 # Compiler flag to generate shared objects directly from archives.
28611 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
28613 # Whether the compiler copes with passing no objects directly.
28614 compiler_needs_object=$lt_compiler_needs_object_CXX
28616 # Create an old-style archive from a shared archive.
28617 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
28619 # Create a temporary old-style archive to link instead of a shared archive.
28620 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
28622 # Commands used to build a shared archive.
28623 archive_cmds=$lt_archive_cmds_CXX
28624 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
28626 # Commands used to build a loadable module if different from building
28627 # a shared archive.
28628 module_cmds=$lt_module_cmds_CXX
28629 module_expsym_cmds=$lt_module_expsym_cmds_CXX
28631 # Whether we are building with GNU ld or not.
28632 with_gnu_ld=$lt_with_gnu_ld_CXX
28634 # Flag that allows shared libraries with undefined symbols to be built.
28635 allow_undefined_flag=$lt_allow_undefined_flag_CXX
28637 # Flag that enforces no undefined symbols.
28638 no_undefined_flag=$lt_no_undefined_flag_CXX
28640 # Flag to hardcode \$libdir into a binary during linking.
28641 # This must work even if \$libdir does not exist
28642 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
28644 # If ld is used when linking, flag to hardcode \$libdir into a binary
28645 # during linking. This must work even if \$libdir does not exist.
28646 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
28648 # Whether we need a single "-rpath" flag with a separated argument.
28649 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
28651 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28652 # DIR into the resulting binary.
28653 hardcode_direct=$hardcode_direct_CXX
28655 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28656 # DIR into the resulting binary and the resulting library dependency is
28657 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28658 # library is relocated.
28659 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
28661 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28662 # into the resulting binary.
28663 hardcode_minus_L=$hardcode_minus_L_CXX
28665 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28666 # into the resulting binary.
28667 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
28669 # Set to "yes" if building a shared library automatically hardcodes DIR
28670 # into the library and all subsequent libraries and executables linked
28672 hardcode_automatic=$hardcode_automatic_CXX
28674 # Set to yes if linker adds runtime paths of dependent libraries
28675 # to runtime path list.
28676 inherit_rpath=$inherit_rpath_CXX
28678 # Whether libtool must link a program against all its dependency libraries.
28679 link_all_deplibs=$link_all_deplibs_CXX
28681 # Fix the shell variable \$srcfile for the compiler.
28682 fix_srcfile_path=$lt_fix_srcfile_path_CXX
28684 # Set to "yes" if exported symbols are required.
28685 always_export_symbols=$always_export_symbols_CXX
28687 # The commands to list exported symbols.
28688 export_symbols_cmds=$lt_export_symbols_cmds_CXX
28690 # Symbols that should not be listed in the preloaded symbols.
28691 exclude_expsyms=$lt_exclude_expsyms_CXX
28693 # Symbols that must always be exported.
28694 include_expsyms=$lt_include_expsyms_CXX
28696 # Commands necessary for linking programs (against libraries) with templates.
28697 prelink_cmds=$lt_prelink_cmds_CXX
28699 # Specify filename containing input files.
28700 file_list_spec=$lt_file_list_spec_CXX
28702 # How to hardcode a shared library path into an executable.
28703 hardcode_action=$hardcode_action_CXX
28705 # The directories searched by this compiler when creating a shared library.
28706 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
28708 # Dependencies to place before and after the objects being linked to
28709 # create a shared library.
28710 predep_objects=$lt_predep_objects_CXX
28711 postdep_objects=$lt_postdep_objects_CXX
28712 predeps=$lt_predeps_CXX
28713 postdeps=$lt_postdeps_CXX
28715 # The library search path used internally by the compiler when linking
28716 # a shared library.
28717 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
28719 # ### END LIBTOOL TAG CONFIG: CXX
28723 "mkcollections.pl":C
) chmod 755 lib
/mkcollections.pl
;;
28725 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
28726 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
28727 ac_stdint
=$tmp/_stdint.h
28729 echo "#ifndef" $_ac_stdint_h >$ac_stdint
28730 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
28731 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
28732 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
28733 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
28734 if test "_$ac_cv_header_stdint_t" != "_" ; then
28735 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
28736 echo "#include <stdint.h>" >>$ac_stdint
28737 echo "#endif" >>$ac_stdint
28738 echo "#endif" >>$ac_stdint
28741 cat >>$ac_stdint <<STDINT_EOF
28743 /* ................... shortcircuit part ........................... */
28745 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
28746 #include <stdint.h>
28748 #include <stddef.h>
28750 /* .................... configured part ............................ */
28754 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
28755 if test "_$ac_cv_header_stdint_x" != "_" ; then
28756 ac_header
="$ac_cv_header_stdint_x"
28757 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
28759 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
28762 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
28763 if test "_$ac_cv_header_stdint_o" != "_" ; then
28764 ac_header
="$ac_cv_header_stdint_o"
28765 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
28767 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
28770 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
28771 if test "_$ac_cv_header_stdint_u" != "_" ; then
28772 ac_header
="$ac_cv_header_stdint_u"
28773 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
28775 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
28778 echo "" >>$ac_stdint
28780 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
28781 echo "#include <$ac_header>" >>$ac_stdint
28782 echo "" >>$ac_stdint
28785 echo "/* which 64bit typedef has been found */" >>$ac_stdint
28786 if test "$ac_cv_type_uint64_t" = "yes" ; then
28787 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
28789 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
28791 if test "$ac_cv_type_u_int64_t" = "yes" ; then
28792 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
28794 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
28796 echo "" >>$ac_stdint
28798 echo "/* which type model has been detected */" >>$ac_stdint
28799 if test "_$ac_cv_char_data_model" != "_" ; then
28800 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
28801 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
28803 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
28804 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
28806 echo "" >>$ac_stdint
28808 echo "/* whether int_least types were detected */" >>$ac_stdint
28809 if test "$ac_cv_type_int_least32_t" = "yes"; then
28810 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
28812 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
28814 echo "/* whether int_fast types were detected */" >>$ac_stdint
28815 if test "$ac_cv_type_int_fast32_t" = "yes"; then
28816 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
28818 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
28820 echo "/* whether intmax_t type was detected */" >>$ac_stdint
28821 if test "$ac_cv_type_intmax_t" = "yes"; then
28822 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
28824 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
28826 echo "" >>$ac_stdint
28828 cat >>$ac_stdint <<STDINT_EOF
28829 /* .................... detections part ............................ */
28831 /* whether we need to define bitspecific types from compiler base types */
28832 #ifndef _STDINT_HEADER_INTPTR
28833 #ifndef _STDINT_HEADER_UINT32
28834 #ifndef _STDINT_HEADER_U_INT32
28835 #define _STDINT_NEED_INT_MODEL_T
28837 #define _STDINT_HAVE_U_INT_TYPES
28842 #ifdef _STDINT_HAVE_U_INT_TYPES
28843 #undef _STDINT_NEED_INT_MODEL_T
28846 #ifdef _STDINT_CHAR_MODEL
28847 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
28848 #ifndef _STDINT_BYTE_MODEL
28849 #define _STDINT_BYTE_MODEL 12
28854 #ifndef _STDINT_HAVE_INT_LEAST32_T
28855 #define _STDINT_NEED_INT_LEAST_T
28858 #ifndef _STDINT_HAVE_INT_FAST32_T
28859 #define _STDINT_NEED_INT_FAST_T
28862 #ifndef _STDINT_HEADER_INTPTR
28863 #define _STDINT_NEED_INTPTR_T
28864 #ifndef _STDINT_HAVE_INTMAX_T
28865 #define _STDINT_NEED_INTMAX_T
28870 /* .................... definition part ............................ */
28872 /* some system headers have good uint64_t */
28873 #ifndef _HAVE_UINT64_T
28874 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
28875 #define _HAVE_UINT64_T
28876 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
28877 #define _HAVE_UINT64_T
28878 typedef u_int64_t uint64_t;
28882 #ifndef _HAVE_UINT64_T
28883 /* .. here are some common heuristics using compiler runtime specifics */
28884 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
28885 #define _HAVE_UINT64_T
28886 #define _HAVE_LONGLONG_UINT64_T
28887 typedef long long int64_t;
28888 typedef unsigned long long uint64_t;
28890 #elif !defined __STRICT_ANSI__
28891 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
28892 #define _HAVE_UINT64_T
28893 typedef __int64 int64_t;
28894 typedef unsigned __int64 uint64_t;
28896 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
28897 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
28898 #if !defined _NO_LONGLONG
28899 #define _HAVE_UINT64_T
28900 #define _HAVE_LONGLONG_UINT64_T
28901 typedef long long int64_t;
28902 typedef unsigned long long uint64_t;
28905 #elif defined __alpha || (defined __mips && defined _ABIN32)
28906 #if !defined _NO_LONGLONG
28907 typedef long int64_t;
28908 typedef unsigned long uint64_t;
28910 /* compiler/cpu type to define int64_t */
28915 #if defined _STDINT_HAVE_U_INT_TYPES
28916 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
28917 typedef u_int8_t uint8_t;
28918 typedef u_int16_t uint16_t;
28919 typedef u_int32_t uint32_t;
28921 /* glibc compatibility */
28922 #ifndef __int8_t_defined
28923 #define __int8_t_defined
28927 #ifdef _STDINT_NEED_INT_MODEL_T
28928 /* we must guess all the basic types. Apart from byte-adressable system, */
28929 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
28930 /* (btw, those nibble-addressable systems are way off, or so we assume) */
28933 #if defined _STDINT_BYTE_MODEL
28934 #if _STDINT_LONG_MODEL+0 == 242
28935 /* 2:4:2 = IP16 = a normal 16-bit system */
28936 typedef unsigned char uint8_t;
28937 typedef unsigned short uint16_t;
28938 typedef unsigned long uint32_t;
28939 #ifndef __int8_t_defined
28940 #define __int8_t_defined
28941 typedef char int8_t;
28942 typedef short int16_t;
28943 typedef long int32_t;
28945 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
28946 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
28947 /* 4:4:4 = ILP32 = a normal 32-bit system */
28948 typedef unsigned char uint8_t;
28949 typedef unsigned short uint16_t;
28950 typedef unsigned int uint32_t;
28951 #ifndef __int8_t_defined
28952 #define __int8_t_defined
28953 typedef char int8_t;
28954 typedef short int16_t;
28955 typedef int int32_t;
28957 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
28958 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
28959 /* 4:8:8 = LP64 = a normal 64-bit system */
28960 typedef unsigned char uint8_t;
28961 typedef unsigned short uint16_t;
28962 typedef unsigned int uint32_t;
28963 #ifndef __int8_t_defined
28964 #define __int8_t_defined
28965 typedef char int8_t;
28966 typedef short int16_t;
28967 typedef int int32_t;
28969 /* this system has a "long" of 64bit */
28970 #ifndef _HAVE_UINT64_T
28971 #define _HAVE_UINT64_T
28972 typedef unsigned long uint64_t;
28973 typedef long int64_t;
28975 #elif _STDINT_LONG_MODEL+0 == 448
28976 /* LLP64 a 64-bit system derived from a 32-bit system */
28977 typedef unsigned char uint8_t;
28978 typedef unsigned short uint16_t;
28979 typedef unsigned int uint32_t;
28980 #ifndef __int8_t_defined
28981 #define __int8_t_defined
28982 typedef char int8_t;
28983 typedef short int16_t;
28984 typedef int int32_t;
28986 /* assuming the system has a "long long" */
28987 #ifndef _HAVE_UINT64_T
28988 #define _HAVE_UINT64_T
28989 #define _HAVE_LONGLONG_UINT64_T
28990 typedef unsigned long long uint64_t;
28991 typedef long long int64_t;
28994 #define _STDINT_NO_INT32_T
28997 #define _STDINT_NO_INT8_T
28998 #define _STDINT_NO_INT32_T
29003 * quote from SunOS-5.8 sys/inttypes.h:
29004 * Use at your own risk. As of February 1996, the committee is squarely
29005 * behind the fixed sized types; the "least" and "fast" types are still being
29006 * discussed. The probability that the "fast" types may be removed before
29007 * the standard is finalized is high enough that they are not currently
29011 #if defined _STDINT_NEED_INT_LEAST_T
29012 typedef int8_t int_least8_t;
29013 typedef int16_t int_least16_t;
29014 typedef int32_t int_least32_t;
29015 #ifdef _HAVE_UINT64_T
29016 typedef int64_t int_least64_t;
29019 typedef uint8_t uint_least8_t;
29020 typedef uint16_t uint_least16_t;
29021 typedef uint32_t uint_least32_t;
29022 #ifdef _HAVE_UINT64_T
29023 typedef uint64_t uint_least64_t;
29028 #if defined _STDINT_NEED_INT_FAST_T
29029 typedef int8_t int_fast8_t;
29030 typedef int int_fast16_t;
29031 typedef int32_t int_fast32_t;
29032 #ifdef _HAVE_UINT64_T
29033 typedef int64_t int_fast64_t;
29036 typedef uint8_t uint_fast8_t;
29037 typedef unsigned uint_fast16_t;
29038 typedef uint32_t uint_fast32_t;
29039 #ifdef _HAVE_UINT64_T
29040 typedef uint64_t uint_fast64_t;
29045 #ifdef _STDINT_NEED_INTMAX_T
29046 #ifdef _HAVE_UINT64_T
29047 typedef int64_t intmax_t;
29048 typedef uint64_t uintmax_t;
29050 typedef long intmax_t;
29051 typedef unsigned long uintmax_t;
29055 #ifdef _STDINT_NEED_INTPTR_T
29056 #ifndef __intptr_t_defined
29057 #define __intptr_t_defined
29058 /* we encourage using "long" to store pointer values, never use "int" ! */
29059 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
29060 typedef unsigned int uintptr_t;
29061 typedef int intptr_t;
29062 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
29063 typedef unsigned long uintptr_t;
29064 typedef long intptr_t;
29065 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
29066 typedef uint64_t uintptr_t;
29067 typedef int64_t intptr_t;
29068 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
29069 typedef unsigned long uintptr_t;
29070 typedef long intptr_t;
29075 /* The ISO C99 standard specifies that in C++ implementations these
29076 should only be defined if explicitly requested. */
29077 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
29081 # define INT8_C(c) c
29082 # define INT16_C(c) c
29083 # define INT32_C(c) c
29084 # ifdef _HAVE_LONGLONG_UINT64_T
29085 # define INT64_C(c) c ## L
29087 # define INT64_C(c) c ## LL
29091 # define UINT8_C(c) c ## U
29092 # define UINT16_C(c) c ## U
29093 # define UINT32_C(c) c ## U
29094 # ifdef _HAVE_LONGLONG_UINT64_T
29095 # define UINT64_C(c) c ## UL
29097 # define UINT64_C(c) c ## ULL
29100 /* Maximal type. */
29101 # ifdef _HAVE_LONGLONG_UINT64_T
29102 # define INTMAX_C(c) c ## L
29103 # define UINTMAX_C(c) c ## UL
29105 # define INTMAX_C(c) c ## LL
29106 # define UINTMAX_C(c) c ## ULL
29109 /* literalnumbers */
29113 /* These limits are merily those of a two complement byte-oriented system */
29115 /* Minimum of signed integral types. */
29117 # define INT8_MIN (-128)
29120 # define INT16_MIN (-32767-1)
29123 # define INT32_MIN (-2147483647-1)
29126 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
29129 /* Maximum of signed integral types. */
29131 # define INT8_MAX (127)
29134 # define INT16_MAX (32767)
29137 # define INT32_MAX (2147483647)
29140 # define INT64_MAX (__INT64_C(9223372036854775807))
29143 /* Maximum of unsigned integral types. */
29145 # define UINT8_MAX (255)
29148 # define UINT16_MAX (65535)
29151 # define UINT32_MAX (4294967295U)
29154 # define UINT64_MAX (__UINT64_C(18446744073709551615))
29157 /* Minimum of signed integral types having a minimum size. */
29158 # define INT_LEAST8_MIN INT8_MIN
29159 # define INT_LEAST16_MIN INT16_MIN
29160 # define INT_LEAST32_MIN INT32_MIN
29161 # define INT_LEAST64_MIN INT64_MIN
29162 /* Maximum of signed integral types having a minimum size. */
29163 # define INT_LEAST8_MAX INT8_MAX
29164 # define INT_LEAST16_MAX INT16_MAX
29165 # define INT_LEAST32_MAX INT32_MAX
29166 # define INT_LEAST64_MAX INT64_MAX
29168 /* Maximum of unsigned integral types having a minimum size. */
29169 # define UINT_LEAST8_MAX UINT8_MAX
29170 # define UINT_LEAST16_MAX UINT16_MAX
29171 # define UINT_LEAST32_MAX UINT32_MAX
29172 # define UINT_LEAST64_MAX UINT64_MAX
29181 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
29182 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
29183 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
29185 ac_dir
=`$as_dirname -- "$ac_stdint_h" ||
29186 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29187 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
29188 X"$ac_stdint_h" : 'X\(//\)$' \| \
29189 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
29190 $as_echo X"$ac_stdint_h" |
29191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29195 /^X\(\/\/\)[^/].*/{
29208 as_dir
="$ac_dir"; as_fn_mkdir_p
29210 mv $ac_stdint $ac_stdint_h
29213 "gappletviewer":C
) chmod 755 tools
/gappletviewer
;;
29214 "gjarsigner":C
) chmod 755 tools
/gjarsigner
;;
29215 "gkeytool":C
) chmod 755 tools
/gkeytool
;;
29216 "gjar":C
) chmod 755 tools
/gjar
;;
29217 "gnative2ascii":C
) chmod 755 tools
/gnative2ascii
;;
29218 "gserialver":C
) chmod 755 tools
/gserialver
;;
29219 "grmiregistry":C
) chmod 755 tools
/grmiregistry
;;
29220 "gtnameserv":C
) chmod 755 tools
/gtnameserv
;;
29221 "gorbd":C
) chmod 755 tools
/gorbd
;;
29222 "grmid":C
) chmod 755 tools
/grmid
;;
29223 "grmic":C
) chmod 755 tools
/grmic
;;
29224 "gjavah":C
) chmod 755 tools
/gjavah
;;
29225 "gjdoc":C
) chmod 755 tools
/gjdoc
;;
29226 "gen-classlist":C
) chmod 755 lib
/gen-classlist.sh
;;
29227 "copy-vmresources":C
) chmod 755 lib
/copy-vmresources.sh
;;
29235 ac_clean_files
=$ac_clean_files_save
29237 test $ac_write_fail = 0 ||
29238 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29241 # configure is writing to config.log, and then calls config.status.
29242 # config.status does its own redirection, appending to config.log.
29243 # Unfortunately, on DOS this fails, as config.log is still kept open
29244 # by configure, so config.status won't be able to write to it; its
29245 # output is simply discarded. So we exec the FD to /dev/null,
29246 # effectively closing config.log, so it can be properly (re)opened and
29247 # appended to by config.status. When coming back to configure, we
29248 # need to make the FD available again.
29249 if test "$no_create" != yes; then
29251 ac_config_status_args
=
29252 test "$silent" = yes &&
29253 ac_config_status_args
="$ac_config_status_args --quiet"
29255 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29257 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29258 # would make configure fail if this is the last instruction.
29259 $ac_cs_success || as_fn_exit $?
29261 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29263 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
29267 # Create standard.omit based on decisions we just made.
29268 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
29269 if test x
$use_escher != xtrue
; then
29270 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit
29273 if test "x${COMPILE_PLUGIN}" = "xyes" ; then
29274 { $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
29275 $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;}